zephyr/subsys/net
Sjors Hettinga 452592fc9a net: websockets: Fix websocket_send_msg return code
When the websocket_prepare_and_send is called from websocket_send_msg,
the header length is subtracted to retrieve the transmitted payload length.
Make an exclutsion to prevent the return code of
websocket_prepare_and_send being modified in case of 0 or a negative
return code.
This avoid confusion with modificated error codes

Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
2022-09-13 08:49:24 +00:00
..
ip net: context: Remove redunant check of automatically selected port 2022-09-09 14:12:57 +00:00
l2 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
lib net: websockets: Fix websocket_send_msg return code 2022-09-13 08:49:24 +00:00
pkt_filter subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
buf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
CMakeLists.txt net: introduce a network packet filter framework 2021-12-21 17:06:35 +01:00
hostname.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
Kconfig net: introduce NET_IP config to efficiently mark conditional code 2022-09-05 14:35:17 +00:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net