]> git.kaiwu.me - nginx.git/commit
QUIC: lower bound path validation PTO.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 9 May 2023 15:42:40 +0000 (19:42 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 9 May 2023 15:42:40 +0000 (19:42 +0400)
commit894679804bc6b4d118ea8bec4ae79c919ef4b9c0
tree87bb2f197c112b211cb8e0e0362023d6c856ddb9
parentf706744165bc5f5b597ec84dc55effcdc21312f9
QUIC: lower bound path validation PTO.

According to RFC 9000, 8.2.4. Failed Path Validation,
the following value is recommended as a validation timeout:

  A value of three times the larger of the current PTO
  or the PTO for the new path (using kInitialRtt, as
  defined in [QUIC-RECOVERY]) is RECOMMENDED.

The change adds PTO of the new path to the equation as the lower bound.
src/event/quic/ngx_event_quic_migration.c