1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-08 09:42:06 +03:00

Draft-22 varint error codes

Summary: These were changed to varints. To support this we need to do some extra horrible version plumbing. I don't want to keep this long term but it works for now.

Reviewed By: yangchi

Differential Revision: D16293568

fbshipit-source-id: a9ea9083be160aa3e6b338a7d70d7f00e44ec5ab
This commit is contained in:
Matt Joras
2019-07-18 12:03:12 -07:00
committed by Facebook Github Bot
parent d25b0b86b5
commit ece3cbe387
15 changed files with 280 additions and 102 deletions

View File

@@ -882,7 +882,7 @@ TEST_F(QuicTransportTest, StopSending) {
getLastOutstandingPacket(
transport_->getConnectionState(), PacketNumberSpace::AppData)
->packet;
EXPECT_EQ(16, packet.frames.size());
EXPECT_EQ(14, packet.frames.size());
bool foundStopSending = false;
for (auto& simpleFrame : all_frames<QuicSimpleFrame>(packet.frames)) {
folly::variant_match(