summaryrefslogtreecommitdiff
path: root/src/socketengine_epoll.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Excess debug•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8283 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+0
* Could it really be THIS simple?•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8282 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-0/+4
* 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-13/+5
* 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-4/+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
* More debug•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8177 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-3/+3
* Add debug•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8176 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-0/+10
* 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-1/+2
* 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/+157
* '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-157/+1
* Remove debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6659 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-111-1/+0
* Added OnBufferFlush, improved m_safelist, no longer works on a timer but work...•••Seems to test fine with 500 reet bots all listing at once. (doesnt lock up the ircd while listing them all any more, either, just lags a small amount) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6657 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-111-0/+1
* Added errno to the epoll failure message for more detail•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6448 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-01-281-4/+4
* 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-26/+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-2/+2
* 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-1/+1
* 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-5/+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-2/+4
* Another couple of 'forgot to memset's•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5742 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-141-0/+1
* Properly zero the epoll_event in epollengine WantWrite to stop a valgrind war...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5741 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-141-0/+1
* 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
* We should be fine without oneshot, i'll test this.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5612 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-1/+1
* Error set handlin g for select socketengine, tidyup epoll•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5609 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-0/+2
* Socket error state stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-2/+19
* 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/+3
* fix for (less severe) laggehness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5586 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-301-2/+6
* WARNING: This commit breaks kqueue and select -- work in progress!•••epoll now allows both a write and a read event on a socket at the same time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5580 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-301-2/+30
* Fix this to display the channel name when overriding a ban, and to properly d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-261-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/+4
* 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
* Better fix to crash jamie experienced. epoll was the only socket engine affec...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5385 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-10-021-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/+3
* 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-3/+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-18/+13
* 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-10/+10
* 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/+2
* 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/+4
* * 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/+129