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

allow java servers to bind to a random port, and get that port back out of the transport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java - Library
    • None

    Description

      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.

      Attachments

        1. patch-THRIFT-2188.patch
          0.6 kB
          Eric C. Newton

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ecn Eric C. Newton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: