]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
stream: cleanup 961/head
authorVictor Julien <victor@inliniac.net>
Thu, 24 Apr 2014 15:31:08 +0000 (17:31 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 2 May 2014 09:55:12 +0000 (11:55 +0200)
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

index 75bfc9f477314807cde304fc97995a484f27f134..8097603989910d863ab7c82b4f3d7954c5eaf0a1 100644 (file)
@@ -859,7 +859,6 @@ int AppLayerParserParse(AppLayerParserThreadCtx *alp_tctx, Flow *f, AppProto alp
             if (ssn != NULL) {
                 StreamTcpSetDisableRawReassemblyFlag(ssn, 0);
                 StreamTcpSetDisableRawReassemblyFlag(ssn, 1);
-                AppLayerParserTriggerRawStreamReassembly(f);
             }
         }
     }