]> git.saurik.com Git - apt.git/commit - test/integration/test-apt-https-no-redirect
allow methods to be disabled and redirected via config
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 6 Aug 2016 17:59:57 +0000 (19:59 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 10 Aug 2016 21:19:44 +0000 (23:19 +0200)
commitc9c910695185b59aa27b787c1a250497e47b492b
treecb03831bf3e05aa35b8969f5969546567113a726
parent61db48241f2d46697a291bfedaf398a1ca9a70e3
allow methods to be disabled and redirected via config

To prevent accidents like adding http-sources while using tor+http it
can make sense to allow disabling methods. It might even make sense to
allow "redirections" and adding "symlinked" methods via configuration.
This could e.g. allow using different options for certain sources by
adding and configuring a "virtual" new method which picks up the config
based on the name it was called with like e.g. http does if called as
tor+http.
apt-pkg/acquire-worker.cc
test/integration/test-apt-https-no-redirect
test/integration/test-apt-update-failure-propagation
test/integration/test-bug-738785-switch-protocol
test/integration/test-different-methods-for-same-source