summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:53 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:53 +0000
commit5cb5d8dc4318227ca3ec8976f67e8cfd2302d1ff (patch)
tree026fae4811ede2b7fc28773a8f4ef3042007fab8 /methods/http.h
parentf01fe790891daf085b3a16ce8be3498fcc329d6e (diff)
downloadapt-5cb5d8dc4318227ca3ec8976f67e8cfd2302d1ff.tar.gz
HTTP pipelining
Author: jgg Date: 1998-12-05 04:19:01 GMT HTTP pipelining
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/methods/http.h b/methods/http.h
index 983904ff..1a22c5ae 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -1,6 +1,5 @@
// -*- mode: cpp; mode: fold -*-
-// Description /*{{{*/
-// $Id: http.h,v 1.4 1998/11/11 06:54:22 jgg Exp $
+// Description /*{{{*/// $Id: http.h,v 1.5 1998/12/05 04:19:06 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
@@ -118,6 +117,8 @@ class HttpMethod : public pkgAcqMethod
bool Flush(ServerState *Srv);
bool ServerDie(ServerState *Srv);
int DealWithHeaders(FetchResult &Res,ServerState *Srv);
+
+ bool Fetch(FetchItem *);
// In the event of a fatal signal this file will be closed and timestamped.
static string FailFile;
@@ -128,16 +129,15 @@ class HttpMethod : public pkgAcqMethod
public:
friend ServerState;
- int Depth;
FileFd *File;
+ ServerState *Server;
int Loop();
HttpMethod() : pkgAcqMethod("1.2",Pipeline | SendConfig)
{
- Depth = 0;
File = 0;
- Depth = 0;
+ Server = 0;
};
};