forked from quic-go/quic-go
Do not ignore loss timer.
This commit is contained in:
@@ -372,6 +372,7 @@ func (h *sentPacketHandler) setLossDetectionTimer() {
|
|||||||
if lossTime, _ := h.getEarliestLossTimeAndSpace(); !lossTime.IsZero() {
|
if lossTime, _ := h.getEarliestLossTimeAndSpace(); !lossTime.IsZero() {
|
||||||
// Early retransmit timer or time loss detection.
|
// Early retransmit timer or time loss detection.
|
||||||
h.alarm = lossTime
|
h.alarm = lossTime
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cancel the alarm if no packets are outstanding
|
// Cancel the alarm if no packets are outstanding
|
||||||
|
|||||||
Reference in New Issue
Block a user