[ https://issues.apache.org/jira/browse/PROTON-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Daněk updated PROTON-1613: ------------------------------- Summary: Default value for Messenger::recv is -1, not 2048 (was: Default value for is -1, not 2048) > Default value for Messenger::recv is -1, not 2048 > ------------------------------------------------- > > Key: PROTON-1613 > URL: https://issues.apache.org/jira/browse/PROTON-1613 > Project: Qpid Proton > Issue Type: Bug > Components: examples > Affects Versions: 0.17.0 > Reporter: Jiri Daněk > Priority: Trivial > > {code} > diff --git a/tests/javascript/msgr-recv.js b/tests/javascript/msgr-recv.js > index 24bdcae7..f1353685 100755 > --- a/tests/javascript/msgr-recv.js > +++ b/tests/javascript/msgr-recv.js > @@ -191,7 +191,7 @@ if (typeof process === 'object' && typeof require === > 'function') { > 'Usage: msgr-recv [OPTIONS]\n' + > ' -a <addr>[,<addr>]* \tAddresses to listen on [amqp://~0.0.0.0]\n' + > ' -c # \tNumber of messages to receive before exiting [0=forever]\n' + > - ' -b # \tArgument to Messenger::recv(n) [2048]\n' + > + ' -b # \tArgument to Messenger::recv(n) [-1]\n' + > ' -w # \tSize for incoming window [0]\n' + > ' -e # \t# seconds to report statistics, 0 = end of test [0] *TBD*\n' + > ' -R \tSend reply if \'reply-to\' present\n' + > diff --git a/tests/tools/apps/c/msgr-recv.c b/tests/tools/apps/c/msgr-recv.c > index eff5820c..b87f29a8 100644 > --- a/tests/tools/apps/c/msgr-recv.c > +++ b/tests/tools/apps/c/msgr-recv.c > @@ -52,7 +52,7 @@ static void usage(int rc) > printf("Usage: msgr-recv [OPTIONS] \n" > " -a <addr>[,<addr>]* \tAddresses to listen on > [amqp://~0.0.0.0]\n" > " -c # \tNumber of messages to receive before exiting > [0=forever]\n" > - " -b # \tArgument to Messenger::recv(n) [2048]\n" > + " -b # \tArgument to Messenger::recv(n) [-1]\n" > " -w # \tSize for incoming window [0]\n" > " -t # \tInactivity timeout in seconds, -1 = no timeout [-1]\n" > " -e # \t# seconds to report statistics, 0 = end of test [0] > *TBD*\n" > diff --git a/tests/tools/apps/python/msgr-recv.py > b/tests/tools/apps/python/msgr-recv.py > index 757b19c2..52fe69c3 100755 > --- a/tests/tools/apps/python/msgr-recv.py > +++ b/tests/tools/apps/python/msgr-recv.py > @@ -34,7 +34,7 @@ usage = """ > Usage: msgr-recv [OPTIONS] > -a <addr>[,<addr>]* \tAddresses to listen on [amqp://~0.0.0.0] > -c # \tNumber of messages to receive before exiting [0=forever] > - -b # \tArgument to Messenger::recv(n) [2048] > + -b # \tArgument to Messenger::recv(n) [-1] > -w # \tSize for incoming window [0] > -t # \tInactivity timeout in seconds, -1 = no timeout [-1] > -e # \t# seconds to report statistics, 0 = end of test [0] *TBD* > {code} > There may possibly be more discrepancies, I spotted and then was able to find > only this single one. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org