Author: asterix Date: 2007-08-26 22:45:07 +0200 (Sun, 26 Aug 2007) New Revision: 8572
Modified: trunk/src/common/xmpp/transports_nb.py Log: "iSocket is already connected" error has a different number under OpenBSD. fixes #3396
Modified: trunk/src/common/xmpp/transports_nb.py =================================================================== --- trunk/src/common/xmpp/transports_nb.py 2007-08-26 14:44:03 UTC (rev 8571) +++ trunk/src/common/xmpp/transports_nb.py 2007-08-26 20:45:07 UTC (rev 8572) @@ -554,8 +554,8 @@ # FIXME: This happens when we switch an already # connected socket to SSL (STARTTLS). Instead of # ignoring the error, the socket should only be - # connected to once. See #2846. - workaround = (errno.EALREADY, 10056) + # connected to once. See #2846 and #3396. + workaround = (errno.EALREADY, 10056, 56)
# 10035 - winsock equivalent of EINPROGRESS if errnum not in (errno.EINPROGRESS, 10035) + workaround: