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

[release/6.0] Fix cancel in PipeReader.ReadAtLeastAsync #66870

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 19, 2022

Backport of #66752 to release/6.0

/cc @BrennanConroy

Customer Impact

Reported by customer in #66645.

This bug causes cancellation tokens to be ignored in some cases when using PipeReader.ReadAtLeastAsync which can create hangs.

Testing

Added improved test coverage for cancellation tokens and verified the scenario provided is fixed.

Risk

Low. Very small fix that doesn't affect other code paths.

@BrennanConroy BrennanConroy added the Servicing-consider Issue for next servicing release review label Mar 19, 2022
@BrennanConroy BrennanConroy added this to the 6.0.x milestone Mar 19, 2022
@BrennanConroy BrennanConroy added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Mar 23, 2022
@BrennanConroy BrennanConroy modified the milestones: 6.0.x, 6.0.5 Apr 6, 2022
@carlossanlop
Copy link
Member

@BrennanConroy @halter73 I added the missing GeneratePackageOnBuild and bump version in the src csproj.

@leecow
Copy link
Member

leecow commented Apr 13, 2022

This should be merged asap to make it into the May release

@carlossanlop carlossanlop merged commit a21b9a2 into release/6.0 Apr 13, 2022
@BrennanConroy BrennanConroy deleted the backport/pr-66752-to-release/6.0 branch April 13, 2022 16:41
@ghost ghost locked as resolved and limited conversation to collaborators May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants