Răsfoiți Sursa

auto update script executed

Toby Chui 1 an în urmă
părinte
comite
ea8c00003f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 {