http2: reassemble entity bodies in data frames
authorRyan Doyle <ryan@doylenet.net>
Mon, 27 Mar 2017 10:48:26 +0000 (21:48 +1100)
committerAnders Broman <a.broman58@gmail.com>
Thu, 22 Jun 2017 16:22:59 +0000 (16:22 +0000)
commitf24ffb0bcd12c3dce1e48b7a34c48a6be62c45e4
treedfdced4d009cadc87546597fdccf954cfc66d289
parentcfb23d874345eede2860afa155b181a2e2e208c0
http2: reassemble entity bodies in data frames

This commit reassembles data frames to build up the full entity body. It does
this for both client/server request and responses. Additionally, it also
decompresses bodies if they have the correct content-encoding header provided
and are not partial bodies.

Bug: 13543
Change-Id: I1661c9ddd09c1f6cf5a08b2b1921f95103aebb52
Reviewed-on: https://code.wireshark.org/review/20737
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-http2.c
test/captures/http2-data-reassembly.pcap [new file with mode: 0644]
test/keys/http2-data-reassembly.keys [new file with mode: 0644]
test/suite-dissection.sh [new file with mode: 0755]
test/test.sh