This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients cananian, gregory.p.smith, mhammond
Date 2009-08-16.22:24:57
SpamBayes Score 1.2510304e-05
Marked as misclassified No
Message-id <1250461498.96.0.307334525566.issue3566@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-08-16 22:24:59gregory.p.smithsetrecipients: + gregory.p.smith, mhammond, cananian
2009-08-16 22:24:58gregory.p.smithsetmessageid: <1250461498.96.0.307334525566.issue3566@psf.upfronthosting.co.za>
2009-08-16 22:24:57gregory.p.smithlinkissue3566 messages
2009-08-16 22:24:57gregory.p.smithcreate