Mercurial > hg > nginx-site
changeset 1035:e9c485d6cc0c
Documented that "listen setfib=" implies "bind".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 17 Dec 2013 19:02:54 +0400 |
parents | b4818b326885 |
children | 5894aa46ffef |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="26"> + rev="27"> <section id="directives" name="Directives"> @@ -1287,7 +1287,8 @@ for the given port (<literal>*:</literal will <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. It should be noted that the <c-func>getsockname</c-func> system call will be made in this case to determine the address that accepted the connection. -If the <literal>backlog</literal>, <literal>rcvbuf</literal>, +If the <literal>setfib</literal>, +<literal>backlog</literal>, <literal>rcvbuf</literal>, <literal>sndbuf</literal>, <literal>accept_filter</literal>, <literal>deferred</literal>, or <literal>so_keepalive</literal> parameters are used then for a given
--- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_core_module" link="/ru/docs/http/ngx_http_core_module.html" lang="ru" - rev="26"> + rev="27"> <section id="directives" name="Директивы"> @@ -1281,10 +1281,11 @@ FreeBSD и Mac OS X, и 511 для других платформ. <c-func>bind</c-func> только на <literal>*:</literal><value>порт</value>. Необходимо заметить, что в этом случае для определения адреса, на которой пришло соединение, делается системный вызов <c-func>getsockname</c-func>. -Если же используются параметры <literal>backlog</literal>, -<literal>rcvbuf</literal>, <literal>sndbuf</literal>, -<literal>accept_filter</literal>, <literal>deferred</literal> -или <literal>so_keepalive</literal>, то для данной пары +Если же используются параметры <literal>setfib</literal>, +<literal>backlog</literal>, <literal>rcvbuf</literal>, +<literal>sndbuf</literal>, <literal>accept_filter</literal>, +<literal>deferred</literal> или <literal>so_keepalive</literal>, +то для данной пары <value>адрес</value>:<value>порт</value> всегда делается отдельный вызов <c-func>bind</c-func>. </tag-desc>