mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-25 15:43:13 +03:00
Improve server packet drop logging.
Summary: Provide a more detailed reason why we dropped a packet to the stats callback and qlog. Reviewed By: hanidamlaj Differential Revision: D66171930 fbshipit-source-id: 4cf10b149d1184afb7b268ac8f229555d2ffb75d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
df29c690fc
commit
abb06d9b95
@@ -3570,7 +3570,7 @@ TEST_F(QuicUnencryptedServerTransportTest, TestUnencryptedAck) {
|
||||
auto tmp = std::move(qLogger->logs[indices[0]]);
|
||||
auto event = dynamic_cast<QLogPacketDropEvent*>(tmp.get());
|
||||
EXPECT_EQ(event->packetSize, 45);
|
||||
EXPECT_EQ(event->dropReason, kCipherUnavailable);
|
||||
EXPECT_EQ(event->dropReason, "DECRYPTION_ERROR_INITIAL");
|
||||
}
|
||||
|
||||
TEST_F(QuicUnencryptedServerTransportTest, TestBadPacketProtectionLevel) {
|
||||
|
||||
Reference in New Issue
Block a user