summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
AgeCommit message (Collapse)Author
2006-04-24delete operator tracking in debug mode (using a macro -- live with it.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20Fixes for lib dirsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20Execinfo stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3886 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-09Shuffle some more includes around, const reference a few functions in inspircd.*om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3854 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵om
going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08- first steps towards a working IPv6 port. I'll work more on this tomorrow. :-Pnenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3845 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-07Slight optimisation to config reader, looks nicer even if it's not faster.om
Make ./inspircd script use -nolog (it already used -debug, which didn't exist until now!?) Add commandline options -nolog and -debug, -debug forces all log messages to be output regardless of level. -nolog stops the logfile being written, so you can run with -debug without filling up your disk. make clean && make install, apparently some of the core doesn't depend on inspircd_io.h in the makefiles..so it'll probably segfault if you don't. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3841 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04trivial: Made a slight error on that last commit, missed a bit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3816 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-03Test fixes for cpu eating issuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3809 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-25Bugfix for bug #101 being as the fix was just one simple line :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3751 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-22Stack overflow prevention allows deeper recursionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3748 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-18Allow adding of new client ports via /REHASH.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3731 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-16Fix to warning line 218brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3723 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-16Catch std::bad_alloc program wide (to catch out nazi sysadmins who restrict ↵brain
machines to small memory sizes, and expect things to still run fine :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3722 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13Obscure bug of the week: InspIRCd crashes when given more than 64 client ↵brain
ports to bind in the config file (yes, *REALLY*.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3701 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Checks and stuff :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3671 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Re-enterant safetybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3666 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Removed lots of claptrap debug in a well tested old section of codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3661 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Delete unknown sockets on sightbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3603 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07What MUPPET made stdin, stdout and stderr FILE* pointers rather than ints?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3532 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07close stdin, stderr and stdout rather than freopen to /dev/nullbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3531 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Buffer flush time now under 0.5 secsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3528 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Flush user buffers more often (every 30 iterations)brain
Run whowas hash maintainance every hour git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3527 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Whowas refactor - probably wont compile yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Added a 'max depth' to stop recursive issuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3507 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06Changed return to break in mainloop for better efficiencybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3497 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Fix to prevent recursive call to DoBackgroundTimerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3441 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27And now the final result of all this tweaking comes to light.brain
Whenever i commit the post-commit hook writes a .sh script to my dir, within the insp checkout dir, containing the current revision id - 1. Therefore, the system can stay up to date with revision id's simply with ./configure -update :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3376 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27Tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3374 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27Test twobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3362 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27Constant eating 20% cpu since last nights commit - test fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3361 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Fixes and tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3349 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Safety stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3346 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Moved the contents of the mainloop into a function called ↵brain
InspIRCd::DoOneIteration(). We can then use this to 'yield' if incoming server text is taking too long to process git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Fix for segfault if name of file left off commandlinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3329 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26And fixes for typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3328 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Added ability to provide -logfile parameter on commandlinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3327 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23Look-behind for missed timers up to 2 minutes (if your ircd has hung for 2 ↵brain
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
2006-02-23Moved timer stuff from OnBackgroundTimer to InspTimer derivativebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3305 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23Fixed to workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3302 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23Incorporating InspTimer into safelist as a testbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3301 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22SAFELIST 005 token is now part of m_safelist not the core 005brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3292 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22Changed triggering time of OnBackgroundTimer to 5 secs (from 8)brain
Fixed typo in new functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3288 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Return false after catching a module exceptionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3250 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Apparently to catch descendent classes we need to catch a reference to the ↵brain
parent, not the parent itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Added exception handling for module loadingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-18Added MAXPARA=32 to 005 (no other ircd has this, or allows a larger MAXPARA ↵brain
but its worth advertising this feature in case a client chooses to support it in the future) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3237 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15- Manually bump revision ID, apparantly it's stopped doing it itself...w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3210 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08Increased how often socket timeout checks occur which will mean flushing ↵brain
write buffers more often git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3142 e03df62e-2008-0410-955e-edbf42e46eb7