Support not bundling the top request

parent 5597bb00
...@@ -708,7 +708,7 @@ vdp_zipsub_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv, ...@@ -708,7 +708,7 @@ vdp_zipsub_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv,
zft = zfr->top; zft = zfr->top;
CHECK_OBJ_NOTNULL(zft, ZIPFLOW_TOP_MAGIC); CHECK_OBJ_NOTNULL(zft, ZIPFLOW_TOP_MAGIC);
if (zfr->bundle == 0) if (zfr->bundle == 0)
return (1); return (0);
assert(len >= 0); assert(len >= 0);
r = zip_data(zft->zip, ptr, (size_t)len, act == VDP_END ? 1 : 0); r = zip_data(zft->zip, ptr, (size_t)len, act == VDP_END ? 1 : 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