[OpenSIPS-Devel] [OpenSIPS/opensips] aa89b8: rest_client: initialize cURL library in mod_init()
Răzvan Crainea
noreply at github.com
Thu Nov 21 04:08:42 EST 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: aa89b8764aa6858d64f63b419bfed7ff00a97ae8
https://github.com/OpenSIPS/opensips/commit/aa89b8764aa6858d64f63b419bfed7ff00a97ae8
Author: Razvan Crainea <razvan at opensips.org>
Date: 2019-11-21 (Thu, 21 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
More information about the Devel
mailing list