GitHub user tylertreat-wf opened a pull request:

    https://github.com/apache/thrift/pull/952

    THRIFT-3746 JSON protocol left in incorrect state on read errors

    This is related to THRIFT-3735, but the problem was not fully addressed
    there. The JSON protocol's read buffer needs to be reset to avoid being
    put in an invalid state on read errors.
    
    This also changes how the writer is reset to match what we do with the
    reader for consistency.
    
    @markerickson-wf @stevenosborne-wf

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tylertreat-wf/thrift THRIFT-3746

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/952.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #952
    
----
commit 7503e55f5cc3ed65e80cf0df1da9e76ba900e103
Author: Tyler Treat <[email protected]>
Date:   2016-03-16T15:06:55Z

    THRIFT-3746 JSON protocol left in incorrect state on read errors
    
    This is related to THRIFT-3735, but the problem was not fully addressed
    there. The JSON protocol's read buffer needs to be reset to avoid being
    put in an invalid state on read errors.
    
    This also changes how the writer is reset to match what we do with the
    reader for consistency.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to