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

#1612 fix wildcard topic subscription #1615

Conversation

logicaloud
Copy link
Contributor

Fixes #1612

There was an error in the early elimination of wildcard topics. It worked under the assumption that the same topic hash will have the same topic hash mask, which is not always the case for wildcard topics. This is fixed by storing wildcard subscriptions by topic hash mask and by comparing against the correct hash mask at the elimination stage. Unit test added also.

@xljiulang
Copy link
Contributor

👍

@chkr1011 chkr1011 merged commit afafdbb into dotnet:1612-mqttserver-subscription-to-similar-base-and-subtopic-with-wildcards-fails Dec 7, 2022
@logicaloud logicaloud deleted the 1612-fix-wildcard-subscriptions branch June 12, 2023 01:35
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.

3 participants