From d5f3a15195e2e06d80a8609961b41882e9586ce9 Mon Sep 17 00:00:00 2001 From: Daryl McMillan Date: Wed, 24 Nov 2021 12:51:55 -0500 Subject: [PATCH] use windows proxy for https --- agent/proxyconfig/proxy_windows.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agent/proxyconfig/proxy_windows.go b/agent/proxyconfig/proxy_windows.go index 216ce1d9d..e68ffad64 100644 --- a/agent/proxyconfig/proxy_windows.go +++ b/agent/proxyconfig/proxy_windows.go @@ -315,9 +315,10 @@ func ParseProxySettings(log log.T, proxy string) ProxySettings { HttpsProxy: https, } - // If no [=] is provided http is the default option + // If no [=] is provided all schemes are handled if https == nil && http == nil { result.HttpProxy = other + result.HttpsProxy = other } else if https != nil && http == nil { result.HttpProxy = other } else if https == nil && http != nil {