]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
proxy config: Set https_proxy too
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 6 Apr 2017 17:27:21 +0000 (17:27 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 11 Apr 2017 10:37:35 +0000 (11:37 +0100)
Clients including curl honour https_proxy (not http_proxy) in the
environment for https:// urls.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/TestSupport.pm

index 5da63625b58cf3d6ad17e10a22f493329dbffe20..4e898d9b45e17b1b1d30833f6cc6a9c05d8ba107 100644 (file)
@@ -1891,7 +1891,7 @@ sub http_proxy_envsettings ($) {
     my $proxy = $c{HttpProxy};
     return unless $proxy;
     my @script;
-    foreach my $var (qw(http_proxy)) {
+    foreach my $var (qw(http_proxy https_proxy)) {
         push @script, "http_proxy=$proxy", "export http_proxy";
     }
     return (join '; ', @script).';';