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<rep...@bugs.python.org> wrote: > > Gregory P. Smith <g...@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 <rep...@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 > > _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com