<p dir="ltr">Hey community,</p>
<p dir="ltr">I'm trying to understand t_relay () when a forward times out.</p>
<p dir="ltr">This is an abbreviated version of what i have:</p>
<p dir="ltr">Request_route {<br>
 ...<br>
 Route(do1)<br>
}</p>
<p dir="ltr">Route [do1]  {<br>
 ...<br>
 T_on_reply (1reply)<br>
 T_on_failure (1fail)<br>
 T_relay ()<br>
}</p>
<p dir="ltr">Reply_route[1reply] {<br>
 ...<br>
 If (t_check_status (302)) {<br>
  Route (do2)<br>
 }<br>
}</p>
<p dir="ltr">Failure_route [1fail] {<br>
 Xlog (dafail1)<br>
}</p>
<p dir="ltr">Route [do2]{<br>
 ...<br>
 T_on_reply (2reply)<br>
 T_on_failure (2fail)<br>
 T_relay ()<br>
}</p>
<p dir="ltr">Reply_route [2reply]{<br>
 Xlog (twerked)<br>
}</p>
<p dir="ltr">Failure_route [2fail]{<br>
 Xlog (failured)<br>
}</p>
<p dir="ltr">The case im currently interested in is when the first relay (do1) returns a 302 and then the second (do2) times out. </p>
<p dir="ltr">What happens on the second when it times out, it hits the 1fail failure_route. This messes with my logic as i would've expected (and want to find out how to make it) hit the 2nd failure_route.</p>
<p dir="ltr">I also noticed that if i loop and try the do2 again after the first failure it will then hit the 2fail route.</p>
<p dir="ltr">Any clarification on this subject would be greatly appreciated,</p>
<p dir="ltr">Ryan</p>