You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Dave Watson (Created) (JIRA)" <ji...@apache.org> on 2012/04/11 23:29:17 UTC
[jira] [Created] (THRIFT-1563) thrift: make serve() throw an
exception if it fails
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 <si...@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
[jira] [Updated] (THRIFT-1563) thrift: make serve() throw an
exception if it fails
Posted by "Dave Watson (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Watson updated THRIFT-1563:
--------------------------------
Attachment: 0005-thrift-make-serve-throw-an-exception-if-it-fails.patch
> 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 <si...@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
[jira] [Resolved] (THRIFT-1563) thrift: make serve() throw an
exception if it fails
Posted by "Roger Meier (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-1563.
---------------------------------
Resolution: Fixed
Assignee: Dave Watson
Thanks Adam and Dave @fb!
> 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 <si...@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
[jira] [Commented] (THRIFT-1563) thrift: make serve() throw an
exception if it fails
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ 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 <si...@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