dnsproxy: Deal nicer with a cache-full situation
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 10 Jan 2012 00:08:49 +0000 (16:08 -0800)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 10 Jan 2012 12:43:57 +0000 (13:43 +0100)
commit475c2450978e5354370756402b4f88e58c84f30a
tree9655c7c89a8eb2f2304e910d088ee15a37415479
parentce243d289f022921d21168e3682abe5d6f901340
dnsproxy: Deal nicer with a cache-full situation

Now that we have hit counts for the cache, we can make the cache-full
handling slightly smarter; if we can't make space freeing expired entries,
we can now make space freeing entries that have a very low use count.
src/dnsproxy.c