[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK
Giampaolo Rodola'
report at bugs.python.org
Fri Apr 26 15:09:04 CEST 2013
Giampaolo Rodola' added the comment:
I confirm I can reproduce this issue also in pyftpdlib:
https://code.google.com/p/pyftpdlib/issues/detail?id=255
Current proposed patch returning '' is not ideal as for asynchat '' is an alias for 'connection lost'.
In summary recv() in case of EAGAIN should return None and asynchat.handle_read() should take that into account.
Will provide a patch later.
----------
assignee: -> giampaolo.rodola
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16133>
_______________________________________
More information about the Python-bugs-list
mailing list