Skip to content

Fixed qos2_publish_handled_ logic. #824

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

Merged
merged 1 commit into from
Aug 8, 2021
Merged

Conversation

redboltz
Copy link
Owner

@redboltz redboltz commented Aug 8, 2021

qos2_publish_handled_ was inserted and erased but not referenced.
When PUBLISH QoS2 packet is received, if qos2_publish_handled_ has the
packet_id then on_publish isn't called. (Exactly once delivery)

See #49.

qos2_publish_handled_ was inserted and erased but not referenced.
When PUBLISH QoS2 packet is received, if qos2_publish_handled_ has the
packet_id then on_publish isn't called. (Exactly once delivery)

See #49.
@codecov
Copy link

codecov bot commented Aug 8, 2021

Codecov Report

Merging #824 (9473375) into master (f205716) will increase coverage by 0.01%.
The diff coverage is 89.58%.

@@            Coverage Diff             @@
##           master     #824      +/-   ##
==========================================
+ Coverage   82.73%   82.75%   +0.01%     
==========================================
  Files          62       62              
  Lines        8657     8667      +10     
==========================================
+ Hits         7162     7172      +10     
  Misses       1495     1495              

@redboltz redboltz merged commit 96a7082 into master Aug 8, 2021
@redboltz redboltz deleted the fix_qos2_publish_handled branch August 8, 2021 23:33
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.

1 participant