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

Don't skip ESI processing for included gzip objects

parent e09ed9d8
......@@ -343,7 +343,8 @@ V1D_Deliver(struct req *req, struct busyobj *bo)
/* This was a HEAD or conditional request */
} else if (req->esi_level > 0) {
if (req->gzip_resp &&
ObjCheckFlag(req->wrk, req->objcore, OF_GZIPED)) {
ObjCheckFlag(req->wrk, req->objcore, OF_GZIPED) &&
!(req->res_mode & RES_ESI)) {
if (bo != NULL)
VBO_waitstate(bo, BOS_FINISHED);
ESI_DeliverChild(req);
......
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