use LeastUnacked in packet number derivation

fixes #271
This commit is contained in:
Lucas Clemente
2016-08-10 13:29:30 +02:00
parent 5444c196b3
commit 805c21cb77
10 changed files with 32 additions and 32 deletions

View File

@@ -19,7 +19,7 @@ type SentPacketHandler interface {
DequeuePacketForRetransmission() (packet *ackhandlerlegacy.Packet)
BytesInFlight() protocol.ByteCount
GetLargestAcked() protocol.PacketNumber
GetLeastUnacked() protocol.PacketNumber
CongestionAllowsSending() bool
CheckForError() error