You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose you ask libcurl to resolve a hostname (e.g. google.com) to IPv6 addresses only. But you only have IPv4 connectivity. libcurl would correctly fail with CURLE_COULDNT_CONNECT. But the error buffer set by CURLOPT_ERRORBUFFER would be empty.
Suppose you ask libcurl to resolve a hostname (e.g.
google.com
) to IPv6 addresses only. But you only have IPv4 connectivity. libcurl would correctly fail withCURLE_COULDNT_CONNECT
. But the error buffer set byCURLOPT_ERRORBUFFER
would be empty.I think adding a
failf()
call above this line would work:https://github.com/bagder/curl/blob/master/lib/connect.c#L1176
But I don't know if that's the right place to do it.
The text was updated successfully, but these errors were encountered: