changeset 1440:657885fd2b96

Corrected description of proxy_request_buffering and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Sun, 29 Mar 2015 01:09:22 +0300
parents 457f2b57caa7
children fabe9a178b72
files xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 8 files changed, 40 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1167,14 +1167,14 @@
 <para>
 When buffering is enabled, the entire request body is
 <link doc="ngx_http_core_module.xml" id="client_body_buffer_size">read</link>
-from the client before sending the request to a proxied server.
+from the client before sending the request to a FastCGI server.
 </para>
 
 <para>
-When buffering is disabled, the request body is sent to the proxied server
+When buffering is disabled, the request body is sent to the FastCGI server
 immediately as it is received.
-In this case, the request cannot be
-<link id="fastcgi_next_upstream">sent to the next server</link>
+In this case, the request cannot be passed to the
+<link id="fastcgi_next_upstream">next server</link>
 if nginx already started sending the request body.
 </para>
 
--- a/xml/en/docs/http/ngx_http_proxy_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1484,16 +1484,16 @@
 <para>
 When buffering is disabled, the request body is sent to the proxied server
 immediately as it is received.
-In this case, the request cannot be
-<link id="proxy_next_upstream">sent to the next server</link>
+In this case, the request cannot be passed to the
+<link id="proxy_next_upstream">next server</link>
 if nginx already started sending the request body.
 </para>
 
 <para>
 When HTTP/1.1 chunked transfer encoding is used
 to send the original request body,
-the request body will be buffered unless
-<link id="proxy_http_version">HTTP/1.1 is enabled</link> for proxying.
+the request body will be buffered regardless of the directive value unless
+HTTP/1.1 is <link id="proxy_http_version">enabled</link> for proxying.
 </para>
 
 </directive>
--- a/xml/en/docs/http/ngx_http_scgi_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1067,14 +1067,14 @@
 <para>
 When buffering is enabled, the entire request body is
 <link doc="ngx_http_core_module.xml" id="client_body_buffer_size">read</link>
-from the client before sending the request to a proxied server.
+from the client before sending the request to an SCGI server.
 </para>
 
 <para>
-When buffering is disabled, the request body is sent to the proxied server
+When buffering is disabled, the request body is sent to the SCGI server
 immediately as it is received.
-In this case, the request cannot be
-<link id="scgi_next_upstream">sent to the next server</link>
+In this case, the request cannot be passed to the
+<link id="scgi_next_upstream">next server</link>
 if nginx already started sending the request body.
 </para>
 
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1109,14 +1109,14 @@
 <para>
 When buffering is enabled, the entire request body is
 <link doc="ngx_http_core_module.xml" id="client_body_buffer_size">read</link>
-from the client before sending the request to a proxied server.
+from the client before sending the request to a uwsgi server.
 </para>
 
 <para>
-When buffering is disabled, the request body is sent to the proxied server
+When buffering is disabled, the request body is sent to the uwsgi server
 immediately as it is received.
-In this case, the request cannot be
-<link id="uwsgi_next_upstream">sent to the next server</link>
+In this case, the request cannot be passed to the
+<link id="uwsgi_next_upstream">next server</link>
 if nginx already started sending the request body.
 </para>
 
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1161,15 +1161,15 @@
 <para>
 Если буферизация включена, то тело запроса полностью
 <link doc="ngx_http_core_module.xml" id="client_body_buffer_size">читается</link>
-от клиента перед отправкой запроса на проксируемый сервер.
+от клиента перед отправкой запроса на FastCGI-сервер.
 </para>
 
 <para>
 Если буферизация выключена, то тело запроса отправляется
-на проксируемый сервер сразу же по мере его поступления.
-В этом случае запрос не может быть
-<link id="fastcgi_next_upstream">отправлен на следующий сервер</link>,
-если nginx уже начал отправку запроса.
+на FastCGI-сервер сразу же по мере его поступления.
+В этом случае запрос не может быть передан
+<link id="fastcgi_next_upstream">следующему серверу</link>,
+если nginx уже начал отправку тела запроса.
 </para>
 
 </directive>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1483,16 +1483,17 @@
 <para>
 Если буферизация выключена, то тело запроса отправляется
 на проксируемый сервер сразу же по мере его поступления.
-В этом случае запрос не может быть
-<link id="proxy_next_upstream">отправлен на следующий сервер</link>,
-если nginx уже начал отправку запроса.
+В этом случае запрос не может быть передан
+<link id="proxy_next_upstream">следующему серверу</link>,
+если nginx уже начал отправку тела запроса.
 </para>
 
 <para>
-Если для отправки первоначального тела запроса используется HTTP/1.1
+Если для отправки тела исходного запроса используется HTTP/1.1
 и передача данных частями (chunked transfer encoding),
-то тело запроса буферизуется, если для проксирования также не
-<link id="proxy_http_version">включен HTTP/1.1</link>.
+то тело запроса буферизуется независимо от значения директивы,
+если для проксирования также не
+<link id="proxy_http_version">включён</link> HTTP/1.1.
 </para>
 
 </directive>
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1060,19 +1060,19 @@
 <para>
 Если буферизация включена, то тело запроса полностью
 <link doc="ngx_http_core_module.xml" id="client_body_buffer_size">читается</link>
-от клиента перед отправкой запроса на проксируемый сервер.
+от клиента перед отправкой запроса на SCGI-сервер.
 </para>
 
 <para>
 Если буферизация выключена, то тело запроса отправляется
-на проксируемый сервер сразу же по мере его поступления.
-В этом случае запрос не может быть
-<link id="scgi_next_upstream">отправлен на следующий сервер</link>,
-если nginx уже начал отправку запроса.
+на SCGI-сервер сразу же по мере его поступления.
+В этом случае запрос не может быть передан
+<link id="scgi_next_upstream">следующему серверу</link>,
+если nginx уже начал отправку тела запроса.
 </para>
 
 <para>
-Если для отправки первоначального тела запроса используется HTTP/1.1
+Если для отправки тела исходного запроса используется HTTP/1.1
 и передача данных частями (chunked transfer encoding),
 то тело запроса буферизуется.
 </para>
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Thu Mar 26 13:06:19 2015 +0000
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Sun Mar 29 01:09:22 2015 +0300
@@ -1101,19 +1101,19 @@
 <para>
 Если буферизация включена, то тело запроса полностью
 <link doc="ngx_http_core_module.xml" id="client_body_buffer_size">читается</link>
-от клиента перед отправкой запроса на проксируемый сервер.
+от клиента перед отправкой запроса на uwsgi-сервер.
 </para>
 
 <para>
 Если буферизация выключена, то тело запроса отправляется
-на проксируемый сервер сразу же по мере его поступления.
-В этом случае запрос не может быть
-<link id="uwsgi_next_upstream">отправлен на следующий сервер</link>,
-если nginx уже начал отправку запроса.
+на uwsgi-сервер сразу же по мере его поступления.
+В этом случае запрос не может быть передан
+<link id="uwsgi_next_upstream">следующему серверу</link>,
+если nginx уже начал отправку тела запроса.
 </para>
 
 <para>
-Если для отправки первоначального тела запроса используется HTTP/1.1
+Если для отправки тела исходного запроса используется HTTP/1.1
 и передача данных частями (chunked transfer encoding),
 то тело запроса буферизуется.
 </para>