[PATCH] Upstream: fix $upstream_status variable
Ruslan Ermilov
ru at nginx.com
Wed Feb 12 08:18:55 UTC 2014
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.
More information about the nginx-devel
mailing list