http: remove BUG_ON(1) statement

Remove BUG_ON(1) statement that was a leftover from debugging.

Bug #1189
Bug #1212
pull/996/merge
Victor Julien 12 years ago
parent 13448aca1c
commit eff85aba5e

@ -781,11 +781,11 @@ static int HTPHandleResponseData(Flow *f, void *htp_state,
HtpState *hstate = (HtpState *)htp_state; HtpState *hstate = (HtpState *)htp_state;
hstate->f = f; hstate->f = f;
if (hstate->connp == NULL) { 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, /* till we have the new libhtp changes that allow response first,
* let's take response in first. */ * let's take response in first. */
BUG_ON(1); //BUG_ON(1);
//SCReturnInt(-1); SCReturnInt(-1);
} }
/* Unset the body inspection (the callback should /* Unset the body inspection (the callback should

Loading…
Cancel
Save