diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-10-03 01:12:18 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-10-03 01:12:18 +0200 |
commit | 3c8030a4977536e9d3a1954adc68082ae1c6d5a2 (patch) | |
tree | b9f24a6273c86f71606550a6589a8bf50ad4ec3a /test/integration/test-bug-590438-broken-provides-thanks-to-remove-order | |
parent | 18908589a096719eb4ce76123596865093d6ff9d (diff) |
refactor onError relabeling of DestFile as '.FAILED'
This helps ensure three things:
- each error is reported via ReportMirrorFailure
- if DestFile doesn't exist, do not attempt rename
- renames happen for every error
The last one wasn't the case for Size mismatches, which isn't nice, but
not a exploitable problem per-se as the file isn't picked up and remains
in partial/ where the following download-try will at most take it for a
partial request which fails the hashsum verification later on
Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-bug-590438-broken-provides-thanks-to-remove-order')
0 files changed, 0 insertions, 0 deletions