comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 2199:1d60e4b4ed64

Documented SO_REUSEPORT_LB for listen reuseport.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 03 Jul 2018 15:52:40 +0300
parents 962e1adfa032
children 0eabe2f4d365
comparison
equal deleted inserted replaced
2198:bb2c6b63cb9a 2199:1d60e4b4ed64
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="25"> 12 rev="26">
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
205 <literal>reuseport</literal> 205 <literal>reuseport</literal>
206 </tag-name> 206 </tag-name>
207 <tag-desc> 207 <tag-desc>
208 this parameter (1.9.1) instructs to create an individual listening socket 208 this parameter (1.9.1) instructs to create an individual listening socket
209 for each worker process 209 for each worker process
210 (using the <c-def>SO_REUSEPORT</c-def> socket option), allowing a kernel 210 (using the
211 <c-def>SO_REUSEPORT</c-def> socket option on Linux 3.9+ and DragonFly BSD,
212 or <c-def>SO_REUSEPORT_LB</c-def> on FreeBSD 12+), allowing a kernel
211 to distribute incoming connections between worker processes. 213 to distribute incoming connections between worker processes.
212 This currently works only on Linux 3.9+ and DragonFly BSD. 214 This currently works only on Linux 3.9+, DragonFly BSD,
215 and FreeBSD 12+ (1.15.1).
213 <note> 216 <note>
214 Inappropriate use of this option may have its security 217 Inappropriate use of this option may have its security
215 <link url="http://man7.org/linux/man-pages/man7/socket.7.html">implications</link>. 218 <link url="http://man7.org/linux/man-pages/man7/socket.7.html">implications</link>.
216 </note> 219 </note>
217 </tag-desc> 220 </tag-desc>