mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-15 03:56:56 -04:00
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.
This commit is contained in:
parent
c64e242b1c
commit
7bfa568e27
1 changed files with 0 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue