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

Send probes on all spaces take 2.

Summary:
As before we will now aggressively send probes on all spaces with probes available when the PTO timer fires.

This time with more unit tests and some bug fixes.

Reviewed By: yangchi

Differential Revision: D27338523

fbshipit-source-id: 8a9ccb90ed691e996fab4afa2f132c0f99044fbc
This commit is contained in:
Matt Joras
2021-04-02 14:58:59 -07:00
committed by Facebook GitHub Bot
parent 19157b3d1a
commit 55e0fa070e
20 changed files with 625 additions and 408 deletions

View File

@@ -1366,9 +1366,13 @@ TEST_F(QuicTransportImplTest, CloseStreamAfterReadFin) {
}
TEST_F(QuicTransportImplTest, CloseTransportCleansupOutstandingCounters) {
transport->transportConn->outstandings.handshakePacketsCount = 200;
transport->transportConn->outstandings
.packetCount[PacketNumberSpace::Handshake] = 200;
transport->closeNow(folly::none);
EXPECT_EQ(0, transport->transportConn->outstandings.handshakePacketsCount);
EXPECT_EQ(
0,
transport->transportConn->outstandings
.packetCount[PacketNumberSpace::Handshake]);
}
TEST_F(QuicTransportImplTest, DeliveryCallbackUnsetAll) {