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:
Christopher Faulet 2019-07-15 12:05:35 +02:00
parent 75b4cd967d
commit 00618aadf9

View File

@ -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;