Error during WebSocket handshake: 'Sec-WebSocket-Accept' header is missing
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- php
- 领域
- backend, networking
调研方向
检查服务器的 WebSocket 握手路径,并将其响应与 issue 中描述的 Sec-WebSocket-Accept 协议进行比较。在 Chrome 17 中针对本地或在线服务器复现一次正常连接;完成的标准是客户端到达 connect,而不是以状态 3 断开连接,并且响应包含所需的 header。未确定文件或测试,尽管报告称已附加 patch。
由索引模型根据 Issue 内容生成。
描述
What steps will reproduce the problem?
1. Normal connect to a lazy local or online server, see 'Sec-WebSocket-Accept'
header is missing in Chrome 17
What is the expected output? What do you see instead?
Normally the client should get the "connect" state, but unfortunately it is
disconnecting immediately with status 3.
What version of the product are you using? On what operating system?
Latest one.
Please provide any additional information below.
What you need is to implement the Sec-WebSocket-Accept header, see
http://en.wikipedia.org/wiki/WebSocket#WebSocket_protocol_handshake
The client provides the key and the server respond with the encrypted accepted
header. I've patched that for you. Can I join the project? Attached the patch.
Original issue reported on code.google.com by michaelpalmer04 on 25 Apr 2014 at 8:12
- 主要语言
- PHP
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
et-nik/phpwebsocket 的其他 Issue
-
auto-migrated Priority-Medium Type-Defect
难度 4/5 3-5 天 新手友好度 20/100
et-nik/phpwebsocket#77 ·
-
auto-migrated Priority-Medium Type-Defect
难度 3/5 1-2 天 新手友好度 20/100
et-nik/phpwebsocket#78 ·
-
auto-migrated Type-Patch
难度 5/5 一周以上 新手友好度 15/100
et-nik/phpwebsocket#72 ·
-
auto-migrated Type-Patch
难度 3/5 1-2 天 新手友好度 35/100
et-nik/phpwebsocket#73 ·
-
auto-migrated Type-Patch
难度 5/5 一周以上 新手友好度 10/100
et-nik/phpwebsocket#74 ·
查看 et-nik/phpwebsocket 的全部 Issue
相似的 Issue
-
sync-en
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[xExtension-ImageProxy] Video poster images are not proxied可能已有人在做 @NopeCharon 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
FreshRSS/Extensions#561 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
woocommerce/google-listings-and-ads#4008 · 1 条评论 ·
维护者通常 1 天内回复
-
Awaiting Triage bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
Openpanel-dev/openpanel#610 · 1 条评论 ·
维护者通常 1 天内回复