[PATCH] Concatenate Set-Cookie headers before a call to vcl_fetch()

sky at crucially.net sky at crucially.net
Sun Jun 6 22:48:34 CEST 2010

Just curious, what is the use case?

Sent via BlackBerry by AT&T

-----Original Message-----
From: "lee doolan" <lee.doolan at volcanomail.com>
Date: Sat, 5 Jun 2010 23:54:22 
To: <varnish-dev at varnish-cache.org>
Subject: [PATCH] Concatenate Set-Cookie headers before a call to vcl_fetch()

I have modified a 2.1.2el5 distribution slightly.  

All of the set-cookie headers from a backend response are
concatenated, with separators between them, and then the resulting
string is written into a header named x-set-cookies.  This is done
just before a call to vcl_fetch().  After the call to vcl_fetch(), the
x-set-cookies header is removed.  The code is here, in github:


The code may be slightly rough around the edges as I have not done any
C coding for around 10 years, but the modification works well enough
to make our system admins pretty happy.


varnish-dev mailing list
varnish-dev at varnish-cache.org

More information about the varnish-dev mailing list