forked from quic-go/quic-go
Merge pull request #2230 from lucas-clemente/improve-no-outstanding-packets-logging
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
|
||||
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{}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user