Commit 15fd13e4 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove sanity-checks on V1L from protocol independent layer

parent ea251504
...@@ -63,7 +63,6 @@ cnt_deliver(struct worker *wrk, struct req *req) ...@@ -63,7 +63,6 @@ cnt_deliver(struct worker *wrk, struct req *req)
CHECK_OBJ_NOTNULL(req->objcore, OBJCORE_MAGIC); CHECK_OBJ_NOTNULL(req->objcore, OBJCORE_MAGIC);
CHECK_OBJ_NOTNULL(req->objcore->objhead, OBJHEAD_MAGIC); CHECK_OBJ_NOTNULL(req->objcore->objhead, OBJHEAD_MAGIC);
CHECK_OBJ_NOTNULL(req->vcl, VCL_CONF_MAGIC); CHECK_OBJ_NOTNULL(req->vcl, VCL_CONF_MAGIC);
assert(V1L_IsReleased(wrk));
assert(req->objcore->refcnt > 0); assert(req->objcore->refcnt > 0);
...@@ -159,7 +158,6 @@ cnt_deliver(struct worker *wrk, struct req *req) ...@@ -159,7 +158,6 @@ cnt_deliver(struct worker *wrk, struct req *req)
ObjSlim(wrk, req->objcore); ObjSlim(wrk, req->objcore);
} }
assert(V1L_IsReleased(wrk));
(void)HSH_DerefObjCore(wrk, &req->objcore); (void)HSH_DerefObjCore(wrk, &req->objcore);
http_Teardown(req->resp); http_Teardown(req->resp);
return (REQ_FSM_DONE); return (REQ_FSM_DONE);
...@@ -517,7 +515,6 @@ cnt_pipe(struct worker *wrk, struct req *req) ...@@ -517,7 +515,6 @@ cnt_pipe(struct worker *wrk, struct req *req)
assert(wrk->handling == VCL_RET_PIPE); assert(wrk->handling == VCL_RET_PIPE);
V1P_Process(req, bo); V1P_Process(req, bo);
assert(V1L_IsReleased(wrk));
http_Teardown(bo->bereq); http_Teardown(bo->bereq);
THR_SetBusyobj(NULL); THR_SetBusyobj(NULL);
VBO_DerefBusyObj(wrk, &bo); VBO_DerefBusyObj(wrk, &bo);
...@@ -794,7 +791,6 @@ CNT_Request(struct worker *wrk, struct req *req) ...@@ -794,7 +791,6 @@ CNT_Request(struct worker *wrk, struct req *req)
VRB_Free(req); VRB_Free(req);
req->wrk = NULL; req->wrk = NULL;
} }
assert(V1L_IsReleased(wrk));
return (nxt); return (nxt);
} }
......
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