◐ Shell
clean mode source ↗

[3.6] bpo-33674: asyncio: Fix SSLProtocol race (GH-7175) by vstinner · Pull Request #7188 · python/cpython

Fix a race condition in SSLProtocol.connection_made() of
asyncio.sslproto: start immediately the handshake instead of using
call_soon(). Previously, data_received() could be called before the
handshake started, causing the handshake to hang or fail.

(cherry picked from commit be00a55)

@bedevere-bot mentioned this pull request

May 28, 2018

1st1

1st1 approved these changes May 28, 2018