Sfoglia il codice sorgente

auto update script executed

Toby Chui 1 anno fa
parent
commit
ea8c00003f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 {