From: Paul Sadauskas Date: Sun, 17 Jan 2010 19:54:06 +0000 (-0700) Subject: Use Curl AnyAuth (digest+basic) instead of just digest X-Git-Tag: collectd-4.8.4~34 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=710744a459be601bf557ea61de62b66922c3723b;p=collectd.git Use Curl AnyAuth (digest+basic) instead of just digest --- diff --git a/src/write_http.c b/src/write_http.c index f14636bd..1a490399 100644 --- a/src/write_http.c +++ b/src/write_http.c @@ -142,7 +142,7 @@ static int wh_callback_init (wh_callback_t *cb) /* {{{ */ ssnprintf (cb->credentials, credentials_size, "%s:%s", cb->user, (cb->pass == NULL) ? "" : cb->pass); curl_easy_setopt (cb->curl, CURLOPT_USERPWD, cb->credentials); - curl_easy_setopt (cb->curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); + curl_easy_setopt (cb->curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); } curl_easy_setopt (cb->curl, CURLOPT_SSL_VERIFYPEER, cb->verify_peer);