mirror of
https://github.com/curl/curl.git
synced 2026-06-14 12:25:37 +03:00
there is EAGAIN on Windows nowadays, but never returned by SOCKERRNO
This commit is contained in:
parent
54ced2826a
commit
6e44399d4d
1 changed files with 1 additions and 1 deletions
|
|
@ -942,7 +942,7 @@ static CURLcode socket_connect_result(struct Curl_easy *data,
|
|||
switch(error) {
|
||||
case SOCKEINPROGRESS:
|
||||
case SOCKEWOULDBLOCK:
|
||||
#if defined(EAGAIN) && EAGAIN != SOCKEWOULDBLOCK
|
||||
#if !defined(USE_WINSOCK) && defined(EAGAIN) && EAGAIN != SOCKEWOULDBLOCK
|
||||
/* On some platforms EAGAIN and EWOULDBLOCK are the
|
||||
* same value, and on others they are different, hence
|
||||
* the odd #if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue