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

Delay Stream SHUTDOWN_COMPLETE Event While Data Pending #1382

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Mar 26, 2021

Fixes an issue where the stream SHUTDOWN_COMPLETE event is incorrectly delivered while the app is still draining received data (in the graceful shutdown scenario).

Fixes #1384.

Opened #1383 to track improving the test coverage in this area.

@nibanks nibanks requested a review from a team as a code owner March 26, 2021 13:46
@nibanks nibanks added Area: API Area: Core Related to the shared, core protocol logic Bug: Core A code bug in the Core MsQuic code labels Mar 26, 2021
Copy link
Member

@CarnaViire CarnaViire left a comment

Choose a reason for hiding this comment

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

I've checked it and it fixes both situations, thanks!

@nibanks nibanks merged commit 616813d into main Mar 26, 2021
@nibanks nibanks deleted the nibanks/delay-shutdown-data-pending branch March 26, 2021 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: API Area: Core Related to the shared, core protocol logic Bug: Core A code bug in the Core MsQuic code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SHUTDOWN_COMPLETE event happening before all received data could be processed
3 participants