]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http: don't call HTPHandleWarning before HTPHandleError as the latter handles warning...
authorVictor Julien <victor@inliniac.net>
Tue, 1 Oct 2013 10:13:38 +0000 (12:13 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Oct 2013 05:04:36 +0000 (07:04 +0200)
src/app-layer-htp.c

index a1590b3a22c5bf439ce72b0930730654eda39e36..11ed4b3bb91ca3d59343c7cbb5455f3e0874589a 100644 (file)
@@ -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 */