Martin Panter added the comment:
I understand this condition happens when the local end calls unwrap(), but the
low-level socket connection has already been shut down from the remote end. If
the remote is too slow, I get ConnectionResetError instead.
There is some discussion of this at
tend to agree with Antoine that unfortunately there is not much Python can do
without help from Open SSL. I.e. can we rely on SSL_shutdown() always setting
errno = 0 to indicate Python should raise SSLEOFError, or should Open SSL add
some new way of indicating this condition?
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list