commit | 800e4b7ad6b6f86c17408429852dfb47493d366e | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue May 16 17:38:30 2017 -0700 |
committer | GitHub <noreply@github.com> | Tue May 16 17:38:30 2017 -0700 |
tree | a950f39d0462fee5a3c7ff1df9d7ae7d0783aa30 | |
parent | b8b9f95f660d00ce9bd11bd9de429176858be3c5 [diff] |
bpo-30329: Catch Windows error 10022 on shutdown() (#1538) (#1624) Catch the Windows socket WSAEINVAL error (code 10022) in imaplib on shutdown(SHUT_RDWR): An invalid operation was attempted This error occurs sometimes on SSL connections. (cherry picked from commit 83a2c2879839da2e10037f5e4af1bd1dafbf1a52)