forked from quic-go/quic-go
improve logging of loss detection timer cancelation
This commit is contained in:
@@ -347,7 +347,7 @@ func (h *sentPacketHandler) setLossDetectionTimer() {
|
|||||||
|
|
||||||
// Cancel the alarm if no packets are outstanding
|
// Cancel the alarm if no packets are outstanding
|
||||||
if !h.hasOutstandingPackets() {
|
if !h.hasOutstandingPackets() {
|
||||||
h.logger.Debugf("setLossDetectionTimer: canceling. Bytes in flight: %d", h.bytesInFlight)
|
h.logger.Debugf("Canceling loss detection timer. No packets in flight.")
|
||||||
h.alarm = time.Time{}
|
h.alarm = time.Time{}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user