Look at <a href="https://www.varnish-cache.org/trac/browser/doc/changes.rst">https://www.varnish-cache.org/trac/browser/doc/changes.rst</a>, and then look for "Change string concatenation to be done using + rather than implicitly" ;)<br>
<br>Roberto<br>@rofc<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 5:10 PM, Kevin Pettijohn <span dir="ltr"><<a href="mailto:kpettijohn@tarot.com">kpettijohn@tarot.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word"><div>Hello everyone,</div><div><br></div><div>I am having some issues with the VCL in Varnish 3.0.1. Below is the VCL configuration I used to remove unwanted cookies from our sites but after upgrading to Varnish 3.0.1 this will no longer compile. </div>
<div><br></div><div><br></div><div><div>  // Remove all cookies except the Drupal session cookie</div><div>  if (req.http.Cookie) {</div><div><b>    set req.http.Cookie = ";" req.http.Cookie;</b></div><div>    set req.http.Cookie = regsuball(req.http.Cookie, "; +", ";");</div>
<div>    set req.http.Cookie = regsuball(req.http.Cookie, ";(PHPSESSID)=", "; \1=");</div><div>    set req.http.Cookie = regsuball(req.http.Cookie, ";(SESS[0-9a-f]{32,32})=", "; \1=");</div>
<div>    set req.http.Cookie = regsuball(req.http.Cookie, ";[^ ][^;]*", "");</div><div>    set req.http.Cookie = regsuball(req.http.Cookie, "^[; ]+|[; ]+$", "");</div><div><br></div>
<div>    if (req.http.Cookie == "") {</div><div>      remove req.http.Cookie;</div><div>    }</div></div><div>}</div><div><br></div><div><br></div><div>Here is the error from the compile:</div><div><br></div><div>
<div>Message from VCC-compiler:</div><div>Expected ';' got 'req.http.Cookie'</div><div>(program line 174), at</div><div>('input' Line 24 Pos 31)</div><div>    set req.http.Cookie = ";" req.http.Cookie;</div>
<div>------------------------------###############-</div><div><br></div><div>Running VCC-compiler failed, exit 1</div><div>VCL compilation failed</div></div><div><br></div><div><br></div><div>Is there a fix for this configuration? </div>
<div><br></div><div>Any insight would be much appreciated.</div><div><br></div><div>Thanks,</div><div>Kevin</div><div><br></div><br><div>
<div style="word-wrap:break-word"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div>
__________________<br>Kevin Pettijohn</div><div>Operations & IT</div><div><br></div><div><br></div></span><br></div><br></div><br><br>
</div>
<br></div><br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br>