eclipse / paho.mqtt.testing

An Eclipse Paho project - a Python broker for testing
https://eclipse.org/paho
Other
108 stars 73 forks source link

Retained Messages are sent without Retained Flag set after SUBSCRIBE (v5) #50

Closed ckrey closed 6 years ago

ckrey commented 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

icraggs commented 6 years ago

Fix added.

ckrey commented 6 years ago

Works well now