v3.0.x: rlm_rest and redundant load-balance
    Alan DeKok 
    aland at deployingradius.com
       
    Fri Dec 13 19:56:58 CET 2019
    
    
  
> On Dec 13, 2019, at 1:38 PM, Geaaru <geaaru at 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.
    
    
More information about the Freeradius-Devel
mailing list