r1044 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Sun Sep 17 10:39:37 CEST 2006


Author: des
Date: 2006-09-17 10:39:37 +0200 (Sun, 17 Sep 2006)
New Revision: 1044

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_param.c
   trunk/varnish-cache/bin/varnishd/varnishd.1
Log:
Update the parameter list in the man page, and add reminders to keep the
lists in synch.

Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c	2006-09-17 06:45:22 UTC (rev 1043)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c	2006-09-17 08:39:37 UTC (rev 1044)
@@ -318,9 +318,13 @@
 
 #define EXPERIMENTAL \
 	"\nNB: We don't know yet if it is a good idea to change " \
-	"this parameter.  Caution adviced.\n"
+	"this parameter.  Caution advised.\n"
 
 
+/*
+ * Remember to update varnishd.1 whenever you add / remove a parameter or
+ * change its default value.
+ */
 static struct parspec parspec[] = {
 	{ "default_ttl", tweak_default_ttl,
 		"The TTL assigned to objects if neither the backend nor "

Modified: trunk/varnish-cache/bin/varnishd/varnishd.1
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.1	2006-09-17 06:45:22 UTC (rev 1043)
+++ trunk/varnish-cache/bin/varnishd/varnishd.1	2006-09-17 08:39:37 UTC (rev 1044)
@@ -200,6 +200,7 @@
 .It Cm vcl.use Ar configname
 .El
 .Ss Run-Time Parameters
+.\" Keep in synch with parspec[] in mgt_param.c
 .Bl -tag -width=4
 .It Va auto_restart
 .It Va default_ttl
@@ -208,11 +209,14 @@
 .It Va listen_address
 .It Va listen_depth
 .It Va pipe_timeout
+.It Va sendfile_threshold
 .It Va send_timeout
-.It Va sendfile_threshold
 .It Va sess_timeout
+.It Va srcaddr_hash
+.It Va srcaddr_ttl
 .It Va thread_pool_max
 .It Va thread_pool_min
+.It Va thread_pools
 .It Va thread_pool_timeout
 .It Va vcl_trace
 .El




More information about the varnish-commit mailing list