[New-bugs-announce] [issue5661] asyncore should catch EPIPE while sending() and receiving()
report at bugs.python.org
Thu Apr 2 03:03:27 CEST 2009
New submission from Giampaolo Rodola' <billiejoex at users.sourceforge.net>:
I received a report from a pyftpdlib user:
...complaining that an unhandled EPIPE error might be thrown by
asyncore.py on OS X in certain circumstances which are hardly reproducible.
By googling a little about it it seems that he's not the first one who
got this problem:
I think it makes sense modifying dispatcher.send() and dispatcher.recv()
to include EPIPE as error condition to indicate that the connection has
been closed and call handle_close() as consequence.
The patch in attachment does that.
components: Library (Lib)
nosy: giampaolo.rodola, josiah.carlson, josiahcarlson
title: asyncore should catch EPIPE while sending() and receiving()
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13566/asyncore.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce