Closed ckrey closed 6 years ago
Setting:
CONNECT PUBLISH payload 'xyz' to topic 'abc' with retain flag set DISCONNECT
CONNECT SUBSCRIBE to topic 'abc'
Result: client receives PUBLISH with payload 'xyz' on topic 'abc' with retain flag NOT set
Expected Result (as in MQTTv3.1.1): client receives PUBLISH with payload 'xyz' on topic 'abc' with retain flag set
Fix added.
Works well now
Setting:
CONNECT PUBLISH payload 'xyz' to topic 'abc' with retain flag set DISCONNECT
CONNECT SUBSCRIBE to topic 'abc'
Result: client receives PUBLISH with payload 'xyz' on topic 'abc' with retain flag NOT set
Expected Result (as in MQTTv3.1.1): client receives PUBLISH with payload 'xyz' on topic 'abc' with retain flag set