app-layer-htp: Condition depending on enabled IPS mode never true
When setting up HTP app layer in function
HTPConfigParseParameters(), the function checks for enabled IPS mode. However, the function is called too early in the configuration process and IPS mode is not evaluated at that time.
cfg_prec->http_body_inline then is always 0 when it should be equal to 1.
It is located in the file
app-layer-htp.c at the line ~2864.