STINNER Victor <vstin...@redhat.com> added the comment:
Call stack when the asyncio client connects to the server when the bug occurs: SSLProtocol.connection_made() -> SSLProtocol._start_handshake() -> SSLProtocol._process_write_backlog() -> SSLPipe.do_handshake() -> SSLPipe.feed_ssldata(b'', only_handshake=True) -> SSLObject.do_handshake() -> C SSL_do_handshake() returns immediately because the socket is non-blocking It seems like SSLObject.do_handshake() is only attempted once and... then nothing. The client is supposed to send data, retry the handshake, or something, but it does *nothing*. So the handshake never completes and the test hangs to later fail with a timeout. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33694> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com