Commit d969d627 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

We cannot elope to vcl_error if things go bad with a streaming fetch,

we simply have to abandon it.
parent fe361cf2
......@@ -867,16 +867,7 @@ cnt_streambody(struct sess *sp)
AZ(sp->vbc);
AN(sp->director);
if (i) {
sp->wrk->sctx = NULL;
HSH_Drop(sp);
AZ(sp->obj);
sp->err_code = 503;
sp->step = STP_ERROR;
return (0);
}
if (sp->obj->objcore != NULL) {
if (!i && sp->obj->objcore != NULL) {
EXP_Insert(sp->obj);
AN(sp->obj->objcore);
AN(sp->obj->objcore->ban);
......
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