summaryrefslogtreecommitdiff
path: root/src/socket.cpp
AgeCommit message (Collapse)Author
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-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-04Connection refused bug is FIXED!!!!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3835 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04Bad brain badbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3832 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04Tweaks to hopefully prevent 100% cpu use issuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3831 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-01Fixes for stability of connects (these didnt make it into trunk!!!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-28Backport of 100% cpu on connection refused bugbrain
Technical details: Set this->ClosePending on connection refused error so that within one cycle it is removed from the list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27Remove debuggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3783 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-26Regressed buffering codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3759 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13Removal of ancient TRUE/FALSE #defines (C-ish stuff)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Complete removal of all stl stuff herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3686 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Completely removed the dequebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3685 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Put some error checking back in herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3684 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Temporarily removed output buffering as an experimentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3683 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Blahbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3682 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Loggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3681 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Different way of using substrbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3679 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Deque doing some reallllly odd stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3678 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Cant do *ANYTHING* in the damn destructor?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3675 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Close-pending checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3673 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Checking that buffers are empty in destructorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3672 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-11Damnitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3670 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Added method to check if an fd is in the socketengine or notbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3667 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-11Re-enterance safetybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3665 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Convert more by-values to const references, optimise ConfigReader a bitom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3606 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Tweaks to socket engine, faster buffer flush and hopefully more stablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3521 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07true and false transposed in new codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3520 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Exception to the rules for EAGAINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3519 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Check for write errors in inspsocket (this is probably causing excessive ↵brain
cpu use when we have a large buffer to flush but a write error has occured (which we missed)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3518 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26That's enough tweaks for nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3357 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Tweaks for valgrind (again)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3356 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Fixes for valgrindbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3355 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Tweaks to closed socket detectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3351 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24Another tweak for portbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3320 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24One character brain-wave fix (had idea at work)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3317 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24Wrong address being bound by InspSocket when binding to a specific ipbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3315 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16Extra checking and exception handling in InspSocket::Writebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3228 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15Test for bug reported by TDCbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3227 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15Extra error loggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3225 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-14Fix to compare against signed/unsigned warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3200 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-14Force initialization of fd to -1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3199 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-14We're going for that commits per minute record again.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3198 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-14Helps to get the var names right too..brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3197 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-14Error checking for out of range buffer reads (this shouldnt happen, read is ↵brain
being passed a max buffer size of 65536 but returning 6 million?! We check for it now.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3196 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07Uses less write() callsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3129 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07Slightly more efficient write buffersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3125 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02More nonblocking dns stuffsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3020 e03df62e-2008-0410-955e-edbf42e46eb7