From 05406e5aaffb106cbf39e80be53430cfcf77371a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 6 Apr 2017 17:27:21 +0000 Subject: [PATCH] proxy config: Set https_proxy too Clients including curl honour https_proxy (not http_proxy) in the environment for https:// urls. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 5da6362..4e898d9 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -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).';'; -- 2.39.5