You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Frank Meerkoetter (JIRA)" <ji...@apache.org> on 2013/09/01 22:30:51 UTC

[jira] [Created] (THRIFT-2156) TServerSocket::listen() is throwing exceptions with misleading information

Frank Meerkoetter created THRIFT-2156:
-----------------------------------------

             Summary: 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
            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira