Assert on VDP_Push return value

parent 373fce1b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment