mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05: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