Mercurial > hg > nginx-site
changeset 773:24b1b0101250
Documented "send_lowat" directive in fastcgi and proxy modules.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 23 Nov 2012 07:38:47 +0000 |
parents | ce121bf644f5 |
children | 8ff309263cb9 |
files | xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml |
diffstat | 4 files changed, 96 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Fri Nov 23 07:35:21 2012 +0000 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Fri Nov 23 07:38:47 2012 +0000 @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -784,6 +784,29 @@ </directive> +<directive name="fastcgi_send_lowat"> +<syntax><value>size</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +If set to a non-zero value, nginx will try to minimize the number +of send operations on outgoing connections to a FastCGI server by using either +<c-def>NOTE_LOWAT</c-def> flag of the +<link doc="../events.xml" id="kqueue"/> method, +or the <c-def>SO_SNDLOWAT</c-def> socket option, +with the specified <value>size</value>. +</para> + +<para> +This directive is ignored on Linux, Solaris, and Windows. +</para> + +</directive> + + <directive name="fastcgi_send_timeout"> <syntax><value>time</value></syntax> <default>60s</default>
--- a/xml/en/docs/http/ngx_http_proxy_module.xml Fri Nov 23 07:35:21 2012 +0000 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Fri Nov 23 07:38:47 2012 +0000 @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -1088,6 +1088,29 @@ </directive> +<directive name="proxy_send_lowat"> +<syntax><value>size</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +If set to a non-zero value, nginx will try to minimize the number +of send operations on outgoing connections to a proxied server by using either +<c-def>NOTE_LOWAT</c-def> flag of the +<link doc="../events.xml" id="kqueue"/> method, +or the <c-def>SO_SNDLOWAT</c-def> socket option, +with the specified <value>size</value>. +</para> + +<para> +This directive is ignored on Linux, Solaris, and Windows. +</para> + +</directive> + + <directive name="proxy_send_timeout"> <syntax><value>time</value></syntax> <default>60s</default>
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Fri Nov 23 07:35:21 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Fri Nov 23 07:38:47 2012 +0000 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="2"> + rev="3"> <section id="summary"> @@ -778,6 +778,29 @@ </directive> +<directive name="fastcgi_send_lowat"> +<syntax><value>размер</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +При установке в ненулевое значение nginx будет пытаться минимизировать +число операций отправки на исходящих соединениях с FastCGI-сервером +либо при помощи флага <c-def>NOTE_LOWAT</c-def> метода +<link doc="../events.xml" id="kqueue"/>, +либо при помощи параметра сокета <c-def>SO_SNDLOWAT</c-def>, +с указанным <value>размером</value>. +</para> + +<para> +Эта директива игнорируется на Linux, Solaris и Windows. +</para> + +</directive> + + <directive name="fastcgi_send_timeout"> <syntax><value>время</value></syntax> <default>60s</default>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml Fri Nov 23 07:35:21 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Fri Nov 23 07:38:47 2012 +0000 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_proxy_module" link="/ru/docs/http/ngx_http_proxy_module.html" lang="ru" - rev="2"> + rev="3"> <section id="summary"> @@ -1086,6 +1086,29 @@ </directive> +<directive name="proxy_send_lowat"> +<syntax><value>размер</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +При установке в ненулевое значение nginx будет пытаться минимизировать +число операций отправки на исходящих соединениях с проксируемым сервером либо +при помощи флага <c-def>NOTE_LOWAT</c-def> метода +<link doc="../events.xml" id="kqueue"/>, +либо при помощи параметра сокета <c-def>SO_SNDLOWAT</c-def>, +с указанным <value>размером</value>. +</para> + +<para> +Эта директива игнорируется на Linux, Solaris и Windows. +</para> + +</directive> + + <directive name="proxy_send_timeout"> <syntax><value>время</value></syntax> <default>60s</default>