summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix output corruption when host is exactly 64 chars longGravatar brain2006-05-101-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3945 e03df62e-2008-0410-955e-edbf42e46eb7
* Drop malformed dns names like a hot potato with maggots inGravatar brain2006-04-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3800 e03df62e-2008-0410-955e-edbf42e46eb7
* Const refs (this is about the last of them in the core api)Gravatar brain2006-03-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3694 e03df62e-2008-0410-955e-edbf42e46eb7
* Whois typo fixesGravatar brain2006-03-071-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7
* Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵Gravatar brain2006-02-221-1/+1
| | | | | | | | | | as NICKLEN+1 to ease understanding by newbs who didnt know what thou null terminator was. And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again. Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7
* FixedGravatar brain2006-02-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3275 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for ambiguity in function name hereGravatar brain2006-02-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3274 e03df62e-2008-0410-955e-edbf42e46eb7
* Force initialize host to "" just in case it isnt (it should be however, as ↵Gravatar brain2006-02-061-0/+2
| | | | | | its constructor is called, but we know what ass-u-me did) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3115 e03df62e-2008-0410-955e-edbf42e46eb7
* Disabled ip->hostname cache, seems a bit fubarGravatar brain2006-02-061-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3114 e03df62e-2008-0410-955e-edbf42e46eb7
* Added extra 'looking up your hostname lollerskates' output :pGravatar brain2006-02-031-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3044 e03df62e-2008-0410-955e-edbf42e46eb7
* TypoesGravatar brain2006-02-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3042 e03df62e-2008-0410-955e-edbf42e46eb7
* Added back ip->host caching now we can make it not be a performance hit (we ↵Gravatar brain2006-02-031-0/+20
| | | | | | | | | write better code these days) *TODO* - TTL git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3041 e03df62e-2008-0410-955e-edbf42e46eb7
* 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