X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_http.c;h=1a490399ec30e18fd863740fb1094b4baa94100c;hb=67e4e517f58dac2a7b0e63b80256231480bfa59d;hp=f14636bde5ec79e355aa2166e152992f8b651cfd;hpb=1ef654ef7d8225667666b206819d63689dd3b2e4;p=collectd.git 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);