mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-06 22:22:38 +03:00
Interpret varint in MAX_STREAMS_FRAME as count and not as stream-id
Summary: post draft-17 it is interpreted as count not the max stream id Reviewed By: mjoras Differential Revision: D15523021 fbshipit-source-id: 779a1c5269eb8dbcdcd169303caa7a65e467339c
This commit is contained in:
committed by
Facebook Github Bot
parent
743ac19fa7
commit
b64e4f99ef
@@ -362,7 +362,7 @@ TEST_F(QuicPacketSchedulerTest, WriteOnlyOutstandingPacketsTest) {
|
||||
// Create few frames
|
||||
ConnectionCloseFrame connCloseFrame(
|
||||
TransportErrorCode::FRAME_ENCODING_ERROR, "The sun is in the sky.");
|
||||
MaxStreamsFrame maxStreamIdFrame(0x1024, true);
|
||||
MaxStreamsFrame maxStreamFrame(999, true);
|
||||
PingFrame pingFrame;
|
||||
IntervalSet<PacketNum> ackBlocks;
|
||||
ackBlocks.insert(10, 100);
|
||||
@@ -371,7 +371,7 @@ TEST_F(QuicPacketSchedulerTest, WriteOnlyOutstandingPacketsTest) {
|
||||
|
||||
// Write those framses with a regular builder
|
||||
writeFrame(connCloseFrame, regularBuilder);
|
||||
writeFrame(maxStreamIdFrame, regularBuilder);
|
||||
writeFrame(maxStreamFrame, regularBuilder);
|
||||
writeFrame(pingFrame, regularBuilder);
|
||||
writeAckFrame(ackMeta, regularBuilder);
|
||||
|
||||
|
Reference in New Issue
Block a user