forked from quic-go/quic-go
reset the PTO count when dropping a packet number space
This commit is contained in:
@@ -159,6 +159,7 @@ func (h *sentPacketHandler) dropPackets(encLevel protocol.EncryptionLevel) {
|
||||
panic(fmt.Sprintf("Cannot drop keys for encryption level %s", encLevel))
|
||||
}
|
||||
h.setLossDetectionTimer()
|
||||
h.ptoCount = 0
|
||||
h.ptoMode = SendNone
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user