Skip to content

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

Merged
carlossanlop merged 2 commits into
release/6.0from
backport/pr-66752-to-release/6.0
Apr 13, 2022
Merged

[release/6.0] Fix cancel in PipeReader.ReadAtLeastAsync#66870
carlossanlop merged 2 commits into
release/6.0from
backport/pr-66752-to-release/6.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Mar 19, 2022

Copy link
Copy Markdown
Contributor

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.

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

Copy link
Copy Markdown
Contributor

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

@leecow

Copy link
Copy Markdown
Member

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

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

Labels

area-System.IO.PipelinesServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@carlossanlop@leecow@halter73@BrennanConroy