]> git.saurik.com Git - apt.git/commit
improve https method queue progress reporting
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 27 Mar 2015 14:53:43 +0000 (15:53 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 18 Apr 2015 23:13:08 +0000 (01:13 +0200)
commit27925d82dd0cbae74d48040363fe6f6c2bae5215
treedfeb2d006049eda1dfa2ae082eb717a515fbbfae
parentbb948ef562862e5cc9fcfb3d7b5e41c70382adeb
improve https method queue progress reporting

The worker expects that the methods tell him when they start or finish
downloading a file. Various information pieces are passed along in this
report including the (expected) filesize. https was using a "global"
struct for reporting which made it 'reuse' incorrect values in some
cases like a non-existent InRelease fallbacking to Release{,.gpg}
resulting in a size-mismatch warning. Reducing the scope and redesigning
the setting of the values we can fix this and related issues.

Closes: 777565, 781509
Thanks: Robert Edmonds and Anders Kaseorg for initial patchs
methods/https.cc
methods/https.h
methods/server.h
test/integration/framework
test/integration/test-apt-https-no-redirect
test/integration/test-apt-update-expected-size
test/integration/test-bug-602412-dequote-redirect