bpo-33674: asyncio: Fix SSLProtocol race by vstinner · Pull Request #7175 · 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.
1st1
approved these changes
1st1 pushed a commit to MagicStack/uvloop that referenced this pull request
1st1 pushed a commit to MagicStack/uvloop that referenced this pull request
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
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>
ned-deily pushed a commit that referenced this pull request
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>
1st1 pushed a commit that referenced this pull request
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)
Olaf1022 pushed a commit to Olaf1022/Ultra-fast-asyncio that referenced this pull request