if (opts.alproto == ALPROTO_HTTP && opts.streaming) {
om->StreamingLogFunc = LuaStreamingLogger;
om->alproto = ALPROTO_HTTP;
+ AppLayerHtpEnableRequestBodyCallback();
+ AppLayerHtpEnableResponseBodyCallback();
} else if (opts.alproto == ALPROTO_HTTP) {
om->TxLogFunc = LuaTxLogger;
om->alproto = ALPROTO_HTTP;
+ AppLayerParserRegisterLogger(IPPROTO_TCP, ALPROTO_HTTP);
} else if (opts.packet && opts.alerts) {
om->PacketLogFunc = LuaPacketLoggerAlerts;
om->PacketConditionFunc = LuaPacketConditionAlerts;
om->PacketConditionFunc = LuaPacketCondition;
} else if (opts.file) {
om->FileLogFunc = LuaFileLogger;
+ AppLayerHtpNeedFileInspection();
} else if (opts.streaming && opts.tcp_data) {
om->StreamingLogFunc = LuaStreamingLogger;
} else if (opts.flow) {