Skip to content

Conversation

@asvetlov
Copy link
Contributor

@asvetlov asvetlov commented Mar 9, 2018

@asvetlov
Copy link
Contributor Author

asvetlov commented Mar 9, 2018

@1st1 please review.
The patch should be safe, it just skips raising unprocessed exception without adding a new behavior.
When using aiohttp I see the problem. It's reproduced not very often but on every long run I see reports about the problem in logs.

@asvetlov asvetlov merged commit 5e80a71 into python:master Mar 10, 2018
@miss-islington
Copy link
Contributor

Thanks @asvetlov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@asvetlov asvetlov deleted the async-ssl-closing branch March 10, 2018 15:48
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2018
…GH-6044)

* Skip write()/data_received() if sslpipe is destroyed
(cherry picked from commit 5e80a71)

Co-authored-by: Andrew Svetlov <[email protected]>
@bedevere-bot
Copy link

GH-6057 is a backport of this pull request to the 3.7 branch.

@miss-islington
Copy link
Contributor

Sorry, @asvetlov, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 5e80a71ab67045fecec46573a1892e240b569ace 3.6

asvetlov added a commit to asvetlov/cpython that referenced this pull request Mar 10, 2018
…ythonGH-6044)

* Skip write()/data_received() if sslpipe is destroyed.
(cherry picked from commit 5e80a71)
@bedevere-bot
Copy link

GH-6058 is a backport of this pull request to the 3.6 branch.

asvetlov added a commit that referenced this pull request Mar 10, 2018
… (GH-6057)

* Skip write()/data_received() if sslpipe is destroyed
(cherry picked from commit 5e80a71)

Co-authored-by: Andrew Svetlov <[email protected]>
asvetlov added a commit that referenced this pull request Mar 10, 2018
…H-6044) (GH-6058)

* Skip write()/data_received() if sslpipe is destroyed.
(cherry picked from commit 5e80a71)
jo2y pushed a commit to jo2y/cpython that referenced this pull request Mar 23, 2018
…GH-6044)

* Skip write()/data_received() if sslpipe is destroyed
carlbordum added a commit to carlbordum/cpython that referenced this pull request Oct 5, 2020
Before this patch, writing to a closed pipe will silently fail. This
issue is slightly related to bpo-33037/pythonGH-6044.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-asyncio type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants