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

Add quic_disconnect interface #542

Merged
merged 8 commits into from
Apr 30, 2023
Merged

Add quic_disconnect interface #542

merged 8 commits into from
Apr 30, 2023

Conversation

wanghaEMQ
Copy link
Member

@wanghaEMQ wanghaEMQ commented Apr 27, 2023

  • Fix the error of calling stack overflow when receiving
  • Add quic_disconnect interface
  • Add nng_mqtt_quic_client_close interface for user.
  • Fix the error that shutdown connection after close

@wanghaEMQ wanghaEMQ requested a review from JaylinYu April 27, 2023 09:26
@codecov-commenter
Copy link

codecov-commenter commented Apr 27, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.06 ⚠️

Comparison is base (ed59e0a) 53.23% compared to head (67a9628) 53.18%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #542      +/-   ##
==========================================
- Coverage   53.23%   53.18%   -0.06%     
==========================================
  Files         120      120              
  Lines       36573    36575       +2     
==========================================
- Hits        19471    19453      -18     
- Misses      17102    17122      +20     
Impacted Files Coverage Δ
src/mqtt/protocol/mqtt/mqtt_client.c 67.89% <100.00%> (ø)

... and 16 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

if (qstrm->closed == true || qstrm->stream == NULL)
return -2;
MsQuic->StreamShutdown(
qstrm->stream, QUIC_STREAM_SHUTDOWN_FLAG_ABORT, NNG_ECONNSHUT);
Copy link
Member

Choose a reason for hiding this comment

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

need to close connection alone

@JaylinYu JaylinYu merged commit 6852a62 into main Apr 30, 2023
14 checks passed
@JaylinYu JaylinYu deleted the wangha/dev branch April 30, 2023 02:03
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