From ff4331a7a86bb2e4341713fbfb20270bb1b17c20 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+RPRX@users.noreply.github.com> Date: Sat, 28 Dec 2024 08:20:59 +0000 Subject: [PATCH] XHTTP XMUX: Increase the default value for `cMaxReuseTimes` "64-128" -> "256-512" --- infra/conf/transport_internet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/conf/transport_internet.go b/infra/conf/transport_internet.go index e19c145c..49f84e49 100644 --- a/infra/conf/transport_internet.go +++ b/infra/conf/transport_internet.go @@ -287,8 +287,8 @@ func (c *SplitHTTPConfig) Build() (proto.Message, error) { if c.Xmux == (XmuxConfig{}) { c.Xmux.MaxConcurrency.From = 16 c.Xmux.MaxConcurrency.To = 32 - c.Xmux.CMaxReuseTimes.From = 64 - c.Xmux.CMaxReuseTimes.To = 128 + c.Xmux.CMaxReuseTimes.From = 256 + c.Xmux.CMaxReuseTimes.To = 512 c.Xmux.HMaxRequestTimes.From = 800 c.Xmux.HMaxRequestTimes.To = 900 }