]> 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:42:36 +0000 (10:42 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 17:42:36 +0000 (10:42 -0700)
commit243458115e2cb295fb5bbb61e6ac528c6b2cf5be
tree635e6628caea30640fa4d4350eac577c74b3f56d
parent0a5b30d98913e84f80ecea2b861e96d8f67c89e9
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