]> git.kaiwu.me - nginx.git/commit
Upstream: fixed $upstream_status when upstream returns 503/504.
authorRuslan Ermilov <ru@nginx.com>
Wed, 11 Oct 2017 19:04:28 +0000 (22:04 +0300)
committerRuslan Ermilov <ru@nginx.com>
Wed, 11 Oct 2017 19:04:28 +0000 (22:04 +0300)
commitf1be23bc8aed6c6e6bbba1320d85a8943550b253
treeed36c7e31da871173ccff52c21de9a1588526187
parent211d20a23021a3d45608c6075a92c73319715620
Upstream: fixed $upstream_status when upstream returns 503/504.

If proxy_next_upstream includes http_503/http_504, and upstream
returns 503/504, $upstream_status converted this to 502 for any
values except the last one.
src/http/ngx_http_upstream.c