summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improved IP handling. Now uses in_addr to store client ip, not char[16]!Gravatar brain2006-01-271-1/+1
| | | | | | | | Added global and local session limits All of this needs TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 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
* Changed to MAX_DESCRIPTORSGravatar brain2005-12-291-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed some little bits and bobs hereGravatar brain2005-12-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2693 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed an extremely n00bish mistake involving referencing a global copy of ↵Gravatar brain2005-12-291-2/+2
| | | | | | | | | ServerEngine when we now use one local to class InspIRCd (everyone point and laugh at Brain) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2692 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimizing to not use so much cpu with high user loadsGravatar brain2005-12-291-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2691 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized out strcpys that copy empty strings (craq++)Gravatar brain2005-12-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
* Full removal of inspircd_util.hGravatar brain2005-12-151-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved tons of stuff into class ServerConfigGravatar brain2005-12-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2395 e03df62e-2008-0410-955e-edbf42e46eb7
* Started moving of data into ServerConfig classGravatar brain2005-12-141-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized accept() stuff to eliminate loop, idea while talking to w00tGravatar brain2005-12-131-5/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2381 e03df62e-2008-0410-955e-edbf42e46eb7
* Got rid of the evil loopy horrid mess in dnsqueue.cpp (singlethreaded dns ↵Gravatar brain2005-12-131-91/+63
| | | | | | lookups) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2377 e03df62e-2008-0410-955e-edbf42e46eb7
* Made dnsqueue clean up its sockets from the socketengine properlyGravatar brain2005-12-131-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2376 e03df62e-2008-0410-955e-edbf42e46eb7
* Attempts to make DNS nicer with new socket engineGravatar brain2005-12-121-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2332 e03df62e-2008-0410-955e-edbf42e46eb7
* *EXPERIMENTAL* Tied DNS into new socket engineGravatar brain2005-12-121-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2331 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed behaviour of module API to pass Server* to the constructor, rather ↵Gravatar brain2005-12-071-2/+0
| | | | | | than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to do forwards properly with uninitialized dataGravatar brain2005-12-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2248 e03df62e-2008-0410-955e-edbf42e46eb7
* Tons of DNS debugging and stability fixesGravatar brain2005-12-071-2/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2247 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS fixesGravatar brain2005-12-071-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2245 e03df62e-2008-0410-955e-edbf42e46eb7
* Added forward lookup sanity checks to single threaded dnsGravatar brain2005-12-021-26/+64
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2111 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed references to deprecated files servers.* and connection.*Gravatar brain2005-11-251-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed fd_Setsize in cygwinGravatar brain2005-05-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed __single_client_alloc again because gcc devs were smoking crack and ↵Gravatar brain2005-05-161-9/+8
| | | | | | removed it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, supposedly faster in single-thread ↵Gravatar brain2005-05-151-9/+9
| | | | | | situations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1402 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved StrHashComp and InAddr_HashComp into the irc:: namespaceGravatar brain2005-05-151-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1398 e03df62e-2008-0410-955e-edbf42e46eb7
* sorted hashcomp etcGravatar brain2005-05-151-10/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of functions into helperfuncs.h to speed up recompilesGravatar brain2005-05-151-71/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized some static structsGravatar brain2005-05-121-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1370 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the type of struct whowas records are stored in (no need to waste a ↵Gravatar brain2005-05-121-1/+2
| | | | | | big heavy userrec) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
* Hit dns with spork. Repeat until crispy.Gravatar brain2005-05-091-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1349 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to way allocations are handledGravatar brain2005-05-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed strhashcompGravatar brain2005-04-181-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1115 e03df62e-2008-0410-955e-edbf42e46eb7
* Dns free() errors fixedGravatar brain2005-04-111-13/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1055 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a double free in dnsqueue.cppGravatar brain2005-04-071-0/+1
| | | | | | | Fixed a resolver issue (weird segfault on gentoo?) in server linking git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@995 e03df62e-2008-0410-955e-edbf42e46eb7
* Major optimizations!Gravatar brain2005-04-051-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a few small dns timeout bugs (allowing users on without nick or user)Gravatar brain2005-04-031-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@960 e03df62e-2008-0410-955e-edbf42e46eb7
* Major optimizations! now uses under 1% cpu all the time whilst idleGravatar brain2005-04-031-4/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@959 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for dns queueing, timeout functions etc moved to more sensible placeGravatar brain2005-04-021-7/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@956 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for dns queueingGravatar brain2005-04-021-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@955 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed dns queue stuff?Gravatar brain2005-04-021-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@954 e03df62e-2008-0410-955e-edbf42e46eb7
* One final attempt at fixing some of craigs whinges -- poll routine auto ↵Gravatar brain2005-04-021-0/+1
| | | | | | clears the stale lookups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@949 e03df62e-2008-0410-955e-edbf42e46eb7
* Turned an unstable vector into an arrayGravatar brain2005-04-011-13/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@946 e03df62e-2008-0410-955e-edbf42e46eb7
* More dns fixesGravatar brain2005-04-011-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@945 e03df62e-2008-0410-955e-edbf42e46eb7
* Attempts to fix some random crashesGravatar brain2005-04-011-25/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@943 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS timeout fixes!Gravatar brain2005-04-011-8/+20
| | | | | | | Docs to come git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@940 e03df62e-2008-0410-955e-edbf42e46eb7
* Added nonblocking dnsGravatar brain2005-04-011-0/+248
*** BUG BUG BUG - If dns is slow, things will go wrong!!!! do not use this on a live net without accepting the risk involved! *** Will be fixed by next commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@938 e03df62e-2008-0410-955e-edbf42e46eb7