summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fixes #779 Bump ABI version for v1.1v1.1.0-rcGarrett D'Amore2018-11-05
|
* fixes #778 nng_http_handler_set_tree link badGarrett D'Amore2018-11-05
|
* fixes #456 TLS configuration object holdGarrett D'Amore2018-11-05
| | | | fixes #776 Configuration of mbedTLS should warn about license
* fixes #577 target library dependencies should be publicGarrett D'Amore2018-11-05
| | | | | | | | | | | This is a significant refactor of the library configuration. We use the modern package configuration helper, with a template script that also does the find_package dance for any of our dependencies. We also have restructured the code so that most protocols and transports have their configuration isolated to their own CMakeLists file, reducing the size of the global CMakeLists file.
* fixes #682 Support for Chunked Transfer CodingGarrett D'Amore2018-11-02
| | | | | | | | | | | | | | | | This is the client side only, although the work is structured to support server applications. The chunked API is for now private, although the intent to is to make it public for applications who really want to use it. Note that chunked transfer encoding puts data through extra copies. First it copies through the buffering area (because I have to be able to extract variable length strings from inside the data stream), and then again to reassemble the chunks into a single unified object. We do assume that the user wants the entire thing as a single object. This means that using this to pull unbounded data will just silently consume all memory. Use caution!
* fixes #772 ineffectual assignment in aio_initGarrett D'Amore2018-11-01
|
* fixes #766 NNG asserts when setting socket nameGarrett D'Amore2018-11-01
| | | | Reported by @TBastiani (with suggested fix). Test validation added.
* fixes #770 Assertion in NNG TLS layerGarrett D'Amore2018-11-01
|
* fixes #767 Want tunable stack sizeGarrett D'Amore2018-10-31
|
* fixes #763 buffer overrun in options testGarrett D'Amore2018-10-27
|
* fixes #755 zerotier transport segfaults on alpine linuxGarrett D'Amore2018-10-27
|
* Clean up some zerotier compiler warnings.Garrett D'Amore2018-10-25
|
* Add local IP address tuning for ZeroTier.Garrett D'Amore2018-10-25
| | | | | These options are undocumented -- for now. We need to get some experience with them to ensure that they are worth keeping.
* fixes #761 idhash work to factor in upper bits is pointlessGarrett D'Amore2018-10-23
|
* Fix for possible overruns in fragsz.Garrett D'Amore2018-10-23
| | | | | | | | While the fragment size itself fits within 16-bits, when we do math on it (such as multiplying by a fragment count), we may need to calculate values that exceed 16-bits (e.g. 1MB). Therefore we should treat this as a size_t, but cast it down to 16-bits only when we write it out to the packet field.
* fixes #744 ZeroTier should not create node until first referencedGarrett D'Amore2018-10-17
|
* eliminate double check for index.html if index.html existsQXSoftware2018-10-15
|
* fix typoQXSoftware2018-10-12
|
* remove unused function declarationQXSoftware2018-10-12
|
* remove redundant zero memory operationsQXSoftware2018-10-12
|
* Fix win file type (#749)Hunter2018-10-12
| | | | | before: nni_file_is_dir with path D:\\ D:/ D: all returns false after: nni_file_is_dir with path D:\\ D:/ D: all returns true
* fixes #745 HTTP server redirect handlerGarrett D'Amore2018-10-07
|
* fix function "int nni_msg_alloc(nni_msg **mp, size_t sz)" allocates the ↵QXSoftware2018-10-02
| | | | underlying buffer twice under some circumstance, say, sz = 1024 or 2048
* use index together with increment operator(postfix form)QXSoftware2018-10-02
|
* update the comment (nng_msgq_put_until doesn't exists anymore)QXSoftware2018-10-02
|
* fixes #738 http server needs a way to collect request entity dataGarrett D'Amore2018-09-29
|
* fixes #735 Configuring ZeroTier for a unified build is too hardGarrett D'Amore2018-09-24
| | | | | | | This changes the code to make use of a different project we have created (libzerotiercore) that is "CMake clean". This should make using and configuring this code *much* better. It may also have the benefit of making this configuration work better for Windows systems.
* fixes #734 ZeroTier port discrimination bustedGarrett D'Amore2018-09-21
| | | | | | This reverts 707, and provides a correct fix for busted port discrimination. It also has a few minor cleanups and reduces the listen timeout to 10 seconds.
* cmake: add missing target_include_directories to fix target exportMarc-André Moreau2018-09-20
|
* Fix synopsis of nng_device in docs.Lawrence Kesteloot2018-09-19
|
* Fix minor typos in the docs.Lawrence Kesteloot2018-09-19
|
* Update docs for `nng_dial` and `nng_listen`Nathan Kent2018-09-19
| | | | Closes #731
* fixes #723 "ninja install" step missing from Quick Start in READMEGarrett D'Amore2018-09-15
| | | | | While here we removed the stale README.html, which was generated once but was not beeing kept updated.
* Only free in nng_send() if we succeed.Lawrence Kesteloot2018-09-15
| | | | | | | Both the man page and the comment (in nng.h) of nng_send() say that the buffer is freed only if the function succeeds. The previous code always freed (if the flag was set). This change only frees if we succeed.
* fixes #717 need nng_http_req_reset and nng_http_res_resetGarrett D'Amore2018-09-12
| | | | | fixes #718 http_transact is still not right fixes #719 calculation of buffer size is incorrect in http
* fixes #720 fix for #715 still not rightGarrett D'Amore2018-09-12
| | | | | | | | | | | | | | | The fix for #715 to address const is still not quite right. In ISO C, the argv array is just char **. getopt() in POSIX uses char *const[]. That part is right, but we should then not pass const char ** in calls. Furthermore, really the optarg should also not be constified. This aligns us closer to getopt() and leads to the fewest problems. This does represent a slight breaking change, but as old code should still compile and run, we don't think we should bump the API version for this change. Furthermore, we don't think anyone else is actually using this API yet.
* fixes #721 stale #if 0 block in stats.hGarrett D'Amore2018-09-12
|
* fixes #715 nng_opts_parse() uses const incorrectlyGarrett D'Amore2018-09-10
|
* fixes #714 Incomplete reset of RES/REQ breaks http_transactGarrett D'Amore2018-09-10
|
* fixes #713 stats warnings from WindowsGarrett D'Amore2018-09-09
|
* fixes #712 windows nni_atomic_set64 should not return valueGarrett D'Amore2018-09-09
|
* fixes #710 idhash has nasty performance bugGarrett D'Amore2018-09-09
| | | | fixes #709 idhash bug on duplicate add
* remove unused typedefQXSoftware2018-09-09
|
* remove redundant zero memsetQXSoftware2018-09-09
|
* update .gitignore for MacOSXQXSoftware2018-09-09
|
* fixes #707 ZeroTier pipe logic could be condensedGarrett D'Amore2018-09-07
|
* fixes #4 Statistics supportGarrett D'Amore2018-09-03
| | | | | | | | | | | | | | | | This introduces new public APIs for obtaining statistics, and adds some generic stats for dialers, listeners, pipes, and sockets. Also added are stats for inproc and pairv1 protocol. The other protocols and transports will have stats added incrementally as time goes on. A simple test program, and man pages are provided for this. Start by looking at nng_stat(5). Statistics does have some impact, and they can be disabled by using the advanced NNG_ENABLE_STATS (setting it to OFF, it's ON by default) if you need to build a minimized configuration.
* fixes #693 Failed dial results in hard spinGarrett D'Amore2018-08-31
|
* fixes #691 Desire 16 and 64 bit message manipulatorsGarrett D'Amore2018-08-31
| | | | | | We use macros to generate message bodies for each of the various variants, reducing source code size (but not compiled size). The documentation is updated to indicate each of these variants.
* fixes #690 Zerotier listener LOCADDR property wantedGarrett D'Amore2018-08-31
| | | | | While here we separate out the dialer and listener options, so that options for tuning connection are only available for listeners.