Fix naive quic congestion control

This commit is contained in:
世界
2026-08-30 17:41:47 +08:00
parent 310206a889
commit a349a0d769
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const (
QuicheCongestionControlDefault QuicheCongestionControl = "" QuicheCongestionControlDefault QuicheCongestionControl = ""
QuicheCongestionControlBBR QuicheCongestionControl = "TBBR" QuicheCongestionControlBBR QuicheCongestionControl = "TBBR"
QuicheCongestionControlBBRv2 QuicheCongestionControl = "B2ON" QuicheCongestionControlBBRv2 QuicheCongestionControl = "B2ON"
QuicheCongestionControlCubic QuicheCongestionControl = "QBIC" QuicheCongestionControlCubic QuicheCongestionControl = "CQBC"
QuicheCongestionControlReno QuicheCongestionControl = "RENO" QuicheCongestionControlReno QuicheCongestionControl = "RENO"
) )
+1
View File
@@ -59,6 +59,7 @@ func NewInbound(ctx context.Context, router adapter.Router, logger log.ContextLo
ctx: ctx, ctx: ctx,
router: uot.NewRouter(router, logger), router: uot.NewRouter(router, logger),
logger: logger, logger: logger,
options: options,
listener: listener.New(listener.Options{ listener: listener.New(listener.Options{
Context: ctx, Context: ctx,
Logger: logger, Logger: logger,