Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 2724:00afc7c4d4df
Documented listen options that imply "bind".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 20 May 2021 19:56:08 +0300 |
parents | c8f0f30e1513 |
children | 6d082b470918 |
comparison
equal
deleted
inserted
replaced
2723:61a89c4f37cf | 2724:00afc7c4d4df |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_core_module" | 9 <module name="Module ngx_stream_core_module" |
10 link="/en/docs/stream/ngx_stream_core_module.html" | 10 link="/en/docs/stream/ngx_stream_core_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="32"> | 12 rev="33"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_core_module</literal> module | 17 The <literal>ngx_stream_core_module</literal> module |
191 <literal>listen</literal> directives listens on all addresses | 191 <literal>listen</literal> directives listens on all addresses |
192 for the given port (<literal>*:</literal><value>port</value>), nginx will | 192 for the given port (<literal>*:</literal><value>port</value>), nginx will |
193 <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. | 193 <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. |
194 It should be noted that the <c-func>getsockname</c-func> system call will be | 194 It should be noted that the <c-func>getsockname</c-func> system call will be |
195 made in this case to determine the address that accepted the connection. | 195 made in this case to determine the address that accepted the connection. |
196 If the <literal>ipv6only</literal> | 196 If the <literal>backlog</literal>, |
197 <literal>rcvbuf</literal>, <literal>sndbuf</literal>, | |
198 <literal>ipv6only</literal>, <literal>reuseport</literal>, | |
197 or <literal>so_keepalive</literal> parameters | 199 or <literal>so_keepalive</literal> parameters |
198 are used then for a given | 200 are used then for a given |
199 <value>address</value>:<value>port</value> pair | 201 <value>address</value>:<value>port</value> pair |
200 a separate <c-func>bind</c-func> call will always be made. | 202 a separate <c-func>bind</c-func> call will always be made. |
201 </tag-desc> | 203 </tag-desc> |