mirror of https://github.com/docker/docs.git
Disable HTTP Keepalives for b2d iso download
Signed-off-by: Fabian Ruff <fabian@progra.de>
This commit is contained in:
parent
ac51f9abbd
commit
ca4fe2a2cb
|
@ -22,6 +22,7 @@ func defaultTimeout(network, addr string) (net.Conn, error) {
|
||||||
|
|
||||||
func getClient() *http.Client {
|
func getClient() *http.Client {
|
||||||
transport := http.Transport{
|
transport := http.Transport{
|
||||||
|
DisableKeepAlives: true,
|
||||||
Proxy: http.ProxyFromEnvironment,
|
Proxy: http.ProxyFromEnvironment,
|
||||||
Dial: defaultTimeout,
|
Dial: defaultTimeout,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue