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
af1b0612
Commit
af1b0612
authored
Apr 10, 2018
by
Poul-Henning Kamp
Committed by
Dridi Boukelmoune
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duh! && not ||.
Spotted by: fgs
parent
07e80a0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cache_gzip.c
bin/varnishd/cache/cache_gzip.c
+1
-1
No files found.
bin/varnishd/cache/cache_gzip.c
View file @
af1b0612
...
...
@@ -317,7 +317,7 @@ vdp_gunzip(struct req *req, enum vdp_action act, void **priv,
req
->
resp_len
=
-
1
;
p
=
ObjGetAttr
(
req
->
wrk
,
req
->
objcore
,
OA_GZIPBITS
,
&
dl
);
if
(
p
!=
NULL
||
dl
==
32
)
{
if
(
p
!=
NULL
&&
dl
==
32
)
{
u
=
vbe64dec
(
p
+
24
);
/*
* If the size is non-zero AND we are the top VDP
...
...
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