]> git.proxmox.com Git - apt.git/blob - fix-https-proxy-auth.patch
Initial import
[apt.git] / fix-https-proxy-auth.patch
1 --- apt-0.8.10.3+squeeze1/methods/https.cc 2011-04-15 09:30:33.000000000 +0200
2 +++ - 2012-04-20 14:41:07.907097097 +0200
3 @@ -86,10 +86,7 @@
4 // Determine what host and port to use based on the proxy settings
5 if (UseProxy.empty() == false)
6 {
7 - Proxy = UseProxy;
8 - if (Proxy.Port != 1)
9 - curl_easy_setopt(curl, CURLOPT_PROXYPORT, Proxy.Port);
10 - curl_easy_setopt(curl, CURLOPT_PROXY, Proxy.Host.c_str());
11 + curl_easy_setopt(curl, CURLOPT_PROXY, UseProxy.c_str());
12 }
13 } /*}}}*/
14 // HttpsMethod::Fetch - Fetch an item /*{{{*/
15
16