~titusx/nginx/mainline

Viewing all changes in revision 7212.

  • Committer: Roman Arutyunyan
  • Date: 2023-09-14 10:15:20 UTC
  • Revision ID: git-v1:196289ac18b94c6bb0fa4f5e9a33f12757444399
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: