diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-09-02 15:50:19 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-09-02 16:02:37 +0200 |
commit | c6ee61eab54edf6cc3fbe118d304d72a860e1451 (patch) | |
tree | 8ca7fdffd4bc257fd5f90bbb3941e1ff351cca9c /apt-pkg/contrib/proxy.h | |
parent | fb4c76436a88a04d1d9b7e9622e431ed8ab708a6 (diff) | |
download | apt-c6ee61eab54edf6cc3fbe118d304d72a860e1451.tar.gz |
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
Diffstat (limited to 'apt-pkg/contrib/proxy.h')
-rw-r--r-- | apt-pkg/contrib/proxy.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apt-pkg/contrib/proxy.h b/apt-pkg/contrib/proxy.h new file mode 100644 index 000000000..2cbcd07b4 --- /dev/null +++ b/apt-pkg/contrib/proxy.h @@ -0,0 +1,16 @@ +// -*- mode: cpp; mode: fold -*- +// Description /*{{{*/ +/* ###################################################################### + + Proxy - Proxy operations + + ##################################################################### */ + /*}}}*/ +#ifndef PKGLIB_PROXY_H +#define PKGLIB_PROXY_H + +class URI; +bool AutoDetectProxy(URI &URL); + + +#endif |