GNOME Bugzilla – Bug 587910
SSL problems on win32
Last modified: 2009-07-13 00:27:40 UTC
SSL is at least partly broken on win32, due to the SOUP_SOCKET_TIMEOUT rewrite. Investigate and make sure that the GSocket version doesn't have the same problem. This may be because blocking reads/writes sometimes return EAGAIN on windows, and previously that would have been retried automatically by soup-gnutls, but now it's not? (But if that were the case you'd expect NON-ssl to have not worked before...)
Created attachment 137934 [details] [review] make libsoup actually work on win32 On windows, calling read() and write() on socket it pointless, use recv() and send() instead. It is also pointless to check errno, since these operations don't set it. Instead, one should check WSAGetLastError()
Created attachment 137935 [details] [review] patch cherry-picked for master
committed a slight variant of the patch in comment #2 to master