Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treat SSLEOFError as dropped connection #2941

Merged
merged 1 commit into from
Aug 21, 2024
Merged

treat SSLEOFError as dropped connection #2941

merged 1 commit into from
Aug 21, 2024

Conversation

davidism
Copy link
Member

Apparently on Python 3.10 - 3.12, a bug in http.server with TLS caused SSLEOFError to be handled incorrectly in some cases. python/cpython#122254 Add that to the errors caught and handled as dropped connections.

fixes #2926

@davidism davidism added this to the 3.0.4 milestone Aug 21, 2024
@davidism davidism merged commit 32a77a0 into 3.0.x Aug 21, 2024
12 checks passed
@davidism davidism deleted the ssl-eof branch August 21, 2024 16:59
@peterhorsley
Copy link

Thanks for making this change, sorry I was planning to make a PR but it got away from me :/

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants