From c3d6cc91ec94de553c65dd3d3358fb9e9c31e80d Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 23 Jul 2017 22:36:32 +0100 Subject: [PATCH] Fix --bind flag changes under go1.6 Correcting 9f2463956884c0e995cf6f7140af0dc06af096e0 --- fs/http_old.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/http_old.go b/fs/http_old.go index 9226b5b9b..fbe4a5b85 100644 --- a/fs/http_old.go +++ b/fs/http_old.go @@ -21,5 +21,5 @@ func (ci *ConfigInfo) dialTimeout(network, address string) (net.Conn, error) { // Initialise the http.Transport for pre go1.7 func (ci *ConfigInfo) initTransport(t *http.Transport) { - t.Dial = dialTimeout + t.Dial = ci.dialTimeout }