Commit a2a5cf1b authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

VDP_Push itself is not fail-safe

Refs 832d6da2
parent 4288f45b
......@@ -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));
XXXAZ(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));
XXXAZ(VDP_Push(req, &ved_pretend_gz, ecx));
} else {
/* Anything else goes straight through */
AZ(VDP_Push(req, &ved_ved, ecx));
XXXAZ(VDP_Push(req, &ved_ved, ecx));
}
(void)VDP_DeliverObj(req);
(void)VDP_bytes(req, VDP_FLUSH, NULL, 0);
......
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