forked from quic-go/quic-go
ackhandler: implement timer logic for path probe packets (#4940)
* remove unused bool return value from sentPacketHandler.getPTOTimeAndSpace * ackhandler: implement timer logic for path probing packets Path probe packets are treated differently from regular packets: The new path might have a vastly different RTT than the original path. Path probe packets are declared lost 1s after they are sent. This value can be reduced, once implement proper retransmission logic for lost path probes. * ackhandler: declare path probes lost on OnLossDetectionTimeout
This commit is contained in:
@@ -63,9 +63,11 @@ type TimerType uint8
|
||||
|
||||
const (
|
||||
// TimerTypeACK is the timer type for the early retransmit timer
|
||||
TimerTypeACK TimerType = iota
|
||||
TimerTypeACK TimerType = iota + 1
|
||||
// TimerTypePTO is the timer type for the PTO retransmit timer
|
||||
TimerTypePTO
|
||||
// TimerTypePathProbe is the timer type for the path probe retransmit timer
|
||||
TimerTypePathProbe
|
||||
)
|
||||
|
||||
// TimeoutReason is the reason why a connection is closed
|
||||
|
||||
Reference in New Issue
Block a user