Mercurial > hg > nginx-site
changeset 1502:b628e042a15e
Documented "listen backlog=" in mail and stream.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 09 Jun 2015 14:40:14 +0300 |
parents | 40425063b413 |
children | a9ffc9dd41e0 |
files | xml/en/docs/mail/ngx_mail_core_module.xml xml/en/docs/stream/ngx_stream_core_module.xml xml/ru/docs/mail/ngx_mail_core_module.xml |
diffstat | 3 files changed, 41 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/mail/ngx_mail_core_module.xml Tue Jun 09 11:29:11 2015 +0300 +++ b/xml/en/docs/mail/ngx_mail_core_module.xml Tue Jun 09 14:40:14 2015 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_mail_core_module" link="/en/docs/mail/ngx_mail_core_module.html" lang="en" - rev="6"> + rev="7"> <section id="summary"> @@ -74,6 +74,7 @@ <syntax> <value>address</value>:<value>port</value> [<literal>ssl</literal>] + [<literal>backlog</literal>=<value>number</value>] [<literal>bind</literal>] [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> @@ -120,6 +121,18 @@ <list type="tag"> <tag-name> +<literal>backlog</literal>=<value>number</value> +</tag-name> +<tag-desc> +sets the <literal>backlog</literal> parameter in the +<c-func>listen</c-func> call that limits +the maximum length for the queue of pending connections (1.9.2). +By default, +<literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and Mac OS X, +and to 511 on other platforms. +</tag-desc> + +<tag-name> <literal>bind</literal> </tag-name> <tag-desc>
--- a/xml/en/docs/stream/ngx_stream_core_module.xml Tue Jun 09 11:29:11 2015 +0300 +++ b/xml/en/docs/stream/ngx_stream_core_module.xml Tue Jun 09 14:40:14 2015 +0300 @@ -9,7 +9,7 @@ <module name="Module ngx_stream_core_module" link="/en/docs/stream/ngx_stream_core_module.html" lang="en" - rev="6"> + rev="7"> <section id="summary"> @@ -65,6 +65,7 @@ <syntax> <value>address</value>:<value>port</value> [<literal>ssl</literal>] + [<literal>backlog</literal>=<value>number</value>] [<literal>bind</literal>] [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] [<literal>reuseport</literal>] @@ -107,6 +108,18 @@ <list type="tag"> <tag-name> +<literal>backlog</literal>=<value>number</value> +</tag-name> +<tag-desc> +sets the <literal>backlog</literal> parameter in the +<c-func>listen</c-func> call that limits +the maximum length for the queue of pending connections (1.9.2). +By default, +<literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and Mac OS X, +and to 511 on other platforms. +</tag-desc> + +<tag-name> <literal>bind</literal> </tag-name> <tag-desc>
--- a/xml/ru/docs/mail/ngx_mail_core_module.xml Tue Jun 09 11:29:11 2015 +0300 +++ b/xml/ru/docs/mail/ngx_mail_core_module.xml Tue Jun 09 14:40:14 2015 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_mail_core_module" link="/ru/docs/mail/ngx_mail_core_module.html" lang="ru" - rev="6"> + rev="7"> <section id="summary"> @@ -74,6 +74,7 @@ <syntax> <value>адрес</value>:<value>порт</value> [<literal>ssl</literal>] + [<literal>backlog</literal>=<value>число</value>] [<literal>bind</literal>] [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> @@ -120,6 +121,17 @@ <list type="tag"> <tag-name> +<literal>backlog</literal>=<value>число</value> +</tag-name> +<tag-desc> +задаёт параметр <literal>backlog</literal> в вызове +<c-func>listen</c-func>, который ограничивает +максимальный размер очереди ожидающих приёма соединений (1.9.2). +По умолчанию <literal>backlog</literal> устанавливается равным -1 для +FreeBSD, DragonFly BSD и Mac OS X, и 511 для других платформ. +</tag-desc> + +<tag-name> <literal>bind</literal> </tag-name> <tag-desc>