zephyr/subsys/net/lib
Robert Lubos ffdc621f1b net: http_client: Fix http_client_req() return value
http_client_req() was supposed to return the number of bytes sent as a
HTTP request. The return value was not riht however due to some bugs in
helper functions:
* http_send_data() returned the current buffer position istead of the
  number of bytes actually sent. This could result in counting the same
  data into the total request size several times. A helper variable was
  added to track how many bytes were actually sent to the network.
* http_flush_data() forwarded the return value of sendall() helper
  function. That function however did not return number of bytes sent,
  but 0 or a negative error code.

Additionally, change the return type of sendall() function - according
to standard the ssize_t type is only capable of holding -1 negative
value, but the function could return the full range of negative errno
values. Use int instead.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-03-18 11:14:24 +01:00
..
capture all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
coap kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
config kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
conn_mgr kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
dns kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
http net: http_client: Fix http_client_req() return value 2022-03-18 11:14:24 +01:00
lwm2m net: lwm2m: SenML JSON dynamic Resource instance allocation 2022-03-17 11:41:42 +01:00
mqtt net: mqtt: Fix SOCKS5 setsockopt error handling 2021-12-01 13:54:30 -06:00
openthread net: lib: openthread: obtain entropy device using DEVICE_DT_GET 2022-03-11 15:27:05 -08:00
sntp
sockets net: sockets: Fix userspace accept() verification 2022-03-16 16:23:16 +01:00
socks
tftp kconfig: net: experimental settings now uses select EXPERIMENTAL 2021-10-25 10:46:48 +02:00
tls_credentials
utils
websocket net: websockets: Fix send with large payload 2021-11-23 13:21:09 -05:00
CMakeLists.txt
Kconfig