[ 
https://issues.apache.org/jira/browse/THRIFT-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666286#action_12666286
 ] 

Bryan Duxbury commented on THRIFT-229:
--------------------------------------

I still get two failures:

{code}
1)
Thrift::TransportException in 'Thrift::Socket should open a ::Socket with 
default args'
Could not connect to localhost:9090: undefined method `connect_nonblock' for 
nil:NilClass
./spec/../lib/thrift/transport/socket.rb:42:in `open'
./spec/socket_spec.rb:27:

2)
Thrift::TransportException in 'Thrift::Socket should accept host/port options'
Could not connect to my.domain:1234: undefined method `connect_nonblock' for 
nil:NilClass
./spec/../lib/thrift/transport/socket.rb:42:in `open'
./spec/socket_spec.rb:34:
{code}


> ruby client timeout does not affect connect()
> ---------------------------------------------
>
>                 Key: THRIFT-229
>                 URL: https://issues.apache.org/jira/browse/THRIFT-229
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Ruby)
>         Environment: all
>            Reporter: Robey Pointer
>            Assignee: Bryan Duxbury
>         Attachments: patch-2.txt, patch-3.txt, thrift-229.patch
>
>
> the ruby library does not wrap client connect() calls in a timeout select. so 
> a ruby thrift client could be blocked in connect() indefinitely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to