forked from quic-go/quic-go
add missing tracing for dropped 0-RTT packets (#3762)
This commit is contained in:
@@ -323,6 +323,7 @@ var _ = Describe("Packet Handler Map", func() {
|
||||
}
|
||||
// We're already storing the maximum number of queues. This packet will be dropped.
|
||||
connID := protocol.ParseConnectionID([]byte{1, 2, 3, 4, 5, 6, 7, 8, 9})
|
||||
tracer.EXPECT().DroppedPacket(gomock.Any(), logging.PacketType0RTT, gomock.Any(), logging.PacketDropDOSPrevention)
|
||||
handler.handlePacket(&receivedPacket{data: getPacketWithPacketType(connID, protocol.PacketType0RTT, 1)})
|
||||
// Don't EXPECT any handlePacket() calls.
|
||||
conn := NewMockPacketHandler(mockCtrl)
|
||||
|
||||
Reference in New Issue
Block a user