[ https://issues.apache.org/jira/browse/THRIFT-3641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150711#comment-15150711 ]
ASF GitHub Bot commented on THRIFT-3641: ---------------------------------------- GitHub user nsuke opened a pull request: https://github.com/apache/thrift/pull/872 THRIFT-3641 Ruby client should try to connect to every result of geta… …ddrinfo You can merge this pull request into a Git repository by running: $ git pull https://github.com/nsuke/thrift THRIFT-3641 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/872.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #872 ---- commit a0f83d8746560f9521f906898e30c491d87c407d Author: Nobuaki Sukegawa <ns...@apache.org> Date: 2016-02-17T16:03:07Z THRIFT-3641 Ruby client should try to connect to every result of getaddrinfo ---- > Ruby client should try to connect to every result of getaddrinfo > ---------------------------------------------------------------- > > Key: THRIFT-3641 > URL: https://issues.apache.org/jira/browse/THRIFT-3641 > Project: Thrift > Issue Type: Bug > Components: Ruby - Library > Reporter: Aki Sukegawa > Assignee: Aki Sukegawa > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)