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

Merge mqttv311 protocol layer with mqttv5 protocol layer #902

Merged
merged 6 commits into from Mar 29, 2024
Merged

Conversation

wanghaEMQ
Copy link
Member

No description provided.

@wanghaEMQ wanghaEMQ marked this pull request as draft March 25, 2024 09:20
Copy link

codecov bot commented Mar 25, 2024

Codecov Report

Attention: Patch coverage is 43.42105% with 43 lines in your changes are missing coverage. Please review.

Project coverage is 65.27%. Comparing base (ce5b586) to head (8ebd686).
Report is 6 commits behind head on main.

Files Patch % Lines
src/mqtt/protocol/mqtt/mqtt_client.c 43.42% 43 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #902      +/-   ##
==========================================
+ Coverage   65.06%   65.27%   +0.21%     
==========================================
  Files         130      129       -1     
  Lines       37891    37395     -496     
==========================================
- Hits        24655    24411     -244     
+ Misses      13236    12984     -252     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* ADD [mqtt/proto] Add some logs.

Signed-off-by: wanghaemq <wangwei@emqx.io>
@wanghaEMQ wanghaEMQ changed the title [WIP] Merge mqttv311 protocol layer with mqttv5 protocol layer Merge mqttv311 protocol layer with mqttv5 protocol layer Mar 28, 2024
@wanghaEMQ wanghaEMQ marked this pull request as ready for review March 28, 2024 03:01
nni_mtx_unlock(&s->mtx);
nni_msg_free(msg);
// close pipe directly, no DISCONNECT for MQTTv3.1.1
// close pipe directly
Copy link
Member

Choose a reason for hiding this comment

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

shall we send a DISCONNECT here for V5

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's okey

@JaylinYu JaylinYu merged commit 722745e into main Mar 29, 2024
16 checks passed
@JaylinYu JaylinYu deleted the wangha/dev2 branch March 29, 2024 09: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.

None yet

2 participants