<div dir="ltr">
Hello,<div><br></div><div>I'm inserting some headers after getting value
from http_async_query. If a call is relayed, I see them. But If I
t_suspend and t_continue call (before time out), I do not see added
headers. Here is flow:</div><div><br></div><div>route(START)</div><div>t_newtran();</div><div>#.. prep for query</div><div>http_async_query("url","HTTP");<br></div><div><br></div><div>route(HTTP)</div><div>#.. collect and using data from query</div><div>insert_hf("$var(key): $var(value)\r\n");</div><div>t_store();</div><div><br></div><div>if (registered("location") {</div><div> route(RELAY);</div><div>} else {</div><div> t_suspend();</div><div> exit;</div><div>}</div><div><br></div><div>route(AWAKE)</div><div>t_continue();</div><div><br></div><div>I
see that the branch index ($T_branch_idx) is 0 at start. 1 after http
query, +1 if there is forking or location. +1 after t_suspend. It looks
like t_continue uses a branch with index after t_suspend. I tried with
t_save_lumps() to carry over changes.</div><div><br></div><div>Any idea how to do this? </div>
</div>