On Tuesday 09 August 2011, IƱaki Baz Castillo wrote:
The behaviour is unexpected. Imagine you do lookup (which fetchs 2 contacts) and after that, still in route block, do setflag(1). Such flag is set in branch_route for both generated branches. Why setting the $rU in same circumstances should behave different?
Flags are related to the whole transaction, so being able to see them on all branches is expected. Use branch_flags if you want to set them per branch.
$rU is related to the 'main' branch in request_route. There is no way to set the request uri for all branches in a transaction.