mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-04 01:39:01 +08:00
b9b20c6494
Which is a replacement of (deprecated) `mg_http_parse_header`, but, similarly to `asprintf`, allocates a new buffer if the client-provided one is not large enough. Also use it throughout mongoose code, and thus some header-related limitations are removed; in particular, https://github.com/cesanta/mongoose/issues/813 is fixed. CL: Mongoose Web Server: Deprecate `mg_http_parse_header()` and implement `mg_http_parse_header2()` instead, which allocates a new buffer if the client-provided one is not large enough (similarly to `asprintf`). CL: Mongoose Web Server: Fix limitations of header value lengths, e.g. when parsing authentication headers such as nonce, etc. PUBLISHED_FROM=c75b1bbbbdb294ea85075ce69b1368f115fdd1ef |
||
---|---|---|
.. | ||
intro.md | ||
mg_check_digest_auth.md | ||
mg_file_upload_handler.md | ||
mg_fu_fname_fn.md | ||
mg_get_http_basic_auth.md | ||
mg_get_http_header.md | ||
mg_get_http_var.md | ||
mg_http_check_digest_auth.md | ||
mg_http_parse_header2.md | ||
mg_http_parse_header.md | ||
mg_http_reverse_proxy.md | ||
mg_http_send_error.md | ||
mg_http_send_redirect.md | ||
mg_http_serve_file.md | ||
mg_parse_http_basic_auth.md | ||
mg_parse_http.md | ||
mg_parse_multipart.md | ||
mg_printf_html_escape.md | ||
mg_printf_http_chunk.md | ||
mg_register_http_endpoint.md | ||
mg_send_head.md | ||
mg_send_http_chunk.md | ||
mg_send_response_line.md | ||
mg_serve_http.md | ||
struct_mg_serve_http_opts.md |