summaryrefslogtreecommitdiff
path: root/src/timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+135
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-135/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* timermanager never had a ServerInstance. Give it one so we can use ↵Gravatar brain2007-02-101-2/+2
| | | | | | InspIRCd::Time() rather than time() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6561 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dup code by calling TickTimers in a loopGravatar brain2007-02-101-29/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6560 e03df62e-2008-0410-955e-edbf42e46eb7
* DELETE() on the timergroup in DelTimer (small memory leak)Gravatar brain2007-02-101-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6559 e03df62e-2008-0410-955e-edbf42e46eb7
* Add and properly test the ability for an InspTimer to DelTimer itself from ↵Gravatar brain2007-02-091-4/+38
| | | | | | | | | | | within its own Tick method. This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager. Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p This FIXES m_ident and possibly some other stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6553 e03df62e-2008-0410-955e-edbf42e46eb7
* Add repeating timers, and make an hourly prune of the dns cache, otherwise a ↵Gravatar brain2007-01-081-6/+26
| | | | | | cache entry might not be cleared until a user with that ip comes back! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6264 e03df62e-2008-0410-955e-edbf42e46eb7
* Jesus, look who's the commit whore today. More header updates, and removal ↵Gravatar w00t2006-12-151-6/+3
| | | | | | of namespacing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7
* Add timeouts to the http module. Two seperate timeouts, 60 seconds to ↵Gravatar brain2006-09-151-0/+22
| | | | | | 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
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsGravatar brain2006-08-301-5/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
* Just to mess with om's head, remove helperfuncs.h from everywhereGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
* Relocate timer stuff into TimerManager classGravatar brain2006-08-101-8/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4827 e03df62e-2008-0410-955e-edbf42e46eb7
* delete operator tracking in debug mode (using a macro -- live with it.)Gravatar brain2006-04-241-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove an extern, partly because it's unused, partly because it then gets ↵Gravatar om2006-04-111-2/+1
| | | | | | shadowed by something else, but mostly because it confused the hell out of me :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3870 e03df62e-2008-0410-955e-edbf42e46eb7
* Route some more stuff through socket.h and hash_map.h. Add #define ↵Gravatar om2006-04-101-13/+3
| | | | | | protection to timer.h and remove some unneeded includes and externs from timer.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3869 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove references to inspircd_io from these, stop configure making all the ↵Gravatar om2006-04-081-1/+0
| | | | | | modules depend on it too. And remove some more un-needed includes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3853 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some unused headers and unneeded castsGravatar om2006-04-081-15/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3846 e03df62e-2008-0410-955e-edbf42e46eb7
* Include tweaksGravatar brain2006-02-251-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3324 e03df62e-2008-0410-955e-edbf42e46eb7
* Decide that it wasn't quite appropriate :(Gravatar om2006-02-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3314 e03df62e-2008-0410-955e-edbf42e46eb7
* Add entirely pointful smiley to commentGravatar om2006-02-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3313 e03df62e-2008-0410-955e-edbf42e46eb7
* Added commentGravatar brain2006-02-231-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3312 e03df62e-2008-0410-955e-edbf42e46eb7
* iTypo (like a typo, but with crazy blue sides)Gravatar brain2006-02-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3311 e03df62e-2008-0410-955e-edbf42e46eb7
* Look-behind for missed timers up to 2 minutes (if your ircd has hung for 2 ↵Gravatar brain2006-02-231-0/+21
| | | | | | minutes, or your clock drift is > 2 mins, you have bigger fish to fry, like dead network or TS split) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3310 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved timer stuff from OnBackgroundTimer to InspTimer derivativeGravatar brain2006-02-231-9/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3305 e03df62e-2008-0410-955e-edbf42e46eb7
* FixesGravatar brain2006-02-231-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3300 e03df62e-2008-0410-955e-edbf42e46eb7
* First revision of new timer code, not in the makefile yet (so it wont build ↵Gravatar brain2006-02-231-0/+94
till im done) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3297 e03df62e-2008-0410-955e-edbf42e46eb7