• 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
docs Loading commit data...
examples Loading commit data...
jni Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.mbedignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...