Skip to content

Commit

Permalink
Set MaxIdleConnsPerHost
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Oct 9, 2024
1 parent 42fcc5d commit 87645c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/tls/test/tls_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87645c1

Please sign in to comment.