websocket_recv_msg() is reworked with using fsm. Now the function return 0 when payload is empty, -ENOTCONN if socket close. Receiving empty ping and sending empty pong were added in tests. Fixes #52327 Signed-off-by: Grixa Yrev <grixayrev@yandex.ru> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| websocket_internal.h | ||
| websocket.c | ||