errno typo

This commit is contained in:
Pedro Algarvio 2016-05-12 13:38:22 +01:00
parent 3aae5a9c28
commit 84e04884aa
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -280,7 +280,7 @@ class SocketServerRequestHandler(socketserver.StreamRequestHandler):
break
except socket.error as exc:
try:
if exc.errno == errno.WSAECONNREST:
if exc.errno == errno.WSAECONNRESET:
# Connection reset on windows
break
except AttributeError: