forked from quic-go/quic-go
fix typo
This commit is contained in:
@@ -325,7 +325,7 @@ var _ = Describe("receivedPacketHandler", func() {
|
||||
Expect(handler.lowestInReceivedTimes).To(Equal(protocol.PacketNumber(4)))
|
||||
})
|
||||
|
||||
// this prevents a DOS where a client sends us an unreasonably high LeastUnacked value
|
||||
// this prevents a DoS where a client sends us an unreasonably high LeastUnacked value
|
||||
It("does not garbage collect packets higher than the LargestObserved packet number", func() {
|
||||
err := handler.ReceivedPacket(10)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
@@ -211,7 +211,7 @@ var _ = Describe("SentPacketHandler", func() {
|
||||
})
|
||||
})
|
||||
|
||||
Context("DOS mitigation", func() {
|
||||
Context("DoS mitigation", func() {
|
||||
It("checks the size of the packet history, for unacked packets", func() {
|
||||
for i := protocol.PacketNumber(1); i < protocol.MaxTrackedSentPackets+10; i++ {
|
||||
packet := Packet{PacketNumber: protocol.PacketNumber(i), Frames: []frames.Frame{&streamFrame}, Length: 1}
|
||||
|
||||
Reference in New Issue
Block a user