[sr-dev] [kamailio/kamailio] Multiple http_async_client operations in single transaction fail (#645)
Daniel-Constantin Mierla
notifications at github.com
Mon May 30 10:58:32 CEST 2016
Looking at the code I see the T_ASYNC_SUSPENDED flag is cleared at the end of t_continue(). Possible solutions:
* clear the flag earlier
* use a static var to know that t_suspend() was executed inside the route block triggered by t_contine()
* use a counter to track the level of suspend/continue stack
I didn't have the time to dig more and see which one would work the best and balance if there are side effects. First option would be simpler, I guess, if that works, it should be the way to go.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/645#issuecomment-222446341
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160530/6ac7fe3f/attachment-0001.html>
More information about the sr-dev
mailing list