aboutsummaryrefslogtreecommitdiff
path: root/docs/nng_ws.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nng_ws.adoc')
-rw-r--r--docs/nng_ws.adoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/nng_ws.adoc b/docs/nng_ws.adoc
index a7933796..ebab433c 100644
--- a/docs/nng_ws.adoc
+++ b/docs/nng_ws.adoc
@@ -204,7 +204,8 @@ used. It can take an integer with value `NNG_TLS_AUTH_MODE_NONE`,
This is a read-only option which returns a boolean value (integer 0 or 1).
It will true (1) if the remote peer has been properly verified using TLS
-authentication, or false (0) otherwise.
+authentication, or false (0) otherwise. This option may return incorrect
+results if peer authentication is disabled with `NNG_TLS_AUTH_MODE_NONE`.
// We should also look at a hook mechanism for listeners. Probably this could
// look like NNG_OPT_WS_LISTEN_HOOK_FUNC which would take a function pointer