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/04 16:12:27 UTC

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

     [ https://issues.apache.org/jira/browse/THRIFT-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aki Sukegawa resolved THRIFT-3407.
----------------------------------
    Resolution: Fixed

committed

> 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)