comparison xml/en/docs/stream/ngx_stream_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 b19d5d47c16c
comparison
equal deleted inserted replaced
1962:abc05dc025d9 1963:351cefd5ff9c
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="22"> 12 rev="23">
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
82 <value>address</value>:<value>port</value> 82 <value>address</value>:<value>port</value>
83 [<literal>ssl</literal>] 83 [<literal>ssl</literal>]
84 [<literal>udp</literal>] 84 [<literal>udp</literal>]
85 [<literal>proxy_protocol</literal>] 85 [<literal>proxy_protocol</literal>]
86 [<literal>backlog</literal>=<value>number</value>] 86 [<literal>backlog</literal>=<value>number</value>]
87 [<literal>rcvbuf</literal>=<value>size</value>]
88 [<literal>sndbuf</literal>=<value>size</value>]
87 [<literal>bind</literal>] 89 [<literal>bind</literal>]
88 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] 90 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>]
89 [<literal>reuseport</literal>] 91 [<literal>reuseport</literal>]
90 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> 92 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax>
91 <default/> 93 <default/>
145 <c-func>listen</c-func> call that limits 147 <c-func>listen</c-func> call that limits
146 the maximum length for the queue of pending connections (1.9.2). 148 the maximum length for the queue of pending connections (1.9.2).
147 By default, 149 By default,
148 <literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and macOS, 150 <literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and macOS,
149 and to 511 on other platforms. 151 and to 511 on other platforms.
152 </tag-desc>
153
154 <tag-name>
155 <literal>rcvbuf</literal>=<value>size</value>
156 </tag-name>
157 <tag-desc>
158 sets the receive buffer size
159 (the <c-def>SO_RCVBUF</c-def> option) for the listening socket (1.11.13).
160 </tag-desc>
161
162 <tag-name>
163 <literal>sndbuf</literal>=<value>size</value>
164 </tag-name>
165 <tag-desc>
166 sets the send buffer size
167 (the <c-def>SO_SNDBUF</c-def> option) for the listening socket (1.11.13).
150 </tag-desc> 168 </tag-desc>
151 169
152 <tag-name> 170 <tag-name>
153 <literal>bind</literal> 171 <literal>bind</literal>
154 </tag-name> 172 </tag-name>