[
https://issues.apache.org/jira/browse/THRIFT-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483045#comment-14483045
]
ASF GitHub Bot commented on THRIFT-3087:
----------------------------------------
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
----
> Pass on errors like "connection closed"
> ---------------------------------------
>
> Key: THRIFT-3087
> URL: https://issues.apache.org/jira/browse/THRIFT-3087
> Project: Thrift
> Issue Type: Improvement
> Components: Erlang - Library
> Reporter: Veselov Andrey
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)