http: don't call HTPHandleWarning before HTPHandleError as the latter handles warnings and errors.

pull/572/merge
Victor Julien 12 years ago
parent 129b6a65ca
commit 5d10bafdba

@ -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 */

Loading…
Cancel
Save