[SR-Users] Doubs about using append_branch ...

Iñaki Baz Castillo ibc at aliax.net
Mon Jul 26 13:27:04 CEST 2010


El día 26 de julio de 2010 12:48, Raúl Alexis Betancor Santana
<rabs at dimension-virtual.com> escribió:
>> To clarify: when you call t_on_branch("N") it means that *after*
>> calling t_relay() the block branch_route[N] will be executed for
>> *each* branch.
>> So the position of t_on_branch() is not important (it must be before
>> t_relay however).
>
> I know, I know ... the real problem to me is that I made lot of changes to the
> request BEFORE calling t_relay or lookup, so ... those changes (add_hf,
> flags, etc.) be applied to ALL branches when I call t_relay or lookup? ...
> only to the first branch? ... not sure ... :-(

Changes done before the branch_route block are changes shared by all
the branches that will be generated.
However in branch_route you can add/remove headers and set bflags for
each branch (by inspecting the $ru or $du).


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list