Mercurial > hg > nginx-site
comparison xml/en/docs/mail/ngx_mail_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 | 1261698ec228 |
children | e06cf66a9f63 |
comparison
equal
deleted
inserted
replaced
2723:61a89c4f37cf | 2724:00afc7c4d4df |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_mail_core_module" | 10 <module name="Module ngx_mail_core_module" |
11 link="/en/docs/mail/ngx_mail_core_module.html" | 11 link="/en/docs/mail/ngx_mail_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="18"> | 13 rev="19"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 This module is not built by default, it should be | 18 This module is not built by default, it should be |
177 <literal>listen</literal> directives listens on all addresses | 177 <literal>listen</literal> directives listens on all addresses |
178 for the given port (<literal>*:</literal><value>port</value>), nginx will | 178 for the given port (<literal>*:</literal><value>port</value>), nginx will |
179 <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. | 179 <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. |
180 It should be noted that the <c-func>getsockname</c-func> system call will be | 180 It should be noted that the <c-func>getsockname</c-func> system call will be |
181 made in this case to determine the address that accepted the connection. | 181 made in this case to determine the address that accepted the connection. |
182 If the <literal>ipv6only</literal> | 182 If the <literal>backlog</literal>, |
183 <literal>rcvbuf</literal>, <literal>sndbuf</literal>, | |
184 <literal>ipv6only</literal>, | |
183 or <literal>so_keepalive</literal> parameters | 185 or <literal>so_keepalive</literal> parameters |
184 are used then for a given | 186 are used then for a given |
185 <value>address</value>:<value>port</value> pair | 187 <value>address</value>:<value>port</value> pair |
186 a separate <c-func>bind</c-func> call will always be made. | 188 a separate <c-func>bind</c-func> call will always be made. |
187 </tag-desc> | 189 </tag-desc> |