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

rumqttc: fix subscribe many #837

Closed
wants to merge 2 commits into from
Closed

Conversation

flxo
Copy link
Contributor

@flxo flxo commented Mar 28, 2024

Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist:

  • Formatted with cargo fmt
  • Make an entry to CHANGELOG.md if it's relevant to the users of the library. If it's not relevant mention why.

Fix a flaw in the construction of the Subscribe packets where a iterator shouldn't be used twice.

Felix Obenhuber added 2 commits March 28, 2024 11:19
Do not drain the iterator over topics in subscribe many for topic validation before using the same iterator to collect
the filters into the subscribe packet.
@arunanshub
Copy link
Contributor

Hello @flxo, thank you for your contribution. Currently we are tracking and fixing the same issue in PR #813. It not only fixes issue with subscribe_many, but also fixes and issue with topic name and topic filter validation.

Once the changes are approved, that shall be merged into the main branch.

@arunanshub arunanshub added the duplicate This issue or pull request already exists label Mar 28, 2024
@flxo
Copy link
Contributor Author

flxo commented Apr 2, 2024

Closing in favour of #813

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants