Mailing List Archive

r2467 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2008-02-15 11:01:19 +0100 (Fri, 15 Feb 2008)
New Revision: 2467

Modified:
trunk/varnish-cache/bin/varnishd/cache_cli.c
trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
remove the undocumented and unimplemented dump.pool command


Modified: trunk/varnish-cache/bin/varnishd/cache_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_cli.c 2008-02-15 09:41:23 UTC (rev 2466)
+++ trunk/varnish-cache/bin/varnishd/cache_cli.c 2008-02-15 10:01:19 UTC (rev 2467)
@@ -77,10 +77,6 @@
{ CLI_VCL_DISCARD, cli_func_config_discard },
{ CLI_VCL_USE, cli_func_config_use },

- /* Undocumented */
- { "dump.pool", "dump.pool",
- "\tDump the worker thread pool state\n",
- 0, 0, cli_func_dump_pool },
{ NULL }
};


Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c 2008-02-15 09:41:23 UTC (rev 2466)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c 2008-02-15 10:01:19 UTC (rev 2467)
@@ -434,14 +434,3 @@
AZ(pthread_create(&tp, NULL, wrk_reaperthread, NULL));
AZ(pthread_detach(tp));
}
-
-/*--------------------------------------------------------------------*/
-
-void
-cli_func_dump_pool(struct cli *cli, const char * const *av, void *priv)
-{
-
- (void)cli;
- (void)av;
- (void)priv;
-}