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: filter unexpected PubAck in event loop pending queue. #859

Merged
merged 8 commits into from
May 22, 2024

Conversation

wangwen-4220
Copy link
Contributor

@wangwen-4220 wangwen-4220 commented May 7, 2024

Type of change

bug fix: #849
An isolated PUBACK packet is being sent to the broker after the client reconnects.

filter unexpected puback.
filter unexpected puback
Copy link
Member

@de-sh de-sh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an entry in rumqttc/CHANGELOG.md that mentions this as a fix, thanks!

rumqttc/src/v5/eventloop.rs Outdated Show resolved Hide resolved
rumqttc/src/eventloop.rs Outdated Show resolved Hide resolved
wangwen-4220 and others added 3 commits May 13, 2024 16:57
update CHANGELOG.md
apply suggestion from rumqtt team

Co-authored-by: Devdutt Shenoi <devdutt@outlook.in>
apply suggestion from rumqtt team

Co-authored-by: Devdutt Shenoi <devdutt@outlook.in>
@wangwen-4220
Copy link
Contributor Author

Please add an entry in rumqttc/CHANGELOG.md that mentions this as a fix, thanks!

Thanks for suggestion. Updated, please have a PR review.

Copy link
Member

@de-sh de-sh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@coveralls
Copy link

Pull Request Test Coverage Report for Build 9078199207

Details

  • 7 of 16 (43.75%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 36.532%

Changes Missing Coverage Covered Lines Changed/Added Lines %
rumqttc/src/eventloop.rs 7 8 87.5%
rumqttc/src/v5/eventloop.rs 0 8 0.0%
Totals Coverage Status
Change from base Build 9035769889: 0.006%
Covered Lines: 5989
Relevant Lines: 16394

💛 - Coveralls

@de-sh de-sh merged commit 51224e1 into bytebeamio:main May 22, 2024
3 of 4 checks passed
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.

Unexpected PUBACK Packet Sent to Reconnected Broker
3 participants