[sr-dev] Kill t_relay() return codes. Long life to failure_route.

Iñaki Baz Castillo ibc at aliax.net
Sat Apr 17 19:54:22 CEST 2010


2010/4/17 Juha Heinanen <jh at tutpro.com>:
> Iñaki Baz Castillo writes:
>
>  > So I wonder, shouldn't be better if we forgot the t_relay() codes and
>  > instead handle the error of the winning branch (even if it failed or
>  > it was no branch) in failure_route?
>
> inaki,
>
> this has been discussed before and then the response has been that it is
> impossible to enter failure route if transaction has not been created.

Yes, it makes sense, failure_route should not be entered if no
transaction took place (due TCP connection error, malformed message,
invalid destination).


> so there has not been any other choice that to live with this terrible
> mess.

ok :(

Thanks for your response.

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



More information about the sr-dev mailing list