mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
return error properly when a non-blocking connect fails using the multi
interface
This commit is contained in:
parent
265c58611f
commit
b5bbc04ad1
@ -387,6 +387,8 @@ CURLcode Curl_is_connected(struct connectdata *conn,
|
||||
return CURLE_OK;
|
||||
}
|
||||
/* nope, not connected for real */
|
||||
if(err)
|
||||
return CURLE_COULDNT_CONNECT;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user