Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1944

Binding to zero port

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.9
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Library
    • Labels:
    • Environment:

      All platforms

    • Patch Info:
      Patch Available

      Description

      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

        Attachments

        1. patch-THRIFT-1944-updated.patch
          2 kB
          Akshat Aranya
        2. patch-THRIFT-1944-java.patch
          0.6 kB
          Eric C. Newton
        3. patch-THRIFT-1944.patch
          2 kB
          Akshat Aranya

        Issue Links

          Activity

            People

            • Assignee:
              ben.craig Ben Craig
              Reporter:
              aaranya@gmail.com Akshat Aranya

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment