◐ Shell
clean mode source ↗

[3.7] bpo-33674: asyncio: Fix SSLProtocol race (GH-7175) by miss-islington · Pull Request #7187 · 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)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue33674