Message276870
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? |
|
Date |
User |
Action |
Args |
2016-09-18 04:41:18 | martin.panter | set | recipients:
+ martin.panter, georg.brandl, pitrou, giampaolo.rodola, frispete, apollo13 |
2016-09-18 04:41:17 | martin.panter | set | messageid: <1474173677.94.0.235364675109.issue10808@psf.upfronthosting.co.za> |
2016-09-18 04:41:17 | martin.panter | link | issue10808 messages |
2016-09-18 04:41:17 | martin.panter | create | |
|