# HG changeset patch
# User Roman Arutyunyan <arut@nginx.com>
# Date 1670428974 0
# Wed Dec 07 16:02:54 2022 +0000
# Branch quic
# Node ID cc74c21cddd87762c03c5ce5a9976b5f23d8823f
# Parent 7051cace147700a3e5456846dd4eadfdcadcd0c8
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)) {
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel