]> git.kaiwu.me - nginx.git/commit
Upstream: cached connections now tested against next_upstream.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Mar 2016 16:49:52 +0000 (19:49 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Mar 2016 16:49:52 +0000 (19:49 +0300)
commit5a76856dc2014fdad479cdb4dcafcd384d0b1952
tree1cc01a30a46c88abcf76c1295ec16d3ac4f59064
parentf5fff1eda05ef0a1370f9a83068526b3e8aebfc7
Upstream: cached connections now tested against next_upstream.

Much like normal connections, cached connections are now tested against
u->conf->next_upstream, and u->state->status is now always set.

This allows to disable additional tries even with upstream keepalive
by using "proxy_next_upstream off".
src/http/ngx_http_upstream.c