Signed-off-by: Martin Storsjo <martin@xxxxxxxxx> --- Updated patch, enable only on libcurl versions new enough http.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/http.c b/http.c index 2fc55d6..eae74aa 100644 --- a/http.c +++ b/http.c @@ -165,6 +165,9 @@ static CURL *get_curl_handle(void) #if LIBCURL_VERSION_NUM >= 0x070907 curl_easy_setopt(result, CURLOPT_NETRC, CURL_NETRC_OPTIONAL); #endif +#if LIBCURL_VERSION_NUM >= 0x070a06 + curl_easy_setopt(result, CURLOPT_HTTPAUTH, CURLAUTH_ANY); +#endif init_curl_http_auth(result); -- 1.6.0.2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html