[sr-dev] [kamailio/kamailio] Core dumps possibly related to #2616 or http_async_query (#2632)

Björn Kaxe notifications at github.com
Fri Mar 19 13:43:07 CET 2021


We suspect that the issue only happens with http2. @amessina I can see that the server you connect to is also using http2. Looking at the implementation of http_async_client it doesn't seem to handle http2 properly. 
If you understood the implementation correctly these is an association between the Curl_easy and the fd, when registering in libevents. That does not work in http2, where several requests are multiplexed over the same TLS connection.

A quick fix could be to disable ALPN  `curl_easy_setopt(curl_, CURLOPT_SSL_ENABLE_ALPN, 0L);`. 


-- 
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/2632#issuecomment-802806829
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210319/7865af58/attachment.htm>


More information about the sr-dev mailing list