You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2011/06/09 00:53:58 UTC
[jira] [Closed] (THRIFT-1193) Potential infinite loop in
nonblocking_server
[ https://issues.apache.org/jira/browse/THRIFT-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury closed THRIFT-1193.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.7
I just committed this. Thanks for the patch, Ilya!
> 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
> Fix For: 0.7
>
> Attachments: patch-THRIFT-1193.txt
>
>
> 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