start ignoring packets in ACK frames only after the handshake completed

This commit is contained in:
Marten Seemann
2019-01-09 09:20:15 +07:00
parent 3f8728ddfc
commit 5ccc367462
3 changed files with 5 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ type SentPacketHandler interface {
// Before sending any packet, SendingAllowed() must be called to learn if we can actually send it.
ShouldSendNumPackets() int
// only to be called once the handshake is complete
GetLowestPacketNotConfirmedAcked() protocol.PacketNumber
DequeuePacketForRetransmission() *Packet
DequeueProbePacket() (*Packet, error)