[sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for db queries

2024-02-09 Thread Henning Westerholt via sr-dev
) - Development Mailing List ; Richard Chan Subject: [sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for db queries Hi Daniel / Henning, I would like to propose a global config to restore the non-threaded default: enable_tls = no|yes #(EXISTING) boolean enable_tls_threads = 0 | 1

[sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for db queries

2024-02-06 Thread Daniel-Constantin Mierla via sr-dev
Hello Richard, I added the global parameter tls_threads_mode, I consider to reflect better the purpose than the proposed enable_tls_threads. In the code it is the global variable ksr_tls_threads_mode which is exposed via core/globals.h -- you can see commit:   -

[sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for db queries

2024-02-06 Thread Richard Chan via sr-dev
; > -Original Message- > > From: Daniel-Constantin Mierla via sr-dev > > Sent: Dienstag, 6. Februar 2024 08:40 > > To: Kamailio (SER) - Development Mailing List > > > Cc: Daniel-Constantin Mierla > > Subject: [sr-dev] Re: git:master:ba921b21: core/rth

[sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for db queries

2024-02-06 Thread Richard Chan via sr-dev
Hi Daniel / Henning, I would like to propose a global config to restore the non-threaded default: enable_tls = no|yes #(EXISTING) boolean enable_tls_threads = 0 | 1 | 2 #(NEW) int 0: disable thread-wrappers (restores kamailio behaviour) - default when enable_tls = no 1: thread-wrapper only

[sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for db queries

2024-02-05 Thread Henning Westerholt via sr-dev
> Sent: Dienstag, 6. Februar 2024 08:40 > To: Kamailio (SER) - Development Mailing List > Cc: Daniel-Constantin Mierla > Subject: [sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for > db queries > > Hello, > > by latest commits, I notice that m

[sr-dev] Re: git:master:ba921b21: core/rthread.h: add prototype for db queries

2024-02-05 Thread Daniel-Constantin Mierla via sr-dev
Hello, by latest commits, I notice that more functions need to be executed in another thread when having to deal libssl3. I wonder if it is not an alternative to run only the tls module functions in other threads? If not, maybe we can introduce a global parameter (or per module) that makes this