From bd49b02c03f09f9e7e76da8055f1364943b9dc57 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 5 Feb 2010 18:34:27 -0800 Subject: 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 --- methods/http.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'methods/http.h') 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; -- cgit v1.2.3