Fetch called after pass

André Cruz andre.cruz at segula.pt
Wed Jul 4 18:39:21 CEST 2007


Hello Poul.

Thanks for the quick answer.

On 2007/07/04, at 17:30, Poul-Henning Kamp wrote:

>
> The state diagram has morphed a bit lately, DES is busy updating the
> documentation and hopefully this will be covered RSN.
>
> In the meantime, here is a snapshot of the current -trunks  
> stateenginge:
>
> 	http://phk.freebsd.dk/misc/_.pdf
>
> So short version: yes, pass goes on to fetch (and now from there
> to deliver), but the object is not cached.
>

 From what I can see, if vcl_recv() returns "pass" the request can  
still be cached by logic in vcl_fetch(), right?

Because that's what I think is happening in my case. The default  
vcl_fetch() handler is inserting the request in cache even though it  
got a "pass" earlier... Do we have to manual check the obj.pass flag  
in the handler?

Thanks,
André
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20070704/6a44010c/attachment-0001.html>


More information about the varnish-misc mailing list