http: remove dualstack since its deprecated (#16940)

Deprecated: Fast Fallback is enabled by default. To
disable, set FallbackDelay to a negative value.

https://golang.org/src/net/dial.go
This commit is contained in:
Carl Bergquist
2019-05-08 10:37:48 +02:00
committed by GitHub
parent b426ff5292
commit a86b8c8a04
7 changed files with 3 additions and 10 deletions

View File

@@ -61,7 +61,6 @@ func (ds *DataSource) GetHttpTransport() (*http.Transport, error) {
Dial: (&net.Dialer{
Timeout: time.Duration(setting.DataProxyTimeout) * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}).Dial,
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,