[pve-devel] [PATCH manager] APLInfo: support proxying http traffic

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Dec 9 15:31:02 CET 2015


As requested in ticket #838, to support running `pveam
update` from within a proxied environment.

Closes #838
---
 PVE/APLInfo.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/APLInfo.pm b/PVE/APLInfo.pm
index a26c617..f4b30b1 100644
--- a/PVE/APLInfo.pm
+++ b/PVE/APLInfo.pm
@@ -270,7 +270,7 @@ sub update {
     $ua->agent("PVE/1.0");
 
     if ($proxy) {
-	$ua->proxy(['http'], $proxy);
+	$ua->proxy(['http', 'https'], $proxy);
     } else {
 	$ua->env_proxy;
     }
-- 
2.1.4





More information about the pve-devel mailing list