]> git.ipfire.org Git - thirdparty/openvpn.git/commit
make non-blocking connect work on Windows
authorHeiko Hund <heiko.hund@sophos.com>
Tue, 17 Jul 2012 16:19:53 +0000 (18:19 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 19 Jul 2012 19:20:22 +0000 (21:20 +0200)
commit9081e0ad4c496a0334a21fc4e8e4f1f73a470b5a
treec5d1746942ebbbcf04258fa287eff9746c3975eb
parentcf93f0e0a65d66ed57f24efb7fbd96dc455b3732
make non-blocking connect work on Windows

Instead of EINPROGRESS WinSock2 returns WSAEWOULDBLOCK if a non-blocking
connect(2) cannot be completed immediately.

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: 1342541993-32462-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6875
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
src/openvpn/socket.c