Senthil Kumaran <orsent...@gmail.com> added the comment:

I am not sure, there can be a default timeout value for client libraries like 
httplib and urllib2. 

Socket connection do have timeout and as you may have figured out already, the 
option in httplib and urllib methods is to set/override the 
socket._GLOBAL_DEFALT_TIMEOUT which is None by default (Wait indefinitely).

Since client libraries are using a global, setting it at once place (say at 
httplib) has same timeout applicable for other modules within the same process.

I see docs can highlight it more or perhaps link to sockets timeout information.

----------
nosy: +orsenthil
title: Unexpected default timeout in http-client-related libraries -> Explain 
the default timeout in http-client-related libraries

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8595>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to