In message <[EMAIL PROTECTED]>, =?ISO-8859-1?Q?And
r=E9_Cruz?= writes:

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

No, this is one of the things that figure does not show: the object
created by vcl_pass() is not in the hash table at all, so no matter
what vcl_fetch() does, it will not be cached.

>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?

That would be a bug.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to