[issue25292] ssl socket gets into broken state when client exits during handshake

Christian Heimes report at bugs.python.org
Thu Sep 7 10:42:09 EDT 2017


Christian Heimes added the comment:

This looks like a problem in asyncio. When the client closes the writer, the TLS and TCP connections are shut down. The server's writer still accept data although it is not written to the underlying ssl object:

(Pdb) writer.transport._ssl_protocol._extra['ssl_object'].pending()
0
(Pdb) writer.transport._ssl_protocol._in_shutdown
True
(Pdb) len(writer.transport._ssl_protocol._write_backlog)
2

----------
assignee: christian.heimes -> yselivanov
components:  -SSL
versions:  -Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25292>
_______________________________________


More information about the Python-bugs-list mailing list