aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Markup changes, started adding type documentation.Garrett D'Amore2018-03-14
|
* Introduce nng_options, nng_setopt, nng_getopt manual pages.Garrett D'Amore2018-03-13
| | | | | | | | | | This starts a new section 5 for generic topics, and sets up some links for things like nng_duration and nng_socket types. There will some day be an nng_errors(5) page as well. Some initial work towards indexing terms for these pages is done now too. (Indexing will mostly be useful when generating book forms of this documentation.)
* fixes #284 want async demoGarrett D'Amore2018-03-12
|
* nng_sleep_aio should honor aio timeout.Garrett D'Amore2018-03-12
| | | | | | | | | | | | | | The first problem was that using nng_sleep_aio was found to reset the timeout, and this caused subsequent operations to start failing with timeouts when reusing the AIO for other operations. The second thing is that we think it would be nicer if the presence of real aio timeouts were still honored, so that if the timeout is shorter than the sleep time, then we get back an NNG_ETIMEDOUT like every other operation, and we get back a 0 if the logical sleep operation completes normally.
* fixes #281 desire nng_sleep_aio()Garrett D'Amore2018-03-12
|
* circle ci: add workflows for linux clang and gcc buildsLiam Staskawicz2018-03-12
|
* Bump to 0.6.00.6.0Garrett D'Amore2018-03-10
|
* Minor wording fix in nngcat(1).Garrett D'Amore2018-03-10
|
* fixes #276 decouple NNG and zerotier definitionsGarrett D'Amore2018-03-10
|
* Eliminate copious whitespace in code blocks.Garrett D'Amore2018-03-10
| | | | | The comments had way too much leading whitespace. While this looks fine in PDF and HTML, it's pretty ugly on most ereaders.
* Reference leanpub, and relax some of our language about prod use.Garrett D'Amore2018-03-09
|
* Add nng_msg_get_pipe, nng_msg_set_pipe, and nng_pipe_getopt docs.Garrett D'Amore2018-03-09
|
* Automatic index generation.Garrett D'Amore2018-03-09
|
* Fix incorrect reference for nng_msg_dup (was nng_msg_len)Garrett D'Amore2018-03-09
|
* Rewrite unfinished paragraph at the end of OPTIONS.Garrett D'Amore2018-03-09
|
* fixes #272 pollfd test fails on AppVeyorGarrett D'Amore2018-03-08
|
* Fix a number of broken links.Garrett D'Amore2018-03-07
| | | | | | There are still some busted links that have to be fixed, but these are the ones that are just typos or trivially fixed. There is of course some content still missing.
* Markup fix (found when staring at epub).Garrett D'Amore2018-03-07
|
* fixes #269 nngcat unreliable with ZeroTier transportGarrett D'Amore2018-03-07
| | | | | | | | | | | | | | | | | | | | This does a few things. First it closes a case where a dropped message could prevent subsequent connection attempts from getting through. Second, it changes the rate at which we retry, and the timeout, to be a lot more aggressive when attempting to establish a connection. We retry every 500 ms, for up to 2 minutes, before giving up. This gives a lot more resilience in the face of message loss that is typical of ZeroTier in some environments when first establishing communication. Third, makes the values for the connection attempts *tunable*, so that applications can adjust for different deployment scenarios. Fourth, it includes the ability to get the UDP socket name. This was needed during some debug, and may be useful for a real UDP transport later, so we're keeping it. Finally, we added documentation for the above items.
* Minor formatting fix for network status table.Garrett D'Amore2018-03-07
|
* ci: dump failure details on test failureLiam Staskawicz2018-03-07
|
* Add some man pages (alloc, free, version).Garrett D'Amore2018-03-05
|
* Document --zt-home option.Garrett D'Amore2018-03-05
|
* Fix for Windows compilation warnings.Garrett D'Amore2018-03-05
|
* fixes #265 nngcat should support persistent ZT nodesGarrett D'Amore2018-03-05
| | | | fixes #267 zerotier transport should lock ZT_HOME
* ZeroTier timestamps are signed now.Garrett D'Amore2018-03-05
| | | | | | | The dev branch changed, and the timestamps are signed. (They are also passed around using volatiles -- probably incorrectly so, but that is not important for us, the compiler understands that volatile is meaningless when passing values by value.)
* Remove stale ZeroTier RFC, update URL and link to correct one.Garrett D'Amore2018-03-05
| | | | | | | | The primary ZeroTier RFC is in the "rfcs" repository for nanomsg, and we should remove this one because it is stale and misleading. Also, the URI format is incorrect in the header so fix that, and point to the real ZeroTier RFC.
* fixes #262 NNG_OPT_URL should be resolvedGarrett D'Amore2018-03-04
| | | | | | | | This causes TCP, TLS, and ZT endpoints to resolve any wildcards, and even IP addresses, when reporting the listen URL. The dialer URL is reported unresolved. Test cases for this are added as well, and nngcat actually reports this if --verbose is supplied.
* kqueue: add license infoLiam Staskawicz2018-03-04
|
* fixes #254 nngcat should have a --version optionGarrett D'Amore2018-03-02
| | | | | | We only add a basic --version (also -V). I'm still trying to figure out how to convince cmake to emit its compilation flags into a file where we can use them for output.
* Remove some dead code.Garrett D'Amore2018-03-02
|
* Fix copyright, reflow code.Garrett D'Amore2018-03-02
|
* Document new TLS header file.Garrett D'Amore2018-03-02
|
* Add nng_sendmsg and nng_recvmsg manual pages.Garrett D'Amore2018-03-02
|
* Isolate TLS functions into separate tls.h header file.Garrett D'Amore2018-03-02
|
* Bump version to 0.5.0.0.5.0Garrett D'Amore2018-03-02
|
* Add a copy of the LICENSE.adoc in the docs directory.Garrett D'Amore2018-03-02
|
* Move some docs to docs directory, add CONTRIBUTING and templates.Garrett D'Amore2018-03-02
|
* ipc: more robust initLiam Staskawicz2018-03-02
|
* kqueue: add kqueue-based pollq implementationLiam Staskawicz2018-03-02
|
* fixes #247 nngcat needs TLS optionsGarrett D'Amore2018-03-02
| | | | | | | While here we also fixed a bug in the --file handling that we noticed while writing the TLS handling. We also fixed a warning in the core (msgqueue) for set but unused variables.
* fixes #250 nngcat may not build if protocols are missingGarrett D'Amore2018-02-28
|
* fixes #246 Need nngcat man pageGarrett D'Amore2018-02-28
|
* nng listen option tries to dial instead.Garrett D'Amore2018-02-28
|
* fixes #240 nngcat is MIAGarrett D'Amore2018-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is intended to provide compatibility with, and has been tested against, legacy nanocat. There are a few differences though. At this time support for the alias names (where argv[0] is set to something like nngreq or somesuch) is missing. By default this library operations without NNG_FLAG_NONBLOCK on dial and listen, so that failures here are immediately diagnosable. (This behavior can be changed with the --async flag.) By default --pair means PAIRv1, but you can specify --pair0 or --pair1 explicitly. (There is also a --compat mode, and in that mode --pair means PAIRv0. The --compat mode also turns on NNG_FLAG_NONBLOCK by default.) The "quoted" mode also quotes tabs. (Legacy nanocat did not.) It is possible to connect to *multiple* peers by using the --dial or --listen (or similar) options multiple times. Shorthands can be used for long options that are not ambiguous. For example, --surv can be used to mean surveyor, but --re is invalid because it can mean req, rep, or respondent. We assume you have a reasonable standard C environment. This won't work in embedded environments without support for FILE *. TLS options are missing but to be added soon. A man page is still to be written.
* Windows IPC connection timer still thinks its usec.Garrett D'Amore2018-02-26
| | | | | | We changed the timers to use msec granularity, but we missed this one. The result is that in certain code flows the IPC connection times can look quite long -- with weird 10 sec stalls.
* Hang in concurrent IPC connection close.Garrett D'Amore2018-02-26
| | | | | | ConnectNamedPipe can return ERROR_PIPE_CONNECTED, and does not enqueue a completion packet if it does. So we need to handle that specially.
* Add a note that the AIO callback must not block.Garrett D'Amore2018-02-26
|
* Fix version loading.Garrett D'Amore2018-02-26
|
* Fix incorrect section numbers.Garrett D'Amore2018-02-25
|