summaryrefslogtreecommitdiff
path: root/lib/hash.h
Commit message (Collapse)AuthorAgeFilesLines
* Robert Iakobashvili re-arranged the internal hash code to work with a customDaniel Stenberg2007-06-261-6/+38
| | | | | | hash function for different hashes, and also expanded the default size for the socket hash table used in multi handles to greatly enhance speed when very many connections are added and the socket API is used.
* Use plain structs and not typedef'ed ones in the hash and linked-list code.Daniel Stenberg2005-01-251-18/+19
|
* Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg2004-06-241-5/+5
| | | | | linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
* updated year in the copyright stringDaniel Stenberg2004-01-071-1/+1
|
* Jeff Pohlmeyer did some marvelous debugging to track this one down. We MUSTDaniel Stenberg2003-09-141-1/+1
| | | | | | NOT free the existing hash entry when we try to add a new one that matches an existing entry. We now instead free the new one, and make the parent function use the old entry's struct instead.
* new proto for Curl_hash_initDaniel Stenberg2003-08-141-1/+1
|
* removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg2003-01-291-8/+0
| | | | way for emacs, and vim users should provide a similar non-polluting style
* copyright year update in the source headerDaniel Stenberg2003-01-161-1/+1
|
* Curl_resolv() now returns a different struct, and it contains a referenceDaniel Stenberg2002-11-051-5/+4
| | | | | | | | counter so that the caller needs to decrease that counter when done with the returned data. If compiled with MALLOCDEBUG I've added some extra checking that the counter is decreased before a handle is closed etc.
* updated source code boilerplate/headerDaniel Stenberg2002-09-031-7/+7
|
* Now uses Curl_ as prefix for internal global symbols. curl_ should only beDaniel Stenberg2002-04-271-12/+11
| | | | used for "exported" globals.
* Prune old hostcache entries with each call...Sterling Hughes2002-04-171-0/+1
| | | | This can be optimized a tidbit, but this is a start.
* Add protos and change return value of curl_hash_count....Sterling Hughes2002-04-131-1/+1
|
* Speed up the hash code considerably, removing a bunch of legacy crudSterling Hughes2002-04-121-33/+17
|
* copyright string (year) updateDaniel Stenberg2002-03-191-1/+1
|
* Remove erreaneous include, setup.h is included one line aboveSterling Hughes2002-01-141-2/+0
|
* Make cach'ing work with threads now, there are now three cases:Sterling Hughes2002-01-071-0/+1
| | | | | | | - Use a global dns cache (via setting the tentatively named, CURLOPT_DNS_USE_GLOBAL_CACHE option to true) - Use a per-handle dns cache, by default - Use a pooled dns cache when in the "multi" interface
* Sterling Hughes' provided initial DNS cache source code.Daniel Stenberg2002-01-031-0/+86