]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 15 Aug 2020 17:44:57 +0000 (10:44 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 17:44:57 +0000 (10:44 -0700)
commitfc8ffe27b6f29d67b76fb2ef57466c95af5a9f82
treed1a1161f2b1cb3cb7bdd1537b0130b1d83c8b1f5
parent31bc45c4b275a0bfcb46e5a115276f1daa814523
bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation (GH-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 495bd035662fda29639f9d52bb6baebea31d72fa)

Co-authored-by: Dima Tisnek <dimaqq@gmail.com>
Misc/NEWS.d/next/Library/2020-03-11-07-44-06.bpo-31122.zIQ80l.rst [new file with mode: 0644]
Modules/_ssl.c