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
82328d2e
Commit
82328d2e
authored
Nov 29, 2022
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gzip: Wrong incomplete claim
parent
dfa562d6
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 @
82328d2e
...
@@ -264,7 +264,7 @@ VGZ_Gzip(struct vgz *vg, const void **pptr, ssize_t *plen, enum vgz_flag flags)
...
@@ -264,7 +264,7 @@ VGZ_Gzip(struct vgz *vg, const void **pptr, ssize_t *plen, enum vgz_flag flags)
case
VGZ_ALIGN
:
zflg
=
Z_SYNC_FLUSH
;
break
;
case
VGZ_ALIGN
:
zflg
=
Z_SYNC_FLUSH
;
break
;
case
VGZ_RESET
:
zflg
=
Z_FULL_FLUSH
;
break
;
case
VGZ_RESET
:
zflg
=
Z_FULL_FLUSH
;
break
;
case
VGZ_FINISH
:
zflg
=
Z_FINISH
;
break
;
case
VGZ_FINISH
:
zflg
=
Z_FINISH
;
break
;
default:
INCOMPL
(
);
default:
WRONG
(
"Invalid VGZ flag"
);
}
}
i
=
deflate
(
&
vg
->
vz
,
zflg
);
i
=
deflate
(
&
vg
->
vz
,
zflg
);
if
(
i
==
Z_OK
||
i
==
Z_STREAM_END
)
{
if
(
i
==
Z_OK
||
i
==
Z_STREAM_END
)
{
...
...
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