v3.0.x: rlm_rest and redundant load-balance

Geaaru geaaru at gmail.com
Fri Dec 13 18:05:52 CET 2019

i'm trying to use rlm_rest module under redundant load-balance section
like this:         accounting {
		update control {			&REST-HTTP-
Header = "X-Header: XXXX"		}
				redundant-load-balance {		
			rest1					rest2	
			}         }
But doesn't work as expected because if the first node (rest1) failed
the second REST request is sent without REST-HTTP-HEADER defined (in
this example without X-Header). If rest1  is up&running HTTP request
contains X-Header correctly.
I think that the problem is this:
is there a reason because there attribute is removed instead of simply
to use it? So, fr_cursor_current instead of fr_cursor_remove?
Could it be correct to leave to the user the clean of this attribute?

-- geaaru

More information about the Freeradius-Devel mailing list