summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Several minor cleanups. Fix socket id stat for listener.v1.5.0Garrett D'Amore2021-07-09
|
* Move transport.[ch] to SPGarrett D'Amore2021-07-09
|
* fixes #1465 NNG_OPT_IPC_PERMISSIONS stopped workingGarrett D'Amore2021-07-09
| | | | | This backs out the changes for #1326, because fchmod on sockets doesn't actually work on Linux, even though it returns success.
* Test fixes.Garrett D'Amore2021-07-07
|
* Add test cases for nng_msg_reserve, etc. Convert message tests to NUTS.Garrett D'Amore2021-07-07
|
* Fix leaking pipes after close.Garrett D'Amore2021-07-07
|
* Fix LeakAnalyzer complaints due to deferred reap.Garrett D'Amore2021-07-07
|
* Disable clock-dependent checks on macOS in CI/CD.Garrett D'Amore2021-07-06
| | | | | | GitHub's darwin server farm appears possibly overloaded, and the timing specific checks in that environment appear to be busted. Local instances of macOS don't seem to have problems though.
* better codeql scanningGarrett D'Amore2021-07-06
|
* Remove AppVeyor. GitHub actions ate their lunch.Garrett D'Amore2021-07-06
|
* Use github's code scanning.Garrett D'Amore2021-07-06
| | | This will replace the explicit lgtm workflow soon.
* Remove codacy.Garrett D'Amore2021-07-06
| | | | | | The codacy team decided to disconnect our repo, for whatever reason. Frankly, the quality of reviews has not been that great for our code base anyway.
* Fix for UB (NULL pointer plus zero length). (#1459)Garrett D'Amore2021-07-06
|
* Add & document msg_capacity, msg_reserve (#1458)Evan Balster2021-07-06
| | | | | | | * Add & document msg_capacity, msg_reserve * reserve/capacity code style * Documentation references to reserve/capacity
* Turn aio expire queue from nni list to array for efficiency. (#1449)wangha2021-07-06
|
* fixes #1456 bad access in OSX thread on nn (#1457)Garrett D'Amore2021-07-01
| | | | * fixes #1456 bad access in OSX thread on nn * Fix broken aio in darwin cloud.
* minor comment fixesGarrett D'Amore2021-06-02
|
* Extend times for aio_sleep cancel test for benefit of DarwinGarrett D'Amore2021-06-02
|
* fixes #1430 nng_sockaddr larger than nng_sockaddr_storageGarrett D'Amore2021-06-02
| | | | | | This bug can easily lead to memory overruns if a program relies on the nng_sockaddr_storage instad of just allocating a vanilla nng_sockaddr.
* fixes #1428 Clarify disallowed operations in AIO completion callbacksGarrett D'Amore2021-06-02
|
* fixes #1445 PUB socket buffers, but docs say it should notGarrett D'Amore2021-06-02
|
* fixes #1450 nng_cv_until documentation bugGarrett D'Amore2021-06-02
|
* fixes #1452 nng_aio_set_iov doc bug regarding max IOV countGarrett D'Amore2021-06-02
|
* Extend the reqdep demo with ZeroTier transport (#1439)janjaapbos2021-04-10
| | | | | * Extend the reqdep demo with ZeroTier transport * tab indentation
* Fix for ZeroTier transport (#1438)janjaapbos2021-04-10
| | | | | | | * Fix for ZeroTier transport The message must remain intact for a possible future resent. * use msg_header_len variable
* fixes #1436 Guard against UB in sub0_ctx_subscribe (#1437)Kristóf Havasi2021-04-10
| | | In case sub0_ctx_subscribe is called to subscribe to _all_ topics
* Add a couple of test cases for nng_sleep_aio.Garrett D'Amore2021-03-12
|
* fix implicit declaration warnings for pthread_set_name_np on OpenBSD (#1425)Dave Voutila2021-03-11
| | | | | | OpenBSD requires an additional header for both pthread_set_name_np and pthread_get_name_np. See http://man.openbsd.org/pthread_set_name_np for details.
* Build fix for NetBSD (#1433)Pierre Pronchery2021-03-11
|
* remove extraneous comment, set conn_init static (#1424)Dave Voutila2021-02-17
| | | | | | The comment is an artifact from an old tls_reap function and no longer describes the following function (conn_init). Function conn_init should be marked static.
* prep for 1.4.0v1.4.0Garrett D'Amore2021-02-07
|
* fixes #1421 Failure in tcp and tls local source handlingGarrett D'Amore2021-02-07
|
* fixes #1419 pairv0 performance workGarrett D'Amore2021-01-24
| | | | | | This takes the performance work we did for pairv1, and provides an implementation for pairv0. The upshot should be a nice performance boost for pair v0.
* Fix typo in tls_common.c (#1412)Evgeny Ermakov2021-01-24
|
* fixes #1415 pair.c compiler warningGarrett D'Amore2021-01-24
|
* fixes #1413 nni_thr_setname NULL pointer dereferenceGarrett D'Amore2021-01-24
|
* Fix comment in protocol.h (#1410)Evgeny Ermakov2021-01-19
|
* fixes #808 Very slow PAIR performance compared to nanomsgGarrett D'Amore2021-01-18
| | | | | | This is only the pair v1 protocol. Pair v0 and polyamorous mode still have work to do. We probably won't "fix" the performance for poly mode since that's deprecated anyway.
* fixes #1403 http ws listeners added without a lockGarrett D'Amore2021-01-10
|
* fixes #1401 valgrind reports leaks in all testsGarrett D'Amore2021-01-03
| | | | | | | This arranges for nng_fini to be called via atexit in the test version of the library. It also cleans up some of the actual tests to reduce extraneous (and in some cases incorrect) calls to nng_fini.
* fixes #1393 Use after free in http (#1395)Evgeny Ermakov2021-01-03
|
* fixes #1398 integrate new acutest.h (#1400)Garrett D'Amore2021-01-03
|
* Fix compilation warnings (#1397)Evgeny Ermakov2021-01-02
|
* getaddrinfo(3) on musl & BSDs fails with servname = "" (#1396)Dave Voutila2021-01-02
| | | | | | | | | | | | | | | | | | | | | | If one calls getaddrinfo(3) on OpenBSD like so, it returns -8 EAI_NONAME: struct addrinfo hints; struct addrinfo *results; int rv; results = NULL; memset(&hints, 0, sizeof(hints)); hints.ai_flags = AI_ADDRCONFIG; hints.ai_flags |= AI_PASSIVE; hints.ai_family = AF_INET; hints.ai_socktype = SOCK_STREAM; rv = getaddrinfo("localhost", "", &hints, &results); In the above code, that mirrors the current logic in resolv_task(), rv will end up being -8. On non-musl, non-BSD posix systems I tested (only amd64 Debian), it succeeds and returns 0.
* Fix compilation errors when NNG_ELIDE_DEPRECATED is ON (#1392)Evgeny Ermakov2021-01-02
|
* fixes #1345 Restructure the source treeGarrett D'Amore2021-01-01
| | | | | This is not quite complete, but it sets the stage for other protocols (such as zmq or mqtt) to be added to the project.
* fixes #1389 PAIRv1 can remove a few bitsGarrett D'Amore2020-12-28
|
* fixes #1363 build ios version failsGarrett D'Amore2020-12-27
|
* fixes #1386 remove NNI_PROTO_FLAG_NOMSGQGarrett D'Amore2020-12-27
|
* fixes #1385 nni_thr_wait is unusedGarrett D'Amore2020-12-27
|