Commit Graph

11 Commits

Author SHA1 Message Date
Robert James Kaes
4ac03908fc Header reorganization. Basically all system headers are now included in
tinyproxy.h and all the other files include the tinyproxy.h header. This
moves all the dependancy issues into one file.
2001-10-25 17:27:39 +00:00
Robert James Kaes
d5253ec5f4 Lowered the number BUFARRAY and BUFSIZE constants to reduce the maximum
memory usage of a ternary tree. It now should not exceed 4MB of memory.
2001-09-08 18:58:02 +00:00
Robert James Kaes
c24cace1d1 Fixed the ternary_destroy() function which causes segfaults. 2001-09-07 00:38:03 +00:00
Robert James Kaes
4670eb5194 Make sure that freeptr actually points to something before we try to
invoke it.
2001-09-06 21:52:31 +00:00
Robert James Kaes
667b9d5d53 Switched to a case insensitive search method. 2001-09-04 17:53:41 +00:00
Robert James Kaes
a328cefbf0 Renamed ternary_insert() to ternary_insert_replace() and added the ability
to replace existing data (without a memory leak.) Added two DEFINES
ternary_insert() and ternary_replace() to aid in coding.
2001-08-30 16:52:09 +00:00
Robert James Kaes
b1d942c22a Removed a debugging aid. 2001-05-23 17:59:53 +00:00
Robert James Kaes
068b0337c5 Fixed MACRO error. 2000-11-23 04:49:26 +00:00
Robert James Kaes
b6c6939e0a In the Key Found code, don't display the string in the debug code since it
doesn't exist anymore when we display it. Doh!
2000-10-23 21:46:38 +00:00
Robert James Kaes
ba5e5fc109 Added the TE_EXISTS return code, and cleaned up the ternary_destroy
function.
2000-09-26 04:59:20 +00:00
Robert James Kaes
2b5c6be1d5 Generalized the ternary code which was already being used in anonymous.*
now it can be used (and is used) in both anonymous and dnscache
2000-09-12 00:10:28 +00:00