[issue31320] test_ssl logs a traceback
Martin Panter
report at bugs.python.org
Mon Sep 4 02:06:32 EDT 2017
Martin Panter added the comment:
Not sure if you just want to hide the presence of the exception and traceback. But regarding the exception itself (OSError with errno 0), this is not ideal. From memory, you tend to get this when the connection is shut down insecurely at the TCP level. A better exception would be SSLEOFError. Similar report in Issue 31122 (same wrap_socket → do_handshake chain). Probably also relevant: Issue 10808.
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31320>
_______________________________________
More information about the Python-bugs-list
mailing list