Wireshark-commits: [Wireshark-commits] master-2.0 22a24bc: HTTP2: Reduce resource usage.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=22a24bc5af64ef29ca5b6aa4d82bad81df5a0dde
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
22a24bc by Tatsuhiro Tsujikawa (tatsuhiro.t@xxxxxxxxx):
HTTP2: Reduce resource usage.
Cache decoded header fields in order to conserve memory.
If we try to decompress more than 256 KB or find 200 or more headers
stop decompressing and add an expert item. Note that we might want to
make the maximum values configurable via preferences.
Bug:12077
Change-Id: Idf7cb1046c96cf87e1b53af6c56e19b4abad1dfb
Reviewed-on: https://code.wireshark.org/review/13746
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
(cherry picked from commit 3fe16e13b5c6c198a3d7675a3adeb707b61fda9e)
Reviewed-on: https://code.wireshark.org/review/14078
Actions performed:
from 09a5719 tshark: load decode_as_entries file
adds 22a24bc HTTP2: Reduce resource usage.
Summary of changes:
epan/dissectors/packet-http2.c | 159 +++++++++++++++++++++++++++++++++++-----
1 file changed, 141 insertions(+), 18 deletions(-)