[PATCH] Upstream: fix $upstream_status variable

Maxim Dounin mdounin at mdounin.ru
Wed Feb 12 14:09:04 UTC 2014


Hello!

On Wed, Feb 12, 2014 at 12:18:55PM +0400, Ruslan Ermilov wrote:

> On Tue, Feb 11, 2014 at 09:57:55PM -0800, Piotr Sikora wrote:
> > # HG changeset patch
> > # User Piotr Sikora <piotr at cloudflare.com>
> > # Date 1392184482 28800
> > #      Tue Feb 11 21:54:42 2014 -0800
> > # Node ID 3f21f5b57864af853ad097a113e419086a603aae
> > # Parent  cff36d2d7fe6db1baa9d44ed30ebd26b20c05d06
> > Upstream: fix $upstream_status variable.
> > 
> > Previously, upstream's status code was overwritten with
> > cached response's status code when STALE or REVALIDATED
> > response was sent to the client.
> > 
> > Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
> 
> Looks good.

Same here, please commit.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list