nginx/src/event
Roman Arutyunyan 96b6f215b8 Stream: udp streams.
Previously, only one client packet could be processed in a udp stream session
even though multiple response packets were supported.  Now multiple packets
coming from the same client address and port are delivered to the same stream
session.

If it's required to maintain a single stream of data, nginx should be
configured in a way that all packets from a client are delivered to the same
worker.  On Linux and DragonFly BSD the "reuseport" parameter should be
specified for this.  Other systems do not currently provide appropriate
mechanisms.  For these systems a single stream of udp packets is only
guaranteed in single-worker configurations.

The proxy_response directive now specifies how many packets are expected in
response to a single client packet.
2018-06-04 19:50:00 +03:00
..
modules Fixed --test-build-eventport on macOS 10.12 and later. 2018-01-16 13:52:03 +03:00
ngx_event_accept.c Events: moved ngx_recvmsg() to new file src/event/ngx_event_udp.c. 2018-06-01 16:55:49 +03:00
ngx_event_acceptex.c Removed unused flag accept_context_updated from ngx_event_t. 2016-06-29 14:30:00 +03:00
ngx_event_connect.c Generate error for unsupported IPv6 transparent proxy. 2018-02-22 13:16:21 +03:00
ngx_event_connect.h Modules compatibility: compatibility with NGX_HTTP_SSL. 2016-10-10 18:44:17 +03:00
ngx_event_connectex.c Copyright updated. 2012-01-18 15:07:43 +00:00
ngx_event_openssl_stapling.c Parenthesized ASCII-related calculations. 2017-07-17 17:23:51 +03:00
ngx_event_openssl.c SSL: fixed possible use-after-free in $ssl_server_name. 2017-08-22 17:36:12 +03:00
ngx_event_openssl.h SSL: include <openssl/hmac.h>. 2017-10-11 15:43:50 -07:00
ngx_event_pipe.c Upstream: fixed cache corruption and socket leaks with aio_write. 2017-01-20 21:14:19 +03:00
ngx_event_pipe.h Modules compatibility: compatibility with NGX_THREADS. 2016-10-10 18:44:17 +03:00
ngx_event_posted.c Events: processing of posted events changed from LIFO to FIFO. 2014-09-01 18:20:18 +04:00
ngx_event_posted.h Events: made posted events macros safe. 2015-03-27 19:57:15 +03:00
ngx_event_timer.c Fixed a comment. 2017-03-17 12:09:31 +03:00
ngx_event_timer.h Cancelable timers are now preserved if there are other timers. 2017-03-07 18:51:15 +03:00
ngx_event_udp.c Stream: udp streams. 2018-06-04 19:50:00 +03:00
ngx_event.c Core: set nginx_shared_zone name via ngx_str_set(). 2017-03-28 11:28:51 +03:00
ngx_event.h Stream: udp streams. 2018-06-04 19:50:00 +03:00