Merge pull request #1475 from thaJeztah/remove_deprecated_dualstack

newTransport(): remove deprecated DualStack option
This commit is contained in:
Mike Brown 2020-05-10 10:13:26 -05:00 committed by GitHub
commit 9413131c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,7 +427,7 @@ func newTransport() *http.Transport {
DialContext: (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
FallbackDelay: 300 * time.Millisecond,
}).DialContext,
MaxIdleConns: 10,
IdleConnTimeout: 30 * time.Second,