summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-02-05 18:34:27 -0800
committerMichael Vogt <michael.vogt@ubuntu.com>2010-02-05 18:34:27 -0800
commitbd49b02c03f09f9e7e76da8055f1364943b9dc57 (patch)
tree476e7b972b7f973dbe3cf9cacffda58596c2a5c7 /methods/http.h
parentc9cd3b70f3290071c79d7ef85ed87bd709a06bc6 (diff)
add Acquire::http::ProxyAutoDetect configuration that
can be used to call a external helper to figure out the proxy configuration and return it to apt via stdout
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/methods/http.h b/methods/http.h
index 13f02ec77..ceee36cbe 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -134,6 +134,7 @@ class HttpMethod : public pkgAcqMethod
bool Flush(ServerState *Srv);
bool ServerDie(ServerState *Srv);
int DealWithHeaders(FetchResult &Res,ServerState *Srv);
+ bool AutoDetectProxy();
virtual bool Fetch(FetchItem *);
virtual bool Configuration(string Message);
@@ -145,6 +146,7 @@ class HttpMethod : public pkgAcqMethod
static void SigTerm(int);
string NextURI;
+ string AutoDetectProxyCmd;
public:
friend class ServerState;