From f52b4618e6b7b1f066e87acb247a859a69041607 Mon Sep 17 00:00:00 2001 From: Tommy Situ Date: Fri, 22 Sep 2017 16:28:38 +0100 Subject: [PATCH] Config https client to support renegotiation --- core/hoverfly.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/hoverfly.go b/core/hoverfly.go index a37c34193..aa007efc8 100644 --- a/core/hoverfly.go +++ b/core/hoverfly.go @@ -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, + }, }} }