don't retransmit a packet after receiving a belated ACK

fixes #139
This commit is contained in:
Marten Seemann
2016-05-27 18:36:28 +07:00
parent 26d18976ff
commit d906492ae7
5 changed files with 42 additions and 17 deletions

View File

@@ -12,7 +12,7 @@ type SentPacketHandler interface {
SentPacket(packet *Packet) error
ReceivedAck(ackFrame *frames.AckFrame) error
HasPacketForRetransmission() bool
ProbablyHasPacketForRetransmission() bool
DequeuePacketForRetransmission() (packet *Packet)
BytesInFlight() protocol.ByteCount