]> err.no Git - varnish/commit
Rework the manager/cacher cli relationship, so that the manager does
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 12 Mar 2008 10:25:51 +0000 (10:25 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 12 Mar 2008 10:25:51 +0000 (10:25 +0000)
commit73322d5664423c9bda8fa55f4d3c1e5b877f293e
tree7ea396c264f847d11eebf288c962bfaba854d8df
parent33ff81c1ddb777b023173e814e127f69cad4021a
Rework the manager/cacher cli relationship, so that the manager does
not have to grope around in the cacher's data structures.

Whenever the manager gets a CLI command it does not understand, it
will pass it to the cacher process, if it is running.

This complicated "help" a little bit, because we want to show the
combined commands of the manager and cacher.

Since we're dealing with help anyway, hide undocumented debug
commands from it.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2595 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_cli.c
varnish-cache/bin/varnishd/mgt_cli.c
varnish-cache/bin/varnishd/varnishd.c
varnish-cache/include/cli_common.h