Ian Craggs

Results 432 comments of Ian Craggs

Yes I'd be open to this as a PR.

I think it could definitely be of interest. Do you use mbedTLS? Are there advantages over OpenSSL? Does this PR enable mbedTLS to be used - so can we run...

Is this applicable to Linux only? Will the CI tests pass using mbedTLS? I started merging to the latest develop branch and got as far as the static build building,...

That frequency sounds very low to me but of course it depends on your hardware, QoS, whether you're using TLS or not, where the MQTT server is, and so on....

I suggest also trying the CMake option PAHO_HIGH_PERFORMANCE=TRUE, which removes the internal tracing and logging, which could make a substantial difference on low powered machines.

Hmm. It looks like the disabled code is an error. I will have to verify that.

Now I know or remember why it was omitted - because intermittently a -103 ECONNABORTED is returned in the CI tests, which causes them to fail. It seems to work...

Why is it taking a long time? Is there still activity going on? Have you tried disconnecting or is it disconnected already?

waitForCompletion does check that the client is still connected, so a disconnect should work. Taking a client library trace, as described in the readme (at minimum level), might help.