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

Stream Shutdown on Failure in Operation Cleanup #2591

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Mar 30, 2022

Description

While inspecting the code I noticed that we only were apply the logic for QUIC_STREAM_START_FLAG_SHUTDOWN_ON_FAIL in the failure path of QuicStreamStart, and not in the operation clean up path of QuicOperationQueueClear which happens when a connection is cleaned up.

Testing

As this is a nearly impossible timing window to hit with a test, I will rely on spinquic and existing tests to hopefully exercise.

Documentation

None. This is just fixing a bug.

@nibanks nibanks requested a review from a team as a code owner March 30, 2022 13:45
@nibanks nibanks added the Bug: Core A code bug in the Core MsQuic code label Mar 30, 2022
@nibanks nibanks added this to the Release 2.0 milestone Mar 30, 2022
@nibanks
Copy link
Member Author

nibanks commented Mar 30, 2022

FYI, this will need to be backported to release/2.0.

@nibanks nibanks merged commit eb44a33 into main Mar 30, 2022
@nibanks nibanks deleted the nibanks/stream-shutdown-on-fail-oper-cleanup branch March 30, 2022 16:46
nibanks added a commit that referenced this pull request Mar 31, 2022
Co-authored-by: Nick Banks <nibanks@microsoft.com>
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.

2 participants