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

Ruby client should try to connect to every result of getaddrinfo

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Ruby - Library
    • Labels:
      None

      Description

      Ruby Socket::open only tries to connect to the first result of ::Socket::getaddrinfo and throw TTransportException without trying the rest of all.
      It should instead iterate the result until it finds connectable one or reach to the end.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nsuke Nobuaki Sukegawa

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment