]> git.kaiwu.me - haproxy.git/commit
REGTEST: add an extra testcase for ifnone-forwardfor
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 20 Jun 2023 13:02:11 +0000 (15:02 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Jun 2023 13:33:01 +0000 (15:33 +0200)
commitb9739808535d417ad827e6ebd3d664562f1d6b03
tree15b78c4c702a336cc623cacd6d100cc0050767f9
parentd35cee972b6e2183f44c79462b1c2fcf22ed7987
REGTEST: add an extra testcase for ifnone-forwardfor

In GH #2187 it was mentioned that the ifnone-forwardfor regtest
did not cover the case where forwardfor ifnone is explicitly set in
the frontend but forwardfor option is not used in the backend.

Expected behavior in this case is that the frontend takes the precedence
because the backend did not specify the option.

Adding this missing case to prevent regressions in the future.
reg-tests/http-rules/ifnone-forwardfor.vtc