Skip to content

Releases: divelife/dsh-http-header-limit

Release list

v1.0.0

Choose a tag to compare

@divelife divelife released this 23 Oct 06:42

解决dsh 桌面版重启次数多了之后启动崩溃问题。dsh 每次启动绑随机端口,会话 cookie 名跟着端口变,所以每次启动都多一条 dsh-auth-* cookie,旧的永不覆盖、30 天内也不清理。攒到约 71 条(16.4 KB)就超过 Node 默认 16 KB 的请求头上限,Host 返回 431,桌面壳报成 desktop welcome: Web authentication failed,表现为窗口一闪即退。