r1548 - in trunk/varnish-cache: bin/varnishd include lib/libvcl

Dag-Erling Smørgrav des at linpro.no
Mon Jun 25 13:53:16 CEST 2007


phk at projects.linpro.no writes:
> Log:
> Add vcl_discard{} method, which can return discard or pass actions.
>
> This is for DES' work on LRU list.
> [...]
> +VCL_MET_MAC(discard,DISCARD,(VCL_RET_DISCARD|VCL_RET_PASS))
> [...]
> +	{discard	{discard pass}}

Thanks!  I have one question, though: what do you intend "pass" to mean
in the context of vcl_discard()?  Perhaps we should add a "keep" keyword
instead?

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-commit mailing list