diff options
author | Ryan Doyle <ryan@doylenet.net> | 2017-08-20 15:15:28 +1000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-08-22 07:53:18 +0000 |
commit | 2845f6be8db0b1720e23db0877ec837f00967bdc (patch) | |
tree | a239431cfce339fbaf3975c5c7df39a8da6dd74e /epan/stat_tap_ui.c | |
parent | 9d27248cdfce6720639707170d59c5725033276d (diff) |
HTTP2: pass in the media type parameters to the media type dissector
A full media type could be "text/html; charset=utf-8". The the media type
dissector wasn't being called properly with only the "text/html" but
instead the whole string.
Additionally, make sure that the media type parameters are passed in
correctly which is important for things like multipart/* which should
have a boundary.
Most of the string parsing code was adapted from
packet-spdy.c:spdy_parse_content_type().
Change-Id: Ide59da8f65264dc142e0f9bb67671ce2af66c8a2
Reviewed-on: https://code.wireshark.org/review/23140
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/stat_tap_ui.c')
0 files changed, 0 insertions, 0 deletions