]> git.kaiwu.me - nginx.git/commit
Stream: added half-close support.
authorVladimir Homutov <vl@nginx.com>
Wed, 22 Sep 2021 07:20:00 +0000 (10:20 +0300)
committerVladimir Homutov <vl@nginx.com>
Wed, 22 Sep 2021 07:20:00 +0000 (10:20 +0300)
commite56ba23158b8466d108fd4d571bd7d9a88f2a473
tree100e8c1244711933931875c1cdca5f1615ad3f3a
parentadbd28b7a9843ebce895f9903f19c5a740d61db4
Stream: added half-close support.

The "proxy_half_close" directive enables handling of TCP half close.  If
enabled, connection to proxied server is kept open until both read ends get
EOF.  Write end shutdown is properly transmitted via proxy.
src/stream/ngx_stream_proxy_module.c
src/stream/ngx_stream_upstream.h