]> granicus.if.org Git - python/commit
Issue #9090: When a socket with a timeout fails with EWOULDBLOCK or EAGAIN,
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 28 Sep 2010 21:23:11 +0000 (21:23 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 28 Sep 2010 21:23:11 +0000 (21:23 +0000)
commit3e1fd27b74af4f1f040f8b11379015140240deff
treef85346e8049da8b34c291286dd8a250102b93f14
parentcc868d430b0416e588d53698f560b236c6ba88d2
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).
Include/pytime.h
Misc/NEWS
Modules/socketmodule.c