awslabs / aws-c-mqtt

C99 implementation of the MQTT 3.1.1 specification.
Apache License 2.0
93 stars 29 forks source link

Add mqtt311 on_termination callback #317

Closed sfod closed 1 year ago

sfod commented 1 year ago

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 90.90% and project coverage change: +0.02% :tada:

Comparison is base (9e2b12d) 82.13% compared to head (309bccc) 82.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #317 +/- ## ========================================== + Coverage 82.13% 82.15% +0.02% ========================================== Files 20 20 Lines 8655 8710 +55 ========================================== + Hits 7109 7156 +47 - Misses 1546 1554 +8 ``` | [Files Changed](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs) | Coverage Δ | | |---|---|---| | [source/v5/mqtt5\_to\_mqtt3\_adapter.c](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c291cmNlL3Y1L21xdHQ1X3RvX21xdHQzX2FkYXB0ZXIuYw==) | `76.09% <89.18%> (+0.41%)` | :arrow_up: | | [source/client.c](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c291cmNlL2NsaWVudC5j) | `69.70% <93.75%> (+0.28%)` | :arrow_up: | | [source/client\_impl\_shared.c](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c291cmNlL2NsaWVudF9pbXBsX3NoYXJlZC5j) | `85.18% <100.00%> (+0.56%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/317/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.