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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ecn Eric C. Newton

            Dates

              Created:
              Updated:

              Slack

                Issue deployment