Skip to content
Commit 2a992c65 authored by Grixa Yrev's avatar Grixa Yrev Committed by Fabio Baltieri
Browse files

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: default avatarGrixa Yrev <grixayrev@yandex.ru>
parent 932e5739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment