<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 9, 2015 at 1:08 AM, Damien Tournoud <span dir="ltr"><<a href="mailto:damien@platform.sh" target="_blank">damien@platform.sh</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">In other to make the variable useful, I had to where it is set<br>
in `ngx_http_upstream_send_response()` (in the MISS path),<br>
so that it is set before sending the headers.<br></blockquote><div><br></div><div>(It's late, and I'm contributing to a project that actively discourages contributions by using Mercurial and mandating submissions to be sent to a subscribe-only mailing-list. I forgot the name of that project.)</div><div><br></div><div>So, here is the non-jibberish version:</div><div><br></div><div>In order to make the variable useful, I had to move where it is set<br>in `ngx_http_upstream_send_response()` (in the MISS path),<br>so that it is set before sending the headers.<br></div><div><br></div><div>Damien</div><div><br></div></div></div></div>