Antoine Pitrou <pit...@free.fr> added the comment:

Here is a new patch. It doesn't change handle_error() but instead ignores 
abruptly closed sockets when doing the SSL shutdown.

The underlying problem seems to be an asyncore limitation: close() can be 
called after an error such as EPIPE or ECONNABORTED, but asyncore doesn't give 
us any way to know in advance.

----------
Added file: http://bugs.python.org/file16779/newssl2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8108>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to