Message91650
| 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: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 |
|