]> git.kaiwu.me - nginx.git/commit
Upstream: proxy_next_upstream non_idempotent.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Mar 2016 16:50:19 +0000 (19:50 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Mar 2016 16:50:19 +0000 (19:50 +0300)
commit4618c03f4c130d30128a1cea135e2c9e636a13ba
tree00e51ffc2042e5e1347094031f09d85534955ce9
parent5a76856dc2014fdad479cdb4dcafcd384d0b1952
Upstream: proxy_next_upstream non_idempotent.

By default, requests with non-idempotent methods (POST, LOCK, PATCH)
are no longer retried in case of errors if a request was already sent
to a backend.  Previous behaviour can be restored by using
"proxy_next_upstream ... non_idempotent".
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
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h