zephyr/subsys/net/lib/http
Robert Lubos 5251533f97 net: lib: http_server: Respect Connection close header
In case no "Connection: close" header is present in the request, the
server should keep the connection open for the client. Hence, after
serving a request, we need to check if the header was present (the
parser sets a flag for it), and only close the connection immediately,
if the client requested it. In case the client remains silent, the
connection will be closed anyway after the inactivity timer kicks in.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-07-11 13:11:04 -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: Add restart delay 2024-07-11 13:11:04 -04:00
http_server_http1.c net: lib: http_server: Respect Connection close header 2024-07-11 13:11:04 -04:00
http_server_http2.c net: lib: http_server: Move stream-specific flags to stream context 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: Add restart delay 2024-07-11 13:11:04 -04:00
README_http_parser