From 9cc7907234a8297a87a0ff77fc40db373b74a0f2 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+RPRX@users.noreply.github.com> Date: Tue, 14 Oct 2025 23:33:06 +0000 Subject: [PATCH] XHTTP client: Change default `maxConcurrency` to 1 for speed testing https://t.me/projectXray/4386271 --- 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 4a12761d..2f3b8009 100644 --- a/infra/conf/transport_internet.go +++ b/infra/conf/transport_internet.go @@ -289,8 +289,8 @@ func (c *SplitHTTPConfig) Build() (proto.Message, error) { return nil, errors.New("maxConnections cannot be specified together with maxConcurrency") } if c.Xmux == (XmuxConfig{}) { - c.Xmux.MaxConcurrency.From = 16 - c.Xmux.MaxConcurrency.To = 32 + c.Xmux.MaxConcurrency.From = 1 + c.Xmux.MaxConcurrency.To = 1 c.Xmux.HMaxRequestTimes.From = 600 c.Xmux.HMaxRequestTimes.To = 900 c.Xmux.HMaxReusableSecs.From = 1800