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 May 28, 2018
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
May 28, 2018Fix 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
May 29, 2018Fix 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
May 29, 2018Fix 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
Aug 13, 2023This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters