comparison xml/en/docs/mail/ngx_mail_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 9f9b8543b946
children 3ae5301ea37a
comparison
equal deleted inserted replaced
1501:40425063b413 1502:b628e042a15e
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="6"> 13 rev="7">
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
72 72
73 <directive name="listen"> 73 <directive name="listen">
74 <syntax> 74 <syntax>
75 <value>address</value>:<value>port</value> 75 <value>address</value>:<value>port</value>
76 [<literal>ssl</literal>] 76 [<literal>ssl</literal>]
77 [<literal>backlog</literal>=<value>number</value>]
77 [<literal>bind</literal>] 78 [<literal>bind</literal>]
78 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>] 79 [<literal>ipv6only</literal>=<literal>on</literal>|<literal>off</literal>]
79 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> 80 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax>
80 <default/> 81 <default/>
81 <context>server</context> 82 <context>server</context>
116 117
117 <para> 118 <para>
118 The <literal>listen</literal> directive 119 The <literal>listen</literal> directive
119 can have several additional parameters specific to socket-related system calls. 120 can have several additional parameters specific to socket-related system calls.
120 <list type="tag"> 121 <list type="tag">
122
123 <tag-name>
124 <literal>backlog</literal>=<value>number</value>
125 </tag-name>
126 <tag-desc>
127 sets the <literal>backlog</literal> parameter in the
128 <c-func>listen</c-func> call that limits
129 the maximum length for the queue of pending connections (1.9.2).
130 By default,
131 <literal>backlog</literal> is set to -1 on FreeBSD, DragonFly BSD, and Mac OS X,
132 and to 511 on other platforms.
133 </tag-desc>
121 134
122 <tag-name> 135 <tag-name>
123 <literal>bind</literal> 136 <literal>bind</literal>
124 </tag-name> 137 </tag-name>
125 <tag-desc> 138 <tag-desc>