r5674 - trunk/varnish-cache/bin/varnishd

phk at varnish-cache.org phk at varnish-cache.org
Mon Jan 3 11:37:36 CET 2011


Author: phk
Date: 2011-01-03 11:37:35 +0100 (Mon, 03 Jan 2011)
New Revision: 5674

Modified:
   trunk/varnish-cache/bin/varnishd/heritage.h
   trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
Add a parameter to control GZIP processing



Modified: trunk/varnish-cache/bin/varnishd/heritage.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/heritage.h	2011-01-03 09:40:09 UTC (rev 5673)
+++ trunk/varnish-cache/bin/varnishd/heritage.h	2011-01-03 10:37:35 UTC (rev 5674)
@@ -199,6 +199,8 @@
 
 	unsigned		http_range_support;
 
+	unsigned		http_gzip_support;
+
 	double			critbit_cooloff;
 };
 

Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c	2011-01-03 09:40:09 UTC (rev 5673)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c	2011-01-03 10:37:35 UTC (rev 5674)
@@ -812,6 +812,10 @@
 		"Enable support for HTTP Range headers.\n",
 		EXPERIMENTAL,
 		"off", "bool" },
+	{ "http_gzip_support", tweak_bool, &master.http_gzip_support, 0, 0,
+		"Enable support for HTTP GZIP compression.\n",
+		EXPERIMENTAL,
+		"off", "bool" },
 	{ "critbit_cooloff", tweak_timeout_double,
 		&master.critbit_cooloff, 60, 254,
 		"How long time the critbit hasher keeps deleted objheads "




More information about the varnish-commit mailing list