BUG/MAJOR: http: fix typo in http_apply_redirect_rule
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 10 Mar 2017 12:52:30 +0000 (13:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Mar 2017 10:21:18 +0000 (11:21 +0100)
commit014e39c0b6ec5abb3fc4dabf4e80bb758b3548dd
treeb943e65431588039dd88222258bb6bac2c0c47b9
parent9490cedb4eee0d3c72d4cb6eb57520beabaabe83
BUG/MAJOR: http: fix typo in http_apply_redirect_rule

Because of this typo, AN_RES_FLT_END was never called when a redirect rule is
applied on a keep-alive connection. In almost all cases, this bug has no
effect. But, it leads to a memory leak if a redirect is done on a http-response
rule when the HTTP compression is enabled.

This patch should be backported in 1.7.
src/proto_http.c