Module: kamailio
Branch: 5.7
Commit: caa2412507586329b7b97685203fd8bd54cd2691
URL:
https://github.com/kamailio/kamailio/commit/caa2412507586329b7b97685203fd8b…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-03-23T21:09:14+08:00
etc/kamailio.cfg: document tls_threads_mode = 2 to use atfork handler
(cherry picked from commit 5b4926b04ba0fcd8f65f5709789abd83181a381a)
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/caa2412507586329b7b97685203fd8b…
Patch:
https://github.com/kamailio/kamailio/commit/caa2412507586329b7b97685203fd8b…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index a95a652b935..bf456f396fa 100755
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -224,8 +224,9 @@ tls_max_connections=2048
/* For OpenSSL 3 integration
* functions calling libssl3 can be invoked in a transient thread
* 0: disable threaded calls
- * 1: use threads for process#0 only
- * 2: use threads for all processes */
+ * 1: use thread executors for process#0 only
+ * 2: no thread executors, but use atfork handler to reset thread-locals to NULL
+ * 3: use thread executors for all processes */
tls_threads_mode=1
#!endif