• Dmitry Frank's avatar
    Implement mg_http_parse_header2() · b9b20c64
    Dmitry Frank authored
    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
    b9b20c64
Name
Last commit
Last update
..
intro.md Loading commit data...
mg_check_digest_auth.md Loading commit data...
mg_file_upload_handler.md Loading commit data...
mg_fu_fname_fn.md Loading commit data...
mg_get_http_basic_auth.md Loading commit data...
mg_get_http_header.md Loading commit data...
mg_get_http_var.md Loading commit data...
mg_http_check_digest_auth.md Loading commit data...
mg_http_parse_header.md Loading commit data...
mg_http_parse_header2.md Loading commit data...
mg_http_reverse_proxy.md Loading commit data...
mg_http_send_error.md Loading commit data...
mg_http_send_redirect.md Loading commit data...
mg_http_serve_file.md Loading commit data...
mg_parse_http.md Loading commit data...
mg_parse_http_basic_auth.md Loading commit data...
mg_parse_multipart.md Loading commit data...
mg_printf_html_escape.md Loading commit data...
mg_printf_http_chunk.md Loading commit data...
mg_register_http_endpoint.md Loading commit data...
mg_send_head.md Loading commit data...
mg_send_http_chunk.md Loading commit data...
mg_send_response_line.md Loading commit data...
mg_serve_http.md Loading commit data...
struct_mg_serve_http_opts.md Loading commit data...