<div dir="ltr"><div>(1)</div>I changed vcl_error to vcl_backend_error but having a problem with the internal syntax. I used to have:<div><div><br></div><div><div>sub vcl_backend_error {</div><div><br></div><div> synthetic {"<p>"} + obj.response + {"</p>"};</div><div> return(deliver);</div><div>}</div><div><br></div><div>(2)</div><div>I also had this line in my V3 vcl</div><div><br></div><div>error 200 "BAN Set for " + req.url;<br></div><div><br></div><div>Does this get converted to:</div><div><br></div><div>set resp.status = 200;</div><div>synthetic("BAN Set for " + req.url);</div><div>return(deliver);</div><div><br></div><div><br></div><div>The Upgrading page says this:</div><div><br></div><div><h3 style="font-family:'Trebuchet MS',sans-serif;font-weight:normal;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204);padding:3px 0px 3px 10px;font-size:22.3999996185303px;background-color:rgb(242,242,242)">error() is now synth()<a class="" href="https://www.varnish-cache.org/docs/trunk/whats-new/upgrading.html#error-is-now-synth" title="Permalink to this headline" style="color:rgb(51,101,144);text-decoration:none;font-size:0.8em;padding:0px 4px"></a></h3><p style="text-align:justify;line-height:20.7999992370605px;font-family:sans-serif;font-size:16px">And you must explicitly return it:</p><div class="" style="font-family:sans-serif;font-size:16px"><div class="" style="background:rgb(238,255,204)"><pre style="padding:5px;line-height:15.6000003814697px;border-top-width:1px;border-bottom-width:1px;border-style:solid none;border-top-color:rgb(170,204,153);border-bottom-color:rgb(170,204,153)"><span class="" style="color:rgb(0,112,32);font-weight:bold">return</span> <span class="">(</span><span class="">synth</span><span class="">(</span><span class="" style="color:rgb(32,128,80)">999</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">"Response"</span><span class="">));</span></pre></div></div></div><div><br></div><div>Not sure exactly what is going on here.</div><div><br></div><div>Thanks for any insight.</div><div><br></div><div>Ray</div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Helvetica"><span style="text-align:-webkit-auto"><span style="text-align:-webkit-auto"><span style="text-align:-webkit-auto"><b style="font-size:12px;text-align:-webkit-auto"></b></span></span></span></div></div></div></div></div></div></div></div></div></div>
</div></div></div>