]> git.ipfire.org Git - thirdparty/squid.git/commit
cachemgr.cgi: use dynamic MemBuf for internal content generation
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 20 Apr 2016 10:11:48 +0000 (22:11 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 20 Apr 2016 10:11:48 +0000 (22:11 +1200)
commit4fccce3fe9c95f98f39bb1923045b6fad8e3c709
treef2ac53a82f34632d65ae55bd5a08f19644876f74
parent376344a2066ba3ce4f35e497a0a7ed69099cbf2c
cachemgr.cgi: use dynamic MemBuf for internal content generation

Using a fixed size buffer limits how big content lines can be. Modern
HTTP is fast reaching the point where such limits are problematic.
Also fixes incorrect uses of snprintf() by removing them.
src/tests/Stub.list
src/tests/stub_cbdata.cc [new file with mode: 0644]
src/tests/stub_mem.cc
tools/Makefile.am
tools/cachemgr.cc