X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/15d7e51550327bf49b95372f84bd0de4e896e7d7..056539eeb8eb84cea65c0c15466111b978ee156d:/methods/http.h diff --git a/methods/http.h b/methods/http.h index 13f02ec77..bc076e1f8 100644 --- a/methods/http.h +++ b/methods/http.h @@ -13,7 +13,7 @@ #define MAXLEN 360 -#include + using std::cout; using std::endl; @@ -135,7 +135,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. @@ -143,6 +142,9 @@ class HttpMethod : public pkgAcqMethod static int FailFd; static time_t FailTime; static void SigTerm(int); + + protected: + virtual bool Fetch(FetchItem *); string NextURI;