implement loss detection for handshake packets

This commit is contained in:
Marten Seemann
2017-09-30 22:44:26 +07:00
parent e20fdf43ef
commit daa8d08fba
6 changed files with 99 additions and 7 deletions

View File

@@ -12,6 +12,7 @@ type SentPacketHandler interface {
// SentPacket may modify the packet
SentPacket(packet *Packet) error
ReceivedAck(ackFrame *wire.AckFrame, withPacketNumber protocol.PacketNumber, recvTime time.Time) error
SetHandshakeComplete()
SendingAllowed() bool
GetStopWaitingFrame(force bool) *wire.StopWaitingFrame