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

Camille Oudot notifications at github.com
Tue Aug 30 11:44:47 CEST 2016


Hi,
we could reproduce the issue. When using instructions as

    xlog("$http_hdr(Content-Type)");

the PV's internal name is parsed at runtime, and the PV API has been initialized already. When using

     $var(ct) = $http_hdr(Content-Type)

it's parsed at start time, before the API was initialized. I sent a patch that does the init sooner, and should fix the issue

-- 
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#issuecomment-243388344
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160830/7945e20b/attachment.html>


More information about the sr-dev mailing list