Adjust to VDP_END

parent 0b4df080
......@@ -109,6 +109,8 @@ vped_to_parent_bytes(struct req *req, enum vdp_action act, void **priv,
CHECK_OBJ_NOTNULL(req, REQ_MAGIC);
CAST_OBJ_NOTNULL(preq, *priv, REQ_MAGIC);
req->acct.resp_bodybytes += len;
if (act == VDP_END)
act = VDP_FLUSH;
return (VDP_bytes(preq, act, ptr, len));
}
......
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