Commit 380a5b23 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove the gzip_window param, it is useless.

parent 65fe9ad8
......@@ -128,7 +128,7 @@ VGZ_NewGzip(struct vsl_log *vsl, const char *id)
i = deflateInit2(&vg->vz,
cache_param->gzip_level, /* Level */
Z_DEFLATED, /* Method */
16 + cache_param->gzip_window, /* Window bits (16=gzip + 15) */
16 + 15, /* Window bits (16=gzip) */
cache_param->gzip_memlevel, /* memLevel */
Z_DEFAULT_STRATEGY);
assert(Z_OK == i);
......
......@@ -185,7 +185,6 @@ struct params {
unsigned http_gzip_support;
unsigned gzip_buffer;
unsigned gzip_level;
unsigned gzip_window;
unsigned gzip_memlevel;
unsigned obj_readonly;
......
......@@ -1125,11 +1125,6 @@ static const struct parspec input_parspec[] = {
"Gzip compression level: 0=debug, 1=fast, 9=best",
0,
"6", ""},
{ "gzip_window", tweak_uint, &mgt_param.gzip_window, 8, 15,
"Gzip window size 8=least, 15=most compression.\n"
"Memory impact is 8=1k, 9=2k, ... 15=128k.",
0,
"15", ""},
{ "gzip_memlevel", tweak_uint, &mgt_param.gzip_memlevel, 1, 9,
"Gzip memory level 1=slow/least, 9=fast/most compression.\n"
"Memory impact is 1=1k, 2=2k, ... 9=256k.",
......
......@@ -25,7 +25,6 @@ varnish v1 -arg "-p thread_pool_stack=262144" -vcl+backend {
varnish v1 -cliok "param.set esi_syntax 0xc"
varnish v1 -cliok "param.set http_gzip_support true"
varnish v1 -cliok "param.set gzip_window 8"
varnish v1 -cliok "param.set gzip_memlevel 1"
client c1 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment