summaryrefslogtreecommitdiff
path: root/src/socket.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Tidyup message.cpp, remove some really old craq.Gravatar brain2006-07-281-1/+1
| | | | | | | | 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
* Change stats recv/send to double, so they can hold truly massive numbers of ↵Gravatar brain2006-07-191-1/+1
| | | | | | | | | 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
* Move openSockfd[] into ServerConfigGravatar brain2006-07-111-9/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4322 e03df62e-2008-0410-955e-edbf42e46eb7
* Checks for negative fd's when adding them to the socketengine so we can ↵Gravatar brain2006-05-031-2/+5
| | | | | | generate less debug output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3929 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone didnt test their fixes in cygwin *gets tortoise torture kit*Gravatar brain2006-04-121-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3874 e03df62e-2008-0410-955e-edbf42e46eb7
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵Gravatar om2006-04-081-326/+152
| | | | | | 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
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵Gravatar w00t2006-04-061-6/+6
| | | | | | 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
* Connection refused bug is FIXED!!!!Gravatar brain2006-04-041-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3835 e03df62e-2008-0410-955e-edbf42e46eb7
* Bad brain badGravatar brain2006-04-041-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3832 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to hopefully prevent 100% cpu use issueGravatar brain2006-04-041-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3831 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for stability of connects (these didnt make it into trunk!!!)Gravatar brain2006-04-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3795 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport of 100% cpu on connection refused bugGravatar brain2006-03-281-0/+5
| | | | | | | 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
* Remove debuggingGravatar brain2006-03-271-5/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3783 e03df62e-2008-0410-955e-edbf42e46eb7
* Regressed buffering codeGravatar brain2006-03-261-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3759 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of ancient TRUE/FALSE #defines (C-ish stuff)Gravatar brain2006-03-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7
* Complete removal of all stl stuff hereGravatar brain2006-03-111-10/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3686 e03df62e-2008-0410-955e-edbf42e46eb7
* Completely removed the dequeGravatar brain2006-03-111-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3685 e03df62e-2008-0410-955e-edbf42e46eb7
* Put some error checking back in hereGravatar brain2006-03-111-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3684 e03df62e-2008-0410-955e-edbf42e46eb7
* Temporarily removed output buffering as an experimentGravatar brain2006-03-111-6/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3683 e03df62e-2008-0410-955e-edbf42e46eb7
* BlahGravatar brain2006-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3682 e03df62e-2008-0410-955e-edbf42e46eb7
* LoggingGravatar brain2006-03-111-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3681 e03df62e-2008-0410-955e-edbf42e46eb7
* Different way of using substrGravatar brain2006-03-111-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3679 e03df62e-2008-0410-955e-edbf42e46eb7
* Deque doing some reallllly odd stuffGravatar brain2006-03-111-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3678 e03df62e-2008-0410-955e-edbf42e46eb7
* Cant do *ANYTHING* in the damn destructor?!Gravatar brain2006-03-111-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3675 e03df62e-2008-0410-955e-edbf42e46eb7
* Close-pending checksGravatar brain2006-03-111-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3673 e03df62e-2008-0410-955e-edbf42e46eb7
* Checking that buffers are empty in destructorGravatar brain2006-03-111-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3672 e03df62e-2008-0410-955e-edbf42e46eb7
* Checks and stuff :pGravatar brain2006-03-111-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3671 e03df62e-2008-0410-955e-edbf42e46eb7
* DamnitGravatar brain2006-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3670 e03df62e-2008-0410-955e-edbf42e46eb7
* FixesGravatar brain2006-03-111-3/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7
* Added method to check if an fd is in the socketengine or notGravatar brain2006-03-111-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3667 e03df62e-2008-0410-955e-edbf42e46eb7
* Re-enterant safetyGravatar brain2006-03-111-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3666 e03df62e-2008-0410-955e-edbf42e46eb7
* Re-enterance safetyGravatar brain2006-03-111-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3665 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert more by-values to const references, optimise ConfigReader a bitGravatar om2006-03-091-5/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3606 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to socket engine, faster buffer flush and hopefully more stableGravatar brain2006-03-071-22/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3521 e03df62e-2008-0410-955e-edbf42e46eb7
* true and false transposed in new codeGravatar brain2006-03-071-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3520 e03df62e-2008-0410-955e-edbf42e46eb7
* Exception to the rules for EAGAINGravatar brain2006-03-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3519 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for write errors in inspsocket (this is probably causing excessive ↵Gravatar brain2006-03-071-7/+16
| | | | | | 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
* That's enough tweaks for nowGravatar brain2006-02-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3357 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks for valgrind (again)Gravatar brain2006-02-261-14/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3356 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for valgrindGravatar brain2006-02-261-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3355 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to closed socket detectionGravatar brain2006-02-261-5/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3351 e03df62e-2008-0410-955e-edbf42e46eb7
* Another tweak for portGravatar brain2006-02-241-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3320 e03df62e-2008-0410-955e-edbf42e46eb7
* One character brain-wave fix (had idea at work)Gravatar brain2006-02-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3317 e03df62e-2008-0410-955e-edbf42e46eb7
* Wrong address being bound by InspSocket when binding to a specific ipGravatar brain2006-02-241-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3315 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra checking and exception handling in InspSocket::WriteGravatar brain2006-02-161-1/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3228 e03df62e-2008-0410-955e-edbf42e46eb7
* Test for bug reported by TDCGravatar brain2006-02-151-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3227 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra error loggingGravatar brain2006-02-151-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3225 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to compare against signed/unsigned warningGravatar brain2006-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3200 e03df62e-2008-0410-955e-edbf42e46eb7
* Force initialization of fd to -1Gravatar brain2006-02-141-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3199 e03df62e-2008-0410-955e-edbf42e46eb7
* We're going for that commits per minute record again.Gravatar brain2006-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3198 e03df62e-2008-0410-955e-edbf42e46eb7