aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/resources
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-06-27 15:59:17 +1200
committerAldo Cortesi <aldo@nullcube.com>2011-06-27 15:59:17 +1200
commitf004326855126e01e7a095fc65562c41060ffbed (patch)
tree976f800bd830cec66581b02066f20cdd24b1d492 /libmproxy/resources
parent2ae7808ca9c83cb69fe6606051edd43e417281c7 (diff)
downloadmitmproxy-f004326855126e01e7a095fc65562c41060ffbed.tar.gz
mitmproxy-f004326855126e01e7a095fc65562c41060ffbed.tar.bz2
mitmproxy-f004326855126e01e7a095fc65562c41060ffbed.zip
Try not to hang when user views large request & response bodies
Two different strategies here: - Use a simple heuristic to detect if we're looking at XML data when indent mode is used. On non-XML data we can hang even on small documents. - Only view partial data for large bodies. At the moment the cutoff is 100k. I might finetune this later.
Diffstat (limited to 'libmproxy/resources')
0 files changed, 0 insertions, 0 deletions