On Dec 13, 2019, at 1:38 PM, Geaaru <geaaru@gmail.com> wrote:
But how you can do this inside redundant-load-balance block? It seems out of scope to reset REST-HTTP-HEADER until all available modules (inside the redundant-load-balance) are executed.I know that single module doesn't know that is inside of redundant-load-balance section but it seems wrong from my side do this because this means something like this: redundant-load-balance { rest1 update control { &REST-HTTP-Header = "X- Header: XXX" } rest2 } that is wrong as syntax.
You could do: redundant-load-balance { group { add header rest1 } group { add header rest2 } }
I will try to add an option for this, probably is the more easy way to use it.
Yes. Or, we could add an option which would remove the header *only* if the module succeeded. Alan DeKok.