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

2021-03-22 Thread Björn Kaxe
@miconda I don't think it is needed to modify any of the flags except the one controlling multiplexing. @grumvalski I had a quick look at the http_client module, and don't think it is affected by this issue. It uses curl_easy_perform(), which is a blocking call. -- You are receiving this becau

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

2021-03-22 Thread Björn Kaxe
@grumvalski I think the fix in your branch is good enough! It is the multiplexing that is the problem, not http2. -- 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#issuecommen

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

2021-03-22 Thread Björn Kaxe
We have now tested https://github.com/kamailio/kamailio/tree/grumvalski/disable_http2_multiplexing and it seems to solve our problems! @miconda I would ague that this is a better solution than disabling TLS ALPN. Now we can continue use http2, which is a more efficient protocol than http 1.1,

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

2021-03-20 Thread Björn Kaxe
I nicer solution would be to fully implement support for http2! -- 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-803385884__

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

2021-03-19 Thread Björn Kaxe
I can confirm that patching http_async_client module by adding `curl_easy_setopt(cell->easy, CURLOPT_SSL_ENABLE_ALPN, 0L);` solved our problems. Now we don't see any spinning Kamailio processes anymore. -- You are receiving this because you are subscribed to this thread. Reply to this email dir

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

2021-03-19 Thread Björn Kaxe
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

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

2021-03-18 Thread Björn Kaxe
We see the same issue on both 5.3 and 5.4: ``` version: kamailio 5.3.8 (x86_64/linux) flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE