revert: tls handshake timeout recovery 10s
This commit is contained in:
parent
7c22b555a8
commit
f0754dbcb4
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ func (h *HTTPVehicle) Read() ([]byte, error) {
|
||||||
// from http.DefaultTransport
|
// from http.DefaultTransport
|
||||||
MaxIdleConns: 100,
|
MaxIdleConns: 100,
|
||||||
IdleConnTimeout: 30 * time.Second,
|
IdleConnTimeout: 30 * time.Second,
|
||||||
TLSHandshakeTimeout: 5 * time.Second,
|
TLSHandshakeTimeout: 10 * time.Second,
|
||||||
ExpectContinueTimeout: 1 * time.Second,
|
ExpectContinueTimeout: 1 * time.Second,
|
||||||
DialContext: func(ctx context.Context, network, address string) (net.Conn, error) {
|
DialContext: func(ctx context.Context, network, address string) (net.Conn, error) {
|
||||||
conn := inner.HandleTcp(address, uri.Hostname())
|
conn := inner.HandleTcp(address, uri.Hostname())
|
||||||
|
|
Loading…
Reference in a new issue