Hi Daniel - great work. 

On Tue, 8 Jul 2025, 19:20 Daniel-Constantin Mierla, <miconda@gmail.com> wrote:

Hello,

some updates: during the past several days I added a new mode controlled by the new parameter tcp_main_threads. If set to 1, the tcp main process create a thread for each Kamailio process and the tls read and encode operations are done by these threads. Each Kamailio process when needs to do tcp read or encode passes the task to the corresponding tcp main thread via in memory IPC (pipes and shared memory).

Thanks Daniel!  Just to be clear - you are converting TLS function calls into RPC-style where the 'remote' actually does all the work?

The remote in this case, is a multi-threaded service that handles actual OpenSSL function calls - (IOW a TLS-offloading service). 

Regards
Richard