X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2c38625920fa67d52ade11fd7d28cdb5373dc31c..bbf8bc2583df53a7562d99382831389454bc6ee9:/methods/http.h diff --git a/methods/http.h b/methods/http.h index 541e2952c..a47cd961c 100644 --- a/methods/http.h +++ b/methods/http.h @@ -13,7 +13,7 @@ #define MAXLEN 360 -#include + using std::cout; using std::endl; @@ -134,7 +134,6 @@ class HttpMethod : public pkgAcqMethod bool ServerDie(ServerState *Srv); int DealWithHeaders(FetchResult &Res,ServerState *Srv); - virtual bool Fetch(FetchItem *); virtual bool Configuration(string Message); // In the event of a fatal signal this file will be closed and timestamped. @@ -142,6 +141,9 @@ class HttpMethod : public pkgAcqMethod static int FailFd; static time_t FailTime; static void SigTerm(int); + + protected: + virtual bool Fetch(FetchItem *); public: friend class ServerState; @@ -158,6 +160,4 @@ class HttpMethod : public pkgAcqMethod }; }; -URI Proxy; - #endif