]> git.kaiwu.me - nginx.git/commit
Upstream: fix $upstream_status variable.
authorPiotr Sikora <piotr@cloudflare.com>
Wed, 12 Feb 2014 05:54:42 +0000 (21:54 -0800)
committerPiotr Sikora <piotr@cloudflare.com>
Wed, 12 Feb 2014 05:54:42 +0000 (21:54 -0800)
commit60d508ceb9c5ad867d33b819c9dfbdf05b9eef4b
treee0ea85fc89cfd2f3c3c71867c2653580d50a9b2b
parentcd358e5a95fb770f30207fffe8e45dbc2bb7e52b
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@cloudflare.com>
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c