inliniac/suricata — pull request #92 by poona (2012-09-25 15:07:41+00:00)
Title: pedro's hsbd bug.

This is pedro's hsbd bug. I have fixed it for both hsbd and hcbd.

Basically we use the tx state to update whether we have seen the entire body or not. I would have rather had the check inside the response_body_callback function but the tx state is updated after the callbacks, and hence we will have to do the check inside the detection engine function.