GitHub user NOMORECOFFEE opened a pull request:

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

    THRIFT-3087 Pass on errors like "connection closed"

    Currently client received 'badmatch' error when the thrift server teardown. 
I'd like information about errors in the thrift clinet before the process exits.
    I've attached an implementation which fixes this good enough for my own and 
add test.

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

    $ git pull https://github.com/NOMORECOFFEE/thrift master

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

    https://github.com/apache/thrift/pull/431.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 #431
    
----
commit 919b4ee523652c290cced24d41d6e512122f78ab
Author: Veselov Andrey <[email protected]>
Date:   2015-04-07T11:28:51Z

    catch badmatch to pass errors into handler module

commit 39799774f8719ab7283b11f8806daa6647ba2387
Author: Veselov Andrey <[email protected]>
Date:   2015-04-07T11:30:05Z

    test handle transport error

----


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