diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-03-28 19:50:19 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-03-28 19:50:19 +0300 |
| commit | 4618c03f4c130d30128a1cea135e2c9e636a13ba (patch) | |
| tree | 00e51ffc2042e5e1347094031f09d85534955ce9 /src/http/ngx_http_upstream.h | |
| parent | 5a76856dc2014fdad479cdb4dcafcd384d0b1952 (diff) | |
| download | nginx-4618c03f4c130d30128a1cea135e2c9e636a13ba.tar.gz nginx-4618c03f4c130d30128a1cea135e2c9e636a13ba.tar.bz2 | |
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".
Diffstat (limited to 'src/http/ngx_http_upstream.h')
| -rw-r--r-- | src/http/ngx_http_upstream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h index e8f40fc05..7595dcfd7 100644 --- a/src/http/ngx_http_upstream.h +++ b/src/http/ngx_http_upstream.h @@ -29,6 +29,7 @@ #define NGX_HTTP_UPSTREAM_FT_UPDATING 0x00000400 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK 0x00000800 #define NGX_HTTP_UPSTREAM_FT_MAX_WAITING 0x00001000 +#define NGX_HTTP_UPSTREAM_FT_NON_IDEMPOTENT 0x00002000 #define NGX_HTTP_UPSTREAM_FT_NOLIVE 0x40000000 #define NGX_HTTP_UPSTREAM_FT_OFF 0x80000000 |
