Skip to content

Commit

Permalink
Config https client to support renegotiation
Browse files Browse the repository at this point in the history
  • Loading branch information
tommysitu authored and benjih committed Sep 25, 2017
1 parent 21fbb4b commit f52b461
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/hoverfly.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ func GetDefaultHoverflyHTTPClient(tlsVerification bool, upstreamProxy string) *h
return http.ErrUseLastResponse
}, Transport: &http.Transport{
Proxy: proxyURL,
TLSClientConfig: &tls.Config{InsecureSkipVerify: !tlsVerification},
TLSClientConfig: &tls.Config{
InsecureSkipVerify: !tlsVerification,
Renegotiation: tls.RenegotiateFreelyAsClient,
},
}}
}

Expand Down

0 comments on commit f52b461

Please sign in to comment.