aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-01-12 16:11:19 -0800
committerGarrett D'Amore <garrett@damore.org>2020-01-12 23:03:06 -0800
commit7b4a0a996aa6ed3e8fbbd9fd0e28811725707605 (patch)
treec06211c9972d2b311116c8b4fee536896f38b394 /docs
parent4299a5b4edc59753a6ec857fabedadf1504c4243 (diff)
downloadnng-7b4a0a996aa6ed3e8fbbd9fd0e28811725707605.tar.gz
nng-7b4a0a996aa6ed3e8fbbd9fd0e28811725707605.tar.bz2
nng-7b4a0a996aa6ed3e8fbbd9fd0e28811725707605.zip
Add PUB/SUB test suite.
This gets near 100% coverage of the PUB/SUB protocols. The remaining uncovered bits will need to have a mock protocol that runs slower, so that we can inject both back pressure, and also so that we can inject "erroroneous" messages.
Diffstat (limited to 'docs')
-rw-r--r--docs/man/nng_options.5.adoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/man/nng_options.5.adoc b/docs/man/nng_options.5.adoc
index 278055c5..915096ec 100644
--- a/docs/man/nng_options.5.adoc
+++ b/docs/man/nng_options.5.adoc
@@ -1,6 +1,6 @@
= nng_options(5)
//
-// Copyright 2019 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
// Copyright 2019 Devolutions <info@devolutions.net>
//
@@ -145,6 +145,9 @@ The option is irrelevant for listeners.
This is the depth of the socket's receive buffer as a number of messages.
Messages received by a transport may be buffered until the application
has accepted them for delivery.
+This value must be an integer between 0 and 8192, inclusive.
+NOTE: Not all protocols support buffering received messages.
+For example xref:nng_req.7.adoc[_req_] can only deal with a single reply at a time.
[[NNG_OPT_RECVFD]]
((`NNG_OPT_RECVFD`))::