summaryrefslogtreecommitdiff
path: root/src/dnscache.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2001-11-22Reformated text.Robert James Kaes1-8/+13
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes1-9/+2
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file.
2001-09-12Increased the number of "insertions" before the free memory.Robert James Kaes1-2/+2
2001-09-08Lowered the number of insertions before the ternary tree is rebuilt.Robert James Kaes1-3/+3
2001-09-07Error message cleanup.Robert James Kaes1-3/+3
2001-09-07Added the ability to clear out the DNS cache after a certain number ofRobert James Kaes1-6/+8
insertions.
2001-09-06Still need to fix a problem with tinproxy segfaulting when we try toRobert James Kaes1-2/+14
delete the ternary tree.
2001-08-30Removed the insert_data() function and made the LOCKing go around theRobert James Kaes1-56/+14
entire dnscache() function. Replaced the "replace" code in dns_insert() with a call to ternary_replace().
2001-08-29Added a more fine grained locking system for multiple threads.Robert James Kaes1-14/+78
Removed the new_dnscache() function and moved it into dnscache(). Fixed a memory leak in dns_insert().
2001-05-27Fixed the return type for new_dnscache().Robert James Kaes1-4/+4
2001-05-23Added ASSERT statements.Robert James Kaes1-1/+11
2000-10-23Added the new_dnscache routine to initialize the Ternary tree. Also,Robert James Kaes1-16/+8
removed the garbage collection routine.
2000-09-26Fixed the insert function to handle a failed insert properly.Robert James Kaes1-2/+3
2000-09-11Removed the custom hash routines. Using the ternary module instead.Robert James Kaes1-124/+35
2000-04-26Reorganized (or added) the #include <sys/types.h> line so tinyproxy wouldRobert James Kaes1-2/+2
compile cleanly on FreeBSD systems.
2000-03-29Included the <sys/types.h> header.Robert James Kaes1-1/+2
2000-03-11Included the changes needed to re-add the upstream proxy option.Robert James Kaes1-3/+3
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young1-0/+198
which included commits to RCS files with non-trunk default branches.