reset the send mode after receiving an ACK when already in PTO mode

This commit is contained in:
Marten Seemann
2019-04-09 10:24:45 +09:00
parent f8fe5ba82e
commit 7f9861bf7e
2 changed files with 11 additions and 0 deletions

View File

@@ -246,6 +246,7 @@ func (h *sentPacketHandler) ReceivedAck(ackFrame *wire.AckFrame, withPacketNumbe
h.ptoCount = 0
h.cryptoCount = 0
h.numProbesToSend = 0
h.updateLossDetectionAlarm()
return nil