unset req.http.Cookie and TxHeader

Ken Brownfield kb+varnish at slide.com
Fri Jul 16 21:34:07 CEST 2010


Yes, I believe the structures are all populated before vcl_recv, so you need to unset the bereq header.  It also makes more sense conceptually, IMHO.
-- 
Ken

On Jul 15, 2010, at 11:57 PM, Chris Hecker wrote:

> 
> I'm trying to debug some cookie weirdness, and I stuck an unset req.http.Cookie at the top of my vcl_recv, but I'm still getting
> 
> TxHeader     b Cookie: blah
> 
> lines in my varnishlog for misses.  Should those be there?  Do I need to kill bereq.http.Cookie as well or something?
> 
> Chris
> 
> 
> 
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc





More information about the varnish-misc mailing list