[SR-Users] Does http_client module block the execution of the kamailio thread?

Alejandro Recarey alexrecarey at gmail.com
Thu Jan 21 17:39:01 CET 2021


Hi all,

Sorry if this question is answered somewhere else but I'm not finding the
answer in the documentation.

Does calling http_client_query() in the http_client module block kamailio's
thread until the http request returns? I'm asking because of scalability
issues. My plan is to use it to get some information from my system, and so
it will be called for every INVITE request, and I'm afraid of the
performance considerations.

I see there is a http_async_client module that should get around this but
of course, it seems harder to use.

Thanks for your help,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210121/8c6db4f1/attachment.htm>


More information about the sr-users mailing list