Remove BUG_ON(1) statement that was a leftover from debugging.
Bug #1189
Bug #1212
HtpState *hstate = (HtpState *)htp_state;
hstate->f = f;
if (hstate->connp == NULL) {
- SCLogError(SC_ERR_ALPARSER, "HTP state has no connp");
+ SCLogDebug("HTP state has no connp");
/* till we have the new libhtp changes that allow response first,
* let's take response in first. */
- BUG_ON(1);
- //SCReturnInt(-1);
+ //BUG_ON(1);
+ SCReturnInt(-1);
}
/* Unset the body inspection (the callback should