There was a bug where once the loop function was called, the client would not wait to receive the SUBACK. It would then stop the loop as there were no topics to subscribe to and it had not yet officially subscribed to the topics from the original subscribe request. Normally, this is not a problem, but if the session is not clean, one usually receives several other things before getting a SUBACK.
There was a bug where once the loop function was called, the client would not wait to receive the SUBACK. It would then stop the loop as there were no topics to subscribe to and it had not yet officially subscribed to the topics from the original subscribe request. Normally, this is not a problem, but if the session is not clean, one usually receives several other things before getting a SUBACK.