summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* * Seperate out socket engines into derived classes of SocketEngine.Gravatar brain2006-07-191-179/+7
| | | | | | | | | * 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
* Change log() to a #define, the real symbol is now do_log(), the new macro ↵Gravatar om2006-06-291-0/+1
| | | | | | | | auto-prefixes all log messages with the file and line number where log() was called - should be nice for debugging and telling wtf is coming from what.Currently uses a (probably very standard) g++ extension to make the macro work. Shouldn't be an issue. You must make clean and rebuild all of insp. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4081 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for failed epoll or kqueueGravatar brain2006-05-161-0/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3961 e03df62e-2008-0410-955e-edbf42e46eb7
* Added method to check if an fd is in the socketengine or notGravatar brain2006-03-111-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3667 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to socket engine, faster buffer flush and hopefully more stableGravatar brain2006-03-071-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3521 e03df62e-2008-0410-955e-edbf42e46eb7
* Valgrind fixesGravatar brain2006-02-261-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3353 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Test change to level-triggered epollGravatar brain2006-01-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2779 e03df62e-2008-0410-955e-edbf42e46eb7
* Added output of error if file descriptor given to AddFd is > MAX_DESCRIPTORSGravatar brain2005-12-291-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2701 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to MAX_DESCRIPTORSGravatar brain2005-12-291-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7
* Added extra checking to socketengine to refuse connections after we reach ↵Gravatar brain2005-12-291-2/+6
| | | | | | the max git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2697 e03df62e-2008-0410-955e-edbf42e46eb7
* Added counters for MAX_DESCRIPTORS etc which allows the socket engine to ↵Gravatar brain2005-12-291-1/+30
| | | | | | refuse new fd's once you hit the OS limit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2696 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimizing to not use so much cpu with high user loadsGravatar brain2005-12-291-23/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2691 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed a broken && to & which was preventing epoll from doing outbound ↵Gravatar brain2005-12-141-1/+1
| | | | | | connects properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2390 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed some logging that can cause excessively huge logs when select() is ↵Gravatar brain2005-12-131-3/+0
| | | | | | being used git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2366 e03df62e-2008-0410-955e-edbf42e46eb7
* Timing tweaksGravatar brain2005-12-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2342 e03df62e-2008-0410-955e-edbf42e46eb7
* Increased socketengine wait cyclesGravatar brain2005-12-121-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2341 e03df62e-2008-0410-955e-edbf42e46eb7
* Added commentsGravatar brain2005-12-121-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2338 e03df62e-2008-0410-955e-edbf42e46eb7
* select() debuggingGravatar brain2005-12-121-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2336 e03df62e-2008-0410-955e-edbf42e46eb7
* Added checking to find out why select() splitsGravatar brain2005-12-121-0/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2335 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed WRITEBIT support in select() engineGravatar brain2005-12-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2334 e03df62e-2008-0410-955e-edbf42e46eb7
* *EXPERIMENTAL* Tied DNS into new socket engineGravatar brain2005-12-121-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2331 e03df62e-2008-0410-955e-edbf42e46eb7
* More experimental gubbinsGravatar brain2005-12-121-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2330 e03df62e-2008-0410-955e-edbf42e46eb7
* Added GetTypeGravatar brain2005-12-121-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2327 e03df62e-2008-0410-955e-edbf42e46eb7
* EXPERIMENTAL new socket engine codeGravatar brain2005-12-121-11/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2326 e03df62e-2008-0410-955e-edbf42e46eb7
* Made compile on linuxGravatar brain2005-12-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2325 e03df62e-2008-0410-955e-edbf42e46eb7
* Made compile on freebsdGravatar brain2005-12-121-8/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2324 e03df62e-2008-0410-955e-edbf42e46eb7
* Working on making this actually compileGravatar brain2005-12-121-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2322 e03df62e-2008-0410-955e-edbf42e46eb7
* Added preliminary socketengine stuffGravatar brain2005-12-121-0/+157
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2321 e03df62e-2008-0410-955e-edbf42e46eb7