diff xml/en/docs/stream/ngx_stream_proxy_module.xml @ 2179:962e1adfa032

Documented UDP streams.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 06 Jun 2018 20:15:49 +0300
parents ca7568f67dee
children d765ffffd08c
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_proxy_module.xml
+++ b/xml/en/docs/stream/ngx_stream_proxy_module.xml
@@ -9,7 +9,7 @@
 <module name="Module ngx_stream_proxy_module"
         link="/en/docs/stream/ngx_stream_proxy_module.html"
         lang="en"
-        rev="19">
+        rev="20">
 
 <section id="summary">
 
@@ -38,8 +38,7 @@ server {
 }
 
 server {
-    listen 53 udp;
-    proxy_responses 1;
+    listen 53 udp reuseport;
     proxy_timeout 20s;
     proxy_pass dns.example.com:53;
 }
@@ -260,12 +259,11 @@ protocol</link> for connections to a pro
 
 <para>
 Sets the number of datagrams expected from the proxied server
-in response to the client request
+in response to a client datagram
 if the <link doc="ngx_stream_core_module.xml" id="udp">UDP</link>
 protocol is used.
-By default, the number of datagrams is not limited:
-the response datagrams will be sent
-until the <link id="proxy_timeout"/> value expires.
+The number serves as a hint for session termination.
+By default, the number of datagrams is not limited.
 </para>
 
 </directive>