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

jottacloud: Fix socket leak on Object.Remove - fixes #2637

Nick Craig-Woodbb2e36100479
diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.go
index ee58148f9..8790562fc 100644
--- a/backend/jottacloud/jottacloud.go
+++ b/backend/jottacloud/jottacloud.go
@@ -1085,6 +1085,7 @@ func (o *Object) Remove() error {
Method: "POST",
Path: o.filePath(),
Parameters: url.Values{},
+ NoResponse: true,
}
if o.fs.opt.HardDelete {