Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2019-10-25 Thread Daniel-Constantin Mierla
Closed #1407. -- 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/pull/1407#event-2743896810___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2019-10-25 Thread Daniel-Constantin Mierla
I am closing it, long time no activity and no similar reports. Reopen if still needs to be addressed. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-12-12 Thread Daniel-Constantin Mierla
@grumvalski , @giavac , @dragos-oancea - can this be closed or there is still something here to work on? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-09-27 Thread Giacomo Vacca
I've been able to reproduce the crash that lead to Dragos analysis and this PR, both in debian 8 and in CentOS 7. But I tracked it down to a different cause, which is `libcurl` crashing when using the threaded resolver for DNS lookups. This happens even with latest `libcurl`. The work around

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-09-27 Thread Henning Westerholt
@giavac - any updates on this? Were you able to reproduce this with a newer 5.1.x version? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-07-09 Thread Daniel-Constantin Mierla
Pinging again to see if anything else was left to be addressed here. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-04-16 Thread Giacomo Vacca
FYI this was kamailio `5.1.0` on debian 8, with stock libcurl (`7.38`). I'm trying to reproduce the issue with `5.1.2` and both libcurl `7.38` and `7.59` (still on debian 8) (including with restarts under load), and I will update here with any relevant information. -- You are receiving this

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-04-14 Thread Daniel-Constantin Mierla
@dragos-oancea, @grumvalski - did this one ended in some conclusion? Merging or not? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-01-24 Thread Dragos Oancea
is it possible is being set to NULL before headers.t being freed in some case ? I noticed there are checks inside set_query_params() for other already allocated memory buffers . It's crashing randomly at startup, in this scenario, I dont have backtraces anymore. -- You are receiving this

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-01-23 Thread Federico Cabiddu
set_quey_params is called in mod_init by init_query_params (https://github.com/kamailio/kamailio/blob/master/src/modules/http_async_client/async_http.c#L631), so whenever ah_set_req is called the query_params struct should already have been initialized. headers.t is a double pointer, the

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-01-23 Thread Dragos Oancea
@grumvalski , set_query_params() is called in 3 places, for us kamailio is crashing at startup, and I suspect header_list_add(_params.headers, >rs); is sometimes called before set_query_params(_params) in ah_set_req() , thus leading to a kamailio crash at startup, under traffic. -- You are