The default filter list must not take resp_len into account

We do not know if we are going to send a body when we construct the
filter list. It is up to the vdps to handle a null response

Ref #3002
parent 7fa4ac7e
......@@ -346,7 +346,7 @@ resp_default_filter_list(void *arg, struct vsb *vsb)
CAST_OBJ_NOTNULL(req, arg, REQ_MAGIC);
if (!req->disable_esi && req->resp_len != 0 &&
if (!req->disable_esi &&
ObjHasAttr(req->wrk, req->objcore, OA_ESIDATA))
VSB_cat(vsb, " esi");
......
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