[OpenSIPS-Devel] [OpenSIPS/opensips] 5fe4ae: rest_client: initialize cURL library in mod_init()
noreply at github.com
Fri Nov 22 04:57:50 EST 2019
Author: Razvan Crainea <razvan at opensips.org>
Date: 2019-11-22 (Fri, 22 Nov 2019)
rest_client: initialize cURL library in mod_init()
This fix prevents crashes generated by rest_client trying to initialize
the SSL library from multiple processes in parallel, without any locking
mechanism on the internal shared objects.
Many thanks to Clif Jones and Ben Newlin for reporting and providing
plentora of logs and configurations that replicate this issue. Without
their help I couldn't have figured this out.
(cherry picked from commit 4286bb57f671afd0002fcb5c345da55946f647bd)
More information about the Devel