Mercurial > hg > nginx-site
comparison xml/en/docs/mail/ngx_mail_core_module.xml @ 1963:351cefd5ff9c
Documented rcvbuf and sndbuf for mail and stream listen directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 13 Apr 2017 15:09:13 +0300 |
parents | f024ac0ec5c7 |
children | 721f78cff4ef |
comparison
equal
deleted
inserted
replaced
1962:abc05dc025d9 | 1963:351cefd5ff9c |
---|---|
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="9"> | 13 rev="10"> |
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 |
77 <directive name="listen"> | 77 <directive name="listen"> |
78 <syntax> | 78 <syntax> |
79 <value>address</value>:<value>port</value> | 79 <value>address</value>:<value>port</value> |
80 [<literal>ssl</literal>] | 80 [<literal>ssl</literal>] |
81 [<literal>backlog</literal>=<value>number</value>] | 81 [<literal>backlog</literal>=<value>number</value>] |
82 [<literal>rcvbuf</literal>=<value>size</value>] | |
83 [<literal>sndbuf</literal>=<value>size</value>] | |
82 [<literal>bind</literal>] | 84 [<literal>bind</literal>] |
83 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] | 85 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] |
84 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> | 86 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> |
85 <default/> | 87 <default/> |
86 <context>server</context> | 88 <context>server</context> |
132 <c-func>listen</c-func> call that limits | 134 <c-func>listen</c-func> call that limits |
133 the maximum length for the queue of pending connections (1.9.2). | 135 the maximum length for the queue of pending connections (1.9.2). |
134 By default, | 136 By default, |
135 <literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and macOS, | 137 <literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and macOS, |
136 and to 511 on other platforms. | 138 and to 511 on other platforms. |
139 </tag-desc> | |
140 | |
141 <tag-name> | |
142 <literal>rcvbuf</literal>=<value>size</value> | |
143 </tag-name> | |
144 <tag-desc> | |
145 sets the receive buffer size | |
146 (the <c-def>SO_RCVBUF</c-def> option) for the listening socket (1.11.13). | |
147 </tag-desc> | |
148 | |
149 <tag-name> | |
150 <literal>sndbuf</literal>=<value>size</value> | |
151 </tag-name> | |
152 <tag-desc> | |
153 sets the send buffer size | |
154 (the <c-def>SO_SNDBUF</c-def> option) for the listening socket (1.11.13). | |
137 </tag-desc> | 155 </tag-desc> |
138 | 156 |
139 <tag-name> | 157 <tag-name> |
140 <literal>bind</literal> | 158 <literal>bind</literal> |
141 </tag-name> | 159 </tag-name> |