From a23f3904026f5a3f0094ca37047752f28552c35e Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Thu, 17 Oct 2024 10:40:56 +0200 Subject: [PATCH] splithttp - xmux (change default value) --- web/assets/js/model/xray.js | 4 ++-- .../xui/form/stream/stream_splithttp.html | 23 +++++++++++-------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index ead8f7d2..3e99ef34 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -530,9 +530,9 @@ class SplitHTTPStreamSettings extends XrayCommonClass { noSSEHeader = false, xPaddingBytes = "100-1000", xmux = { - maxConcurrency: 0, + maxConcurrency: "16-32", maxConnections: 0, - cMaxReuseTimes: 0, + cMaxReuseTimes: "64-128", cMaxLifetimeMs: 0 } ) { diff --git a/web/html/xui/form/stream/stream_splithttp.html b/web/html/xui/form/stream/stream_splithttp.html index fa1e8e13..957720e9 100644 --- a/web/html/xui/form/stream/stream_splithttp.html +++ b/web/html/xui/form/stream/stream_splithttp.html @@ -4,18 +4,21 @@ - + - + - + - - - + + - @@ -35,16 +38,16 @@ - + - + - + - + -{{end}} +{{end}} \ No newline at end of file