STINNER Victor added the comment:

@Our SSL experts: any idea why sock.close() fails with "ConnectionResetError: 
[Errno 54] Connection reset by peer" in imaplib? Is that a new error? Should 
imaplib catch ConnectionResetError on sock.close()?

By the way, see also bpo-30329: I proposed a patch to catch the Windows socket 
error 10022 on shutdown() for poplib and imaplib SSL connections. No idea why 
this error only occurs on SSL connections.

----------
nosy: +alex, christian.heimes, dstufft, janssen

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30319>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to