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.
parent
171229e1
Please register or sign in to comment