]> git.saurik.com Git - apt.git/commit - methods/http.cc
detect redirection loops in acquire instead of workers
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 2 Aug 2016 20:44:50 +0000 (22:44 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 10 Aug 2016 21:19:44 +0000 (23:19 +0200)
commit57401c48fadc0c78733a67294f9cc20a57e527c9
treec2f73bb60af2076cf5bb8cd85be3795878067409
parentece81b7517b1af6f86aff733498f6c11d5aa814f
detect redirection loops in acquire instead of workers

Having the detection handled in specific (http) workers means that a
redirection loop over different hostnames isn't detected. Its also not a
good idea have this implement in each method independently even if it
would work
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
apt-pkg/acquire-worker.cc
methods/aptmethod.h
methods/http.cc
methods/http.h
methods/https.h
methods/server.cc
methods/server.h
test/integration/test-apt-redirect-loop [new file with mode: 0755]