]> gitweb.factorcode.org Git - factor.git/commit
Merge:
authorBjörn Lindqvist <bjourne@gmail.com>
Wed, 2 Apr 2014 15:44:19 +0000 (17:44 +0200)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 2 Apr 2014 17:16:51 +0000 (12:16 -0500)
commitf8387a08aede7494388ca03fa17eac9480bdae91
treef4a98935684da40a19e5e89a010263a83827acc6
parent4d8f3e8a7850460499822d9f3b3834090b55b9a9
Merge:
io.sockets.secure.windows: use non-blocking sockets to prevent
SSL_connect from blocking

On Windows, SSL_connect may hang forever if the server doesn't send any
data. To counteract that we temporarily set the socket non-blocking and
then call select in the wait-for-fd method.

Conflicts:
basis/io/sockets/secure/openssl/openssl-tests.factor
basis/io/files/windows/windows.factor
basis/io/sockets/secure/openssl/openssl-tests.factor
basis/io/sockets/secure/windows/windows.factor
basis/windows/winsock/winsock.factor