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

Repair MQTTClient.v5.unsubscribe to use properties arg #149

Merged
merged 1 commit into from Nov 22, 2023

Conversation

jpgrayson
Copy link
Contributor

A new/empty properties was being put into the unsubscribe packet instead of the user-provided properties argument.

Although there are not any nominal properties that would be used with unsubscribe packets, it is possible that user-defined properties could have vendor-specific meaning for certain MQTT brokers. 1

A new/empty properties was being put into the unsubscribe packet instead
of the user-provided properties argument.

Although there are not any nominal properties that would be used with
unsubscribe packets, it is possible that user-defined properties could
have vendor-specific meaning for certain MQTT brokers. [1]

[1]: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901182

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (345ef16) 79.04% compared to head (aa5d77e) 78.92%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
- Coverage   79.04%   78.92%   -0.13%     
==========================================
  Files          22       22              
  Lines        2500     2500              
==========================================
- Hits         1976     1973       -3     
- Misses        524      527       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adam-fowler
Copy link
Collaborator

Good catch

@adam-fowler adam-fowler merged commit 6c41888 into swift-server-community:main Nov 22, 2023
8 checks passed
@jpgrayson jpgrayson deleted the fix-v5-unsub branch November 28, 2023 14:36
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.

None yet

3 participants