Commit a83870ef authored by Matthias Bolte's avatar Matthias Bolte Committed by Dan Fandrich
Browse files

Detect socket errors in GnuTLS on Windows

On Windows, translate WSAGetLastError() to errno values as GNU
TLS does it internally, too. This is necessary because send() and
recv() on Windows don't set errno when they fail but GNU TLS
expects a proper errno value.

Bug: http://curl.haxx.se/bug/view.cgi?id=3110991
parent a768e39b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment