]> git.saurik.com Git - apt.git/commit - apt-pkg/contrib/proxy.cc
Make Proxy-Auto-Detect check for each host
authorMichael Vogt <mvo@ubuntu.com>
Tue, 2 Sep 2014 13:50:19 +0000 (15:50 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Tue, 2 Sep 2014 14:02:37 +0000 (16:02 +0200)
commitc6ee61eab54edf6cc3fbe118d304d72a860e1451
tree8ca7fdffd4bc257fd5f90bbb3941e1ff351cca9c
parentfb4c76436a88a04d1d9b7e9622e431ed8ab708a6
Make Proxy-Auto-Detect check for each host

When doing Acquire::http{,s}::Proxy-Auto-Detect, run the auto-detect
command for each host instead of only once. This should make using
"proxy" from libproxy-tools feasible which can then be used for PAC
style or other proxy configurations.

Closes: #759264
apt-pkg/contrib/proxy.cc [new file with mode: 0644]
apt-pkg/contrib/proxy.h [new file with mode: 0644]
cmdline/apt-helper.cc
methods/http.cc
methods/http.h
methods/https.cc
test/integration/test-apt-helper