eclipse / paho.mqtt.testing

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

MQTTv5: First topic alias publish should contain topic #52

Closed mauricek closed 6 years ago

mauricek commented 6 years ago

The client_test5.py line 772 checks whether the topic alias is set for the initial publish being received. However, according to 3.3.2.3.4 " It sets a Topic Alias mapping by including a non-zero length Topic Name and a Topic Alias in the PUBLISH packet. " This implies that the first time a topic alias is set, the topic name still needs to be specified. Otherwise clients cannot know the mapping.

mauricek commented 6 years ago

Sorry, was on an older version. This has been (mostly) resolved by 723460b53f96b0c4592898acf5b91ad1dd6f758a