Hello!
On Tue, Jun 09, 2015 at 01:12:18AM +0200, Damien Tournoud wrote:
> On Tue, Jun 9, 2015 at 1:08 AM, Damien Tournoud <damien at platform.sh> wrote:
>> > In other to make the variable useful, I had to where it is set
> > in `ngx_http_upstream_send_response()` (in the MISS path),
> > so that it is set before sending the headers.
> >
>> (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.)
>> So, here is the non-jibberish version:
>> In order to make the variable useful, I had to move where it is set
> in `ngx_http_upstream_send_response()` (in the MISS path),
> so that it is set before sending the headers.
Please see this (and the thread):
http://mailman.nginx.org/pipermail/nginx-devel/2014-October/006030.html
--
Maxim Dounin
http://nginx.org/