Revert TCP concurrency

Revert "Added controller translation for TCP concurrency"

This reverts commit c9589fc75d.

Revert "add:tcp concurrency"

This reverts commit 6440f856a2.
This commit is contained in:
Tunglies
2025-06-02 21:39:01 +08:00
parent 9d9d078346
commit 7763abf6c2
5 changed files with 4 additions and 32 deletions

View File

@@ -55,7 +55,6 @@
- 更精细化控制自动日志清理新增1天选项 - 更精细化控制自动日志清理新增1天选项
- Winodws 快捷键名称改为 `Clash Verge` - Winodws 快捷键名称改为 `Clash Verge`
- 配置加载阶段自动补全 external-controller secret 字段。 - 配置加载阶段自动补全 external-controller secret 字段。
- 添加 TCP Concurrency (TCP并发)
#### 🚀 优化改进 #### 🚀 优化改进
- 系统代理 Bypass 设置 - 系统代理 Bypass 设置

View File

@@ -39,7 +39,6 @@ const SettingClash = ({ onError }: Props) => {
const { const {
ipv6, ipv6,
"tcp-concurrent": tcp,
"allow-lan": allowLan, "allow-lan": allowLan,
"log-level": logLevel, "log-level": logLevel,
"unified-delay": unifiedDelay, "unified-delay": unifiedDelay,
@@ -181,27 +180,6 @@ const SettingClash = ({ onError }: Props) => {
</GuardState> </GuardState>
</SettingItem> </SettingItem>
<SettingItem
label={t("TCP Concurrency")}
extra={
<TooltipIcon
title={t("TCP ConcurrencyWhen accessing a web page, DNS resolution generally results in multiple IP addresses.")}
sx={{ opacity: "0.7" }}
/>
}
>
<GuardState
value={tcp ?? false}
valueProps="checked"
onCatch={onError}
onFormat={onSwitchFormat}
onChange={(e) => onChangeData({ "tcp-concurrent": e })}
onGuard={(e) => patchClash({ "tcp-concurrent": e })}
>
<Switch edge="end" />
</GuardState>
</SettingItem>
<SettingItem <SettingItem
label={t("Log Level")} label={t("Log Level")}
extra={ extra={

View File

@@ -569,7 +569,5 @@
"Enable one-click random API port and key. Click to randomize the port and key": "Enable one-click random API port and key. Click to randomize the port and key", "Enable one-click random API port and key. Click to randomize the port and key": "Enable one-click random API port and key. Click to randomize the port and key",
"Saving...": "Saving...", "Saving...": "Saving...",
"Port settings saved": "Port settings saved", "Port settings saved": "Port settings saved",
"Failed to save settings": "Failed to save settings", "Failed to save settings": "Failed to save settings"
"TCP Concurrency": "TCP Concurrency",
"TCP ConcurrencyWhen accessing a web page, DNS resolution generally results in multiple IP addresses.": "TCP ConcurrencyWhen accessing a web page, DNS resolution generally results in multiple IP addresses."
} }

View File

@@ -569,7 +569,5 @@
"Enable one-click random API port and key. Click to randomize the port and key": "开启一键随机API端口和密钥点进去就可以随机端口和密钥", "Enable one-click random API port and key. Click to randomize the port and key": "开启一键随机API端口和密钥点进去就可以随机端口和密钥",
"Saving...": "保存中...", "Saving...": "保存中...",
"Port settings saved": "端口设置已保存", "Port settings saved": "端口设置已保存",
"Failed to save settings": "端口设置失败", "Failed to save settings": "端口设置失败"
"TCP Concurrency": "TCP并发",
"TCP ConcurrencyWhen accessing a web page, DNS resolution generally results in multiple IP addresses.": "TCP 并发性当访问网页时DNS 解析通常会产生多个 IP 地址。"
} }

View File

@@ -33,7 +33,6 @@ interface IConfigData {
"external-controller": string; "external-controller": string;
secret: string; secret: string;
"unified-delay": boolean; "unified-delay": boolean;
"tcp-concurrent": boolean;
tun: { tun: {
stack: string; stack: string;
device: string; device: string;