v2.2.6
What's Changed
- Common subscriptions issued by different clients at the same time may be lost by @ffa500 in #186
- Uses additional locks within topics to resolves an issue in which subscriptions could be lost due to concurrent writes.
- Configurable client bufio reader/writer sizes by @mochi-co in #190
Addresses #189 by making the client bufio.Reader and bufio.Writer sizes configurable as server options. The new default value for the reader and writer buffers is 2048. Different values can be configured as such:
server := mqtt.New(&mqtt.Options{
ClientNetWriteBufferSize: 1024,
ClientNetReadBufferSize: 1024,
})
Full Changelog: v2.2.5...v2.2.6
Tests
- Builds
- Unit Tests Passing
- Paho Interoperability Passing