mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 04:31:49 +02:00
MINOR: http-ana: Do a defrag on unaligned HTX message when waiting for payload
When we are waiting for the request or response payload, it is usually because the payload will be analyzed in a way or another. So, perform a defrag if necessary. This should ease payload analyzis.
This commit is contained in:
parent
4f27a72d19
commit
f559c202fb
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user