• Deomid Ryabkov's avatar
    Fix an edge case in multipart HTTP upload parsing · c80f4c53
    Deomid Ryabkov authored
    Consume buffer as soon as we know there is no boundary there, no need to delay until next chunk arrives.
    This prevents stall where buffer fills up in one go and next chunk never arrives.
    
    CL: Fix an edge case in multipart HTTP upload parsing
    
    PUBLISHED_FROM=025f9001d272df2a75ece22b199b1944d5db9840
    c80f4c53
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...