Commit 5b2af362 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Set a OA_flag to indicate ESI processing.

parent a5b3340d
......@@ -590,6 +590,9 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
assert(V1L_IsReleased(wrk));
if (bo->do_esi)
ObjSetFlag(bo->wrk, bo->fetch_objcore, OF_ESIPROC, 1);
if (bo->do_gzip || (bo->is_gzip && !bo->do_gunzip))
ObjSetFlag(bo->wrk, bo->fetch_objcore, OF_GZIPED, 1);
......@@ -604,10 +607,6 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
if (bo->htc->body_status != BS_NONE)
AZ(VDI_GetBody(bo->director_resp, bo->wrk, bo));
/*
* Ready to fetch the body
*/
assert(bo->refcount >= 1);
assert (bo->state == BOS_REQ_DONE);
......
......@@ -46,6 +46,7 @@ OBJ_ATTR(LASTMODIFIED, lastmodified)
OBJ_FLAG(GZIPED, gziped, (1<<1))
OBJ_FLAG(CHGGZIP, chggzip, (1<<2))
OBJ_FLAG(IMSCAND, imscand, (1<<3))
OBJ_FLAG(ESIPROC, esiproc, (1<<4))
#endif
/*lint -restore */
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