From 492f957ad42ce5eee7e26f3edd5789af296b7460 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:18 +0000 Subject: Http method Author: jgg Date: 1998-11-04 07:10:49 GMT Http method --- methods/http.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'methods/http.h') 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; -- cgit v1.2.3