[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

Jeremy Hylton report at bugs.python.org
Tue Aug 18 13:32:25 CEST 2009


Jeremy Hylton <jeremy at alum.mit.edu> added the comment:

Not that we've removed the try one more time branch of the code,
because it was causing other problems.

Jeremy

On Sun, Aug 16, 2009 at 6:24 PM, Gregory P. Smith<report at bugs.python.org> wrote:
>
> Gregory P. Smith <greg at krypto.org> added the comment:
>
> btw, when using async io (poll, select, etc) I -think- your socket will
> see a read event when the server closes the connection (sends you a FIN
> or even a RST) at which point your sock.recv() when you've been told
> data was ready will return 0 bytes indicating that the server has closed
> the connection.
>
> I like your MSG_PEEK hack here.  I'll figure out if this or something
> else should go into (the giant mess that is) httplib.
>
> ----------
> priority:  -> normal
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue3566>
> _______________________________________
> _______________________________________________
> Python-bugs-list mailing list
> Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/jeremy%40alum.mit.edu
>
>

----------
nosy: +jhylton

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


More information about the Python-bugs-list mailing list