[
https://issues.apache.org/jira/browse/THRIFT-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King, III resolved THRIFT-1944.
----------------------------------------
Resolution: Cannot Reproduce
Fix Version/s: 0.9.2
I opened THRIFT-3947 and THRIFT-3948 to track the additional issues discussed;
however binding to port 0 works and is unit tested as of 0.9.2.
> Binding to zero port
> --------------------
>
> Key: THRIFT-1944
> URL: https://issues.apache.org/jira/browse/THRIFT-1944
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.9
> Environment: All platforms
> Reporter: Akshat Aranya
> Assignee: Ben Craig
> Labels: bind
> Fix For: 0.9.2
>
> Attachments: patch-THRIFT-1944-java.patch,
> patch-THRIFT-1944-updated.patch, patch-THRIFT-1944.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> This patch builds upon a previously submitted patch that was not accepted
> (THRIFT-966). The purpose of this patch is to allow TServerSocket to bind to
> port zero, that is, have the server socket be assigned a port by the OS.
> This patch provides a way to query the port after the socket has been bound
> and determine the OS assigned port
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)