From b5479e5a9fab5540737c2be0ac45cd5857153987 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Thu, 22 Feb 2024 14:26:53 +0100 Subject: [PATCH] Reduce RTO.Initial to 1 second This is the default in RFC 9260. --- rtx_timer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtx_timer.go b/rtx_timer.go index 8be001c1..ceb44301 100644 --- a/rtx_timer.go +++ b/rtx_timer.go @@ -10,7 +10,7 @@ import ( ) const ( - rtoInitial float64 = 3.0 * 1000 // msec + rtoInitial float64 = 1.0 * 1000 // msec rtoMin float64 = 1.0 * 1000 // msec rtoMax float64 = 60.0 * 1000 // msec rtoAlpha float64 = 0.125