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:
Marten Seemann
2025-01-28 06:10:44 +01:00
committed by GitHub
parent 6b9921bbfc
commit 108b6603c8
9 changed files with 344 additions and 76 deletions

View File

@@ -94,6 +94,7 @@ func TestTimerTypeStringRepresentation(t *testing.T) {
}{
{logging.TimerTypeACK, "ack"},
{logging.TimerTypePTO, "pto"},
{logging.TimerTypePathProbe, "path_probe"},
}
for _, tc := range testCases {