Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent3
Commits
e5e43bd2
Commit
e5e43bd2
authored
Feb 23, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure to initialize the the {do|is}_gzip variables to zero
before we start setting them otherwise.
parent
7b9df557
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
cache_center.c
bin/varnishd/cache_center.c
+5
-0
r00861.vtc
bin/varnishtest/tests/r00861.vtc
+2
-0
No files found.
bin/varnishd/cache_center.c
View file @
e5e43bd2
...
...
@@ -1153,6 +1153,11 @@ cnt_recv(struct sess *sp)
return
(
0
);
}
sp
->
wrk
->
is_gzip
=
0
;
sp
->
wrk
->
is_gunzip
=
0
;
sp
->
wrk
->
do_gzip
=
0
;
sp
->
wrk
->
do_gunzip
=
0
;
if
(
params
->
http_gzip_support
&&
(
recv_handling
!=
VCL_RET_PIPE
)
&&
(
recv_handling
!=
VCL_RET_PASS
))
{
...
...
bin/varnishtest/tests/r00861.vtc
View file @
e5e43bd2
...
...
@@ -36,6 +36,8 @@ varnish v1 \
client c1 {
txreq -url "/1"
rxresp
expect resp.http.Content-Encoding == resp.http.Content-Encoding
expect resp.bodylen == 22
txreq -url "/barf" -hdr "Accept-Encoding: gzip"
rxresp
...
...
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