Skip to content

Commit 57956de

Browse files
committed
feat: Loon 输出删除 idle-session-check-interval 和 min-idle-session 参数
1 parent 008c388 commit 57956de

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.21.43",
3+
"version": "2.21.44",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/core/proxy-utils/producers/loon.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,11 @@ function anytls(proxy) {
313313
result.append(
314314
`${proxy.name}=anytls,${proxy.server},${proxy.port},"${proxy.password}"`,
315315
);
316-
316+
// 新版删除idle-session-check-interval和min-idle-session 参数,session 改为主动超时机制,由于 anytls-go 不支持一个tcp 并发多个 stream,max-stream-cout 设置大于 1 时会有阻塞,如果有其他支持多路复用的 anytls 服务器实现,可以设置max-stream-cout 大于 1
317317
for (const key of [
318-
'idle-session-check-interval',
318+
// 'idle-session-check-interval',
319319
'idle-session-timeout',
320-
'min-idle-session',
320+
// 'min-idle-session',
321321
'max-stream-count',
322322
]) {
323323
// 值为整数 才附加

0 commit comments

Comments
 (0)