"iSocket is already connected" error has a different number under OpenBSD. fixes #3396
This commit is contained in:
parent
ac3332be39
commit
465b2f20c3
1 changed files with 2 additions and 2 deletions
|
@ -554,8 +554,8 @@ class NonBlockingTcp(PlugIn, IdleObject):
|
||||||
# FIXME: This happens when we switch an already
|
# FIXME: This happens when we switch an already
|
||||||
# connected socket to SSL (STARTTLS). Instead of
|
# connected socket to SSL (STARTTLS). Instead of
|
||||||
# ignoring the error, the socket should only be
|
# ignoring the error, the socket should only be
|
||||||
# connected to once. See #2846.
|
# connected to once. See #2846 and #3396.
|
||||||
workaround = (errno.EALREADY, 10056)
|
workaround = (errno.EALREADY, 10056, 56)
|
||||||
|
|
||||||
# 10035 - winsock equivalent of EINPROGRESS
|
# 10035 - winsock equivalent of EINPROGRESS
|
||||||
if errnum not in (errno.EINPROGRESS, 10035) + workaround:
|
if errnum not in (errno.EINPROGRESS, 10035) + workaround:
|
||||||
|
|
Loading…
Add table
Reference in a new issue