RFC6455 section 5.1 specifies that "A server MUST NOT mask any frames that it sends to the client". Implement this for websocket write calls via ZVFS, by storing in the websocket_context whether a socket is acting in the client or server role, and using this to determine if sent data should be masked. Signed-off-by: Matt Rodgers <mrodgers@witekio.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| websocket.c | ||
| websocket_internal.h | ||