diff options
Diffstat (limited to 'methods/http.h')
-rw-r--r-- | methods/http.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/methods/http.h b/methods/http.h index ceee36cbe..bac94e177 100644 --- a/methods/http.h +++ b/methods/http.h @@ -13,7 +13,7 @@ #define MAXLEN 360 -#include <iostream> + using std::cout; using std::endl; @@ -136,7 +136,6 @@ class HttpMethod : public pkgAcqMethod int DealWithHeaders(FetchResult &Res,ServerState *Srv); bool AutoDetectProxy(); - virtual bool Fetch(FetchItem *); virtual bool Configuration(string Message); // In the event of a fatal signal this file will be closed and timestamped. @@ -144,6 +143,9 @@ class HttpMethod : public pkgAcqMethod static int FailFd; static time_t FailTime; static void SigTerm(int); + + protected: + virtual bool Fetch(FetchItem *); string NextURI; string AutoDetectProxyCmd; |