revert: tls handshake timeout recovery 10s
This commit is contained in:
parent
aded1b78b5
commit
2072964701
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue