From 6440f856a27e2063a6c43f493e02ff1ceca96c18 Mon Sep 17 00:00:00 2001
From: Ahao <108321411+xuanyuan0408@users.noreply.github.com>
Date: Fri, 30 May 2025 14:05:59 +0800
Subject: [PATCH] =?UTF-8?q?add=EF=BC=9Atcp=20concurrency?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
UPDATELOG.md | 1 +
src/components/setting/setting-clash.tsx | 22 ++++++++++++++++++++++
src/services/types.d.ts | 1 +
3 files changed, 24 insertions(+)
diff --git a/UPDATELOG.md b/UPDATELOG.md
index 59822544c..8a3b83860 100644
--- a/UPDATELOG.md
+++ b/UPDATELOG.md
@@ -55,6 +55,7 @@
- 更精细化控制自动日志清理,新增1天选项
- Winodws 快捷键名称改为 `Clash Verge`
- 配置加载阶段自动补全 external-controller secret 字段。
+ - 添加 TCP Concurrency (TCP并发)
#### 优化了:
- 系统代理 Bypass 设置
diff --git a/src/components/setting/setting-clash.tsx b/src/components/setting/setting-clash.tsx
index 0fd7524f5..1e8c53059 100644
--- a/src/components/setting/setting-clash.tsx
+++ b/src/components/setting/setting-clash.tsx
@@ -39,6 +39,7 @@ const SettingClash = ({ onError }: Props) => {
const {
ipv6,
+ "tcp-concurrent": tcp,
"allow-lan": allowLan,
"log-level": logLevel,
"unified-delay": unifiedDelay,
@@ -180,6 +181,27 @@ const SettingClash = ({ onError }: Props) => {
+
+ }
+ >
+ onChangeData({ "tcp-concurrent": e })}
+ onGuard={(e) => patchClash({ "tcp-concurrent": e })}
+ >
+
+
+
+