[issue11265] asyncore does not check for EAGAIN and EPIPE errno
Giampaolo Rodola'
report at bugs.python.org
Tue Mar 1 23:12:56 CET 2011
Giampaolo Rodola' <g.rodola at gmail.com> added the comment:
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).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11265>
_______________________________________
More information about the Python-bugs-list
mailing list