comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 1502:b628e042a15e

Documented "listen backlog=" in mail and stream.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 09 Jun 2015 14:40:14 +0300
parents cd534da03d02
children 14180fa9a518
comparison
equal deleted inserted replaced
1501:40425063b413 1502:b628e042a15e
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="6"> 12 rev="7">
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
63 63
64 <directive name="listen"> 64 <directive name="listen">
65 <syntax> 65 <syntax>
66 <value>address</value>:<value>port</value> 66 <value>address</value>:<value>port</value>
67 [<literal>ssl</literal>] 67 [<literal>ssl</literal>]
68 [<literal>backlog</literal>=<value>number</value>]
68 [<literal>bind</literal>] 69 [<literal>bind</literal>]
69 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] 70 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>]
70 [<literal>reuseport</literal>] 71 [<literal>reuseport</literal>]
71 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> 72 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax>
72 <default/> 73 <default/>
103 104
104 <para> 105 <para>
105 The <literal>listen</literal> directive 106 The <literal>listen</literal> directive
106 can have several additional parameters specific to socket-related system calls. 107 can have several additional parameters specific to socket-related system calls.
107 <list type="tag"> 108 <list type="tag">
109
110 <tag-name>
111 <literal>backlog</literal>=<value>number</value>
112 </tag-name>
113 <tag-desc>
114 sets the <literal>backlog</literal> parameter in the
115 <c-func>listen</c-func> call that limits
116 the maximum length for the queue of pending connections (1.9.2).
117 By default,
118 <literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and Mac OS X,
119 and to 511 on other platforms.
120 </tag-desc>
108 121
109 <tag-name> 122 <tag-name>
110 <literal>bind</literal> 123 <literal>bind</literal>
111 </tag-name> 124 </tag-name>
112 <tag-desc> 125 <tag-desc>