<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre wrap="">Hi,

I'm having the following issue with "multiple set-cookie headers":

Below you can see a curl request to a website that is running varnish:

root@magento-development:/# curl -I <a class="moz-txt-link-freetext" href="http://XXXXXXXXX">http://XXXXXXXXX</a>

[1] 5332
root@magento-development:/# HTTP/1.1 200 OK
Date: Thu, 10 Nov 2011 14:49:56 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny13 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny13
<b>Set-Cookie: store=scfr; expires=Fri, 09-Nov-2012 14:49:56 GMT; path=/; domain=XXXXXXXXX; httponly
Set-Cookie: frontend=9ac04aa3912eb78eb79f98dd531f7ba6; expires=Thu, 10 Nov 2011 15:49:57 GMT; path=/; </b>domain=XXXXXXXXX; HttpOnly
Expires: Thu, 10 Nov 2011 16:49:57 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
<b>Set-Cookie: EXTERNAL_NO_CACHE=1; expires=Thu, 10-Nov-2011 15:49:57 GMT; path=/; domain=XXXXXXXXX; httponly</b>
X-Cache-Debug: 1
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8

As you can see there are multiple Set-Cookie headers can't be used since a limitation of Varnish is that it will only be able to "analyze" the first line. I tried this header-modification vmod:

<a class="moz-txt-link-freetext" href="https://github.com/KristianLyng/libvmod-header">https://github.com/KristianLyng/libvmod-header</a>

which did not solve the issue.

Any help here?

Kind regards,
Kenny 
</pre>
    <div class="moz-signature"><img
        src="cid:part1.02050604.04080708@ac-systems.com" border="0"></div>
  </body>
</html>