From a349a0d769a2308527516d956f1c1c40c557e162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 25 Aug 2026 21:51:54 +0800 Subject: [PATCH] Fix naive quic congestion control --- option/naive.go | 2 +- protocol/naive/inbound.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/option/naive.go b/option/naive.go index a76f39d1..601365a1 100644 --- a/option/naive.go +++ b/option/naive.go @@ -12,7 +12,7 @@ const ( QuicheCongestionControlDefault QuicheCongestionControl = "" QuicheCongestionControlBBR QuicheCongestionControl = "TBBR" QuicheCongestionControlBBRv2 QuicheCongestionControl = "B2ON" - QuicheCongestionControlCubic QuicheCongestionControl = "QBIC" + QuicheCongestionControlCubic QuicheCongestionControl = "CQBC" QuicheCongestionControlReno QuicheCongestionControl = "RENO" ) diff --git a/protocol/naive/inbound.go b/protocol/naive/inbound.go index 603d6742..9da0cf08 100644 --- a/protocol/naive/inbound.go +++ b/protocol/naive/inbound.go @@ -59,6 +59,7 @@ func NewInbound(ctx context.Context, router adapter.Router, logger log.ContextLo ctx: ctx, router: uot.NewRouter(router, logger), logger: logger, + options: options, listener: listener.New(listener.Options{ Context: ctx, Logger: logger,