Skip to content

[3.9] bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation (GH-18772)#21888

Merged
miss-islington merged 1 commit into
python:3.9from
miss-islington:backport-495bd03-3.9
Aug 15, 2020

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 15, 2020

Copy link
Copy Markdown
Contributor

[bpo-31122](): ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation

Reproducer: http://tiny.cc/f4ztnz (tiny url because some bot keeps renaming b.p.o.-nnn as bpo links)
(cherry picked from commit 495bd03)

Co-authored-by: Dima Tisnek dimaqq@gmail.com

https://bugs.python.org/issue31122

Automerge-Triggered-By: @gpshead

…SError when peer closes connection during TLS negotiation (pythonGH-18772)

[bpo-31122](): ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation

Reproducer: http://tiny.cc/f4ztnz (tiny url because some bot keeps renaming b.p.o.-nnn as bpo links)
(cherry picked from commit 495bd03)

Co-authored-by: Dima Tisnek <dimaqq@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@dimaqq: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit fc8ffe2 into python:3.9 Aug 15, 2020
@miss-islington miss-islington deleted the backport-495bd03-3.9 branch August 15, 2020 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants