diff --git a/src/filters.c b/src/filters.c index a1b36ba44..8c3485e10 100644 --- a/src/filters.c +++ b/src/filters.c @@ -802,10 +802,11 @@ flt_end_analyze(struct stream *s, struct channel *chn, unsigned int an_bit) if (s->txn && (s->txn->flags & TX_WAIT_NEXT_RQ) && !channel_input_closed(&s->req)) { s->req.analysers = strm_li(s) ? strm_li(s)->analysers : 0; s->res.analysers = 0; + + /* Remove backend filters from the list */ + flt_stream_release(s, 1); } - /* Remove backend filters from the list */ - flt_stream_release(s, 1); } else if (ret) { /* Analyzer ends only for one channel. So wake up the stream to