The two ACL fetches "resp_ver" and "status", if used in a request despite
the warning, would return a match of zero length. This is inappropriate,
better return a non-match to be more consistent with other ACL processing.
CHECK_HTTP_MESSAGE_FIRST();
+ if (txn->rsp.msg_state < HTTP_MSG_BODY)
+ return 0;
+
len = txn->rsp.sl.st.v_l;
ptr = txn->rsp.chn->buf->p;
CHECK_HTTP_MESSAGE_FIRST();
+ if (txn->rsp.msg_state < HTTP_MSG_BODY)
+ return 0;
+
len = txn->rsp.sl.st.c_l;
ptr = txn->rsp.chn->buf->p + txn->rsp.sl.st.c;