changeset 2358:ee4eccd811cd

Added info about reuseport to stream listen udp.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 04 Apr 2019 20:02:01 +0300
parents 344e2535f027
children d5e576eb7677
files xml/en/docs/stream/ngx_stream_core_module.xml xml/ru/docs/stream/ngx_stream_core_module.xml
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_core_module.xml
+++ b/xml/en/docs/stream/ngx_stream_core_module.xml
@@ -132,6 +132,9 @@ connections accepted on this port should
 <para id="udp">
 The <literal>udp</literal> parameter configures a listening socket
 for working with datagrams (1.9.13).
+In order to handle packets from the same address and port in the same session,
+the <link id="reuseport"><literal>reuseport</literal></link> parameter
+should also be specified.
 </para>
 
 <para id="proxy_protocol">
--- a/xml/ru/docs/stream/ngx_stream_core_module.xml
+++ b/xml/ru/docs/stream/ngx_stream_core_module.xml
@@ -131,6 +131,9 @@ listen 12345-12399;
 <para id="udp">
 Параметр <literal>udp</literal> конфигурирует слушающий сокет
 для работы с датаграммами (1.9.13).
+Для обработки пакетов с одного адреса и порта в рамках одной сессии
+необходимо также указывать
+параметр <link id="reuseport"><literal>reuseport</literal></link>.
 </para>
 
 <para id="proxy_protocol">