XHTTP XMUX: Increase the default value for cMaxReuseTimes

"64-128" -> "256-512"
This commit is contained in:
RPRX 2024-12-28 08:20:59 +00:00 committed by GitHub
parent a8559a1b46
commit ff4331a7a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}