[SR-Users] t_branch_timeout()

Alex Balashov abalashov at evaristesys.com
Wed Nov 14 15:12:36 CET 2012


I am using the latest pull of branch 3.3, and t_branch_timeout() doesn't 
work if the previous branch resulted in a reply (i.e. a negative final 
reply).

That is to say, t_branch_timeout() == FALSE on a genuine timeout, as 
long as the preceding branch provided a result (such as 404).

t_branch_timeout() == TRUE if this is a timeout, on the first branch.

In other words, it appears that if t_any_replied() == TRUE, then 
t_branch_timeout() == FALSE, even for this branch, and even if the 
branch really did time out (no response at all from destination).

That's not how the documentation says it should behave.  Am I doing 
something wrong?  If so, how do I find out if _this particular_ branch 
timed out, from the failure_route[]?

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list