Enable flag in http_client_body for http request body callback

remotes/origin/master-1.0.x
Anoop Saldanha 16 years ago committed by Victor Julien
parent 6817d41555
commit 2c9366b83c

@ -223,6 +223,8 @@ int DetectHttpClientBodySetup(DetectEngineCtx *de_ctx, Signature *s, char *arg)
/* flag the signature to indicate that we scan the app layer data */
s->flags |= SIG_FLAG_APPLAYER;
s->alproto = ALPROTO_HTTP;
/* enable http request body callback in the http app layer parser */
AppLayerHtpEnableRequestBodyCallback();
return 0;

Loading…
Cancel
Save