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> |
||
|---|---|---|
| .. | ||
| 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 | ||
| iterables_content_type.ld | ||
| iterables_header_capture.ld | ||
| Kconfig | ||
| README_http_parser | ||