Module: kamailio
Branch: master
Commit: 9ec3770f88339426c95514bc35a3afc2c2b0def8
URL:
https://github.com/kamailio/kamailio/commit/9ec3770f88339426c95514bc35a3afc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-11-22T09:19:33+01:00
core: main - tls_threads_mode set to 2 by default
- recommended value (KSR_TLS_THREADS_MFORK) for production with latest libssl
---
Modified: src/main.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9ec3770f88339426c95514bc35a3afc…
Patch:
https://github.com/kamailio/kamailio/commit/9ec3770f88339426c95514bc35a3afc…
---
diff --git a/src/main.c b/src/main.c
index ab5943e609e..1b9e599fe5c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -343,7 +343,7 @@ int tls_disable = 0; /* tls enabled by default */
int tls_disable = 1; /* tls disabled by default */
#endif /* CORE_TLS */
/* threads execution mode for tls with libssl */
-int ksr_tls_threads_mode = KSR_TLS_THREADS_MNONE;
+int ksr_tls_threads_mode = KSR_TLS_THREADS_MFORK;
#endif /* USE_TLS */
#ifdef USE_SCTP
int sctp_children_no = 0;