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,