Skip to content

Commit b6a349a

Browse files
authored
Merge pull request cmliu#1249 from cmliu/beta2.1
Beta2.1
2 parents 6846830 + 13e59db commit b6a349a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [2.1.20260529014818] - 2026-05-29 01:48:18
2+
3+
### Change
4+
5+
- 优化 **中国移动** 直连访问时 TCP 并发拨号降级为单路,缓解CPU超时情况。
6+
17
## [2.1.20260526210857] - 2026-05-26 21:08:57
28

39
### Debug

_worker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const Version = '2026-05-26 21:08:57';
1+
const Version = '2026-05-29 01:48:18';
22
let config_JSON, 反代IP = '', 启用SOCKS5反代 = null, 启用SOCKS5全局反代 = false, 我的SOCKS5账号 = '', parsedSocks5Address = {};
33
let 缓存SOCKS5白名单 = null, 缓存反代IP, 缓存反代解析数组, 缓存反代数组索引 = 0, 启用反代兜底 = true, 调试日志打印 = false;
44
let SOCKS5白名单 = ['*tapecontent.net', '*cloudatacdn.com', '*loadshare.org', '*cdn-centaurus.com', 'scholar.google.com'];
@@ -32,6 +32,7 @@ export default {
3232
const 访问路径 = url.pathname.slice(1).toLowerCase();
3333
调试日志打印 = ['1', 'true'].includes(env.DEBUG) || 调试日志打印;
3434
预加载竞速拨号 = ['1', 'true'].includes(env.PRELOAD_RACE_DIAL) || 预加载竞速拨号;
35+
if (TCP并发拨号数 !== 1 && 识别运营商(request) === 'cmcc') TCP并发拨号数 = 1;
3536
if (env.PROXYIP) {
3637
const proxyIPs = await 整理成数组(env.PROXYIP);
3738
反代IP = proxyIPs[Math.floor(Math.random() * proxyIPs.length)];

0 commit comments

Comments
 (0)