Skip to content
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

Fix typo of protocol error code of CONNACK #126

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

tomatod
Copy link
Contributor

@tomatod tomatod commented Mar 31, 2023

Changing
As mentioned in #120, fix protocol error code of CONNACK according to the spec.

As bellow, protocol error code of DISCONNECT is 0x82, CONNACK = 0x81 seems to be just typo.
https://github.com/eclipse/paho.golang/blob/d63b3b28d25ff73076c8846c92c4d062503e646e/packets/disconnect.go#L26

Testing
Test was passed by make test

Closing issues
closes #120

@MattBrittan MattBrittan merged commit 1001f81 into eclipse-paho:master Apr 2, 2023
@tomatod tomatod deleted the fix-connack-typo branch February 18, 2024 07:17
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.

Connack Typo
2 participants