Skip to content

Support ConnectionClose in NEW_CONNECTION Event #1849

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

Merged
merged 3 commits into from
Jul 23, 2021

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Jul 23, 2021

Fixes #1647. Correctly handles the case where the app accepts the connection (returns success) but closes the connection. Adds an additional assert to make sure the app doesn't both reject (return failure) and close the connection.

@nibanks nibanks added the Bug: Core A code bug in the Core MsQuic code label Jul 23, 2021
@nibanks nibanks requested a review from a team as a code owner July 23, 2021 20:48
@anrossi
Copy link
Contributor

anrossi commented Jul 23, 2021

No test to exercise this scenario too?

@nibanks nibanks merged commit a23f080 into main Jul 23, 2021
@nibanks nibanks deleted the nibanks/close-in-new-conn-callback branch July 23, 2021 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Core A code bug in the Core MsQuic code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Be more resilient to failure cases in New_connection event.
3 participants