{{ message }}
[asyncio] bpo-29743: ssl socket leak during handshake#480
Merged
1st1 merged 3 commits intoJun 9, 2017
Merged
Conversation
|
@fafhrd91, thanks for your PR! By analyzing the history of the files in this pull request, we identified @Haypo, @1st1, @serhiy-storchaka and @vadmium to be potential reviewers. |
Sorry, something went wrong.
Contributor
Author
Sorry, something went wrong.
1st1
reviewed
Mar 6, 2017
Contributor
Author
|
I modified PR. I think aborting transport is better approach. i.e socket with uncompleted handshake is broken and we can not do anything, just drop. |
Sorry, something went wrong.
Member
|
This is a much better version, I like it. |
Sorry, something went wrong.
Member
|
Is this for bpo-29743? If so, please prefix the pull request description with it. Thanks :) |
Sorry, something went wrong.
1st1
approved these changes
Jun 9, 2017
1st1
pushed a commit
that referenced
this pull request
Jun 9, 2017
1st1
pushed a commit
that referenced
this pull request
Jun 9, 2017
1st1
pushed a commit
that referenced
this pull request
Jun 9, 2017
1st1
pushed a commit
that referenced
this pull request
Jun 9, 2017
vxgmichel
added a commit
to vxgmichel/cpython
that referenced
this pull request
Jun 11, 2018
This 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
fixed ssl socket leak
python/asyncio#487
aio-libs/aiohttp#1679