Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.h @ 6467:91c8d990fb45
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".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 28 Mar 2016 19:50:19 +0300 |
parents | 384154fc634f |
children | 1d0e03db9f8e |
comparison
equal
deleted
inserted
replaced
6466:984687f25998 | 6467:91c8d990fb45 |
---|---|
27 #define NGX_HTTP_UPSTREAM_FT_HTTP_403 0x00000100 | 27 #define NGX_HTTP_UPSTREAM_FT_HTTP_403 0x00000100 |
28 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x00000200 | 28 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x00000200 |
29 #define NGX_HTTP_UPSTREAM_FT_UPDATING 0x00000400 | 29 #define NGX_HTTP_UPSTREAM_FT_UPDATING 0x00000400 |
30 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK 0x00000800 | 30 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK 0x00000800 |
31 #define NGX_HTTP_UPSTREAM_FT_MAX_WAITING 0x00001000 | 31 #define NGX_HTTP_UPSTREAM_FT_MAX_WAITING 0x00001000 |
32 #define NGX_HTTP_UPSTREAM_FT_NON_IDEMPOTENT 0x00002000 | |
32 #define NGX_HTTP_UPSTREAM_FT_NOLIVE 0x40000000 | 33 #define NGX_HTTP_UPSTREAM_FT_NOLIVE 0x40000000 |
33 #define NGX_HTTP_UPSTREAM_FT_OFF 0x80000000 | 34 #define NGX_HTTP_UPSTREAM_FT_OFF 0x80000000 |
34 | 35 |
35 #define NGX_HTTP_UPSTREAM_FT_STATUS (NGX_HTTP_UPSTREAM_FT_HTTP_500 \ | 36 #define NGX_HTTP_UPSTREAM_FT_STATUS (NGX_HTTP_UPSTREAM_FT_HTTP_500 \ |
36 |NGX_HTTP_UPSTREAM_FT_HTTP_502 \ | 37 |NGX_HTTP_UPSTREAM_FT_HTTP_502 \ |