summaryrefslogtreecommitdiff
path: root/ares_getsock.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-14Header inclusion clean-upYang Tse1-4/+0
Remove header inclusions already done in setup_once.h
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-11fix compiler warningYang Tse1-4/+2
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2007-09-29Port the TCP socket fix made in ares_fds() to ares_getsock() as well.Steinar H. Gunderson1-5/+11
2007-09-29Previously, processing a large batch of timeouts was O(n^2) in the number ofSteinar H. Gunderson1-1/+1
outstanding queries, and processing a DNS response packet was O(n) in the number of outstanding queries. To speed things up in Google, we added a few circular, doubly-linked lists of queries that are hash-bucketed based on the attributes we care about, so most important operations are now O(1). It might be that the number of buckets are higher than most people would need, but on a quick calculation it should only be 100kB or so even on a 64-bit system, so I've let it stay as-is.
2007-04-03update copyright yearYang Tse1-1/+1
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-1/+0
since it's already included through "setup.h".
2006-10-12avoid an overflow if an excessive amount of servers are usedDaniel Stenberg1-6/+7
2006-08-03Ravi Pratap fixed ares_getsock() to actually return the proper bitmap andDaniel Stenberg1-3/+1
not always zero!
2005-12-22Added ares_getsock() to extract sockets to wait for action on, without beingDaniel Stenberg1-0/+71
limited to select().