aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Remove redundant check.Garrett D'Amore2021-09-06
|
* fixes #1347 windows IPC accept cancellation not wired upGarrett D'Amore2021-09-06
|
* Eliminate the pipe mutex and use atomic for pipe closed.Garrett D'Amore2021-09-06
| | | | | | | | | | This eliminates several mutex operations done each time a pipe is created or destroyed. For large scale systems this should reduce overall pressure on the memory subsystem, and scale better as many threads are coming and going. This also reduces the overall size of nni_pipe -- on Linux by 36 bytes typically.
* SP initialization cannot fail.Garrett D'Amore2021-09-06
|
* fixes #1498 Endpoint close/shutdown could be synchronous (#1499)Garrett D'Amore2021-09-04
|
* Minor cleanups.Garrett D'Amore2021-08-21
|
* Remove unused prototypes.Garrett D'Amore2021-08-21
|
* Move protocol.c into SP tree (it is SP specific.)Garrett D'Amore2021-08-21
| | | | Also, remove an extraneous initialization call.
* fixes #1488 aio expiration list performance work neededGarrett D'Amore2021-08-09
| | | | | | There were several problems with the array implementation, both from performance and from correctness. This corrects those errors (hopefully) and restores the expiration lists as linked lists.
* fixes #1478 mbedTLS 3.0 is not API compatible with 2.xGarrett D'Amore2021-08-09
|
* * FIX #1486 by waking up latest aio each time. (#1487)JaylinYu2021-08-09
|
* Remove separate protocol initialization step.Garrett D'Amore2021-08-07
| | | | | Nothing is using this, but it adds complexity and also requires additional lock activity each time a socket is opened.
* Fix premature transport registration. Mark it deprecated.Garrett D'Amore2021-08-01
| | | | | | | Originally the idea was to better support having the transports be separate loadable modules. This isn't needed for the builtin transports, so we make the explicit initialization of them deprecated, and document it as such.
* Simplify the SP transport initialization process.Garrett D'Amore2021-07-31
|
* Minor format and spelling in comments.Garrett D'Amore2021-07-31
|
* Remove extra wrapper for platform clock support.Garrett D'Amore2021-07-22
|
* Fix some unused variables.Garrett D'Amore2021-07-22
|
* Fix header guards.Garrett D'Amore2021-07-22
|
* fixes #1471 Use of strdup instead of nni_strdup in mbedtls/tls.cGarrett D'Amore2021-07-22
|
* fixes #1475 nni_aio_begin should not dispatch task on stopped aioGarrett D'Amore2021-07-22
|
* Fix valgrind error epoll_ctl points to uninitialised bytes (#1469)Jesper Wramberg2021-07-21
| | | | While not strictly an error, valgrind reports it as an error. This commit zero initializes the epoll_event before parsing it to the system call.
* Fix the wrong ratio when expire queue shrink. (#1470)wangha2021-07-16
|
* Minor clang-tidy fixes.Garrett D'Amore2021-07-11
|
* fixes #1409 reader/writer lock desiredGarrett D'Amore2021-07-11
| | | | | | This provides the initial implementation, and converts the transport lookup routines to use it. This is probably of limited performance benefit, but rwlock's may be useful in further future work.
* More symbol renamingGarrett D'Amore2021-07-11
|
* Remove unused nni_notifyfdGarrett D'Amore2021-07-10
|
* More work on moving SP stuff out of common. Remove unused defs.Garrett D'Amore2021-07-10
|
* 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.
* 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
|
* 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.
* 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
|