]> git.kaiwu.me - nginx.git/commit
QUIC: always calculate rtt for largest acknowledged packet.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 9 Dec 2020 21:26:21 +0000 (21:26 +0000)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 9 Dec 2020 21:26:21 +0000 (21:26 +0000)
commit240f8a918ed09e67570020261b1693907e5b64c0
tree7678191fee624a18cf220403432ec3b3e7686a50
parent4fd02c58391ed65a4567e16bee6d198670f2539a
QUIC: always calculate rtt for largest acknowledged packet.

Previously, when processing client ACK, rtt could be calculated for a packet
different than the largest if it was missing in the sent chain.  Even though
this is an unlikely situation, rtt based on a different packet could be larger
than needed leading to bigger pto timeout and performance degradation.
src/event/ngx_event_quic.c