mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-08 09:42:06 +03:00
Randomize initial packet numbers.
Summary: As in title. Also use the same starting value for each space, since our outstanding packets structure keeps all of them globally ordered. Reviewed By: yangchi Differential Revision: D23882335 fbshipit-source-id: 83c35d50a30593d2f596715ba5fc52c2a639ffd6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bf806a2e73
commit
b34a07b586
@@ -344,7 +344,8 @@ TEST_F(QuicPacketSchedulerTest, CryptoWritePartialLossBuffer) {
|
||||
RegularQuicPacketBuilder builder(
|
||||
25,
|
||||
std::move(longHeader),
|
||||
conn.ackStates.initialAckState.largestAckedByPeer.value_or(0));
|
||||
conn.ackStates.initialAckState.largestAckedByPeer.value_or(
|
||||
conn.ackStates.initialAckState.nextPacketNum));
|
||||
FrameScheduler cryptoOnlyScheduler =
|
||||
std::move(
|
||||
FrameScheduler::Builder(
|
||||
|
Reference in New Issue
Block a user