What's Changed
- Update codes.go by @helderjnpinto in #214 and #215
- Expire session if SessionExpiryInterval is 0 by @thedevop in #216
- Corrects an issue where SessionExpiryInterval was not correctly honoured if the value is absent.
- Add packet ID exhausted hook by @mochi-co in #217
- Corrects an issue where the hook had not been added to the code 😊
- Use context to signal client open state by @mochi-co in #218
- Replaces the client.State.done atomic int with a context which can be cancelled, for better concurrency in #202
- Refactor server keepalive for hook access by @mochi-co in #220
- Refactors the implementation of Server Keep Alive. Previously, the server keep alive value was used if the client keepalive value was 0, however this was incorrect. The server keep alive value override has been removed, and is now set if necessary using the OnConnect hook. See examples/paho.testing/main.go for an example.
New Contributors
- @helderjnpinto made their first contribution in #214
Full Changelog: v2.2.8...v2.2.9
Tests
- Builds
- Unit Tests Passing
- Paho Interoperability Passing