diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index 194b57971e..125ce3e1e1 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -781,11 +781,11 @@ static int HTPHandleResponseData(Flow *f, void *htp_state, 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