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

James E. King, III commented on THRIFT-2188:
--------------------------------------------

Probably worth checking if this is still an issue, since THRIFT-1944 seems to 
have committed changes for both C++ and for Java.

> allow java servers to bind to a random port, and get that port back out of 
> the transport
> ----------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2188
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2188
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>            Reporter: Eric Newton
>         Attachments: patch-THRIFT-2188.patch
>
>
> The java TNonBlockingTransport allows you to bind to port zero, which allows 
> the OS to grab a random port.  However, it's not possible to learn what port 
> the OS decided to use.  I've attached a patch that exposes this information.



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

Reply via email to