bpo-30329: Catch Windows error 10022 on shutdown() (#1538)
Catch the Windows socket WSAEINVAL error (code 10022) in imaplib and poplib on shutdown(SHUT_RDWR): An invalid operation was attempted This error occurs sometimes on SSL connections.
V
Victor Stinner committed
83a2c2879839da2e10037f5e4af1bd1dafbf1a52
Parent: edef358
Committed by GitHub <noreply@github.com>
on 5/15/2017, 3:33:45 PM