|
|
@@ -38,6 +38,7 @@ func InitHttpClient() {
|
|
|
MaxIdleConns: common.RelayMaxIdleConns,
|
|
|
MaxIdleConnsPerHost: common.RelayMaxIdleConnsPerHost,
|
|
|
ForceAttemptHTTP2: true,
|
|
|
+ Proxy: http.ProxyFromEnvironment, // Support HTTP_PROXY, HTTPS_PROXY, NO_PROXY env vars
|
|
|
}
|
|
|
|
|
|
if common.RelayTimeout == 0 {
|