{
SCEnter();
- AppProto alproto = 0;
- int flow_proto = 0;
-
memset(&alp_ctx, 0, sizeof(alp_ctx));
/* set the default tx handler if none was set explicitly */
RegisterAppLayerGetActiveTxIdFunc(AppLayerTransactionGetActiveDetectLog);
}
+ SCReturnInt(0);
+}
+
+void AppLayerParserPostStreamSetup(void)
+{
+ AppProto alproto = 0;
+ int flow_proto = 0;
+
/* lets set a default value for stream_depth */
for (flow_proto = 0; flow_proto < FLOW_PROTO_DEFAULT; flow_proto++) {
for (alproto = 0; alproto < ALPROTO_MAX; alproto++) {
stream_config.reassembly_depth;
}
}
-
- SCReturnInt(0);
}
int AppLayerParserDeSetup(void)
int AppLayerParserSetup(void);
-
+void AppLayerParserPostStreamSetup(void);
int AppLayerParserDeSetup(void);
typedef struct AppLayerParserThreadCtx_ AppLayerParserThreadCtx;
FlowInitConfig(FLOW_QUIET);
IPPairInitConfig(FLOW_QUIET);
StreamTcpInitConfig(STREAM_VERBOSE);
+ AppLayerParserPostStreamSetup();
AppLayerRegisterGlobalCounters();
}