[sr-dev] git:master: modules/tm: new implementation of load_contacts()/next_contacts ()

Alex Hermann alex at speakup.nl
Fri Aug 5 16:52:14 CEST 2011


On Friday 05 August 2011, Juha Heinanen wrote:
> Alex Hermann writes:
> > I went over tm documentation again, but couldn't find any setting or
> > function to reset/ignore ruri.
> > 
> > Maybe there is some internal state keeping track of the ruri changes. In
> > that case, i'll adjust the patch to use ruri only depending on that
> > state. Somebody will have to tell me where that state is kept though.
> 
> every time t_next_contacts() is called, it rewrites request uri with
> first remaining contact and if there are other contacts with the same q
> value, it appends then as branches.

The issue is not with t_next_contacts, but with t_load_contacts. It is not 
discarding the ruri of the request that made the request end up in 
failure_route. Instead it is added again to the dset, where it obviously 
doesn't belong.

-- 
Greetings,

Alex Hermann




More information about the sr-dev mailing list