update cleanhttp
This enables the DualStack "happy eyeballs" dialer.
This commit is contained in:
parent
61ac8203c3
commit
db22d9d70f
|
@ -26,6 +26,7 @@ func DefaultPooledTransport() *http.Transport {
|
||||||
DialContext: (&net.Dialer{
|
DialContext: (&net.Dialer{
|
||||||
Timeout: 30 * time.Second,
|
Timeout: 30 * time.Second,
|
||||||
KeepAlive: 30 * time.Second,
|
KeepAlive: 30 * time.Second,
|
||||||
|
DualStack: true,
|
||||||
}).DialContext,
|
}).DialContext,
|
||||||
MaxIdleConns: 100,
|
MaxIdleConns: 100,
|
||||||
IdleConnTimeout: 90 * time.Second,
|
IdleConnTimeout: 90 * time.Second,
|
||||||
|
|
|
@ -1463,10 +1463,12 @@
|
||||||
"revisionTime": "2017-10-09T17:35:28Z"
|
"revisionTime": "2017-10-09T17:35:28Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "b8F628srIitj5p7Y130xc9k0QWs=",
|
"checksumSHA1": "S95DC3zwxtfOgIy3crWPAat4hRE=",
|
||||||
"path": "github.com/hashicorp/go-cleanhttp",
|
"path": "github.com/hashicorp/go-cleanhttp",
|
||||||
"revision": "3573b8b52aa7b37b9358d966a898feb387f62437",
|
"revision": "06c9ea3a335b7443026f8124b22619524420291b",
|
||||||
"revisionTime": "2017-02-11T01:34:15Z"
|
"revisionTime": "2017-11-30T22:52:43Z",
|
||||||
|
"version": "master",
|
||||||
|
"versionExact": "master"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "9VcI9QGCShWIUIL187qRd4sxwb8=",
|
"checksumSHA1": "9VcI9QGCShWIUIL187qRd4sxwb8=",
|
||||||
|
|
Loading…
Reference in New Issue