Cookies being sent back with a cached response
Cosimo Streppone
cosimo at streppone.it
Thu Oct 8 12:02:05 CEST 2009
On Thu, 08 Oct 2009 10:21:48 +0200, Tollef Fog Heen
<tfheen at redpill-linpro.com> wrote:
> | Then looking at varnishlog output, and grepping for "Cookie",
> | I saw this (unrelated?):
> |
> | 90 TxHeader b Cookie:
> session=bf6ac86feaed6b23bef66a8f44097eac42cf24
> | ...
> |
> | How can this ever happen?
> | The backends that serve the request never output cookies, and even if
> they
> | did, it would be "Set-Cookie:" anyway... I'm confused.
>
> This means Varnish is sending a header (TxHeader) to the backend (b),
> with a Cookie: session=… set. Anything received from a backend is
> RxHeader and b.
Ok, it starts to make sense.
Thanks for you clarification.
--
Cosimo
More information about the varnish-misc
mailing list