[issue5293] socket timeouts even in blocking mode

Martin v. Löwis report at bugs.python.org
Tue Feb 17 21:51:39 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Because documentation doesn't say that Python should timeout after 20
> seconds after entering blocking mode if socket to remote host can not be
> opened.

That's not true: The documentation says "In blocking mode, operations
block until complete." It takes 20 seconds for the connect attempt
to complete (with error 10060), therefore, you block 20s.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5293>
_______________________________________


More information about the Python-bugs-list mailing list