Roman Arutyunyan
December 09, 2022 04:40AM
# 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
Subject Author Views Posted

[PATCH 4 of 6] QUIC: never disable QUIC socket events

Roman Arutyunyan 682 December 09, 2022 04:40AM

Re: [PATCH 4 of 6] QUIC: never disable QUIC socket events

Maxim Dounin 187 December 13, 2022 12:58PM

Re: [PATCH 4 of 6] QUIC: never disable QUIC socket events

Roman Arutyunyan 195 January 17, 2023 04:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 103
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready