mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
add:tcp concurrency
This commit is contained in:
@@ -55,6 +55,7 @@
|
|||||||
- 更精细化控制自动日志清理,新增1天选项
|
- 更精细化控制自动日志清理,新增1天选项
|
||||||
- Winodws 快捷键名称改为 `Clash Verge`
|
- Winodws 快捷键名称改为 `Clash Verge`
|
||||||
- 配置加载阶段自动补全 external-controller secret 字段。
|
- 配置加载阶段自动补全 external-controller secret 字段。
|
||||||
|
- 添加 TCP Concurrency (TCP并发)
|
||||||
|
|
||||||
#### 优化了:
|
#### 优化了:
|
||||||
- 系统代理 Bypass 设置
|
- 系统代理 Bypass 设置
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ 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,
|
||||||
@@ -180,6 +181,27 @@ 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={
|
||||||
|
|||||||
1
src/services/types.d.ts
vendored
1
src/services/types.d.ts
vendored
@@ -33,6 +33,7 @@ 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user