zephyr/subsys/net/lib/websocket
Robert Lubos fa5b706871 net: websocket: Implement websocket_recv_msg timeout
Although websocket_recv_msg function accepts timeout parameter, the
functionality was rather limited, allowing only to either work in
non-blocking manner, or to block indefinitely. Any timeout value
other than -1 (forever) ended up in non-blocking operation.

This PR fixes this by implementing a basic timeout mechanism, built on
top of poll(). For now on, only timeout of 0 will result in non-blocking
operation, any other timeout will make the function block for the
specified amount of time.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-05-31 11:07:10 +02:00
..
CMakeLists.txt
Kconfig net: websocket: Make sure the mbedtls_sha1 function is build in 2023-02-24 18:12:14 +01:00
websocket_internal.h net: websocket: new receiving algorithm 2022-12-20 17:05:12 +00:00
websocket.c net: websocket: Implement websocket_recv_msg timeout 2023-05-31 11:07:10 +02:00