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

skynet websocket 处理 header 后面第一个 payload #1838

Closed
cloudwu opened this issue Dec 12, 2023 Discussed in #1837 · 1 comment
Closed

skynet websocket 处理 header 后面第一个 payload #1838

cloudwu opened this issue Dec 12, 2023 Discussed in #1837 · 1 comment

Comments

@cloudwu
Copy link
Owner

cloudwu commented Dec 12, 2023

Discussed in #1837

https://github.com/cloudwu/skynet/blob/master/lualib/http/websocket.lua#L86 这里调用 recvheader 后,返回值 header_body 不应该丢弃。应该放在后面 https://github.com/cloudwu/skynet/blob/master/lualib/http/websocket.lua#L276 的 recv_buf 里面。

cc @lvzixun

@cloudwu
Copy link
Owner Author

cloudwu commented Mar 7, 2024

fixed in #1839

@cloudwu cloudwu closed this as completed Mar 7, 2024
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

No branches or pull requests

1 participant