forked from quic-go/quic-go
make it possible to get the PTO with and without max_ack_delay
This commit is contained in:
@@ -329,7 +329,7 @@ func (h *sentPacketHandler) setLossDetectionTimer() {
|
||||
}
|
||||
|
||||
// PTO alarm
|
||||
h.alarm = h.lastSentAckElicitingPacketTime.Add(h.rttStats.PTO() << h.ptoCount)
|
||||
h.alarm = h.lastSentAckElicitingPacketTime.Add(h.rttStats.PTO(true) << h.ptoCount)
|
||||
}
|
||||
|
||||
func (h *sentPacketHandler) detectLostPackets(
|
||||
|
||||
Reference in New Issue
Block a user