delete unacknowledged packets from the packet history after 3 PTOs

This commit is contained in:
Marten Seemann
2020-09-07 14:19:43 +07:00
parent c81eeb8bb8
commit 8f4257a883
5 changed files with 123 additions and 45 deletions

View File

@@ -18,6 +18,7 @@ type Packet struct {
SendTime time.Time
includedInBytesInFlight bool
declaredLost bool
}
// SentPacketHandler handles ACKs received for outgoing packets