diff xml/en/docs/stream/ngx_stream_proxy_module.xml @ 2788:03b49685c056

Documented the proxy_half_close directive for stream.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 12 Oct 2021 20:51:19 +0100
parents 7041bddec07d
children 92e5dca02091
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="27">
+        rev="28">
 
 <section id="summary">
 
@@ -159,6 +159,23 @@ proxy_download_rate $rate;
 </directive>
 
 
+<directive name="proxy_half_close">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>stream</context>
+<context>server</context>
+<appeared-in>1.21.4</appeared-in>
+
+<para>
+Enables or disables closing
+each direction of a TCP connection independently (“TCP half-close”).
+If enabled, proxying over TCP will be kept
+until both sides close the connection.
+</para>
+
+</directive>
+
+
 <directive name="proxy_next_upstream">
 <syntax><literal>on</literal> | <literal>off</literal></syntax>
 <default>on</default>