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

Hudson commented on THRIFT-2838:
--------------------------------

SUCCESS: Integrated in Thrift #1394 (See 
[https://builds.apache.org/job/Thrift/1394/])
THRIFT-2838 TNonblockingServer can bind to port 0 (i.e., get an OS-assigned 
port) but there is no way to get the port number (roger: rev 
d0d7a6558112b2abe9dd21ef562d7de8e2ea7d58)
* lib/cpp/src/thrift/server/TNonblockingServer.h
* lib/cpp/src/thrift/server/TNonblockingServer.cpp
* lib/cpp/test/TNonblockingServerTest.cpp
* lib/cpp/test/Makefile.am
* .gitignore


> TNonblockingServer can bind to port 0 (i.e., get an OS-assigned port) but 
> there is no way to get the port number
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2838
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2838
>             Project: Thrift
>          Issue Type: Wish
>          Components: C++ - Library
>    Affects Versions: 0.9.2
>            Reporter: Henrique Andrade
>            Assignee: Nobuaki Sukegawa
>
> While providing port 0 to the TNonblockingServer (C++ edition) allows the OS 
> to assign any port that is available (this part actually works), there is no 
> API to retrieve the port that was assigned. At least, I wasn't able to find 
> one...
> This is similar to the problem reported on THRIFT-1944.
> Both TSimpleServer and TThreadedServer as of 0.9.2 have this capability.



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

Reply via email to