[
https://issues.apache.org/jira/browse/THRIFT-3735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192235#comment-15192235
]
Hudson commented on THRIFT-3735:
--------------------------------
SUCCESS: Integrated in Thrift-precommit #304 (See
[https://builds.apache.org/job/Thrift-precommit/304/])
THRIFT-3735 JSON protocol left in incorrect state when an exception is (jensg:
[https://github.com/apache/thrift/commit/5025a302c6dd877ff045f3db729805f76c785675])
* lib/go/thrift/json_protocol.go
* lib/go/thrift/simple_json_protocol.go
> JSON protocol left in incorrect state when an exception is thrown during read
> or write operations
> -------------------------------------------------------------------------------------------------
>
> Key: THRIFT-3735
> URL: https://issues.apache.org/jira/browse/THRIFT-3735
> Project: Thrift
> Issue Type: Bug
> Components: Go - Library
> Reporter: Tyler Treat
> Assignee: Tyler Treat
> Fix For: 0.10.0
>
>
> The JSON context stack may be left in an incorrect state when an exception is
> thrown during read or write operations. This leads to further errors while
> writing/reading the NEXT message, because incorrect characters may be written
> or expected.
> This is related to THRIFT-1473, but there is an additional issue in that the
> bufio.Writer needs to be reset if an error occurs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)