aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Remove deprecated `nng_pipe_getopt` and friends.Garrett D'Amore2024-10-06
|
* Point to NNG 1 migration guideGarrett D'Amore2024-10-06
|
* Remove the legacy transport registration functions.Garrett D'Amore2024-10-06
| | | | | | This also allows to remove most of the transport headers. Only zerotier.h sticks around, and only for now. (We expect to eject it into a separate module.)
* Remove the documentation for 3compat.Garrett D'Amore2024-10-06
|
* Drop the RELEASE NOTES for now. They are stale, and won't reflect reality.Garrett D'Amore2024-10-06
| | | | Better to use git history or github releases information.
* Update release notes.Garrett D'Amore2024-10-06
|
* Convert CoC to markdownGarrett D'Amore2024-10-06
|
* Updated Ukraine for Oct. 2024.Garrett D'Amore2024-10-06
| | | | Остановите безумие. Закончить войну. Верни ребят домой.
* UKRAINE to markdownGarrett D'Amore2024-10-06
|
* More link fixesGarrett D'Amore2024-10-06
|
* Fix link to migratingGarrett D'Amore2024-10-06
|
* docs: Provide migration guidance.Garrett D'Amore2024-10-06
|
* More markup tweak.Garrett D'Amore2024-10-06
|
* Markup fix (messed up by Prettier).Garrett D'Amore2024-10-06
|
* Convert README to markdownGarrett D'Amore2024-10-06
|
* Flag build packages as 2.0.0-dev.Garrett D'Amore2024-10-06
|
* posix: add getentropy() based RNGGarrett D'Amore2024-10-06
| | | | | | | | XPG8 defines getentropy() as the only good source for random numbers. However, real world use a bit more nuanced. On BSD systems, we would prefer to use arc4random as it avoids unnecessary system calls. On Linux however, getentropy is implemented in terms of getrandom, and should be used directly when available.
* README update for development vs. stableGarrett D'Amore2024-10-06
|
* fix maybe uninitialized warningshikokuchuo2024-10-05
|
* fix int-to-pointer conversion warningshikokuchuo2024-10-05
|
* Update README.adocjan-ruzicka-c2024-10-05
| | | fix link to TLS build instructions file. It was renamed from docs/BUILD_TLS.adoc to docs/BUILD_TLS.md in commit 6e5cf29
* test: support UDP urls for marryGarrett D'Amore2024-10-05
|
* fixes #168 UDP transportGarrett D'Amore2024-10-05
| | | | | | | | | | | | | | | | This is the initial implementation of UDP transport. It does in order guarantees (and consequently filters duplicates), but it does not guarantee delivery. The protocol limits payloads to 65000 bytes (minus headers for SP), but you really want to keep it to much less -- probably best for short messages that within a single MTU to avoid IP fragmentation and reassembly. This is unicast only for now (although there are plans for some support for multicast and broadcast as well as being able to perform automatic mesh building, but that will be in following work. Additional tunables are coming. This is only lightly tested at this point, and should be considered experimental. Its also undocumented.
* msg: add sockaddr to message structureGarrett D'Amore2024-10-05
| | | | | This is expected to be useful for new transports where we need the sock address to properly reply (think UDP with multicast).
* idhash: introduce nni_idhash_count.Garrett D'Amore2024-10-05
| | | | This will be used for some follow up work (UDP).
* Endianness improvements.Garrett D'Amore2024-10-05
| | | | | | | This adds endian awareness at compile time, and defines some little endian versions of some macros. We antiicpate making more use of little endian in new protocols to reduce the "endian tax", as nearly every modern system is little endian these days.
* Introduce nni_url_to_address for common URL to sockaddr support.Garrett D'Amore2024-10-05
| | | | | This will be used in UDP. It also lets us reduce some unnecessary code paths for redundant library initialization.
* fixes #1866 clock_gettime is not used on Android, even though availablev1.9.0Garrett D'Amore2024-09-07
|
* fixes #1851 fix error in NNG_OPT_UNSUBSCRIBE descriptionGarrett D'Amore2024-08-14
|
* fixes #1858 Warning on calloc()Garrett D'Amore2024-08-14
|
* Disable TLS tests on Windows due to downrev vcpkg mbedGarrett D'Amore2024-08-14
|
* log: eliminate redundant newlines sometimes presentGarrett D'Amore2024-08-14
|
* TLS: enable TLS 1.3 for Mbed TLS.Garrett D'Amore2024-08-14
| | | | | This requires using a supporting version of Mbed TLS. We have to use PSA crypto for TLS 1.3.
* fixes #1837 IPC - Use After FreeGarrett D'Amore2024-08-13
| | | | This fixes a problem only found on Windows, that affected both IPC and TCP.
* idhash: add nng_id_visit APIGarrett D'Amore2024-08-11
| | | | | | This allows an efficient way to iterate over the entries stored in an ID hash. The iteration is fast, and requires no additional storage. The order of iteration is not guaranteed.
* Add WolfSSL building informationGarrett D'Amore2024-07-22
| | | | Also, converted to Markdown, and provided revised information about test.
* Drop the external submodule. It isn't needed anymore.Garrett D'Amore2024-07-22
|
* fixes #1849 merge wolfSSL support inline, and relicense it under same terms ↵Garrett D'Amore2024-07-22
| | | | as NNG and add PSK
* TLS: make some tests conditional.Garrett D'Amore2024-07-22
| | | | This is in preparation for the wolfSSL integration.
* TLS: Stop making the licensing message a warning - notice is sufficient.Garrett D'Amore2024-07-22
| | | | | Also, while here, prepare for PSK support to be conditional -- it is not necessarily on by default in all future engines (e.g. WolfSSL.)
* Bump minimum CMake version to 3.15Garrett D'Amore2024-07-22
| | | | | | This is older than any currently supported operating system ships by default, and it allows us to use message(NOTICE) instead of having everything be a warning.
* TLS: announce which engine we are using (in anticipation of newer TLS engines)Garrett D'Amore2024-07-22
|
* Fix conditional tls_tran_testGarrett D'Amore2024-07-21
|
* Bump CodeQL to v2Garrett D'Amore2024-07-21
|
* fixes #1846 Add support for TLS PSKGarrett D'Amore2024-07-21
| | | | | | This also adds an SP layer transport test for TLS, based on the TCP test but with some additions; this test does not cover all the edge cases for TLS, but it does at least show how to use it.
* fixes #1835 setting NNG_OPT_TLS_CONFIG on socket should hold referenceGarrett D'Amore2024-07-21
|
* fix testcase crash on NUTTX When log_buf is null for the first time. (#1844)小米-梅健2024-07-16
| | | Signed-off-by: meijian <meijian@xiaomi.com>
* UDP: Introduce an experimental (undocumented for now) public API for UDP. ↵Garrett D'Amore2024-06-02
| | | | | | | | (#1838) This exposes the UDP methods as nng_ methods, and adds support for Multicast Membership, which is useful in a variety of situations. No documentation is provided, and applications should consider thios API experimental.
* Fixes problem that causing it unable to pass compile when ↵Peter Wang2024-06-01
| | | | | | NNG_TRANSPORT_ZEROTIER is enabled. It seems that there are typo in the struct type naming. And the wrong function name in `nni_sp_zt_register` that will cause link error.
* windows: refactor IPC to avoid possible hangs and use after free.Garrett D'Amore2024-05-30
|