The HTTP module of Eve didn't register itself with the app-layer
for HTTP. This meant that if no other HTTP logger was active, the
HTTP logging in Eve wouldn't work.
This patch makes the HTTP Eve module register itself correctly.
Bug #1133.
output_ctx->data = http_ctx;
output_ctx->DeInit = NULL;
+ /* enable the logger for the app layer */
+ AppLayerParserRegisterLogger(IPPROTO_TCP, ALPROTO_HTTP);
+
return output_ctx;
}
output_ctx->data = http_ctx;
output_ctx->DeInit = NULL;
+ /* enable the logger for the app layer */
+ AppLayerParserRegisterLogger(IPPROTO_TCP, ALPROTO_HTTP);
+
return output_ctx;
}