summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-10-14 07:42:35 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-10-14 07:42:35 +0200
commit4011e1137955decbb988e0098ba9f4fdbe6f2e4d (patch)
treecc3e2f62d1036ae3c89e6a548a1d54dd9cebbdde /methods/https.cc
parent71bba383561308577a6ae1acea136428721a5f36 (diff)
parentf465a80f6e0e0cc3edae1870881135ced824c9e3 (diff)
merge Julians changes from lp:~mvo/apt/debian-sid
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/https.cc b/methods/https.cc
index 37d93e308..79e6fea3f 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -135,6 +135,7 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, false);
curl_easy_setopt(curl, CURLOPT_FAILONERROR, true);
curl_easy_setopt(curl, CURLOPT_FILETIME, true);
+ curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
// SSL parameters are set by default to the common (non mirror-specific) value
// if available (or a default one) and gets overload by mirror-specific ones.