Page 1 of 1

a bug of openvpn windows client in nonblock mode

Posted: Tue Jul 17, 2012 9:19 am
by mfc42d
in nonblock mode
openvpn_connect function in socket.c
status = connect (sd, (struct sockaddr *) &remote->sa, sizeof (remote->sa));
if (status)
status = openvpn_errno_socket ();
status return WSAEWOULDBLOCK 10035 ,

if (status == EINPROGRESS ) don't enter loop

should be
if if (status == WSAEWOULDBLOCK || status == EINPROGRESS )