Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
380a5b23
Commit
380a5b23
authored
Jun 13, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the gzip_window param, it is useless.
parent
65fe9ad8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
8 deletions
+1
-8
cache_gzip.c
bin/varnishd/cache/cache_gzip.c
+1
-1
params.h
bin/varnishd/common/params.h
+0
-1
mgt_param.c
bin/varnishd/mgt/mgt_param.c
+0
-5
e00022.vtc
bin/varnishtest/tests/e00022.vtc
+0
-1
No files found.
bin/varnishd/cache/cache_gzip.c
View file @
380a5b23
...
...
@@ -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
);
...
...
bin/varnishd/common/params.h
View file @
380a5b23
...
...
@@ -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
;
...
...
bin/varnishd/mgt/mgt_param.c
View file @
380a5b23
...
...
@@ -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."
,
...
...
bin/varnishtest/tests/e00022.vtc
View file @
380a5b23
...
...
@@ -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 {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment