]> git.saurik.com Git - apt.git/commit - methods/server.cc
http: auto-configure for local Tor proxy if called as 'tor'
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 6 Aug 2016 20:54:31 +0000 (22:54 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 10 Aug 2016 23:34:39 +0000 (01:34 +0200)
commit0568d325ad8660a9966d552634aa17c90ed22516
tree788932d437bf2ce21e6c041fa6310709ee5d4d99
parent8665dceb5cf2a197ae270b08066f05c8a2870223
http: auto-configure for local Tor proxy if called as 'tor'

With apts http transport supporting socks5h proxies and all the work
in terms of configuration of methods based on the name it is called with
it becomes surprisingly easy to implement Tor support equally (and
perhaps even a bit exceeding) what is available currently in
apt-transport-tor.

How this will turn out to be handled packaging wise we will see in
https://lists.debian.org/deity/2016/08/msg00012.html , but until this is
resolved we can add the needed support without actively enabling it for
now, so that this can be tested better.
methods/http.cc
methods/https.cc
methods/server.cc
methods/server.h