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

b2 with crypt: fix crash when uploading large files - fixes #673

Nick Craig-Wood2eaac80c8682
diff --git a/fs/accounting.go b/fs/accounting.go
index a7cea2d47..39b863f72 100644
--- a/fs/accounting.go
+++ b/fs/accounting.go
@@ -468,6 +468,7 @@ func AccountByPart(obj Object) *Account {
acc := Stats.inProgress.get(obj.Remote())
if acc == nil {
Debug(obj, "Didn't find object to account part transfer")
+ return nil
}
acc.disableWholeFileAccounting()
return acc