summaryrefslogtreecommitdiff
path: root/src/socket.cpp
AgeCommit message (Collapse)Author
2006-08-03Fix bindsocket to work in ipv6 modebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4671 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02Check for invalid ip's being bound tobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4638 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02(1) remove CleanAndResolve.brain
(2) remove feature of being able to bind hostnames in <bind> tags (it used CleanAndResolve) :p (3) Fix the stuff in SpanningTree that used CleanAndResolve to validate connecting ip addresses - it now builds an 'allowed ip cache' on rehash/startup instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4637 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Fix broken inet_pton callbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4616 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Fixes for inspsocket in ipv6 environmentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4615 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵brain
this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Tidyup message.cpp, remove some really old craq.brain
Improve tidiness of new common_channels function Add timeout value to blocking CleanAndResolve function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-19Change stats recv/send to double, so they can hold truly massive numbers of ↵brain
transferred bytes (they would overflow after about 6 weeks on a busy net otherwise) Fix some warnings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4450 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Move openSockfd[] into ServerConfigbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4322 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-03Checks for negative fd's when adding them to the socketengine so we can ↵brain
generate less debug output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3929 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-12Someone didnt test their fixes in cygwin *gets tortoise torture kit*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3874 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-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