summaryrefslogtreecommitdiff
path: root/doc/apt-transport-http.1.xml
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2018-05-11 14:51:50 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2018-05-11 14:51:50 +0200
commitb0283a5aeee428c9f2567b81ae78c9da68f6f4af (patch)
tree10ed4a3e6ed6c9d05a942528d382d3dbc800030a /doc/apt-transport-http.1.xml
parent5935ef0d212c588547f10031192ddee3418dfe7b (diff)
use 127.0.0.1 instead of localhost as default Tor proxy
This shouldn't make a practical difference for most people, but for edge cases it avoids DNS lookups and additionally prevents us from perfoming unneeded SRV requests, too.
Diffstat (limited to 'doc/apt-transport-http.1.xml')
-rw-r--r--doc/apt-transport-http.1.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/apt-transport-http.1.xml b/doc/apt-transport-http.1.xml
index 7426a4502..afc8bea58 100644
--- a/doc/apt-transport-http.1.xml
+++ b/doc/apt-transport-http.1.xml
@@ -112,7 +112,7 @@ negotiation.</para>
<literallayout>
Acquire::http {
Proxy::example.org "DIRECT";
- Proxy "socks5h://apt:pass@localhost:9050";
+ Proxy "socks5h://apt:pass@127.0.0.1:9050";
Proxy-Auto-Detect "/usr/local/bin/apt-http-proxy-auto-detect";
No-Cache "true";
Max-Age "3600";