Skip to content

Commit

Permalink
added renagotiate
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvin Amirian committed Dec 29, 2020
1 parent 107472b commit ebcb5a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ func getHTTPResponseError(resp *http.Response) error {
func (whr *WapiHttpRequestor) Init(cfg TransportConfig) {
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: !cfg.SslVerify,
RootCAs: cfg.certPool},
RootCAs: cfg.certPool,
Renegotiation: tls.RenegotiateOnceAsClient},
MaxIdleConnsPerHost: cfg.HttpPoolConnections,
}

Expand Down

0 comments on commit ebcb5a5

Please sign in to comment.