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> |
||
|---|---|---|
| .. | ||
| headers | ||
| CMakeLists.txt | ||
| http_client.c | ||
| http_hpack.c | ||
| http_huffman.c | ||
| http_parser_url.c | ||
| http_parser.c | ||
| http_server_core.c | ||
| http_server_http1.c | ||
| http_server_http2.c | ||
| http_server_ws.c | ||
| Kconfig | ||
| README_http_parser | ||