This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Repository navigation
HTTP2: Ensure we never send EndStream after RST_STREAM - #39834
Merged
Merged
Conversation
Author
|
/azp run |
|
Azure Pipelines successfully started running 4 pipeline(s). |
Author
|
I'm running our HttpStress on this now. I ran GRPC stress on this as well, and did not see the original issue described in #39819 repro. However, I had to do this with a hacked build to avoid dotnet/aspnetcore#12628. |
Author
|
HttpStress has been running for an hour, no failures. |
stephentoub
reviewed
Jul 28, 2019
stephentoub
reviewed
Jul 28, 2019
stephentoub
reviewed
Jul 28, 2019
stephentoub
approved these changes
Jul 28, 2019
|
Let's get it into 3.0 then. Ask mode starts Monday. |
Member
|
Ping me when this is in 3.0 and I'll update gRPC to the latest SDK and re-test https://github.com/dotnet/corefx/issues/39586. I can consistently repro it. |
Author
|
It's in master now, will be ported to 3.0 soon (today, hopefully). #39874 |
Member
|
This PR went into master - fixing milestone to 5.0. |
picenka21
pushed a commit
to picenka21/runtime
that referenced
this pull request
Feb 18, 2022
HTTP2: Ensure we never send EndStream after RST_STREAM Commit migrated from dotnet/corefx@57df8b3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #39586
Fixes #39819
There's a timing gap currently which can result in us sending EndStream on the request body after we've already sent RST_STREAM, which is not allowed.
Fix this by ensuring we never send EndStream if we've already sent RST_STREAM.
@danmosemsft This will need to get ported to the 3.0 branch -- GRPC stress issue.
@eiriktsarpalis Can we add a stress variation that tries to induce this issue? See description in #39819 (edit: fixed issue # here)