Commit 8fc3873e authored by Nils Goroll's avatar Nils Goroll

no body, no vdps

parent bfb137cf
......@@ -2420,12 +2420,12 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
assert(parent->type == T_NEXUS);
if (wantbody == 0)
goto clean; // XXX
goto close; // XXX
VSLdbgv(req, "vped_deliver: ObjGetLen=%lu",
ObjGetLen(req->wrk, req->objcore));
if (boc == NULL && ObjGetLen(req->wrk, req->objcore) == 0)
goto clean; // XXX
goto close; // XXX
/* XXX needed ??? */
i = ObjCheckFlag(req->wrk, req->objcore, OF_GZIPED);
......@@ -2548,8 +2548,13 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
*
* XXX cleanup
*/
goto clean;
close:
VDP_close(req);
goto out;
clean:
vped_close_pesi_vdps(req);
out:
Lck_Lock(&tree->tree_lock);
set_closed(tree, node);
Lck_Unlock(&tree->tree_lock);
......
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