diff --git a/src/http_ana.c b/src/http_ana.c index 0f52ba3f1..4f6df2ea4 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -4326,6 +4326,9 @@ enum rule_result http_wait_for_msg_body(struct stream *s, struct channel *chn, end: if (ret != HTTP_RULE_RES_YIELD) chn->analyse_exp = TICK_ETERNITY; + + if (htx->flags & (HTX_FL_FRAGMENTED|HTX_FL_UNORDERED)) + htx_defrag(htx, NULL, 0); return ret; abort: