[sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

AlainDubois78 notifications at github.com
Mon Aug 29 14:39:12 CEST 2016


While using httpa_sync_client, I'm trying to retrieve the Content-Type of the body I got in a 200OK after an HTTP get using $var(my_content_type) =$ http_hdr(Content-Type);
Then When I launch Kamailio, I get a seg fault at the configuration file validation step because in http_async_client_mod.c the line  'return pv_api.parse_hdr_name(sp, in)' is trying to use parse_hdr_name before it being initialized.
I noticed that when I remove my previous line, the initialization is done but after the configuration file validation.
Any idea if I'm doing something wrong?


-- 
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/760
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160829/c91d2e93/attachment.html>


More information about the sr-dev mailing list