[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 4/4] 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 <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/TestSupport.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index ac9726c..4ced6c0 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.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.