On Kamailio 5.3.0 (ad1905) on CentOS 7, with libcurl 7.29.0-46, an http_connect() request to an unresponsive server...

http_connect("stuff", "/url, "$var(http_res)");

.. correctly sets $var(http_res) to 28, which is an operation timeout per https://curl.haxx.se/libcurl/c/libcurl-errors.html.

However, $curlerror($var(http_res)) returns the value "No error". This is not quite as promised in https://kamailio.org/docs/modules/5.3.x/modules/http_client.html#idm480.

Thanks in advance!

-- Alex


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.