wip

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