From fd56acd4b3b56c54b97d3715dbeae620a5b4b8a1 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 24 Apr 2014 17:31:08 +0200 Subject: [PATCH] stream: cleanup StreamTcpSetDisableRawReassemblyFlag() has the same effect as AppLayerParserTriggerRawStreamReassembly in that it will force the raw reassembly to flush out asap. So it is redundant to call both. --- src/app-layer-parser.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app-layer-parser.c b/src/app-layer-parser.c index 75bfc9f477..8097603989 100644 --- a/src/app-layer-parser.c +++ b/src/app-layer-parser.c @@ -859,7 +859,6 @@ int AppLayerParserParse(AppLayerParserThreadCtx *alp_tctx, Flow *f, AppProto alp if (ssn != NULL) { StreamTcpSetDisableRawReassemblyFlag(ssn, 0); StreamTcpSetDisableRawReassemblyFlag(ssn, 1); - AppLayerParserTriggerRawStreamReassembly(f); } } }