Message91650
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. |
|
Date |
User |
Action |
Args |
2009-08-16 22:24:59 | gregory.p.smith | set | recipients:
+ gregory.p.smith, mhammond, cananian |
2009-08-16 22:24:58 | gregory.p.smith | set | messageid: <1250461498.96.0.307334525566.issue3566@psf.upfronthosting.co.za> |
2009-08-16 22:24:57 | gregory.p.smith | link | issue3566 messages |
2009-08-16 22:24:57 | gregory.p.smith | create | |
|