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