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
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to