Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

移动设备长链接耗电问题 #97

Open
IMFsy opened this issue Mar 4, 2024 · 1 comment
Open

移动设备长链接耗电问题 #97

IMFsy opened this issue Mar 4, 2024 · 1 comment

Comments

@IMFsy
Copy link

IMFsy commented Mar 4, 2024

keepalive移动设备耗电问题

keep-alive-interval: 30
此时 Clash 发现并关闭一个无效 TCP 连接用时: 1keep-alive-interval + 9keep-alive-interval

当keep-alive-interval设置正常值时,clash会向mipush及微信的长链接频繁发送心跳包。
当keep-alive-interval设置值过大时,又会造成无效链接长时间未关闭,后续无法访问

请求像上面那个issue一样添加中国大陆ip段绕过clash内核 或者 把常用的长链接ip给绕过内核
已知长链接域名有
szlong.weixin.qq.com:443
pdc.micloud.xiaomi.net:443

@him007
Copy link

him007 commented Jul 1, 2024

中国大陆ip段数量有8000以上,不容易添加。
长链接域名ip不容易收集维护。
建议使用Redir-Host 模式,设置黑名单或者白名单。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants