Author vstinner
Recipients asvetlov, pablogsal, vstinner, yselivanov
Date 2018-06-07.01:08:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528333712.28.0.592728768989.issue33694@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-06-07 01:08:32vstinnersetrecipients: + vstinner, asvetlov, yselivanov, pablogsal
2018-06-07 01:08:32vstinnersetmessageid: <1528333712.28.0.592728768989.issue33694@psf.upfronthosting.co.za>
2018-06-07 01:08:32vstinnerlinkissue33694 messages
2018-06-07 01:08:31vstinnercreate