From 5d10bafdbaa405a4d9c390ef814e625706d4c5b1 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 1 Oct 2013 12:13:38 +0200 Subject: [PATCH] http: don't call HTPHandleWarning before HTPHandleError as the latter handles warnings and errors. --- src/app-layer-htp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index a1590b3a22..11ed4b3bb9 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -673,7 +673,6 @@ static int HTPHandleRequestData(Flow *f, void *htp_state, hstate->flags &= ~HTP_FLAG_STATE_DATA; hstate->flags &= ~HTP_FLAG_NEW_BODY_SET; } - HTPHandleWarning(hstate); HTPHandleError(hstate); /* if the TCP connection is closed, then close the HTTP connection */