From 99778897f483d6882d5104123e27e95eaac26837 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 17 Jan 2018 10:04:23 -0800 Subject: fixes #209 NNG_OPT_TLS_VERIFIED is busted fixes #210 Want NNG_OPT_TLS_* options for TLS transport fixes #212 Eliminate a_endpt member of aio --- docs/nng_ws.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/nng_ws.adoc') 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 -- cgit v1.2.3-70-g09d2