From 20729647013a32af9d553571c3bd0631ad8d0a23 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sun, 8 May 2022 21:56:59 +0800 Subject: [PATCH] revert: tls handshake timeout recovery 10s --- adapter/provider/vehicle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/provider/vehicle.go b/adapter/provider/vehicle.go index ea987238..289ab3a0 100644 --- a/adapter/provider/vehicle.go +++ b/adapter/provider/vehicle.go @@ -74,7 +74,7 @@ func (h *HTTPVehicle) Read() ([]byte, error) { // from http.DefaultTransport MaxIdleConns: 100, IdleConnTimeout: 30 * time.Second, - TLSHandshakeTimeout: 5 * time.Second, + TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, DialContext: func(ctx context.Context, network, address string) (net.Conn, error) { conn := inner.HandleTcp(address, uri.Hostname())