Преглед изворни кода

auto update script executed

Toby Chui пре 1 година
родитељ
комит
de44b31bd5
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) *ReverseProxy {
 	thisTransporter.(*http.Transport).MaxIdleConns = 1000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 1000
 	thisTransporter.(*http.Transport).IdleConnTimeout = 30 * time.Second
-	thisTransporter.(*http.Transport).MaxConnsPerHost = 120
+	thisTransporter.(*http.Transport).MaxConnsPerHost = 0
 	thisTransporter.(*http.Transport).DisableCompression = true
 
 	return &ReverseProxy{