From 7b4a0a996aa6ed3e8fbbd9fd0e28811725707605 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 12 Jan 2020 16:11:19 -0800 Subject: 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. --- docs/man/nng_options.5.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') 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. +// Copyright 2020 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // Copyright 2019 Devolutions // @@ -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`)):: -- cgit v1.2.3-70-g09d2