Closed Visic closed 10 months ago
Thanks! I'll have a look.
This is manifesting in a few ways and was finally tracked down to an issue in the C library. I'll get it fix and updated here as soon as something lands upstream.
It looks like this is fixed with the upcoming v0.12.3 release. At least I can't recreate it in testing. If you still see it with that version, please feel free to reopen.
Using the ConnectOptionsBuilder.automatic_reconnect with an async client results in an invalid access error on line 304 of token.rs
My current test is set up to fail to connect to a broker and I do see the initial connection failure reported correctly, additionally, taking out the automatic_reconnect seems to work as well.
paho-mqtt = { version = "0.11.1", default-features = false, features = ["bundled", "build_bindgen"] }
On windows 10 (nightly-x86_64-pc-windows-msvc rustc 1.63.0-nightly) , no cross compilation.