[PATCH 3 of 6] QUIC: eliminated timeout handling in listen connection read event
Roman Arutyunyan
arut at nginx.com
Fri Dec 9 09:38:49 UTC 2022
# HG changeset patch
# User Roman Arutyunyan <arut at nginx.com>
# Date 1670428974 0
# Wed Dec 07 16:02:54 2022 +0000
# Branch quic
# Node ID b5c30f16ec8ba3ace2f58d77d294d9b355bf3267
# Parent 8a7f2c71db202141d169f3ab292027bfc16ff8ec
QUIC: eliminated timeout handling in listen connection read event.
The timeout is never set for QUIC.
diff --git a/src/event/quic/ngx_event_quic_udp.c b/src/event/quic/ngx_event_quic_udp.c
--- a/src/event/quic/ngx_event_quic_udp.c
+++ b/src/event/quic/ngx_event_quic_udp.c
@@ -40,14 +40,6 @@ ngx_quic_recvmsg(ngx_event_t *ev)
u_char msg_control[CMSG_SPACE(sizeof(ngx_addrinfo_t))];
#endif
- if (ev->timedout) {
- if (ngx_enable_accept_events((ngx_cycle_t *) ngx_cycle) != NGX_OK) {
- return;
- }
-
- ev->timedout = 0;
- }
-
ecf = ngx_event_get_conf(ngx_cycle->conf_ctx, ngx_event_core_module);
if (!(ngx_event_flags & NGX_USE_KQUEUE_EVENT)) {
More information about the nginx-devel
mailing list