emscripten-core / emscripten-core/emscripten
getsockname and gepeername of "POSIX TCP Sockets over WebSockets" get stuck during exchange with proxy server
Open
wontfix
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Both functions exhibit similar behavior, so let's consider getsockname. The implementation (in websocket_to_posix_proxy.cpp) prepares a message, sends the message and waits for the reply forever. On the proxy server side (websocket_to_posix_proxy) the log yells "Received too small sockets call message!". On examination, it seems like the client specifies an incorrect size of the message being sent to the server.
Contributor guide
Assessment
This issue has not been assessed yet.