# HG changeset patch
# User Roman Arutyunyan <arut@nginx.com>
# Date 1670256830 0
# Mon Dec 05 16:13:50 2022 +0000
# Branch quic
# Node ID de8bcaea559d151f5945d0a2e06c61b56a26a52b
# Parent b5c30f16ec8ba3ace2f58d77d294d9b355bf3267
QUIC: never disable QUIC socket events.
Unlike TCP accept(), current QUIC implementation does not require new file
descriptors for new clients. Also, it does not work with accept mutex since
it normally requires reuseport option.
diff --git a/src/event/ngx_event_accept.c b/src/event/ngx_event_accept.c
--- a/src/event/ngx_event_accept.c
+++ b/src/event/ngx_event_accept.c
@@ -416,6 +416,12 @@ ngx_disable_accept_events(ngx_cycle_t *c
#endif
+#if (NGX_QUIC)
+ if (ls[i].quic) {
+ continue;
+ }
+#endif
+
if (ngx_del_event(c->read, NGX_READ_EVENT, NGX_DISABLE_EVENT)
== NGX_ERROR)
{
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org