Преглед на файлове

auto update script executed

Toby Chui преди 1 година
родител
ревизия
ea8c00003f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 {