From 87645c188ae59a4d88500799325c33bb8c39134e Mon Sep 17 00:00:00 2001 From: Julien Duchesne Date: Wed, 9 Oct 2024 07:30:05 -0400 Subject: [PATCH] Set `MaxIdleConnsPerHost` --- crypto/tls/test/tls_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/tls/test/tls_integration_test.go b/crypto/tls/test/tls_integration_test.go index 436b48f6d..b658603d0 100644 --- a/crypto/tls/test/tls_integration_test.go +++ b/crypto/tls/test/tls_integration_test.go @@ -141,7 +141,7 @@ func newIntegrationClientServer( // HTTP t.Run("HTTP/"+tc.name, func(t *testing.T) { - transport := &http.Transport{TLSClientConfig: tlsClientConfig} + transport := &http.Transport{TLSClientConfig: tlsClientConfig, MaxIdleConnsPerHost: 100} // DefaultMaxIdleConnsPerHost is 2 client := &http.Client{Transport: transport} resp, err := client.Get(httpURL)