[asyncio] bpo-29743: ssl socket leak during handshake by fafhrd91 · Pull Request #480 · python/cpython
fafhrd91
changed the title
ssl socket leak during handshake
bpo-29743: ssl socket leak during handshake
vstinner
changed the title
bpo-29743: ssl socket leak during handshake
[asyncio] bpo-29743: ssl socket leak during handshake
1st1 approved these changes Jun 9, 2017
vxgmichel added a commit to vxgmichel/cpython that referenced this pull request
Jun 11, 2018This fixes asyncio issue python#480. The _SelectorDatagramTransport.sendto method has to be modified so _sock.send is used only if _sock is connected. It also protects socket.getsockname against OSError in _SelectorTransport. This might happen on Windows if the socket is not connected (e.g. for UDP broadcasting).
This 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