thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (THRIFT-5083) NetStd JSON Protocol left in incorrect state
Date Wed, 05 Feb 2020 20:44:00 GMT

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

Jens Geyer resolved THRIFT-5083.
--------------------------------
    Fix Version/s: 0.14.0
       Resolution: Fixed

> NetStd JSON Protocol left in incorrect state 
> ---------------------------------------------
>
>                 Key: THRIFT-5083
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5083
>             Project: Thrift
>          Issue Type: Bug
>            Reporter: Paulo Neves
>            Assignee: Paulo Neves
>            Priority: Critical
>             Fix For: 0.14.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This is the exact same problem as #3743.
> When a message writeEnd or readBegin are called the context is not cleaned leading to
possible undefined state of the context.
> The error was visible for me when i would make 2 RPC calls with the same protocol instance,
producing invalid messages like [<message1>],[<message2>]. The comma is a syntax
error and invalid JSON and protocol.
> Resetting the context as is done for java fixes the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message