summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bump to version 1.7.1.v1.7.1Garrett D'Amore2024-01-06
|
* Fix warning from inconsistent socket_pair prototype.Garrett D'Amore2024-01-06
|
* fix idhash not publicGarrett D'Amore2024-01-06
| | | | | | | | | We accidentally made idhash not public by not publishing its header in the right place. This is really generic utility stuff, so we have posted it in the nng/supplemental/util/ directory. We've also removed the ability to remove this -- its a very small amount of additional code, as its just a wrapper on top of mandatory functionality.
* Start of version 1.7.1Garrett D'Amore2024-01-06
|
* Bump version to 1.7.0 official.Garrett D'Amore2024-01-06
|
* Add a nng_stream example paired with a socket server on win/linuxHugo Lindström2024-01-01
|
* More release note fixes and updates.Garrett D'Amore2024-01-01
|
* Update for 1.7.0 release notes.Garrett D'Amore2024-01-01
|
* silence compiler warning from minimum int constantGarrett D'Amore2024-01-01
|
* fixes #1572 nng creates too many threadsGarrett D'Amore2024-01-01
| | | | | | | | | | | | This further limits some of the thread counts, but principally it offers a new runtime facility, nng_init_set_parameter(), which can be used to set certain runtime parameters on the number of threads, provided it is called before the rest of application start up. This facility is quite intentionally "undocumented", at least for now, as we want to limit our commitment to it. Still this should be helpful for applications that need to reduce the number of threads that are created.
* Update references to legacy APIs.Garrett D'Amore2024-01-01
|
* Comment typoGarrett D'Amore2024-01-01
|
* Release notes update for 1.7.0 in progress.Garrett D'Amore2024-01-01
|
* fixes #1754 nng_aio_stop.3 refers to `nng_aio_schedule()` instead of ↵Garrett D'Amore2024-01-01
| | | | `nng_aio_begin()`
* s/NNG_DUR_/NNG_DURATION_Patrik Wenger2024-01-01
|
* fix grammarPatrik Wenger2024-01-01
|
* fixes #1751 Support nng_aio_set_expire().Garrett D'Amore2023-12-30
| | | | While here fixed a number of nits in comments.
* Incorrect doc section.Garrett D'Amore2023-12-30
|
* minor grammar fixGarrett D'Amore2023-12-30
|
* trivial wording fixGarrett D'Amore2023-12-30
|
* provide NNG_MAX_POLLER_THREADSGarrett D'Amore2023-12-29
| | | | | | | This (defaults to 8) sets a limit on the number of poller threads that will be used for servicing I/Os. This is the size of the I/O completion port thread pool on Windows. POSIX pollers are generally not concurrent at present.
* fixes #1740 Public ID hash APIGarrett D'Amore2023-12-29
| | | | | | | | | This includes a manual page documenting the entire set of functions in one step. The hash is 64-bit based for now, to be maximally flexible. An internal 32-bit convenience for the common internal use is also provided (not public). The public API includes a test suite.
* Don't use deprecated functions in test suite.Garrett D'Amore2023-12-29
|
* tcp and tls: setting recv max on endpoint does not change pipesGarrett D'Amore2023-12-29
| | | | | Again, this was racy code, and not well tested. Set this option before starting the endpoint if you need to be sure.
* ipc: changing ep receive max should not affect established pipesGarrett D'Amore2023-12-29
| | | | This code was not well tested, and is racy as well.
* ipc: refactor get peerid support to use common POSIX codeGarrett D'Amore2023-12-29
| | | | | This eliminates some code. A test is added as well, so this should help with coverage.
* Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.11.0 in /etc/pubrefmandependabot[bot]2023-12-29
| | | | | | | | | | | | | Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.9.0 to 5.11.0. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](https://github.com/go-git/go-git/compare/v5.9.0...v5.11.0) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* fixes #1746 Create a new socket:// transport for socketpair() based connectionsGarrett D'Amore2023-12-29
| | | | | | | | | | | | | This transport only listens, and creates connections when the application calls setopt on the lister with NNG_OPT_SOCKET_FD, to pass a file descriptor. The FD is turned into an nng_stream, and utilized for SP. The protocol over the descriptor is identical to the TCP protocol (not the IPC protocol). The options for peer information are borrowed from the IPC transport, as they may be useful for these purposes. This includes a test suite and full documentation.
* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /etc/pubrefmandependabot[bot]2023-12-25
| | | | | | | | | | | | Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* fixes #1734 websocket dialer hang on shutdownGarrett D'Amore2023-12-17
| | | | | | It's not absolutely clear that this fixes all of the possible cases, but we're hopeful that this does -- and in any event the bug does not seem to reproduce easily anymore.
* fixes #1735 websocket should send, and wait for, WS_CLOSE frames on shutdownGarrett D'Amore2023-12-17
| | | | fixes #1733 deadlock in websocket listener close
* Bump version to 1.7.0preGarrett D'Amore2023-12-17
| | | | | | (This should avoid folks thinking master represents 1.6.0.) The next release needs to bump the minor because of the new option NNG_OPT_REQ_RESENDTICK.
* fixes #1729 remove nni_timerGarrett D'Amore2023-12-17
|
* fixes #1728 surveyor could be simplified to not use timerGarrett D'Amore2023-12-17
|
* minor comment fixes for survey_testGarrett D'Amore2023-12-17
|
* fixes #1663 Request/Reply Protocol Throughput and ScalabilityGarrett D'Amore2023-12-16
| | | | | | | | | | | | | | | This eliminates the req protocols use of nni_timer (and setting a single timer node per request. This was problematic because it devolves into O(n^2) as we wind up inserting timer nodes and having to scan the list for the timer node. The solution is to use a single scan - stop worrying about insertion, but instead use a coarse granularity timer (defaults to 1 second) for retries. Then do the O(n) scan just once per interval. A new option, NNG_OPT_REQ_RESENDTICK, can be used to change the tick interval for cases (like unit tests) where more fine grained timing is required.
* fixes #1673 High CPU usage with TLSGarrett D'Amore2023-12-16
| | | | | | The aio for connections was meant to have an infinite sleep (no timeout), but was getting an initial value of zero, so we were spinning on accept.
* fix copyright from last commitGarrett D'Amore2023-12-15
|
* fixes #1721 docs should indicate nng_aio_wait must not be used from a callbackGarrett D'Amore2023-12-15
|
* Bump version to 1.6.0v1.6.0Garrett D'Amore2023-11-26
|
* Update release notes for forthcoming 1.6.0 releaseGarrett D'Amore2023-11-26
|
* fixes #1665 docs: document restriction for pipe notify callbacksGarrett D'Amore2023-11-26
| | | | | One must not attempt to use any functions that access the socket directly from pipe notification callbacks.
* docs: add a reference to nng_deviceGarrett D'Amore2023-11-26
|
* minor tweaks to REAMDEGarrett D'Amore2023-11-26
|
* fixes #1713 SP pipe_send leaks message if aio is canceledGarrett D'Amore2023-11-26
|
* fixes #1701 compat: nn_reallocmsg is incorrectGarrett D'Amore2023-11-25
|
* fixes #1702 segfault canceling req receive while sendingGarrett D'Amore2023-11-25
|
* req: use nni_aio_completions - this is similar to #1523Garrett D'Amore2023-11-25
|
* fixes #1523 rare SEGV in sub nni_list_removeGarrett D'Amore2023-11-25
| | | | | | | | | | | | Credit goes to Wu Xuan (@willwu1217) for diagnosing and proposing a fix as part of #1695. This approach takes a revised approach to avoid adding extra memory, and it also is slightly faster as we do not need to update both pointers in the linked list, by reusing the reap node. As part of this a new internal API, nni_aio_completions, is introduced. In all likelihood we will be able to use this to solve some similar crashes in other areas of the code.
* Bump golang.org/x/net from 0.15.0 to 0.17.0 in /etc/pubrefmandependabot[bot]2023-11-25
| | | | | | | | | | | | Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0. - [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>