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

Handle Stream throwing for Length #995

Merged
merged 5 commits into from
Sep 13, 2023
Merged

Handle Stream throwing for Length #995

merged 5 commits into from
Sep 13, 2023

Conversation

SimonCropp
Copy link
Member

Streams can throw for Length. Eg a http stream that the server has not specified the length header
Specify buffer to avoid an exception in Stream.CopyToAsync where it reads Length
dotnet/runtime#43448

@SimonCropp SimonCropp added this to the 21.1.3 milestone Sep 13, 2023
@SimonCropp SimonCropp merged commit 72a754a into main Sep 13, 2023
1 check passed
@SimonCropp SimonCropp deleted the length-hacks branch September 13, 2023 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants