diff --git a/src/app-layer-frames.c b/src/app-layer-frames.c index bc97b2d7de..cadbfafafc 100644 --- a/src/app-layer-frames.c +++ b/src/app-layer-frames.c @@ -820,8 +820,7 @@ void FramesPrune(Flow *f, Packet *p) frames = &frames_container->toclient; } - const bool eof = ssn->state == TCP_CLOSED || PKT_IS_PSEUDOPKT(p) || - (ssn->flags & STREAMTCP_FLAG_APP_LAYER_DISABLED); + const bool eof = ssn->state == TCP_CLOSED || PKT_IS_PSEUDOPKT(p); SCLogDebug("eof %s", eof ? "TRUE" : "false"); FramePrune(frames, stream, eof); }