json_dumper: increase JSON_DUMPER_MAX_DEPTH to 1100.
authorDario Lombardo <lomato@gmail.com>
Sat, 19 Jan 2019 22:36:53 +0000 (23:36 +0100)
committerPeter Wu <peter@lekensteyn.nl>
Sun, 20 Jan 2019 21:58:39 +0000 (21:58 +0000)
commit91d68d2ec9c100b6c4e5185a97d38e1aedfecd4c
tree25994297e86023a783b42865f3efd4089ed5b479
parente953785dd29e6f20efb1c1081641e2850e8486f5
json_dumper: increase JSON_DUMPER_MAX_DEPTH to 1100.

The new value has been chosen to make room for sharkd packet output
as: proto.c:MAX_TREE_LEVELS * 2 + 10% of additional sharkd overhead.

A new regression test for sharkd has been added that requires more
than 15 levels.

Change-Id: Ie54955c79c50c60b95c99b1a3c472888fc4842ac
Reviewed-on: https://code.wireshark.org/review/31624
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
test/suite_sharkd.py
wsutil/json_dumper.h