This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients apollo13, frispete, georg.brandl, giampaolo.rodola, martin.panter, pitrou
Date 2016-09-18.04:41:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474173677.94.0.235364675109.issue10808@psf.upfronthosting.co.za>
In-reply-to
Content
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 <http://www.mail-archive.com/search?l=mid&q=4BC200FE.4070508@netbauds.net>. I 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?
History
Date User Action Args
2016-09-18 04:41:18martin.pantersetrecipients: + martin.panter, georg.brandl, pitrou, giampaolo.rodola, frispete, apollo13
2016-09-18 04:41:17martin.pantersetmessageid: <1474173677.94.0.235364675109.issue10808@psf.upfronthosting.co.za>
2016-09-18 04:41:17martin.panterlinkissue10808 messages
2016-09-18 04:41:17martin.pantercreate