]> 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 06:42:59 +0000 (18:42 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 20 Apr 2016 06:42:59 +0000 (18:42 +1200)
commit17ef57698db2262f714b77c64cb8747c984f863a
tree4f4bd381f5496060b1833a3e16f2b446b428376c
parent9b2d2df8bd93ede25a720519065c5d042ed86466
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