wip

parent b37859ca
......@@ -653,7 +653,7 @@ static const struct vdp VDP_pesi_buf = {
*/
static int v_matchproto_(vdp_init_f)
vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
vdp_pesi_init(VRT_CTX, struct vdp_ctx *vdc, void **priv, struct objcore *oc)
{
struct req *req;
struct pesi *pesi;
......@@ -686,7 +686,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
AZ(VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi));
AZ(VDP_Push(ctx, req->vdc, req->ws, &VDP_pesi_buf, pesi));
return (0);
}
......@@ -742,7 +742,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
AZ(pecx->state);
AZ(pesi->woken);
AZ(VDP_Push(req->vdc, req->ws, &VDP_pesi_buf, pesi));
AZ(VDP_Push(ctx, req->vdc, req->ws, &VDP_pesi_buf, pesi));
#ifdef DEBUG_PESI_WS
pesi->ws_snap = WS_Snapshot(req->ws);
#endif
......@@ -1249,15 +1249,16 @@ vped_next_vdp(struct req *req)
}
static void
push_vdps(struct req *req, struct vped_gzgz_priv *vgzgz, struct nexus_gzip *gz)
push_vdps(VRT_CTX, struct req *req, struct vped_gzgz_priv *vgzgz,
struct nexus_gzip *gz)
{
if (vgzgz != NULL) {
AZ(gz);
AZ(VDP_Push(req->vdc, req->ws, &vped_gzgz, vgzgz));
AZ(VDP_Push(ctx, req->vdc, req->ws, &vped_gzgz, vgzgz));
}
else if (gz != NULL) {
AZ(vgzgz);
AZ(VDP_Push(req->vdc, req->ws, &vped_pretend_gz, gz));
AZ(VDP_Push(ctx, req->vdc, req->ws, &vped_pretend_gz, gz));
}
else {
AZ(vgzgz);
......
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