From 5737fc9518aa2976ececdbd46e63bfdaf86f0d92 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 3 Feb 2026 07:59:06 +0100 Subject: [PATCH] MEDIUM: http-ana: Use a large buffer if necessary when waiting for body Thanks to previous patches, it is now possible to allocate a large buffer to store the message payload in the context of the "wait-for-body" action. To do so, "use-large-buffer" option must be set. It means now it is no longer necessary to increase the regular buffer size to be able to get message payloads of some requests or responses. --- doc/configuration.txt | 8 ++++++-- include/haproxy/http_ana.h | 2 +- src/http_act.c | 25 +++++++++++++++++++++++-- src/http_ana.c | 32 +++++++++++++++++++++++++------- 4 files changed, 55 insertions(+), 12 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index a45a0d02b..3cb38a50b 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -16603,7 +16603,7 @@ use-service http-request use-service prometheus-exporter if { path /metrics } -wait-for-body time