Hello Kamailio community,

After the January refactoring of OpenSSL integration, configurations that initialise libssl in rank 0 (thread #1) are likely to trigger errors more aggressively. This type of configuration has all along been broken due to OpenSSL use of thread-local variables.

The first "victim" is https://github.com/kamailio/kamailio/issues/3727 — the configuration has dispatcher + db_unixodbc (+ some driver) — this configuration initialises libssl in rank 0(thread #1).

I have a couple of PRs in the queue for db_unixodbc, db_mysql (PostgreSQL may need similar attention).

master and 5.7 branches are affected

Regards
Richard