[master] 9df11bb Update parameter descriptions from rst

Tollef Fog Heen tfheen at varnish-cache.org
Thu Feb 3 13:15:36 CET 2011


commit 9df11bb55820812a587746ebbde9f8fb7d6e73a9
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Thu Feb 3 10:58:59 2011 +0100

    Update parameter descriptions from rst

diff --git a/bin/varnishd/mgt_param.c b/bin/varnishd/mgt_param.c
index a2aa9b8..d615dd9 100644
--- a/bin/varnishd/mgt_param.c
+++ b/bin/varnishd/mgt_param.c
@@ -814,11 +814,21 @@ static const struct parspec input_parspec[] = {
 		EXPERIMENTAL,
 		"off", "bool" },
 	{ "http_gzip_support", tweak_bool, &master.http_gzip_support, 0, 0,
-		"Enable support for HTTP GZIP compression.\n",
+		"Enable gzip support. When enabled Varnish will compress "
+		"uncompressed objects before they are stored in the cache. "
+		"If a client does not support gzip encoding Varnish will "
+		"uncompress compressed objects on demand. Varnish will also "
+		"rewrite the Accept-Encoding header of clients indicating "
+		"support for gzip to:\n"
+		"Accept-Encoding: gzip"
+		"Clients that do not support gzip will have their "
+		"Accept-Encoding header removed. For more information no how "
+		"gzip is implemted please see the chapter on gzip in the "
+		"Varnish reference.",
 		EXPERIMENTAL,
 		"on", "bool" },
 	{ "gzip_tmp_space", tweak_uint, &master.gzip_tmp_space, 0, 2,
-		"Where temporary space for gzip/gunzip is allocated.\n"
+		"Where temporary space for gzip/gunzip is allocated:\n"
 		"  0 - malloc\n"
 		"  1 - session workspace\n"
 		"  2 - thread workspace\n"



More information about the varnish-commit mailing list