aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2005-03-02 03:06:30 +0000
committerJason Woodward2005-03-02 03:06:30 +0000
commitd8e84e6049a8c8678943eca7766f032e6e7a4e49 (patch)
tree6340b3e53f68e5098b50645c8d9dcd1982ef80b4
parent3fc5ed3048941124e9c2816c7349a809ba0cf57c (diff)
downloadslapt-get-d8e84e6049a8c8678943eca7766f032e6e7a4e49.tar.gz
set CURLOPT_HTTPAUTH to CURLAUTH_ANY for NTLM proxy users
-rw-r--r--ChangeLog3
-rw-r--r--src/curl.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a746d17..316cfb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-0.9.9i Feb 28, 2005
+0.9.9i Mar 01, 2005
+ * set CURLOPT_HTTPAUTH to CURLAUTH_ANY for NTLM proxy users
* fixed --remove bug
* --list now properly shows installed packages
* installed packages now parse out package location from /var/log/packages entry
diff --git a/src/curl.c b/src/curl.c
index 06813b9..031433d 100644
--- a/src/curl.c
+++ b/src/curl.c
@@ -40,6 +40,7 @@ int download_data(FILE *fh,const char *url,size_t bytes,const rc_config *global_
curl_easy_setopt(ch, CURLOPT_FTP_USE_EPRT, 0);
#endif
curl_easy_setopt(ch, CURLOPT_FAILONERROR, 1);
+ curl_easy_setopt(ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY );
headers = curl_slist_append(headers, "Pragma: "); /* override no-cache */
@@ -129,6 +130,7 @@ char *head_request(const char *url){
curl_easy_setopt(ch, CURLOPT_FTP_USE_EPRT, 0);
#endif
curl_easy_setopt(ch, CURLOPT_FAILONERROR, 1);
+ curl_easy_setopt(ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY );
headers = curl_slist_append(headers, "Pragma: "); /* override no-cache */