eclipse-paho / paho.mqtt.golang

Other
2.77k stars 534 forks source link

Improve handling of SUBSCRIBE/UNSUBSCRIBE over disconnect/reconnect. #557

Closed MattBrittan closed 2 years ago

MattBrittan commented 2 years ago

If the ResumeSubs option is not set then SUBSCRIBE/UNSUBSCRIBE packets should not be stored and any tokens should be completed when the connection is lost. This should resolve #555 but I cannot think of a way of testing this.