<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Good morning<div><br></div><div>I hope you can help me with this: I am no Varnish expert and i am facing an issue where on big upload of files i get a 502 error. We have an apache in front of Varnish, which is of course in front of a backend. I have no issue when uploading directly to the backend server. Reading over the internet i found that it might be useful to pipe big uploads, and to verify i added to vcl_recv</div><div><br></div><div>if (req.request == “POST”) {</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>return (pipe)</div><div>}</div><div><br></div><div>and then </div><div><br></div><div>sub vcl_pipe {</div><div>    set bereq.http.connection = "close”;</div><div>}</div><div><br></div><div>Yet i incur in the same exact issue. can anybody help me debug this? Many thanks</div><div><br></div><div>BR</div><div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px;">Riccardo Salamanna</b></div></div></div></div></body></html>