[issue17672] ssl unclean shutdown
Antoine Pitrou
report at bugs.python.org
Tue Apr 9 17:05:28 CEST 2013
Antoine Pitrou added the comment:
> Client gets an exception in reading the socket, not in writing.
Yes, it does, and the exception bears the error code SSL_ERROR_EOF (8), which is expected here.
The question is: why would you expect reading *not* to raise an exception while the remote end of the connection has been closed? TCPStreamHandler will only keep the connection alive as long as the handle() method is running, the connection is disposed of afterwards.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17672>
_______________________________________
More information about the Python-bugs-list
mailing list