mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Fix last packet sent time in loss alarm calculation
Summary: In a recent diff this was mistakenly changed to be the earliest sent time, which makes the loss alarm duration much shorter, then we end up firing them a lot. Reviewed By: mjoras Differential Revision: D19826034 fbshipit-source-id: e190d30655533fdb220e92eddc5754fb9abd007b
This commit is contained in:
committed by
Facebook Github Bot
parent
02d90faa39
commit
9a1bc51681
@@ -189,7 +189,7 @@ PacketNum QuicLossFunctionsTest::sendPacket(
|
||||
conn.outstandingHandshakePacketsCount++;
|
||||
conn.lossState.lastHandshakePacketSentTime = time;
|
||||
}
|
||||
conn.lossState.lastRetransmittablePacketSentTimes[packetNumberSpace] = time;
|
||||
conn.lossState.lastRetransmittablePacketSentTime = time;
|
||||
if (conn.congestionController) {
|
||||
conn.congestionController->onPacketSent(outstandingPacket);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user