Potential infinite loop in nonblocking_server
---------------------------------------------

                 Key: THRIFT-1193
                 URL: https://issues.apache.org/jira/browse/THRIFT-1193
             Project: Thrift
          Issue Type: Bug
          Components: Ruby - Library
    Affects Versions: 0.7
            Reporter: Ilya Maykov
            Assignee: Ilya Maykov
            Priority: Minor


The fix for THRIFT-1187 could cause the server to enter an infinite loop if 
select() started throwing Errno::EBADF when called on a non-closed 
@server_transport.

The obvious fix is to turn the 'next' into a 'break'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to