Skip to content

Commit

Permalink
XHTTP XMUX: Increase the default value for cMaxReuseTimes
Browse files Browse the repository at this point in the history
"64-128" -> "256-512"
  • Loading branch information
RPRX authored Dec 28, 2024
1 parent a8559a1 commit ff4331a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/conf/transport_internet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ff4331a

Please sign in to comment.