Skip to content

Http2MessageBody.TryRead TryStart/TryStop #13464

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

Merged
merged 1 commit into from
Aug 27, 2019

Conversation

benaadams
Copy link
Member

@benaadams benaadams commented Aug 27, 2019

#13305 targeting release/3.0

/cc @halter73

Ask mode template

Description

If an app uses the new PipeReader.TryRead API on an HTTP/2 request body, request rate calculations will be done incorrectly.

Customer Impact

This can potentially lead to issues where a client that has met the configured minimum request body rate would still see its request aborted.

Regression?

Technically no, since this is a new API, but this would be a regression for apps that switched from using Stream.ReadAsync to using PipeReader.TryRead to read a request body.

Risk

Low, since this change only impacts apps that read a request body using PipeReader.TryRead.

@dougbu
Copy link
Contributor

dougbu commented Aug 27, 2019

@halter73 could you add the ask-mode template to this PR please? Hard to tell what customer scenario would hit an issue w/o this.

/cc @Pilchie

@halter73 halter73 added the ask-mode This issue / PR is a patch candidate which we will bar-check internally before patching it. label Aug 27, 2019
@halter73
Copy link
Member

I added the ask mode template. If I need any more changes @benaadams, I can open up a new branch/PR. Sorry for the hassle!

@Pilchie
Copy link
Member

Pilchie commented Aug 27, 2019

This is approved by tactics, assuming the helix failures are un-related.

@halter73 halter73 merged commit 649bcc8 into dotnet:release/3.0 Aug 27, 2019
@halter73
Copy link
Member

Thanks @benaadams!

@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions ask-mode This issue / PR is a patch candidate which we will bar-check internally before patching it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants