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
FlashMQ currently doesn't except MQTT connect packets that flag a username as present, but is empty. It says:
Username flagged as present, but it's 0 bytes.
The MQTT spec says:
If the User Name Flag is set to 1, a user name MUST be present in the payload
But, there is some ambiguity if a zero byte username means 'present'. FlashMQ has the current behavior to not have two ways of having an anonymous login.
But, because other servers do accept this situation, we should deal with it. Perhaps with a config option.
The text was updated successfully, but these errors were encountered:
There are many clients out there who set the 'username' flag in connect
and then set an empty username. The default is to not have two methods
of signalling anonymous clients, but this can be overriden.
#91
FlashMQ currently doesn't except MQTT connect packets that flag a username as present, but is empty. It says:
The MQTT spec says:
But, there is some ambiguity if a zero byte username means 'present'. FlashMQ has the current behavior to not have two ways of having an anonymous login.
But, because other servers do accept this situation, we should deal with it. Perhaps with a config option.
The text was updated successfully, but these errors were encountered: