mirror of
https://github.com/curl/curl.git
synced 2025-09-23 12:36:49 +03:00
connect: singleipconnect(): properly try other address families after failure
This commit is contained in:
parent
1befebc950
commit
759d049ae8
|
@ -1049,7 +1049,7 @@ static CURLcode singleipconnect(struct connectdata *conn,
|
||||||
if(result == CURLE_UNSUPPORTED_PROTOCOL) {
|
if(result == CURLE_UNSUPPORTED_PROTOCOL) {
|
||||||
/* The address family is not supported on this interface.
|
/* The address family is not supported on this interface.
|
||||||
We can continue trying addresses */
|
We can continue trying addresses */
|
||||||
return CURLE_OK;
|
return CURLE_COULDNT_CONNECT;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user