# HG changeset patch # User Yaroslav Zhuravlev # Date 1427580562 -10800 # Node ID 657885fd2b96b3ed8d1cba6b9dd62f33db67f819 # Parent 457f2b57caa71990bd5e9da9844bb9075bba3c0e Corrected description of proxy_request_buffering and friends. diff -r 457f2b57caa7 -r 657885fd2b96 xml/en/docs/http/ngx_http_fastcgi_module.xml --- 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 @@ When buffering is enabled, the entire request body is read -from the client before sending the request to a proxied server. +from the client before sending the request to a FastCGI server. -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 -sent to the next server +In this case, the request cannot be passed to the +next server if nginx already started sending the request body. diff -r 457f2b57caa7 -r 657885fd2b96 xml/en/docs/http/ngx_http_proxy_module.xml --- 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 @@ 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 -sent to the next server +In this case, the request cannot be passed to the +next server if nginx already started sending the request body. When HTTP/1.1 chunked transfer encoding is used to send the original request body, -the request body will be buffered unless -HTTP/1.1 is enabled for proxying. +the request body will be buffered regardless of the directive value unless +HTTP/1.1 is enabled for proxying. diff -r 457f2b57caa7 -r 657885fd2b96 xml/en/docs/http/ngx_http_scgi_module.xml --- 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 @@ When buffering is enabled, the entire request body is read -from the client before sending the request to a proxied server. +from the client before sending the request to an SCGI server. -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 -sent to the next server +In this case, the request cannot be passed to the +next server if nginx already started sending the request body. diff -r 457f2b57caa7 -r 657885fd2b96 xml/en/docs/http/ngx_http_uwsgi_module.xml --- 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 @@ When buffering is enabled, the entire request body is read -from the client before sending the request to a proxied server. +from the client before sending the request to a uwsgi server. -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 -sent to the next server +In this case, the request cannot be passed to the +next server if nginx already started sending the request body. diff -r 457f2b57caa7 -r 657885fd2b96 xml/ru/docs/http/ngx_http_fastcgi_module.xml --- 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 @@ Если буферизация включена, то тело запроса полностью читается -от клиента перед отправкой запроса на проксируемый сервер. +от клиента перед отправкой запроса на FastCGI-сервер. Если буферизация выключена, то тело запроса отправляется -на проксируемый сервер сразу же по мере его поступления. -В этом случае запрос не может быть -отправлен на следующий сервер, -если nginx уже начал отправку запроса. +на FastCGI-сервер сразу же по мере его поступления. +В этом случае запрос не может быть передан +следующему серверу, +если nginx уже начал отправку тела запроса. diff -r 457f2b57caa7 -r 657885fd2b96 xml/ru/docs/http/ngx_http_proxy_module.xml --- 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 @@ Если буферизация выключена, то тело запроса отправляется на проксируемый сервер сразу же по мере его поступления. -В этом случае запрос не может быть -отправлен на следующий сервер, -если nginx уже начал отправку запроса. +В этом случае запрос не может быть передан +следующему серверу, +если nginx уже начал отправку тела запроса. -Если для отправки первоначального тела запроса используется HTTP/1.1 +Если для отправки тела исходного запроса используется HTTP/1.1 и передача данных частями (chunked transfer encoding), -то тело запроса буферизуется, если для проксирования также не -включен HTTP/1.1. +то тело запроса буферизуется независимо от значения директивы, +если для проксирования также не +включён HTTP/1.1. diff -r 457f2b57caa7 -r 657885fd2b96 xml/ru/docs/http/ngx_http_scgi_module.xml --- 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 @@ Если буферизация включена, то тело запроса полностью читается -от клиента перед отправкой запроса на проксируемый сервер. +от клиента перед отправкой запроса на SCGI-сервер. Если буферизация выключена, то тело запроса отправляется -на проксируемый сервер сразу же по мере его поступления. -В этом случае запрос не может быть -отправлен на следующий сервер, -если nginx уже начал отправку запроса. +на SCGI-сервер сразу же по мере его поступления. +В этом случае запрос не может быть передан +следующему серверу, +если nginx уже начал отправку тела запроса. -Если для отправки первоначального тела запроса используется HTTP/1.1 +Если для отправки тела исходного запроса используется HTTP/1.1 и передача данных частями (chunked transfer encoding), то тело запроса буферизуется. diff -r 457f2b57caa7 -r 657885fd2b96 xml/ru/docs/http/ngx_http_uwsgi_module.xml --- 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 @@ Если буферизация включена, то тело запроса полностью читается -от клиента перед отправкой запроса на проксируемый сервер. +от клиента перед отправкой запроса на uwsgi-сервер. Если буферизация выключена, то тело запроса отправляется -на проксируемый сервер сразу же по мере его поступления. -В этом случае запрос не может быть -отправлен на следующий сервер, -если nginx уже начал отправку запроса. +на uwsgi-сервер сразу же по мере его поступления. +В этом случае запрос не может быть передан +следующему серверу, +если nginx уже начал отправку тела запроса. -Если для отправки первоначального тела запроса используется HTTP/1.1 +Если для отправки тела исходного запроса используется HTTP/1.1 и передача данных частями (chunked transfer encoding), то тело запроса буферизуется.