Alex Hermann writes:
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.
after you have called t_load_contacts(), you should call t_next_contacts(), which does what i explained earlier. after that ruri contains a contact with highest q value. calling t_load_contacts() alone does not make sense.
-- juha