-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conversation
wanghaEMQ
commented
Apr 27, 2023
•
edited
edited
- 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
Codecov ReportPatch coverage:
📣 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
☔ View full report in Codecov by Sentry. |
if (qstrm->closed == true || qstrm->stream == NULL) | ||
return -2; | ||
MsQuic->StreamShutdown( | ||
qstrm->stream, QUIC_STREAM_SHUTDOWN_FLAG_ABORT, NNG_ECONNSHUT); |
There was a problem hiding this comment.
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