Message129822
Ok for EAGAIN.
I'm not completely sure about EPIPE on recv() as it is not listed here:
http://www.kernel.org/doc/man-pages/online/pages/man2/recv.2.html
...although I think it's ok to treat it as an alias for connection lost anyway.
In pyftpdlib I treat both EPIPE and EBADF as disconnect events, and this works with both select() and poll().
Your patches should be targeted for python 3.3 (and not 2.x). |
|
Date |
User |
Action |
Args |
2011-03-01 22:12:56 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, socketpair |
2011-03-01 22:12:56 | giampaolo.rodola | set | messageid: <1299017576.38.0.149767088881.issue11265@psf.upfronthosting.co.za> |
2011-03-01 22:12:44 | giampaolo.rodola | link | issue11265 messages |
2011-03-01 22:12:44 | giampaolo.rodola | create | |
|