We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c9fa6c commit dfcbe4dCopy full SHA for dfcbe4d
1 file changed
client-go/controller/client/http.go
@@ -19,7 +19,8 @@ import (
19
// CreateHTTPClient creates a HTTP Client with proper SSL options.
20
func CreateHTTPClient(sslVerify bool) *http.Client {
21
tr := &http.Transport{
22
- TLSClientConfig: &tls.Config{InsecureSkipVerify: !sslVerify},
+ TLSClientConfig: &tls.Config{InsecureSkipVerify: !sslVerify},
23
+ DisableKeepAlives: true,
24
}
25
return &http.Client{Transport: tr}
26
0 commit comments