changeset 2724:00afc7c4d4df

Documented listen options that imply "bind".
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 May 2021 19:56:08 +0300
parents 61a89c4f37cf
children 6d082b470918
files xml/en/docs/http/ngx_http_core_module.xml xml/en/docs/mail/ngx_mail_core_module.xml xml/en/docs/stream/ngx_stream_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml xml/ru/docs/mail/ngx_mail_core_module.xml xml/ru/docs/stream/ngx_stream_core_module.xml
diffstat 6 files changed, 23 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Wed May 19 12:58:02 2021 +0300
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Thu May 20 19:56:08 2021 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="96">
+        rev="97">
 
 <section id="directives" name="Directives">
 
@@ -1489,9 +1489,11 @@
 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>setfib</literal>,
+<literal>fastopen</literal>,
 <literal>backlog</literal>, <literal>rcvbuf</literal>,
 <literal>sndbuf</literal>, <literal>accept_filter</literal>,
 <literal>deferred</literal>, <literal>ipv6only</literal>,
+<literal>reuseport</literal>,
 or <literal>so_keepalive</literal> parameters
 are used then for a given
 <value>address</value>:<value>port</value> pair
--- a/xml/en/docs/mail/ngx_mail_core_module.xml	Wed May 19 12:58:02 2021 +0300
+++ b/xml/en/docs/mail/ngx_mail_core_module.xml	Thu May 20 19:56:08 2021 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_mail_core_module"
         link="/en/docs/mail/ngx_mail_core_module.html"
         lang="en"
-        rev="18">
+        rev="19">
 
 <section id="summary">
 
@@ -179,7 +179,9 @@
 <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>ipv6only</literal>
+If the <literal>backlog</literal>,
+<literal>rcvbuf</literal>, <literal>sndbuf</literal>,
+<literal>ipv6only</literal>,
 or <literal>so_keepalive</literal> parameters
 are used then for a given
 <value>address</value>:<value>port</value> pair
--- a/xml/en/docs/stream/ngx_stream_core_module.xml	Wed May 19 12:58:02 2021 +0300
+++ b/xml/en/docs/stream/ngx_stream_core_module.xml	Thu May 20 19:56:08 2021 +0300
@@ -9,7 +9,7 @@
 <module name="Module ngx_stream_core_module"
         link="/en/docs/stream/ngx_stream_core_module.html"
         lang="en"
-        rev="32">
+        rev="33">
 
 <section id="summary">
 
@@ -193,7 +193,9 @@
 <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>ipv6only</literal>
+If the <literal>backlog</literal>,
+<literal>rcvbuf</literal>, <literal>sndbuf</literal>,
+<literal>ipv6only</literal>, <literal>reuseport</literal>,
 or <literal>so_keepalive</literal> parameters
 are used then for a given
 <value>address</value>:<value>port</value> pair
--- a/xml/ru/docs/http/ngx_http_core_module.xml	Wed May 19 12:58:02 2021 +0300
+++ b/xml/ru/docs/http/ngx_http_core_module.xml	Thu May 20 19:56:08 2021 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="96">
+        rev="97">
 
 <section id="directives" name="Директивы">
 
@@ -1483,9 +1483,11 @@
 Необходимо заметить, что в этом случае для определения адреса, на который
 пришло соединение, делается системный вызов <c-func>getsockname</c-func>.
 Если же используются параметры <literal>setfib</literal>,
+<literal>fastopen</literal>,
 <literal>backlog</literal>, <literal>rcvbuf</literal>,
 <literal>sndbuf</literal>, <literal>accept_filter</literal>,
-<literal>deferred</literal>, <literal>ipv6only</literal>
+<literal>deferred</literal>, <literal>ipv6only</literal>,
+<literal>reuseport</literal>
 или <literal>so_keepalive</literal>,
 то для данной пары
 <value>адрес</value>:<value>порт</value> всегда делается
--- a/xml/ru/docs/mail/ngx_mail_core_module.xml	Wed May 19 12:58:02 2021 +0300
+++ b/xml/ru/docs/mail/ngx_mail_core_module.xml	Thu May 20 19:56:08 2021 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_mail_core_module"
         link="/ru/docs/mail/ngx_mail_core_module.html"
         lang="ru"
-        rev="18">
+        rev="19">
 
 <section id="summary">
 
@@ -180,7 +180,9 @@
 <c-func>bind</c-func> только на <literal>*:</literal><value>порт</value>.
 Необходимо заметить, что в этом случае для определения адреса, на который
 пришло соединение, делается системный вызов <c-func>getsockname</c-func>.
-Если же используются параметры <literal>ipv6only</literal>
+Если же используются параметры <literal>backlog</literal>,
+<literal>rcvbuf</literal>, <literal>sndbuf</literal>,
+<literal>ipv6only</literal>
 или <literal>so_keepalive</literal>,
 то для данной пары
 <value>адрес</value>:<value>порт</value> всегда делается
--- a/xml/ru/docs/stream/ngx_stream_core_module.xml	Wed May 19 12:58:02 2021 +0300
+++ b/xml/ru/docs/stream/ngx_stream_core_module.xml	Thu May 20 19:56:08 2021 +0300
@@ -9,7 +9,7 @@
 <module name="Модуль ngx_stream_core_module"
         link="/ru/docs/stream/ngx_stream_core_module.html"
         lang="ru"
-        rev="32">
+        rev="33">
 
 <section id="summary">
 
@@ -195,7 +195,9 @@
 <c-func>bind</c-func> только на <literal>*:</literal><value>порт</value>.
 Необходимо заметить, что в этом случае для определения адреса, на которой
 пришло соединение, делается системный вызов <c-func>getsockname</c-func>.
-Если же используются параметры <literal>ipv6only</literal>
+Если же используются параметры <literal>backlog</literal>,
+<literal>rcvbuf</literal>, <literal>sndbuf</literal>,
+<literal>ipv6only</literal>, <literal>reuseport</literal>
 или <literal>so_keepalive</literal>,
 то для данной пары
 <value>адрес</value>:<value>порт</value> всегда делается