I of course also appreciate the work @space88man put here into that. Maybe I am wrong, but right now the db_* modules in stable branches are not using the pthread approach. My question was about if its really necessary to apply this pthread logic to the DB modules. If the db_* modules are not using TLS, I would expect no problems, or I am wrong?
When troubleshooting #3727 the behaviour of
the MySQL and MariaDB ODBC connectors is that they will initialise libssl/libcrypto even if not using TLS subsequently. However this will cascading effects on tls.so and other modules that use TLS since the thread-locals will be init'ed in process_no = 0.

I.e. the database modules, while not using SSL themselves, can contaminate the thread-locals of main process and the workers will be affected.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3740/c1921459905@github.com>