]> git.ipfire.org Git - thirdparty/squid.git/commit - src/mgr/BasicActions.cc
Cache Manager migration support
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 30 Dec 2011 16:01:37 +0000 (05:01 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 30 Dec 2011 16:01:37 +0000 (05:01 +1300)
commitb073fc4bde37d3b0dd2f820f90c801d7dada1338
tree6767af8dac44de58d4fd5027123c6413af915209
parentc4ac4197e9ecad20b58a1c7c288a0cef6c46fbf1
Cache Manager migration support

 * Add a little bit of XHR script to the CGI cachemgr front page which
probes each of the managed proxies for http:// and https:// capabilities
and produces web links to their internal managers.

 * Reserve the template name MGR_INDEX for use by cachemgr scripts.
But do not distribute any preset template. This allows manager apps to
provide their own static template with linked scripts and objects.

 * The error page system is updated to create a blanket message
indicating missing template instead of aborting Squid if a template is
not even installed.
src/cache_manager.cc
src/err_type.h
src/errorpage.cc
src/mgr/BasicActions.cc
src/mgr/BasicActions.h
tools/cachemgr.cc