summaryrefslogtreecommitdiff
path: root/src/socket.cpp
AgeCommit message (Collapse)Author
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
2006-02-02Fixes to set correct resolver address before looking up hostbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3019 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02Nonblocking dns for InspSocket class (used by server to server)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3018 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02*UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing ↵brain
requirement on nss_dns.so.1 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Removed some redundant (and commented out) functionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2793 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Made InspSocket::Read return an empty but non-NULL string when it receives ↵brain
EAGAIN (this method didnt know how to cope with EAGAIN before, may be causing random splits?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2792 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-30Made socket.cpp flush its write buffer more often (fixes odd lag on server ↵brain
to server connections) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2708 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29Changed to MAX_DESCRIPTORSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved SocketEngine* SE into InspIRCd classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Output buffering fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2494 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15New socket handling codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2491 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Full removal of inspircd_util.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Started moving of data into ServerConfig classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12Efficiency suggestion by w00t, faster processing of module sockets at the ↵brain
expense of a bit of ram git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2357 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12Fixed timeout codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2344 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12Fixed outboundsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2337 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12Added module sockets to new engine, MAY NOT WORKbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2328 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-27Added proper administrativia notices to CONNECT and inbound connectionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1969 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-27Added /CONNECTbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1968 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-26Added stricter checking for listening socketsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1964 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-26Added reading of server link configsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1960 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-26Added listening socket support for InspSocketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1957 e03df62e-2008-0410-955e-edbf42e46eb7