You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2013/09/17 15:34:53 UTC
[jira] [Created] (THRIFT-2188) allow java servers to bind to a
random port, and get that port back out of the transport
Eric Newton created THRIFT-2188:
-----------------------------------
Summary: 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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira