From 3ce5f52a7564d61c2c33b39daa522cb8e30a9416 Mon Sep 17 00:00:00 2001 From: Jorge Carpio Date: Fri, 11 Aug 2023 18:00:10 +0200 Subject: [PATCH] Update outputs/client.go Co-authored-by: Thomas Labarussias Signed-off-by: Jorge Carpio --- outputs/client.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/outputs/client.go b/outputs/client.go index c87a36d6f..99013e4c5 100644 --- a/outputs/client.go +++ b/outputs/client.go @@ -194,9 +194,7 @@ func (c *Client) sendRequest(method string, payload interface{}) error { customTransport := http.DefaultTransport.(*http.Transport).Clone() if customTransport.TLSClientConfig == nil { - customTransport.TLSClientConfig = &tls.Config{ - MinVersion: tls.VersionTLS12, - } + customTransport.TLSClientConfig = &tls.Config{} } customTransport.TLSClientConfig.MinVersion = tls.VersionTLS12