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 vstinner
Recipients alex, christian.heimes, dstufft, janssen, vstinner
Date 2017-05-10.17:00:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@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.
Date User Action Args
2017-05-10 17:00:27vstinnersetrecipients: + vstinner, janssen, christian.heimes, alex, dstufft
2017-05-10 17:00:27vstinnersetmessageid: <>
2017-05-10 17:00:27vstinnerlinkissue30319 messages
2017-05-10 17:00:27vstinnercreate