Module: kamailio
Branch: master
Commit: 72e4042bf645650ea5275a9c46230fc131441cf3
URL:
https://github.com/kamailio/kamailio/commit/72e4042bf645650ea5275a9c46230fc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-01-23T14:55:22+01:00
tls: docs for lock_mode parameter
---
Modified: src/modules/tls/doc/params.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/72e4042bf645650ea5275a9c46230fc…
Patch:
https://github.com/kamailio/kamailio/commit/72e4042bf645650ea5275a9c46230fc…
---
diff --git a/src/modules/tls/doc/params.xml b/src/modules/tls/doc/params.xml
index c1448fe761..d491a67cca 100644
--- a/src/modules/tls/doc/params.xml
+++ b/src/modules/tls/doc/params.xml
@@ -1032,6 +1032,27 @@ modparam("tls", "renegotiation", 1)
</example>
</section>
+ <section id="tls.p.lock_mode">
+ <title><varname>lock_mode</varname> (int)</title>
+ <para>
+ If set to 1, the memory management operations registered for TLS are
+ wapped within a pthread mutex lock. It can be useful with newer versions
+ of libssl and libcrypto, which have a more pthread multi-threading oriented
+ design.
+ </para>
+ <para>
+ Default value is 0.
+ </para>
+ <example>
+ <title>Set <varname>lock_mode</varname> parameter</title>
+ <programlisting>
+...
+modparam("tls", "lock_mode", 1)
+...
+ </programlisting>
+ </example>
+ </section>
+
<section id="tls.p.config">
<title><varname>config</varname> (string)</title>
<para>