aboutsummaryrefslogtreecommitdiff
path: root/lib/hash.c
AgeCommit message (Collapse)Author
2002-11-05Curl_resolv() now returns a different struct, and it contains a referenceDaniel Stenberg
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.
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-04-27DNC cache prune crash removed, made the name spacing follow the generalDaniel Stenberg
rule: "Curl_" prefix for library-wide private symbols, "curl_" is for exported symbols.
2002-04-17Prune old hostcache entries with each call...Sterling Hughes
This can be optimized a tidbit, but this is a start.
2002-04-13Add protos and change return value of curl_hash_count....Sterling Hughes
2002-04-12Speed up the hash code considerably, removing a bunch of legacy crudSterling Hughes
2002-03-19copyright string (year) updateDaniel Stenberg
2002-02-17Philip Gladstone's 64-bit issues corrected.Daniel Stenberg
Reminder for the future: when we're using malloc() we MUST include <stdlib.h> as otherwise 64bit archs go bananas. Bug report #517687
2002-01-18I wish I could type. Anyway, this proved it is a good habit to put the NULLDaniel Stenberg
on the left side of comparisons...
2002-01-18added typecast for a malloc() return, and added check for NULLDaniel Stenberg
2002-01-07Make cach'ing work with threads now, there are now three cases:Sterling Hughes
- 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
2002-01-03Sterling Hughes' provided initial DNS cache source code.Daniel Stenberg