coder / coder/websocket

unsupported permessage-deflate parameter: "client_max_window_bits=15" from client

未关闭
#443 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
5.5k
派生
372
PR 合并指标
30 天内没有已合并 PR

描述

If a websocket server reply with extension `permessage-deflate; client_max_window_bits=15` an error happens:
```
unsupported permessage-deflate parameter: "client_max_window_bits=15"
```
at
https://github.com/nhooyr/websocket/blob/bd07a64be6809ef46b76fff5ef7263ef7641980f/dial.go#L268-L300

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 dial.go 的第 268-300 行附近开始,这里会解析服务器的 permessage-deflate 扩展参数。使用 client_max_window_bits=15 重现握手过程,并追踪该参数被拒绝的原因;当有效的服务器响应不再产生 unsupported-parameter 错误时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
networking
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。