mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-26 11:41:50 +01:00
MINOR: quic: Wrong loss time computation in qc_packet_loss_lookup()
This part as been modified by the RFC since our first implementation.
This commit is contained in:
parent
09e0f8319d
commit
dc90c07715
@ -1659,7 +1659,10 @@ static void qc_packet_loss_lookup(struct quic_pktns *pktns,
|
||||
LIST_APPEND(lost_pkts, &pkt->list);
|
||||
}
|
||||
else {
|
||||
pktns->tx.loss_time = tick_first(pktns->tx.loss_time, loss_time_limit);
|
||||
if (tick_isset(pktns->tx.loss_time))
|
||||
pktns->tx.loss_time = tick_first(pktns->tx.loss_time, loss_time_limit);
|
||||
else
|
||||
pktns->tx.loss_time = loss_time_limit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user