Avoid doing getsockopt() on Windows to verify connects. It seems that this
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Oct 2003 11:42:57 +0000 (11:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Oct 2003 11:42:57 +0000 (11:42 +0000)
commita9af971c595fbc8b452b0cb5b51d080a314d30ac
tree365c532ce1596c08bfebc1abc2c037c2dc1aff18
parent171229e12267449dcd300354902c4aa47e2ee835
Avoid doing getsockopt() on Windows to verify connects. It seems that this
hogs Windows machines when libcurl is being used multi-threaded (with > ~50
threads). Andrew Fuller helped us verify and test this.

According to a MSDN web page on connect(), it returns 0 when the connect
is done and thus we don't need the getsockopt() call anyway on Windows.
lib/connect.c