summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-10-03 01:12:18 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-10-03 01:12:18 +0200
commit3c8030a4977536e9d3a1954adc68082ae1c6d5a2 (patch)
treeb9f24a6273c86f71606550a6589a8bf50ad4ec3a /apt-pkg/acquire-worker.cc
parent18908589a096719eb4ce76123596865093d6ff9d (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 'apt-pkg/acquire-worker.cc')
0 files changed, 0 insertions, 0 deletions