1
mirror of https://github.com/rclone/rclone synced 2024-12-01 10:31:57 +01:00
rclone/fs/accounting
Nick Craig-Wood 56544bb2fd accounting: fix file handle leak on errors - fixes #3547
In 53a1a0e3ef we introduced a problem where if there was an
error on the file being transferred then the file was re-opened and
the old one wasn't closed.

This was partially fixed in bfbddab46b however this didn't
address the case of the old file being closed.

This is now fixed by
- marking the file as open again in UpdateReader
- moving the stopping the accounting machinery to a new method Done
2019-09-19 16:20:07 +01:00
..
accounting_other.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
accounting_test.go accounting: fix file handle leak on errors - fixes #3547 2019-09-19 16:20:07 +01:00
accounting_unix.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
accounting.go accounting: fix file handle leak on errors - fixes #3547 2019-09-19 16:20:07 +01:00
inprogress.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
stats_groups.go accounting: add call to clear stats 2019-08-02 16:56:19 +01:00
stats_test.go accounting: fix total duration calculation 2019-09-12 10:29:40 +01:00
stats.go accounting: fix total duration calculation 2019-09-12 10:29:40 +01:00
stringset.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
token_bucket_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
token_bucket.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
transfer.go accounting: fix file handle leak on errors - fixes #3547 2019-09-19 16:20:07 +01:00