Skip to content

MQTTv3.1.1 supports a zero-byte clientId during authentication #900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

l2063610646
Copy link

Bug:
According to the MQTT v3.1.1 protocol specification, MQTT clients can send connect messages without specifying the client ID. This is not a feature exclusive to MQTTV5, it should also exist in MQTTv3.1.1.

1743154194521

I think brokers should generate random clientId instead of failing authentication.
1743154850427

@l2063610646 l2063610646 changed the title MQTTv3.1 supports a zero-byte clientId during authentication MQTTv3.1.1 supports a zero-byte clientId during authentication Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant