瀏覽代碼

etc/kamailio.cfg: document tls_threads_mode = 2 to use atfork handler

S-P Chan 1 年之前
父節點
當前提交
5b4926b04b
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      etc/kamailio.cfg

+ 3 - 2
etc/kamailio.cfg

@@ -224,8 +224,9 @@ tls_max_connections=2048
 /* For OpenSSL 3 integration
 /* For OpenSSL 3 integration
  * functions calling libssl3 can be invoked in a transient thread
  * functions calling libssl3 can be invoked in a transient thread
  * 0: disable threaded calls
  * 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
 tls_threads_mode=1
 #!endif
 #!endif