diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-02-06 15:04:47 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-02-06 15:04:47 +0100 |
commit | a577a938d4b957b5462a830b21d509fa754b33d5 (patch) | |
tree | fd3ab848593a0818ae5be30508b6a469557d9a1a /methods/http.h | |
parent | 78a9df8a467d9f240df81c236f233a38f450e60a (diff) | |
parent | 39e1be0ff93e3084b7cb98b6a7d0c272a8b296b0 (diff) |
* merged the apt--mirror branch
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 |