aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_tls.7.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_tls.7.adoc')
-rw-r--r--docs/man/nng_tls.7.adoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/man/nng_tls.7.adoc b/docs/man/nng_tls.7.adoc
index 43c5a913..59aa77f2 100644
--- a/docs/man/nng_tls.7.adoc
+++ b/docs/man/nng_tls.7.adoc
@@ -139,6 +139,12 @@ The value is of type `bool` and defaults to `true`.
This option is used on an endpoint to access the underlying TLS
configuration object.
The value is of type `nng_tls_config *`.
+If the value is not `NULL`, a hold is placed on the underlying
+configuration object before returning it (see
+`<<nng_tls_config_hold.3tls#,nng_tls_config_hold()>>`).
+The caller should release the object with
+`<<nng_tls_config_free.3tls#,nng_tls_config_free()>>` when it no
+longer needs the TLS configuration object.
TIP: Use this option when advanced TLS configuration is required.