mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-06 22:22:38 +03:00
Consider ack delay in BBR bandwidth calculation
Summary: it turns out some client can delay ack for long time, randomly, which may make us miss a good bandwidth update Reviewed By: mjoras Differential Revision: D23686348 fbshipit-source-id: 6524d08b6db03ede59a72049b4af98609740463a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0179269970
commit
8616a9b3aa
@@ -937,6 +937,7 @@ TEST_F(QuicTransportFunctionsTest, TestUpdateConnectionWithBytesStats) {
|
||||
conn->lossState.totalBytesAcked = 8642;
|
||||
auto currentTime = Clock::now();
|
||||
conn->lossState.lastAckedTime = currentTime - 123s;
|
||||
conn->lossState.adjustedLastAckedTime = currentTime - 123s;
|
||||
conn->lossState.lastAckedPacketSentTime = currentTime - 234s;
|
||||
conn->lossState.totalBytesSentAtLastAck = 10000;
|
||||
conn->lossState.totalBytesAckedAtLastAck = 5000;
|
||||
|
Reference in New Issue
Block a user