]> git.kaiwu.me - nginx.git/commit
QUIC: removed check for in-flight packets in computing PTO.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 9 May 2023 15:42:38 +0000 (19:42 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 9 May 2023 15:42:38 +0000 (19:42 +0400)
commitf0537cf17cec8a823c5b81c8f07a2508d7366720
treec7c8d16302b3e4023f2ce8bc4ab2797672621942
parent1465a34067b927963b311136bf15a79981cb9d6e
QUIC: removed check for in-flight packets in computing PTO.

The check is needed for clients in order to unblock a server due to
anti-amplification limits, and it seems to make no sense for servers.
See RFC 9002, A.6 and A.8 for a further explanation.

This makes max_ack_delay to now always account, notably including
PATH_CHALLENGE timers as noted in the last paragraph of 9000, 9.4,
unlike when it was only used when there are packets in flight.

While here, fixed nearby style.
src/event/quic/ngx_event_quic_ack.c