Patch: httplib.py default timeout

Sean Mc Grath digitome at iol.ie
Fri Dec 24 05:51:37 EST 1999


On 22 Dec 1999 17:10:09 GMT, aahz at netcom.com (Aahz Maruch) wrote:

>No, I'm not including the actual patch here.  I just wanted to see if
>anyone had an objection to changing httplib.py so that by default it
>times out after sixty seconds.  To maintain the current behavior, you'd
>have to pass in a parameter of 'timeout=0'.
>
I'd be interested in hearing the pros/cons of going
this route versus packaging socket stuff behind
threads with associated timeouts.

I looked at the source for Grail and found that
it goes right down to the wire rather than
use httplib.

regards,




More information about the Python-list mailing list