Roland Blom filed bug report #1481217
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows.
Showing
- CHANGES 11 additions, 0 deletionsCHANGES
- RELEASE-NOTES 2 additions, 1 deletionRELEASE-NOTES
- lib/connect.c 12 additions, 12 deletionslib/connect.c
- lib/connect.h 2 additions, 2 deletionslib/connect.h
- lib/dict.c 1 addition, 3 deletionslib/dict.c
- lib/file.c 0 additions, 2 deletionslib/file.c
- lib/ftp.c 6 additions, 10 deletionslib/ftp.c
- lib/hostares.c 2 additions, 3 deletionslib/hostares.c
- lib/hostasyn.c 1 addition, 2 deletionslib/hostasyn.c
- lib/hostip.c 0 additions, 1 deletionlib/hostip.c
- lib/hostip6.c 0 additions, 1 deletionlib/hostip6.c
- lib/hostsyn.c 1 addition, 2 deletionslib/hostsyn.c
- lib/http.c 0 additions, 2 deletionslib/http.c
- lib/http_negotiate.c 1 addition, 2 deletionslib/http_negotiate.c
- lib/sendf.c 2 additions, 2 deletionslib/sendf.c
- lib/ssluse.c 3 additions, 3 deletionslib/ssluse.c
- lib/telnet.c 0 additions, 1 deletionlib/telnet.c
- lib/tftp.c 2 additions, 2 deletionslib/tftp.c
Loading
Please register or sign in to comment