]> git.kaiwu.me - nginx.git/commit
QUIC: simplified setting close timer when closing connection.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 14 Sep 2023 10:15:20 +0000 (14:15 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 14 Sep 2023 10:15:20 +0000 (14:15 +0400)
commit196289ac18b94c6bb0fa4f5e9a33f12757444399
tree892646a924612b849fd754489e28d63e38fd3c99
parent26e606a6bcdfa4001bfb6bd24612e8aafa6513b2
QUIC: simplified setting close timer when closing connection.

Previously, the timer was never reset due to an explicit check.  The check was
added in 36b59521a41c as part of connection close simplification.  The reason
was to retain the earliest timeout.  However, the timeouts are all the same
while QUIC handshake is in progress and resetting the timer for the same value
has no performance implications.  After handshake completion there's only
application level.  The change removes the check.
src/event/quic/ngx_event_quic.c