diff --git a/src/tcp_rules.c b/src/tcp_rules.c index 703bd4fbb..e09cc3c10 100644 --- a/src/tcp_rules.c +++ b/src/tcp_rules.c @@ -260,8 +260,8 @@ int tcp_inspect_response(struct stream *s, struct channel *rep, int an_bit) * - if one rule returns OK, then return OK * - if one rule returns KO, then return KO */ - - if (rep->flags & CF_SHUTR || tick_is_expired(rep->analyse_exp, now_ms)) + if ((rep->flags & CF_SHUTR) || channel_full(rep, global.tune.maxrewrite) || + !s->be->tcp_rep.inspect_delay || tick_is_expired(rep->analyse_exp, now_ms)) partial = SMP_OPT_FINAL; else partial = 0;