X-Git-Url: https://git.hcoop.net/ntk/apt.git/blobdiff_plain/062074cb519aa05110d24936d95747c59cc0ffc1..b578738870e83db4e61d6f6591bc73884108b7d4:/methods/https.cc diff --git a/methods/https.cc b/methods/https.cc index e0348ab5..0499af0c 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -107,6 +108,9 @@ void HttpsMethod::SetupProxy() /*{{{*/ { URI ServerName = Queue->Uri; + // Determine the proxy setting + AutoDetectProxy(ServerName); + // Curl should never read proxy settings from the environment, as // we determine which proxy to use. Do this for consistency among // methods and prevent an environment variable overriding a