Skip to content

Commit

Permalink
[test-fix] Added a TLS session cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gboddin committed Jun 2, 2021
1 parent 5df4ca9 commit 347cd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l9plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (plugin ServicePluginBase) GetHttpClient(ctx context.Context, ip string, po
ResponseHeaderTimeout: 2 * time.Second,
ExpectContinueTimeout: 2 * time.Second,
DisableKeepAlives: true,
TLSClientConfig: &tls.Config{InsecureSkipVerify: true,ClientSessionCache: tlsSessionCache},
TLSClientConfig: &tls.Config{InsecureSkipVerify: true,ClientSessionCache: TlsSessionCache},
},
Timeout: 5 * time.Second,
CheckRedirect: func(req *http.Request, via []*http.Request) error {
Expand Down

0 comments on commit 347cd71

Please sign in to comment.