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 }