• 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
..
common Loading commit data...
CPPLINT.cfg Loading commit data...
mg_coap.c Loading commit data...
mg_coap.h Loading commit data...
mg_common.h Loading commit data...
mg_dns.c Loading commit data...
mg_dns.h Loading commit data...
mg_dns_server.c Loading commit data...
mg_dns_server.h Loading commit data...
mg_features.h Loading commit data...
mg_http.c Loading commit data...
mg_http.h Loading commit data...
mg_http_cgi.c Loading commit data...
mg_http_client.h Loading commit data...
mg_http_server.h Loading commit data...
mg_http_ssi.c Loading commit data...
mg_http_webdav.c Loading commit data...
mg_http_websocket.c Loading commit data...
mg_internal.h Loading commit data...
mg_modules.mk Loading commit data...
mg_mqtt.c Loading commit data...
mg_mqtt.h Loading commit data...
mg_mqtt_client.h Loading commit data...
mg_mqtt_server.c Loading commit data...
mg_mqtt_server.h Loading commit data...
mg_net.c Loading commit data...
mg_net.h Loading commit data...
mg_net_if.c Loading commit data...
mg_net_if.h Loading commit data...
mg_net_if_socket.c Loading commit data...
mg_net_if_socket.h Loading commit data...
mg_net_if_socks.c Loading commit data...
mg_net_if_socks.h Loading commit data...
mg_resolv.c Loading commit data...
mg_resolv.h Loading commit data...
mg_sntp.c Loading commit data...
mg_sntp.h Loading commit data...
mg_socks.c Loading commit data...
mg_socks.h Loading commit data...
mg_ssl_if.h Loading commit data...
mg_ssl_if_mbedtls.c Loading commit data...
mg_ssl_if_openssl.c Loading commit data...
mg_uri.c Loading commit data...
mg_uri.h Loading commit data...
mg_util.c Loading commit data...
mg_util.h Loading commit data...