Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Fix --bind flag changes under go1.6

Nick Craig-Woodc3d6cc91ec94
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
}