]> git.kaiwu.me - nginx.git/commit
Stream: proxy_requests directive.
authorVladimir Homutov <vl@nginx.com>
Mon, 12 Nov 2018 13:29:30 +0000 (16:29 +0300)
committerVladimir Homutov <vl@nginx.com>
Mon, 12 Nov 2018 13:29:30 +0000 (16:29 +0300)
commit41a451e286cb6de9e0a0ad97f91a1dcac17ef68f
treefc502118ce9e6f38161f876cb71c67cedb4a56cf
parentabf04ed87abd048c9f6c2de62f6a771bbd923f8a
Stream: proxy_requests directive.

The directive allows to drop binding between a client and existing UDP stream
session after receiving a specified number of packets.  First packet from the
same client address and port will start a new session.  Old session continues
to exist and will terminate at moment defined by configuration: either after
receiving the expected number of responses, or after timeout, as specified by
the "proxy_responses" and/or "proxy_timeout" directives.

By default, proxy_requests is zero (disabled).
src/event/ngx_event.h
src/event/ngx_event_udp.c
src/stream/ngx_stream_proxy_module.c