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
a2a5cf1b
Commit
a2a5cf1b
authored
Feb 16, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VDP_Push itself is not fail-safe
Refs
832d6da2
parent
4288f45b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cache_esi_deliver.c
bin/varnishd/cache/cache_esi_deliver.c
+3
-3
No files found.
bin/varnishd/cache/cache_esi_deliver.c
View file @
a2a5cf1b
...
...
@@ -833,14 +833,14 @@ ved_deliver(struct req *req, struct boc *boc, int wantbody)
INIT_OBJ
(
foo
,
VED_FOO_MAGIC
);
foo
->
ecx
=
ecx
;
AZ
(
VDP_Push
(
req
,
&
ved_gzgz
,
foo
));
XXX
AZ
(
VDP_Push
(
req
,
&
ved_gzgz
,
foo
));
}
else
if
(
ecx
->
isgzip
&&
!
i
)
{
/* Non-Gzip'ed include in gzip'ed parent */
AZ
(
VDP_Push
(
req
,
&
ved_pretend_gz
,
ecx
));
XXX
AZ
(
VDP_Push
(
req
,
&
ved_pretend_gz
,
ecx
));
}
else
{
/* Anything else goes straight through */
AZ
(
VDP_Push
(
req
,
&
ved_ved
,
ecx
));
XXX
AZ
(
VDP_Push
(
req
,
&
ved_ved
,
ecx
));
}
(
void
)
VDP_DeliverObj
(
req
);
(
void
)
VDP_bytes
(
req
,
VDP_FLUSH
,
NULL
,
0
);
...
...
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