[
https://issues.apache.org/jira/browse/THRIFT-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Sukegawa updated THRIFT-3407:
---------------------------------
Description:
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 once or not.
Practically, sending big JSON message over buffered tranpsort is being unstable
because of this.
was:
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 onece or not.
Practically, sending big JSON message over buffered tranpsort is being unstable
because of this.
> 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 once 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)