diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-11-29 21:24:29 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-11-29 21:24:29 +0100 |
commit | 5f6b130d6342965bfa49beb9413bdf742440b8ab (patch) | |
tree | 6f2516220bbeb3eccdbf997120bf031e1f7714cb /methods/http.h | |
parent | 65d71b381cc326bdf5310d8a2ea5b3f0d0307f63 (diff) |
* prototype of mirror method added
Diffstat (limited to 'methods/http.h')
-rw-r--r-- | methods/http.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/methods/http.h b/methods/http.h index 541e2952c..5eac11401 100644 --- a/methods/http.h +++ b/methods/http.h @@ -13,7 +13,7 @@ #define MAXLEN 360 -#include <iostream> + 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,5 @@ class HttpMethod : public pkgAcqMethod }; }; -URI Proxy; #endif |