[OpenSIPS-Devel] [OpenSIPS/opensips] 5fe4ae: rest_client: initialize cURL library in mod_init()
Răzvan Crainea
noreply at github.com
Fri Nov 22 04:57:50 EST 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: 5fe4ae963ece889b053257041ec1682a89f50e12
https://github.com/OpenSIPS/opensips/commit/5fe4ae963ece889b053257041ec1682a89f50e12
Author: Razvan Crainea <razvan at opensips.org>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M modules/rest_client/rest_client.c
Log Message:
-----------
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.
Close #1771
(cherry picked from commit 4286bb57f671afd0002fcb5c345da55946f647bd)
More information about the Devel
mailing list