[Python-Dev] Adding socket timeout to urllib2

Bob Ippolito bob at redivi.com
Wed Mar 7 04:15:24 CET 2007


On 3/6/07, skip at pobox.com <skip at pobox.com> wrote:
>
>     Guido> Since "idel timeout" is not a commonly understood term it would
>     Guido> be even better if it was explained without using it.
>
> I think it's commonly understood, but it doesn't mean what the socket
> timeout is used for.  It's how long a connection can be idle (the client
> doesn't make a request of the server) before the server will close the
> connection.
>

What does idle timeout have to do with urllib2 or any IO layer for
that matter? I've only seen it as a very high level server-only
feature...

-bob


More information about the Python-Dev mailing list