zephyr/subsys/net/lib/http
Robert Lubos 9a00bc69b7 net: http_client: Ignore message body on 101 Switching Protocols reply
When HTTP 101 Switching Protocols response is received, force the HTTP
parser to ignore any potential message body payload (which should
already belong to the new protocol).

This is usually not an issue, as Switching Protocols reply should
contain headers only, however it's been observed that some servers
specify chunked transfer-encoding header which tricks the parser
to wait for payload event though it never arrives.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-02-11 10:11:41 +01:00
..
headers net: http_server: serve resources only for their defined services 2025-01-09 14:13:57 +01:00
CMakeLists.txt net: lib: http_server: allow application to access request headers 2024-09-06 11:27:37 -04:00
http_client.c net: http_client: Ignore message body on 101 Switching Protocols reply 2025-02-11 10:11:41 +01:00
http_hpack.c
http_huffman.c
http_parser_url.c
http_parser.c net: lib: http: Added Content-Range to http client. 2025-01-16 22:55:51 +01:00
http_server_core.c net: http_server: allow specifying a fallback resource 2025-01-28 18:14:36 +01:00
http_server_http1.c net: http_server: fix HTTP 1.0 500 response template format 2025-01-16 22:35:29 +01:00
http_server_http2.c net: http_server: Add support for generic HTTP2 500 response 2025-01-16 14:52:10 +01:00
http_server_ws.c net: http_server: Add support for generic HTTP1 500 response 2025-01-16 14:52:10 +01:00
iterables_content_type.ld net: lib: http_server: allow application to access request headers 2024-09-06 11:27:37 -04:00
iterables_header_capture.ld net: lib: http_server: allow application to access request headers 2024-09-06 11:27:37 -04:00
Kconfig net: http_server: Add support for generic HTTP1 500 response 2025-01-16 14:52:10 +01:00
README_http_parser