From 383caa90d568d8d997a9624a9e6174ddc1a9a3da Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 15 Sep 2006 18:36:38 +0000 Subject: Add timeouts to the http module. Two seperate timeouts, 60 seconds to receive headers, and 60 seconds after receipt of headers and sending of page, in which to time out the connection if the client doesnt close() as it should git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5260 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/timer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/timer.h b/include/timer.h index ef9427abf..1f6da4521 100644 --- a/include/timer.h +++ b/include/timer.h @@ -84,6 +84,10 @@ class TimerManager : public Extensible * @param T an InspTimer derived class to add */ void AddTimer(InspTimer* T); + /** Delete and InspTImer + * @param T an InspTimer derived class to delete + */ + void DelTimer(InspTimer* T); /** Tick any timers that have been missed due to lag * @param TIME the current system time */ -- cgit v1.2.3