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

This commit is contained in:
Nick Craig-Wood 2016-09-05 18:10:01 +01:00
parent b3d0848d09
commit 2eaac80c86
1 changed files with 1 additions and 0 deletions

View File

@ -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