From 57956dea302344349cb98ab9712c7eb7ac360ccc Mon Sep 17 00:00:00 2001 From: xream Date: Sat, 7 Mar 2026 20:07:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Loon=20=E8=BE=93=E5=87=BA=E5=88=A0?= =?UTF-8?q?=E9=99=A4=20idle-session-check-interval=20=E5=92=8C=20min-idle-?= =?UTF-8?q?session=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/producers/loon.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/package.json b/backend/package.json index c235dca6..de3fff48 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.21.43", + "version": "2.21.44", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/producers/loon.js b/backend/src/core/proxy-utils/producers/loon.js index 0fc4c1e5..c450c7c8 100644 --- a/backend/src/core/proxy-utils/producers/loon.js +++ b/backend/src/core/proxy-utils/producers/loon.js @@ -313,11 +313,11 @@ function anytls(proxy) { result.append( `${proxy.name}=anytls,${proxy.server},${proxy.port},"${proxy.password}"`, ); - + // 新版删除idle-session-check-interval和min-idle-session 参数,session 改为主动超时机制,由于 anytls-go 不支持一个tcp 并发多个 stream,max-stream-cout 设置大于 1 时会有阻塞,如果有其他支持多路复用的 anytls 服务器实现,可以设置max-stream-cout 大于 1 for (const key of [ - 'idle-session-check-interval', + // 'idle-session-check-interval', 'idle-session-timeout', - 'min-idle-session', + // 'min-idle-session', 'max-stream-count', ]) { // 值为整数 才附加