You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aki Sukegawa (JIRA)" <ji...@apache.org> on 2015/11/03 15:12:27 UTC

[jira] [Created] (THRIFT-3407) Refill buffer when JSON closing bracket is missing

Aki Sukegawa created THRIFT-3407:
------------------------------------

             Summary: Refill buffer when JSON closing bracket is missing
                 Key: THRIFT-3407
                 URL: https://issues.apache.org/jira/browse/THRIFT-3407
             Project: Thrift
          Issue Type: Bug
          Components: Node.js - Library
    Affects Versions: 0.9.3
            Reporter: Aki Sukegawa
            Assignee: Aki Sukegawa


NodeJS TJSONProtocol aborts reading when number of closing brackets is smaller than that of opening brackets.
It is problematic because it is not guaranteed if the transport reads the whole JSON message at one or not.

Practically, sending big JSON message over buffered tranpsort is being unstable because of this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)