b2 with crypt: fix crash when uploading large files - fixes #673
This commit is contained in:
@@ -468,6 +468,7 @@ func AccountByPart(obj Object) *Account {
|
|||||||
acc := Stats.inProgress.get(obj.Remote())
|
acc := Stats.inProgress.get(obj.Remote())
|
||||||
if acc == nil {
|
if acc == nil {
|
||||||
Debug(obj, "Didn't find object to account part transfer")
|
Debug(obj, "Didn't find object to account part transfer")
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
acc.disableWholeFileAccounting()
|
acc.disableWholeFileAccounting()
|
||||||
return acc
|
return acc
|
||||||
|
|||||||
Reference in New Issue
Block a user