mongoose/docs/c-api/mg_http_server.h
Dmitry Frank b9b20c6494 Implement mg_http_parse_header2()
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
2018-02-07 23:04:29 +00:00
..
intro.md Implement mg_http_parse_header2() 2018-02-07 23:04:29 +00:00
mg_check_digest_auth.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_file_upload_handler.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_fu_fname_fn.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_get_http_basic_auth.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_get_http_header.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_get_http_var.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_http_check_digest_auth.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_http_parse_header2.md Implement mg_http_parse_header2() 2018-02-07 23:04:29 +00:00
mg_http_parse_header.md Implement mg_http_parse_header2() 2018-02-07 23:04:29 +00:00
mg_http_reverse_proxy.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_http_send_error.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_http_send_redirect.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_http_serve_file.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_parse_http_basic_auth.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_parse_http.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_parse_multipart.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_printf_html_escape.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_printf_http_chunk.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_register_http_endpoint.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_send_head.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_send_http_chunk.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_send_response_line.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
mg_serve_http.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00
struct_mg_serve_http_opts.md Fix mongoose docs generation 2018-02-03 01:20:48 +02:00