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

Binding to zero port

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 0.9
    • 0.10.0
    • C++ - Library
    • All platforms

    • 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

              ben.craig Ben Craig
              aaranya@gmail.com Akshat Aranya
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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