Commit 991c3255 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add XXX comment


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@986 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e34080c8
......@@ -10,6 +10,15 @@
*
* We identify srcaddrs instead of full addr+port because the desired level
* of granularity is "whois is abuse@ or tech-c@ in the RIPE database.
*
* XXX: The two-list session management is actually not a good idea
* XXX: come to think of it, because we want the sessions reused in
* XXX: Most Recently Used order.
* XXX: Another and maybe more interesting option would be to cache
* XXX: free sessions in the worker threads and postpone session
* XXX: allocation until then. This does not quite implment MRU order
* XXX: but it does save some locking, although not that much because
* XXX: we still have to do the source-addr lookup.
*/
#include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment