Skip to content

Commit 85ebf94

Browse files
authored
Merge pull request moby#3652 from alexcb/patch-3
specify a `ResponseHeaderTimeout` value
2 parents 664c119 + 73ef9e2 commit 85ebf94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

util/resolver/resolver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ func newDefaultTransport() *http.Transport {
206206
MaxIdleConnsPerHost: 4,
207207
TLSHandshakeTimeout: 10 * time.Second,
208208
ExpectContinueTimeout: 5 * time.Second,
209+
ResponseHeaderTimeout: 30 * time.Second,
209210
TLSNextProto: make(map[string]func(authority string, c *tls.Conn) http.RoundTripper),
210211
}
211212
}

0 commit comments

Comments
 (0)