From: Christopher Faulet Date: Fri, 12 Jun 2026 09:20:28 +0000 (+0200) Subject: BUG/MINOR: http-ana: Remove a debugging memset on redirect X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=7bfa568e27173ecdcd9b95e2e225df3185863f1b;p=thirdparty%2Fhaproxy.git BUG/MINOR: http-ana: Remove a debugging memset on redirect A memset used for debug was left when "keep-query" option was added. Let's remove it. This bug should be harmless but it consumes extra CPU for nothing. This patch should be backported as far as 3.2. --- diff --git a/src/http_ana.c b/src/http_ana.c index d2c2d9c1b..d2d270fa8 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -2517,7 +2517,6 @@ int http_apply_redirect_rule(struct redirect_rule *rule, struct stream *s, struc } case REDIRECT_TYPE_LOCATION: default: - memset(chunk->area, 0x50, chunk->size); if (rule->rdr_str) { /* this is an old "redirect" rule */ /* add location */ if (!chunk_memcat(chunk, rule->rdr_str, rule->rdr_len))