Explorar o código

auto update script executed

Toby Chui hai 1 ano
pai
achega
ea8c00003f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mod/dynamicproxy/dpcore/dpcore.go

+ 1 - 1
mod/dynamicproxy/dpcore/dpcore.go

@@ -94,7 +94,7 @@ func NewDynamicProxyCore(target *url.URL, prepender string, ignoreTLSVerificatio
 	thisTransporter.(*http.Transport).MaxIdleConns = 5000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 5000
 	thisTransporter.(*http.Transport).IdleConnTimeout = 60 * time.Second
-	thisTransporter.(*http.Transport).MaxConnsPerHost = 0
+	thisTransporter.(*http.Transport).MaxConnsPerHost = 100
 	thisTransporter.(*http.Transport).DisableCompression = true
 
 	if ignoreTLSVerification {