zephyr/subsys/net/lib/http
Robert Lubos b4cfee090d net: lib: http_server: Implement proper CONTINUATION frame processing
CONTINUATION frames are tricky, because individual header fields can be
split between HEADERS frame and CONTINUATION frame, or two CONTINUATION
frames. Therefore, some extra logic is needed when header parsing
returns -EAGAIN, as we may need to remove the CONTINUATION frame header
from the stream before proceeding with headers parsing.

This commit implements the above logic and additionally adds more checks
to detect when CONTINUATION frame is expected. Not receiving a
CONTINUATION frame when expect should be treated as a protocol error.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-07-09 15:20:57 -04:00
..
headers net: lib: http_server: Implement proper CONTINUATION frame processing 2024-07-09 15:20:57 -04:00
CMakeLists.txt net: lib: http_server: Upgrade from HTTP/1.1 to websocket 2024-05-08 15:02:16 -05:00
http_client.c net: lib: http: call socket poll for http_client send 2024-07-09 14:04:29 +02:00
http_hpack.c net: lib: http_server: Fix possible NULL pointer dereference 2024-06-24 12:41:22 -04:00
http_huffman.c net: lib: http_server: Add HPACK and Huffman code encoder/decoder 2024-04-30 13:25:22 +02:00
http_parser_url.c net: change controlling expressions in while to Boolean 2024-06-11 20:03:16 +03:00
http_parser.c net: change controlling expressions in while to Boolean 2024-06-11 20:03:16 +03:00
http_server_core.c net: lib: http_server: Implement proper RST_STREAM frame processing 2024-07-09 15:20:57 -04:00
http_server_http1.c subsys/net/lib/http: Set feature macro as required 2024-06-24 13:01:38 +02:00
http_server_http2.c net: lib: http_server: Implement proper CONTINUATION frame processing 2024-07-09 15:20:57 -04:00
http_server_ws.c net: http_server: Add websocket support 2024-05-08 15:02:16 -05:00
Kconfig net: lib: http_server: Remove upper bounds on buffer sizes 2024-07-09 15:20:57 -04:00
README_http_parser