summaryrefslogtreecommitdiff
path: root/src/socketengine_kqueue.cpp
Commit message (Expand)AuthorAgeFilesLines
* Three commits and I'm still going, dammit.•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-091-1/+0
* Fix compile.•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11075 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-091-5/+0
* BNow with less fucked up goodness(tm). Backport multiplexing fixed kqueue fro...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11074 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-091-25/+49
* Backport from trunk, this is also lacking from the trunk backport and does th...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-311-0/+1
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Roll back to 1.1.12 socket engine as a test•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8274 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-7/+6
* Change how the socket engines work when you addfd on an fd that already exists.•••the only SANE outcome is that youve forgotten to DelFd, so it does this for you. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8270 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Socket engine tweaks, and new m_ident•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8227 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-181-3/+3
* Backport fix for bug #407•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8078 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-251-2/+3
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+158
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-158/+1
* Crusade to remove debug from stable and tested parts of the core and base mod...•••Most of the code here being de-noised hasnt had a crash or bug in it for many months, if not a year so the debug output is useless noise in the logfile when trying to trace a bug in a REAL problem area. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6356 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-151-28/+6
* pgsql should now work thx to added posibility to force a fd out of the socket...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6295 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-4/+4
* Change delays to 1 sec.•••NOTE: The chances of this actually waiting for 1 sec on any sizeable network are miniscule git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6176 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-2/+2
* Tons of optimization of WriteChannel, WriteChannelWithServ, WriteCommon etc, ...•••Turns O(n) calls for every write into O(~1) calls per write. Remove some debug from the socketengines which makes debugging hard on large channels (write availability message) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6171 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-1/+0
* We can't log in SocketEngine::DelFd(), because the fd we're removing might ju...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6082 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-2/+0
* Fix bug in m_dnsbl, a condition is always matched because someone was using u...•••Change around the way exit codes are formed so that we can return a sensible exit code that reflects why inspircd exited git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+2
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-5/+2
* Untested, new clever pointer voodoo class for binary-safe ziplinks output buf...•••PLUS: Fix for random epoll dispatchevents crashes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5926 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-1/+2
* A few lines here are loglevel DEFAULT and should be DEBUG.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5696 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-3/+3
* Dont worry this is only comments, not worth rebuilding for•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5613 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-1/+8
* Start of stuff to handle socket error state•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5606 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-2/+11
* We dont want kqueue to go into an infinite loop when netsplitting, do we.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5605 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-5/+7
* Remove very verbose debugging of event system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5589 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-301-5/+4
* Fix for laggehness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5585 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-301-2/+6
* Not tested yet: Write and read at the same time in kqueue•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5582 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-301-2/+28
* Something here was loglevel default, should have been loglevel debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5507 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-211-1/+1
* Revert tweak•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5443 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-3/+3
* Make the socketengines always clear the slots on DelFd, even if the underlyin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5437 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-2/+5
* Add extra debugging for socketengines, will now report OS error string when f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5436 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-1/+1
* Extra debugging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5378 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-0/+6
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-301-4/+0
* Get rid of SocketEngine::Wait and array-copy, change to SocketEngine::Dispatc...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4944 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-5/+6
* EventHandler class, an abstraction for raw i/o•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-13/+11
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-11/+11
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd objec...•••TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Move tons more stuff into class InspIRCd*, make signal handler functions stat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+1
* Bail if we couldn't bind any ports (when did this get broken?)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4774 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-071-0/+3
* * Seperate out socket engines into derived classes of SocketEngine.•••* Add a classfactory SocketEngineFactory to create a new socketengine of the configured type * Implement configure hax to compile only the required socketengine and the base class * Eliminates ugly defines, and is more in line with C++ ways git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4439 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-191-0/+130