Tell GnuTLS about interesting Winsock errors
authorTor Lillqvist <tml@iki.fi>
Thu, 5 Nov 2009 20:10:21 +0000 (22:10 +0200)
committerTor Lillqvist <tml@iki.fi>
Thu, 5 Nov 2009 20:10:21 +0000 (22:10 +0200)
commite2b8b01418cf4515c7858e9b43916dd36316f026
treea76d422237d780a1443ba3e4928edeb76b1c9a36
parentb51f37b842085826f24fc395626a0d72e8469ea0
Tell GnuTLS about interesting Winsock errors

In the pull and push functions, if we get a Winsock error, tell GnuTLS
about it. Treat WSAEWOULDBLOCK and WSAETIMEDOUT as EAGAIN and WSAEINTR
as EINTR. This helps timeout-test run to finish.

Approved in bug #600749.
libsoup/soup-gnutls.c