HTTP2: Reduce resource usage.
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Fri, 5 Feb 2016 14:41:57 +0000 (23:41 +0900)
committerGerald Combs <gerald@wireshark.org>
Mon, 22 Feb 2016 18:30:39 +0000 (18:30 +0000)
commit3fe16e13b5c6c198a3d7675a3adeb707b61fda9e
treed381dc005e1f2201f61d0b7c5e0102761f12f876
parent614c7fb9f4f42d3faefb76a3a6a5fc47c8136b17
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@wireshark.org>
epan/dissectors/packet-http2.c