# HG changeset patch # User Yaroslav Zhuravlev # Date 1459264871 -10800 # Node ID c872b93682f499da2e2981394c5e1d1a20e53ae5 # Parent 755c3c0324b138f55feb61da754a4c7c33c72f0b Added "non_idempotent" for proxy_next_upstream and friends. diff --git a/xml/en/docs/http/ngx_http_fastcgi_module.xml b/xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="32">
@@ -936,6 +936,7 @@ or storedhttp_503 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -970,6 +971,16 @@ server, passing a request to it, or read http_404 a server returned a response with the code 404; +non_idempotent +normally, requests with a +non-idempotent +method +(POST, LOCK, PATCH) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; + + off disables passing a request to the next server. diff --git a/xml/en/docs/http/ngx_http_proxy_module.xml b/xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="45">
@@ -1093,6 +1093,7 @@ to the proxied server instead of the met http_504 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -1133,6 +1134,16 @@ server, passing a request to it, or read http_404 a server returned a response with the code 404; +non_idempotent +normally, requests with a +non-idempotent +method +(POST, LOCK, PATCH) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; + + off disables passing a request to the next server. diff --git a/xml/en/docs/http/ngx_http_scgi_module.xml b/xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ + rev="21">
@@ -855,6 +855,7 @@ or stored o http_503 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -889,6 +890,16 @@ server, passing a request to it, or read http_404 a server returned a response with the code 404; +non_idempotent +normally, requests with a +non-idempotent +method +(POST, LOCK, PATCH) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; + + off disables passing a request to the next server. diff --git a/xml/en/docs/http/ngx_http_uwsgi_module.xml b/xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ + rev="24">
@@ -886,6 +886,7 @@ packet header. http_503 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -920,6 +921,16 @@ server, passing a request to it, or read http_404 a server returned a response with the code 404; +non_idempotent +normally, requests with a +non-idempotent +method +(POST, LOCK, PATCH) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; + + off disables passing a request to the next server. diff --git a/xml/ru/docs/http/ngx_http_fastcgi_module.xml b/xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="32">
@@ -934,6 +934,7 @@ FastCGI-сервера, и ответ не вмещается целиком в буферы, http_503 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -968,6 +969,17 @@ FastCGI-сервера, и ответ не вмещается целиком в буферы, http_404 сервер вернул ответ с кодом 404; +non_idempotent +обычно запросы с +неидемпотентным +методом +(POST, LOCK, PATCH) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; + + + off запрещает передачу запроса следующему серверу. diff --git a/xml/ru/docs/http/ngx_http_proxy_module.xml b/xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="45">
@@ -1093,6 +1093,7 @@ NTLM рекомендуется версия 1.1. http_504 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -1133,6 +1134,17 @@ NTLM рекомендуется версия 1.1. http_404 сервер вернул ответ с кодом 404; +non_idempotent +обычно запросы с +неидемпотентным +методом +(POST, LOCK, PATCH) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; + + + off запрещает передачу запроса следующему серверу. diff --git a/xml/ru/docs/http/ngx_http_scgi_module.xml b/xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ + rev="21">
@@ -852,6 +852,7 @@ SCGI-сервера, и ответ не вмещается целиком в буферы, http_503 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -886,6 +887,17 @@ SCGI-сервера, и ответ не вмещается целиком в буферы, http_404 сервер вернул ответ с кодом 404; +non_idempotent +обычно запросы с +неидемпотентным +методом +(POST, LOCK, PATCH) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; + + + off запрещает передачу запроса следующему серверу. diff --git a/xml/ru/docs/http/ngx_http_uwsgi_module.xml b/xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ + rev="24">
@@ -881,6 +881,7 @@ uwsgi-сервера, и ответ не вмещается целиком в буферы, http_503 | http_403 | http_404 | + non_idempotent | off ... error timeout @@ -915,6 +916,16 @@ uwsgi-сервера, и ответ не вмещается целиком в буферы, http_404 сервер вернул ответ с кодом 404; +non_idempotent +обычно запросы с +неидемпотентным +методом +(POST, LOCK, PATCH) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; + + off запрещает передачу запроса следующему серверу.