Version 1.8.0 Feature Release
New Features
This release introduces two main features.
- A new logging framework should help with debugging.
This framework allows applications to provide their own loggers.
Initially we have added logging for SP connection related events, but more can be added later.
Seenng_log(3)
,nng_log_set_logger(3)
for details. - In support of the above,
nng_str_sockaddr(3)
is added.
This function obtains a representation of the socket address suitable for display (or logging).
Bugs Fixed
- A memory leak associated with a connection lock object for TLS connections is fixed.
This only affects platforms where mutexes are allocated dynamically.
Detailed Changes
- Update nng_ctx.5.adoc by @drbitboy in #1797
- Update protocol.h by @drbitboy in #1798
- fixes #543 Add logging support framework by @gdamore in #1806
- Add header to posix_rand_getrandom.c by @shikokuchuo in #1805
- Add missing
nng_tls_config_hold
stub function by @mlasch in #1803 - Logging enhancements. by @gdamore in #1809
- [tls_common] finish conn lock in tls_reap by @RanMaoyi in #1811
- Log messages when peer sends too large message. by @gdamore in #1812
- Bump golang.org/x/net from 0.19.0 to 0.23.0 in /etc/pubrefman by @dependabot in #1815
- Logging improvements by @gdamore in #1816
New Contributors
- @drbitboy made their first contribution in #1797
- @mlasch made their first contribution in #1803
- @RanMaoyi made their first contribution in #1811
Full Changelog: v1.7.3...v1.8.0