From 00618aadf9be75c2eea392dffeab2ac8acfa350c Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 15 Jul 2019 12:05:35 +0200 Subject: [PATCH] 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. --- src/proto_htx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_htx.c b/src/proto_htx.c index 2fd67f79f0..b08f99969a 100644 --- a/src/proto_htx.c +++ b/src/proto_htx.c @@ -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; -- 2.39.5