zephyr/subsys/net/lib
Robert Lubos 8f983ccda5 net: lib: http_client: Fix end of message detection
HTTP 1.1 server has two ways of indicating the message body length -
either by providing the Content Length header, or by closing the
connection when the entire body has been transmitted.

The second method didn't work with Zephyr's HTTP client implementation,
as EOF on a socket was treated as an error condition. Therefore, if no
Content Length was provided by the server, such transfers would always
end up with ECONNRESET error.

In order to fix this, we need to notify the parser about the EOF on a
socket when connection is closed. It is the parser role to determine
whether the EOF was expected in current state (by marking end of message
flag) or not (by setting an error).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-07-07 10:04:17 -05:00
..
capture net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
coap net: lib: coap: fix potential null pointer 2025-07-04 15:48:40 -05:00
config net: remove dependency on posix for iso c time() function 2025-06-24 14:18:52 +02:00
dhcpv4 net: dhcp: Remove only added DNS servers when stopping 2025-06-26 14:08:19 +02:00
dhcpv6 net: dhcpv6: Avoid directly accessing address of unaligned struct 2025-07-01 10:15:55 -05:00
dns tests: net: dns-sd: Fix undefined behavior reported by UBSAN 2025-07-02 03:55:06 -10:00
http net: lib: http_client: Fix end of message detection 2025-07-07 10:04:17 -05:00
lwm2m net: lwm2m: Prevent busy looping when active notify is set 2025-06-26 11:00:42 -05:00
mqtt net: mqtt: Allow to bind client to a specific interface 2025-06-11 16:18:31 -07:00
mqtt_sn net: mqtt-sn: Correct the allowed Keep Alive value range 2025-05-14 14:10:34 +02:00
prometheus
ptp net: lib: ptp: fix memory slab alignment issues 2025-06-27 17:00:37 -05:00
shell net: shell: dns: Print info about DHCP added servers 2025-06-26 14:08:19 +02:00
sntp net: lib: sntp: async query API 2025-03-07 19:51:40 +01:00
sockets net: sockets_service: Fix function signature 2025-07-04 14:21:23 -10:00
socks
tftp
tls_credentials net: tls_credentials_shell: Add credential buffer load argument 2025-06-17 17:45:26 +02:00
trickle
utils
websocket net: lib: websocket: Avoid bitshift overflow warning 2025-07-04 13:16:32 -05:00
wifi_credentials net: lib: wifi_credentials: Add support for Enterprise security 2025-06-25 15:31:29 -10:00
zperf net: lib: zperf: Fix 'kbps' in output 2025-06-30 15:19:39 -05:00
CMakeLists.txt
Kconfig net: Add option for VPN enablement 2025-03-28 21:51:57 +01:00