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

WebSocket config: Fix headers #4177

Merged
merged 19 commits into from
Dec 17, 2024
Merged

WebSocket config: Fix headers #4177

merged 19 commits into from
Dec 17, 2024

Conversation

rosebe
Copy link
Contributor

@rosebe rosebe commented Dec 17, 2024

No description provided.

@rosebe rosebe changed the title XHTTP, WS, HU: Forbid "host" in headers, read serverName instead #4142防止删除 WebSocket . headers 中 非 host 的 设定参数 XHTTP, WS, HU: Forbid "host" in headers, read serverName instead #4142( 防止删除 WebSocket . headers 中 非 host 的 设定参数 ) Dec 17, 2024
@rosebe rosebe changed the title XHTTP, WS, HU: Forbid "host" in headers, read serverName instead #4142( 防止删除 WebSocket . headers 中 非 host 的 设定参数 ) XHTTP, WS, HU: Forbid "host" in headers, read serverName instead #4142 升级中 ( 防止删除 WebSocket . headers 中 非 host 的 设定参数 ) Dec 17, 2024
@Fangliding
Copy link
Member

为什么下面这个历史记录如此混乱

@RPRX
Copy link
Member

RPRX commented Dec 17, 2024

好久没写过 bug 大意了,不小心写成了把 headers 里第一个元素当 host 并把其它的删掉,但基本上只有 host 所以它神奇地 work

能 rebase 一下并把那个空行删掉吗

@RPRX RPRX changed the title XHTTP, WS, HU: Forbid "host" in headers, read serverName instead #4142 升级中 ( 防止删除 WebSocket . headers 中 非 host 的 设定参数 ) WebSocket config: Fix headers Dec 17, 2024
@RPRX RPRX merged commit 5836afc into XTLS:main Dec 17, 2024
@rosebe rosebe deleted the fix_WS_host_bug branch December 18, 2024 02:07
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.

3 participants