[SR-Users] reply when drop() in branch route
Juha Heinanen
jh at tutpro.com
Thu Apr 15 07:58:01 CEST 2010
Juha Heinanen writes:
> the problem is that after drop() in branch route, failure route is not
> entered every time. it seems to be totally unpredictable, if failure
> route is entered or not entered, when i run the exactly same test! i
> verified this by placing a log statement in the beginning of failure
> route.
i added a log statement also after failing t_relay() in route block:
if (!t_relay()) {
xlog("t_relay failed\n");
and it turned out that failure route is not called if t_relay() fails.
the mystery is, why some times after calling drop() in branch route
t_relay() fails and failure route is not called and some other times
t_relay() succeeds and failure route is called?
-- juha
More information about the sr-users
mailing list