mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Differentiate PacketDropReasons
Summary: The existing PacketDropReason values cover many branches in the code making it impossible to isolate the reason for a PARSE_ERROR, INVALID_PACKET, CONNECTION_NOT_FOUND. This change breaks them down into more values that are each used in a single branch. Reviewed By: mjoras Differential Revision: D39149490 fbshipit-source-id: 28cbe1ea6c4a06cf55960058edaa48c28ed4d2ef
This commit is contained in:
committed by
Facebook GitHub Bot
parent
84d93599a5
commit
227236ef85
@@ -539,7 +539,7 @@ TEST_F(QuicServerWorkerTest, NoConnFoundTestReset) {
|
||||
std::move(data),
|
||||
getTestConnectionId(hostId_),
|
||||
std::move(shortHeaderConnId),
|
||||
QuicTransportStatsCallback::PacketDropReason::CONNECTION_NOT_FOUND);
|
||||
QuicTransportStatsCallback::PacketDropReason::CANNOT_FORWARD_DATA);
|
||||
}
|
||||
|
||||
TEST_F(QuicServerWorkerTest, RateLimit) {
|
||||
|
||||
Reference in New Issue
Block a user