Welcome! Log In Create A New Profile

Advanced

[PATCH 2 of 4] QUIC: eliminated timeout handling in listen connection read event

Roman Arutyunyan
January 17, 2023 06:26AM
# 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
Subject Author Views Posted

[PATCH 0 of 4] QUIC packet routing improvements

Roman Arutyunyan 474 January 17, 2023 06:26AM

[PATCH 1 of 4] QUIC: handle datagrams directly in ngx_quic_recvmsg()

Roman Arutyunyan 285 January 17, 2023 06:26AM

[PATCH 2 of 4] QUIC: eliminated timeout handling in listen connection read event

Roman Arutyunyan 163 January 17, 2023 06:26AM

[PATCH 3 of 4] QUIC: eBPF worker sockets

Roman Arutyunyan 272 January 17, 2023 06:26AM

[PATCH 4 of 4] QUIC: client sockets

Roman Arutyunyan 169 January 17, 2023 06:26AM



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

Online Users

Guests: 179
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