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

@@ -39,7 +39,6 @@ const SettingClash = ({ onError }: Props) => {
const {
ipv6,
"tcp-concurrent": tcp,
"allow-lan": allowLan,
"log-level": logLevel,
"unified-delay": unifiedDelay,
@@ -181,27 +180,6 @@ const SettingClash = ({ onError }: Props) => {
</GuardState>
</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
label={t("Log Level")}
extra={