The information about replied headers or END_OF_STREAM flag are stream-specific and not general for a client. Hence, need to move them to the stream context. For the upgrade case, we need to allocate a new stream now when HTTP1 request /w upgrade field is received. The stream ID in such case is assumed to be 1 according to RFC. 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 | ||