• 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
mg_http.c 97.5 KB