Message91681
| Author |
jhylton |
| Recipients |
cananian, gregory.p.smith, jhylton, mhammond |
| Date |
2009年08月18日.11:32:21 |
| SpamBayes Score |
6.1247714e-09 |
| Marked as misclassified |
No |
| Message-id |
<e8bf7a530908180432h11d91558k62d053da3d787dd8@mail.gmail.com> |
| In-reply-to |
<1250461498.96.0.307334525566.issue3566@psf.upfronthosting.co.za> |
| Content |
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@bugs.python.org> wrote:
>
> Gregory P. Smith <greg@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@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
>
> |
|