From: Victor Julien Date: Tue, 1 Oct 2013 10:13:38 +0000 (+0200) Subject: http: don't call HTPHandleWarning before HTPHandleError as the latter handles warning... X-Git-Tag: suricata-2.0beta2~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d10bafdbaa405a4d9c390ef814e625706d4c5b1;p=thirdparty%2Fsuricata.git http: don't call HTPHandleWarning before HTPHandleError as the latter handles warnings and errors. --- 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 */