"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Add request ID to HTTP debugging to make it easier to trace concurrent flows
Nick Craig-Woodd1759fdfa970
diff --git a/fs/http.go b/fs/http.goindex ffc005b98..accd9f41f 100644--- a/fs/http.go+++ b/fs/http.go@@ -188,7 +188,7 @@ func (t *Transport) RoundTrip(req *http.Request) (resp *http.Response, err errorif t.logHeader || t.logBody {buf, _ := httputil.DumpRequestOut(req, t.logBody)Debug(nil, "%s", separatorReq)- Debug(nil, "%s", "HTTP REQUEST")+ Debug(nil, "%s (req %p)", "HTTP REQUEST", req)Debug(nil, "%s", string(buf))Debug(nil, "%s", separatorReq)}@@ -197,7 +197,7 @@ func (t *Transport) RoundTrip(req *http.Request) (resp *http.Response, err error// Log responseif t.logHeader || t.logBody {Debug(nil, "%s", separatorResp)- Debug(nil, "%s", "HTTP RESPONSE")+ Debug(nil, "%s (req %p)", "HTTP RESPONSE", req)if err != nil {Debug(nil, "Error: %v", err)} else {