mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-07-29 03:41:11 +03:00
Rename PacketEvent -> ClonedPacketIdentifier
Summary: `PacketEvent` is a very inaccurate and misleading name. We're basically using this as an identifier for cloned packets, so `ClonedPacketIdentifier` is a much better. Reviewed By: kvtsoy Differential Revision: D61871891 fbshipit-source-id: f9c626d900c8b7ab7e231c9bad4c1629384ebb77
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b63ca46293
commit
6f13f404b0
@ -924,9 +924,9 @@ SchedulingResult CloningScheduler::scheduleFramesForPacket(
|
||||
}
|
||||
// If the packet is already a clone that has been processed, we don't clone
|
||||
// it again.
|
||||
if (outstandingPacket.associatedEvent &&
|
||||
conn_.outstandings.packetEvents.count(
|
||||
*outstandingPacket.associatedEvent) == 0) {
|
||||
if (outstandingPacket.maybeClonedPacketIdentifier &&
|
||||
conn_.outstandings.clonedPacketIdentifiers.count(
|
||||
*outstandingPacket.maybeClonedPacketIdentifier) == 0) {
|
||||
continue;
|
||||
}
|
||||
// I think this only fail if udpSendPacketLen somehow shrinks in the middle
|
||||
|
Reference in New Issue
Block a user