Skip to content
Snippets Groups Projects
Commit 03235e28 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fixes large WCPU footprint under freebsd. fixes #1963

parent c051cc1a
No related branches found
No related tags found
No related merge requests found
......@@ -253,7 +253,8 @@ class HostTester(Socks5, IdleObject):
self._recv=self._sock.recv
except Exception, ee:
(errnum, errstr) = ee
if errnum in (errno.EINPROGRESS, errno.EALREADY, errno.EWOULDBLOCK):
# 56 is for freebsd
if errnum in (errno.EINPROGRESS, errno.EALREADY, errno.EWOULDBLOCK, 56):
# still trying to connect
return
# win32 needs this
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment