Skip to content

增加 daemon 并发隧道 worker - #13

Merged
earayu merged 1 commit into
mainfrom
feat/tunnel-workers
Aug 26, 2026
Merged

增加 daemon 并发隧道 worker#13
earayu merged 1 commit into
mainfrom
feat/tunnel-workers

Conversation

@earayu

@earayu earayu commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

v0.1.8 只跑一条隧道循环,浏览器同时拉面板 JS/CSS/插件时会排队超时,表现为白屏 Loading 和插件加载失败。本机插件文件本身是通的。

默认启 8 个 worker,可用 APEMIND_TUNNEL_WORKERS 调整。转发时去掉 hop-by-hop / Host,并固定 Accept-Encoding: identity,避免 urllib 解压后再带回 gzip 头。

Closes #12

单线程 pull/forward/reply 会让面板静态资源和插件排队超时。
@earayu
earayu merged commit ba9c1a4 into main Aug 26, 2026
1 check passed
@earayu
earayu deleted the feat/tunnel-workers branch August 26, 2026 03:59
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

Successfully merging this pull request may close these issues.

修复 Computer 面板白屏:隧道一次只转一个请求

1 participant