commit | 3e1fd27b74af4f1f040f8b11379015140240deff | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Sep 28 21:23:11 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Sep 28 21:23:11 2010 +0000 |
tree | f85346e8049da8b34c291286dd8a250102b93f14 | |
parent | cc868d430b0416e588d53698f560b236c6ba88d2 [diff] |
Issue #9090: When a socket with a timeout fails with EWOULDBLOCK or EAGAIN, retry the select() loop instead of bailing out. This is because select() can incorrectly report a socket as ready for reading (for example, if it received some data with an invalid checksum).