From a04fe81bd827b814b30bcaf6bbc254a019d2e9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=8B=8B?= Date: Tue, 8 Aug 2017 14:27:33 +0800 Subject: [PATCH] =?UTF-8?q?Change=20default=20MaxIdleConnsPerHost=20of=20E?= =?UTF-8?q?tcd=20client=E2=80=99s=20http.Transport=20(#853)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware/pkg/tls/tls.go | 1 + 1 file changed, 1 insertion(+) diff --git a/middleware/pkg/tls/tls.go b/middleware/pkg/tls/tls.go index 04044422b..6fc10dd8e 100644 --- a/middleware/pkg/tls/tls.go +++ b/middleware/pkg/tls/tls.go @@ -121,6 +121,7 @@ func NewHTTPSTransport(cc *tls.Config) *http.Transport { }).Dial, TLSHandshakeTimeout: 10 * time.Second, TLSClientConfig: cc, + MaxIdleConnsPerHost: 25, } return tr