Thank you for the detailed analysis and also the POC. I remember from a custom
module that I maintained for some year that using threads in Kamailio can bring
some challenges due to its multi-process architectures. So its probably need to
be discussed more thoroughly. The other option you mentio
> ...just don't do the TLS initialization in rank 0, right? If we need to touch
> all openssl using modules anyway, maybe this is an easier and less intrusive
> way?
One solution is to have each module declare a `mod_init_openssl()`; then have
a helper function to run `mod_init_openssl` in a t
Before: -1 yielded null and -2 the last element of a header