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 server critical QUIC bugs. #943

Merged
merged 5 commits into from
May 14, 2024
Merged

Fix server critical QUIC bugs. #943

merged 5 commits into from
May 14, 2024

Conversation

wanghaEMQ
Copy link
Member

@wanghaEMQ wanghaEMQ commented May 14, 2024

  • Fixed the double free on qos msg in protocol.
  • Fixed the unguard unack map.
  • Fixed the error that quic connection may getting stuck in closing.
  • Fixed heap use after free on ackmsg sending when sending in msquic failed.
  • Fixed the repeat quic connection close.

Signed-off-by: wanghaemq <wangwei@emqx.io>
Signed-off-by: wanghaemq <wangwei@emqx.io>
…ocol layer.

Signed-off-by: wanghaemq <wangwei@emqx.io>
…quic prior sending.

Signed-off-by: wanghaemq <wangwei@emqx.io>
Copy link
Member

@JaylinYu JaylinYu left a comment

Choose a reason for hiding this comment

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

move lock then merge

src/mqtt/protocol/mqtt/mqttv5_quic_client.c Outdated Show resolved Hide resolved
Signed-off-by: wanghaemq <wangwei@emqx.io>
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.04%. Comparing base (3d880f6) to head (505feba).
Report is 79 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #943      +/-   ##
==========================================
- Coverage   65.13%   65.04%   -0.10%     
==========================================
  Files         129      129              
  Lines       37416    37620     +204     
==========================================
+ Hits        24372    24469      +97     
- Misses      13044    13151     +107     

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

@wanghaEMQ wanghaEMQ requested a review from JaylinYu May 14, 2024 10:11
@JaylinYu JaylinYu merged commit c735b64 into main May 14, 2024
16 checks passed
@JaylinYu JaylinYu deleted the wangha/fix branch May 14, 2024 10:12
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

3 participants