From: Victor Julien Date: Thu, 24 Apr 2014 15:31:08 +0000 (+0200) Subject: stream: cleanup X-Git-Tag: suricata-2.0.1rc1~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F961%2Fhead;p=thirdparty%2Fsuricata.git 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. --- 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); } } }