[sr-dev] Distinguish between local 408 generated after "fr_inv_timer" and "fr_timer"

Juha Heinanen jh at tutpro.com
Thu Mar 25 19:06:58 CET 2010


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?

-- juha



More information about the sr-dev mailing list