r1548 - in trunk/varnish-cache: bin/varnishd include lib/libvcl
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jun 25 14:02:02 CEST 2007
In message <87vedc1c9f.fsf at des.linpro.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=
writes:
>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?
"pass on this one": ie: don't discard.
If people think "keep" is more intuitive I'll change it.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-commit
mailing list