[issue14574] SocketServer doesn't handle client disconnects properly
Kristján Valur Jónsson
report at bugs.python.org
Fri Oct 5 12:53:43 CEST 2012
Kristján Valur Jónsson added the comment:
> although I'd prefer a BSD errno example, such as ECONNRESET, instead of a winsock one
Are you referring to the comment where I mention ECONNABORTED? That is a regular unix error (windows version is WSAECONNABORTED).
This error occurs when the local stack decides to kill the connection, as opposed to ECONNRESET which occurs on account of receiving a RST packet.
New patch includes documentation change.
If 2.7 is still in bugfix mode, then this patch could probably be accepted.
----------
Added file: http://bugs.python.org/file27432/socketserver.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14574>
_______________________________________
More information about the Python-bugs-list
mailing list