forked from quic-go/quic-go
reset the loss detection timer when dropping a packet number space
This commit is contained in:
@@ -120,6 +120,8 @@ func (h *sentPacketHandler) DropPackets(encLevel protocol.EncryptionLevel) {
|
||||
default:
|
||||
panic(fmt.Sprintf("Cannot drop keys for encryption level %s", encLevel))
|
||||
}
|
||||
h.setLossDetectionTimer()
|
||||
h.ptoMode = SendNone
|
||||
}
|
||||
|
||||
func (h *sentPacketHandler) SentPacket(packet *Packet) {
|
||||
|
||||
Reference in New Issue
Block a user