• John Thacker's avatar
    HTTP: Add chunks as items instead of calling data dissector · e49a69f3
    John Thacker authored and A Wireshark GitLab Utility's avatar A Wireshark GitLab Utility committed
    HTTP chunked transfer encoding can have lots of chunks, and calling
    the data dissector for each individual chunk adds a large number of
    layers to the frame and doesn't really make sense. (As opposed to
    calling the data dissector on the reassembled data if we can't handle
    the content type, which does make sense.) In particular, this can
    cause a failed assertion by adding more layers than
    PINFO_LAYER_MAX_RECURSION_DEPTH.
    
    Just add each data chunk as a FT_BYTES item. Fix #18130.
    e49a69f3