On Mar 25, 2010 at 20:06, Juha Heinanen <jh(a)tutpro.com> wrote:
Andrei Pelinescu-Onciul writes:
The
problem is that such code also runs when no final response at all
is received from gateway-1 in "fr_inv_timer" (let's say 150 seconds).
This is, 408 is locallly generated even if the proxy has received
provisional responses for such transaction.
Try t_any_replied()
andrei,
description of the function has:
Returns true if at least one of the current transactions branches did
receive some reply in the past.
in serial forking to gws, i reset my "gw alive" flag before each
t_relay() call. does the above mean that if gw 1 has replied something,
then t_any_replied() will be true also for gw 2 even if no reply comes
back from it?
t_any_replied() returns true if a reply was received on any branch, so
yes it should return true in your example.
Andrei