<div dir="ltr">Hi Daniel,<div>you are absolutely right and that part of code is for sure wrong. Those lines have been there since the beginning and for sure due to my lack of understanding of transactions's internals and avps (don't remember why sincerely).</div><div>For the records, I've been using mixed suspended/not suspended from the beginning but I've always used separate return routes for suspended and not suspended queries. That could explain why I never had it.<br></div><div>Thanks for looking into it</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 18, 2020 at 3:13 AM Alex Balashov <<a href="mailto:notifications@github.com">notifications@github.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p></p>
<p><a href="https://github.com/miconda" target="_blank">@miconda</a> To answer a few other questions:</p>
<ol>
<li>
<p>I always set <code>$http_req(suspend) = 1</code> on async HTTP client transactions;</p>
</li>
<li>
<p>There are no <code>event_routes</code> anywhere;</p>
</li>
<li>
<p>The flow is complex, though. After this async HTTP query, there is another <em>synchronous</em> HTTP query using the normal <code>http_client</code> module + <code>mqueue</code> + <code>rtimer</code> -- it was implemented this way because of some problems with transaction-persistent variables (ironically) when suspending the same TM transaction twice, and a desire for more granular control over the request pipelines given the high and somewhat unpredictable latency of what's being queried.</p>
</li>
</ol>
<p>Nevertheless, all this takes place long after the crash point.</p>

<p style="font-size:small;color:rgb(102,102,102)">—<br>You are receiving this because you are subscribed to this thread.<br>Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2286#issuecomment-615530081" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJSBJ6RUK2BJR3UONLRND5DNANCNFSM4MIVPAIQ" target="_blank">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKNY5RA4PRH46S5GKDRND5DNA5CNFSM4MIVPAI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESYD4YI.gif" height="1" width="1" alt=""></p>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div>