GitHub user dbravender opened a pull request:

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

    THRIFT-4018 corruption after ApplicationException in Ruby server

    This fixes an issue where a Ruby Thrift server can corrupt connections by 
putting ApplicationException in the middle of a response. See 
https://issues.apache.org/jira/browse/THRIFT-4018 for more information.

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

    $ git pull https://github.com/dbravender/thrift 
defect/THRIFT-4018-corruption-after-ApplicationException-off-master

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

    https://github.com/apache/thrift/pull/1179.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 #1179
    
----
commit db76008a57402a6d838267ea017332d5c97f484c
Author: Dan Bravender <dan.braven...@gmail.com>
Date:   2016-12-20T14:57:56Z

    THRIFT-4018 reproduction test case

commit 7ab9983de2d1a6d7bb943e799288b7f0050b309d
Author: Dan Bravender <dan.braven...@gmail.com>
Date:   2017-01-02T19:40:11Z

    THRIFT-4018 validate response before putting it on the wire
    Client: ruby
    
    Fixes an issue where an invalid response could corrupt all future responses

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to