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

Use the correct test for streaming.

parent 53d181b0
...@@ -670,7 +670,7 @@ VRT_r_resp_is_streaming(VRT_CTX) ...@@ -670,7 +670,7 @@ VRT_r_resp_is_streaming(VRT_CTX)
if (ctx->req->objcore == NULL) if (ctx->req->objcore == NULL)
return (0); /* When called from vcl_synth */ return (0); /* When called from vcl_synth */
CHECK_OBJ_NOTNULL(ctx->req->objcore, OBJCORE_MAGIC); CHECK_OBJ_NOTNULL(ctx->req->objcore, OBJCORE_MAGIC);
return (ctx->req->objcore->flags & OC_F_INCOMPLETE ? 1 : 0); return (ctx->req->objcore->boc == NULL ? 0 : 1);
} }
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
......
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