summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:18 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:18 +0000
commit492f957ad42ce5eee7e26f3edd5789af296b7460 (patch)
treeb24c42bf1e3a65a75560c0160288ad3405947c33 /methods/http.h
parent8bb5959b7e2637a818d5c3c9cd38b9a1a0287331 (diff)
Http method
Author: jgg Date: 1998-11-04 07:10:49 GMT Http method
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/methods/http.h b/methods/http.h
index 962fb0027..62f329ef5 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: http.h,v 1.2 1998/11/01 08:07:14 jgg Exp $
+// $Id: http.h,v 1.3 1998/11/04 07:10:50 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
@@ -119,6 +119,12 @@ class HttpMethod : public pkgAcqMethod
bool ServerDie(ServerState *Srv);
int DealWithHeaders(FetchResult &Res,ServerState *Srv);
+ // In the event of a fatal signal this file will be closed and timestamped.
+ static string FailFile;
+ static int FailFd;
+ static time_t FailTime;
+ static void SigTerm(int);
+
public:
friend ServerState;