net: websocket: new receiving algorithm
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>
Loading
Please sign in to comment