This commit is contained in:
Marten Seemann
2016-10-28 12:30:52 +07:00
parent 2c11335de4
commit 5fa4ea73e5
5 changed files with 5 additions and 5 deletions

View File

@@ -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}