1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

respect proxy settings for b2d downloads

Signed-off-by: Fabian Ruff <fabian@progra.de>
This commit is contained in:
Fabian Ruff
2015-02-26 13:54:09 +01:00
parent 344c7d771a
commit ac51f9abbd

View File

@@ -22,7 +22,8 @@ func defaultTimeout(network, addr string) (net.Conn, error) {
func getClient() *http.Client {
transport := http.Transport{
Dial: defaultTimeout,
Proxy: http.ProxyFromEnvironment,
Dial: defaultTimeout,
}
client := http.Client{