Commit 44f4a821 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a couple of clarifying asserts

parent 3289723c
......@@ -417,6 +417,8 @@ cnt_lookup(struct worker *wrk, struct req *req)
switch (wrk->handling) {
case VCL_RET_DELIVER:
if (boc != NULL) {
AZ(oc->flags & (OC_F_FAILED|OC_F_DYING|OC_F_PASS));
AZ(oc->busyobj);
VBF_Fetch(wrk, req, boc, o, VBF_BACKGROUND);
} else {
(void)HTTP1_DiscardReqBody(req);// XXX: handle err
......
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