emscripten-core / emscripten-core/emscripten

getsockname and gepeername of "POSIX TCP Sockets over WebSockets" get stuck during exchange with proxy server

Open
#12,895 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.