mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 00:09:14 +02:00
MINOR: proto_htx: Rely on the HTX function to apply a redirect rules
There is no reason to use the legacy HTTP version here, which falls back on the HTX version in this case.
This commit is contained in:
@@ -3412,7 +3412,7 @@ resume_execution:
|
||||
|
||||
case ACT_HTTP_REDIR:
|
||||
rule_ret = HTTP_RULE_RES_DONE;
|
||||
if (!http_apply_redirect_rule(rule->arg.redir, s, txn))
|
||||
if (!htx_apply_redirect_rule(rule->arg.redir, s, txn))
|
||||
rule_ret = HTTP_RULE_RES_BADREQ;
|
||||
goto end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user