Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
2a20a74e
Unverified
Commit
2a20a74e
authored
Jan 02, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assert on VDP_Push return value
parent
373fce1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vdp_pesi.c
src/vdp_pesi.c
+3
-3
No files found.
src/vdp_pesi.c
View file @
2a20a74e
...
...
@@ -674,7 +674,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
#ifdef DEBUG_PESI_WS
pesi
->
ws_snap
=
WS_Snapshot
(
req
->
ws
);
#endif
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
);
AZ
(
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
)
);
return
(
0
);
}
...
...
@@ -730,7 +730,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
AZ
(
pecx
->
state
);
AZ
(
pesi
->
woken
);
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
);
AZ
(
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
)
);
#ifdef DEBUG_PESI_WS
pesi
->
ws_snap
=
WS_Snapshot
(
req
->
ws
);
#endif
...
...
@@ -1346,7 +1346,7 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
else
if
(
obj_final
&&
(
pesi
->
flags
&
PF_CFG_BLOCK_FINAL
)
==
0
)
{
VSLdbg
(
req
,
"vped_deliver: T_NEXUS buffering no ESI"
);
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
);
AZ
(
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
)
);
AN
(
parent
);
assert
(
parent
->
type
==
T_NEXUS
);
push_vdps
(
req
,
vgzgz
,
gz
);
...
...
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