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

Hudson commented on THRIFT-1563:
--------------------------------

Integrated in Thrift #433 (See [https://builds.apache.org/job/Thrift/433/])
    THRIFT-1563 thrift: make serve() throw an exception if it fails
Patch: Dave Watson (Revision 1325026)

     Result = FAILURE
roger : http://svn.apache.org/viewvc/?view=rev&rev=1325026
Files : 
* /thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp
* /thrift/trunk/lib/cpp/src/server/TSimpleServer.cpp
* /thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp
* /thrift/trunk/lib/cpp/src/server/TThreadedServer.cpp
* /thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp

                
> thrift: make serve() throw an exception if it fails

> ----------------------------------------------------
>
>                 Key: THRIFT-1563
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1563
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library
>            Reporter: Dave Watson
>            Assignee: Dave Watson
>            Priority: Minor
>         Attachments: 
> 0005-thrift-make-serve-throw-an-exception-if-it-fails.patch
>
>
> From 23694c89fadeb0c93cdd981e93cc3b5e41288c0a Mon Sep 17 00:00:00 2001
> From: Adam Simpkins <simpk...@fb.com>
> Date: Fri, 3 Sep 2010 21:41:55 +0000
> Subject: [PATCH 05/12] thrift: make serve() throw an exception if it fails
> Summary:
> If the server fails to bind on the requested port, throw a
> TTransportException instead of returning from serve() normally.
> Test Plan:
> Tested binding on a port that was already in use.  Verified that an
> exception was raised.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to