projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc81b3
)
Use Curl AnyAuth (digest+basic) instead of just digest
author
Paul Sadauskas
<psadauskas@gmail.com>
Sun, 17 Jan 2010 19:54:06 +0000
(12:54 -0700)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 20 Jan 2010 09:37:19 +0000
(10:37 +0100)
src/write_http.c
patch
|
blob
|
history
diff --git
a/src/write_http.c
b/src/write_http.c
index
f14636b
..
1a49039
100644
(file)
--- 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);