[ 
https://issues.apache.org/jira/browse/THRIFT-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391019#comment-15391019
 ] 

ASF GitHub Bot commented on THRIFT-2156:
----------------------------------------

GitHub user Jens-G opened a pull request:

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

    THRIFT-2156 

    code from pull request #1033 plus some refactoring added

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

    $ git pull https://github.com/Jens-G/thrift THRIFT-2156

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

    https://github.com/apache/thrift/pull/1055.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 #1055
    
----
commit 2988bdd14fc4f4602a58407929e331a4649a60c5
Author: Jim King <[email protected]>
Date:   2016-06-20T05:08:58Z

    THRIFT-2156: fix errno handling in server socket

commit 4bf852d6747c08e1e1b8b5bc16cc9481ad63bf56
Author: Jens Geyer <[email protected]>
Date:   2016-07-24T10:11:25Z

    THRIFT-2156: fix errno handling in server socket

----


> TServerSocket::listen() is throwing exceptions with misleading information
> --------------------------------------------------------------------------
>
>                 Key: THRIFT-2156
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2156
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>            Reporter: Frank Meerkoetter
>            Assignee: James E. King, III
>            Priority: Minor
>         Attachments: errno_copy.patch
>
>
> Due to a problem with bind() an exception was thrown.
> The text was:
> "Could not bind: Transport endpoint is not connected"
> which doesn't make sense.
> It turned out that errno had been overwritten.
> The correct text would have been:
> "Could not bind: Address already in use"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to