You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See this discussion for background, also MQTT spec V3.1.1 section 2.2.3.
This may be academic as its main impact is if the topic field is long. This is to record the existence of the issue.
The current encoding stores Remaining Length in a byte. It should be stored as a Variable Byte Integer as per .publish. This will cause a failure if Remaining Length is greater than 127, therefore imposing a limit on the length of the topic field.
I can submit a PR if the maintainers think this is worth fixing.
The text was updated successfully, but these errors were encountered:
See this discussion for background, also MQTT spec V3.1.1 section 2.2.3.
This may be academic as its main impact is if the
topic
field is long. This is to record the existence of the issue.The current encoding stores
Remaining Length
in a byte. It should be stored as a Variable Byte Integer as per .publish. This will cause a failure ifRemaining Length
is greater than 127, therefore imposing a limit on the length of thetopic
field.I can submit a PR if the maintainers think this is worth fixing.
The text was updated successfully, but these errors were encountered: