SIGN IN SIGN UP

gh-148292: Update _ssl._SSLSocket for OpenSSL 4 (#149102)

The _SSLSocket object now remembers if it gets an EOF error. In this
case, read(), sendfile(), write() and do_handshake method calls fail
with SSLEOFError without calling the underlying OpenSSL function.

Co-authored-by: Gregory P. Smith <greg@krypto.org>
V
Victor Stinner committed
7b7fa3f9bf3d7cdf3eb669d02b386e05b39c402a
Parent: bc7c102
Committed by GitHub <noreply@github.com> on 5/4/2026, 11:52:57 AM