summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change all references to voodoo numbers (7, 3 etc) to the new bitwise ↵Gravatar brain2006-07-281-4/+4
| | | | | | | | | constants for user->registered Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed, no longer a memory leak (Thread leak)Gravatar brain2006-07-201-1/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4465 e03df62e-2008-0410-955e-edbf42e46eb7
* Make threaded dns stable by placing some mutexes around some stl stuff (this ↵Gravatar brain2006-07-201-0/+2
| | | | | | really needs lots of testing now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4460 e03df62e-2008-0410-955e-edbf42e46eb7
* Special checking for muppet providers that make their reverse resolution ↵Gravatar brain2006-07-191-9/+10
| | | | | | | | | resolve back to the same reverse resolution. *WHY* DO PEOPLE IN CONTROL OF THE RDNS RECORDS EVEN *ALLOW* SUCH LUNACY?! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4436 e03df62e-2008-0410-955e-edbf42e46eb7
* Only attempt forward lookup if the user still existsGravatar brain2006-07-161-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4428 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixing sendq craskGravatar brain2006-07-161-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4424 e03df62e-2008-0410-955e-edbf42e46eb7
* AdjustmentGravatar brain2006-07-161-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4410 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix socket leak properly this timeGravatar brain2006-07-161-2/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7
* Rollback dns changeGravatar brain2006-07-141-18/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix dns socket leak found in stableGravatar brain2006-07-141-4/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it work:Gravatar brain2006-07-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix output corruption when host is exactly 64 chars longGravatar brain2006-05-101-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3944 e03df62e-2008-0410-955e-edbf42e46eb7
* delete operator tracking in debug mode (using a macro -- live with it.)Gravatar brain2006-04-241-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵Gravatar om2006-04-081-21/+2
| | | | | | 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
* Copy of 1_0_stable fix for malformed (>64 chars) hostnames.Gravatar brain2006-04-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3801 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