]> git.saurik.com Git - apt.git/commit - test/integration/test-partial-file-support
don't sent Range requests if we know its not accepted
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Aug 2016 16:24:35 +0000 (18:24 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Tue, 16 Aug 2016 16:49:37 +0000 (18:49 +0200)
commitd94b1d80d8326334d17f6a43061368e783b8e0aa
tree7b248c4adecf84184dc823ada6f654c7e0f46f06
parentebdb6f1810a20ac240b5b2192dc2e6532ff149d2
don't sent Range requests if we know its not accepted

If the server told us in a previous request that it isn't supporting
Ranges with bytes via an Accept-Ranges header missing bytes, we don't
try to formulate requests using Ranges.
methods/http.cc
methods/https.cc
methods/server.cc
methods/server.h
test/integration/test-apt-update-transactions
test/integration/test-bug-lp1445239-download-loop
test/integration/test-partial-file-support
test/integration/test-releasefile-verification
test/interactive-helper/aptwebserver.cc