Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[release/3.0] HTTP2: Ensure we never send EndStream after RST_STREAM #39834 - #39874

Merged
wtgodbe merged 1 commit into
dotnet:release/3.0from
geoffkizer:port39834
Aug 7, 2019
Merged

wtgodbe merged 1 commit into
dotnet:release/3.0from
geoffkizer:port39834

Conversation

@geoffkizer

@geoffkizer geoffkizer commented Jul 29, 2019 •

Copy link
Copy Markdown

GRPC stress issue. Port of PR #39834.

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.

cc @danmosemsft

@wtgodbe

wtgodbe commented Jul 29, 2019

Copy link
Copy Markdown
Member

@geoffkizer @danmosemsft is this a preview8 blocker?

@geoffkizer

Copy link
Copy Markdown
Author

@wtgodbe I don't know what the criteria are for being a preview8 blocker.

@danmoseley danmoseley changed the title Port 39834 to release/3.0 Port HTTP2: Ensure we never send EndStream after RST_STREAM #39834 to release/3.0 Jul 29, 2019
@danmoseley

Copy link
Copy Markdown

This can wait to Preview 9. @geoffkizer this will need to go to ask mode though, could you please fill this out in this PR? Don't need lots of detail:

Description

Customer Impact

Regression?

Risk

@geoffkizer

geoffkizer commented Jul 29, 2019 •

Copy link
Copy Markdown
Author

Description

Fix a race between request body completion and response body disposal that would occasionally cause us to send EndStream after RST_STREAM, which is a protocol violation per RFC.

Customer Impact

Causes occasional failures when using GRPC, or other HTTP2 duplex use.

Regression?

No

Risk

Low

@leecow

leecow commented Jul 30, 2019

Copy link
Copy Markdown
Member

tactics approved - wait to merge for @wtgodbe go ahead.

@davidsh davidsh added this to the 3.0 milestone Aug 2, 2019
@davidsh davidsh changed the title Port HTTP2: Ensure we never send EndStream after RST_STREAM #39834 to release/3.0 [release/3.0] HTTP2: Ensure we never send EndStream after RST_STREAM #39834 Aug 2, 2019
@davidsh davidsh added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Aug 2, 2019
@wtgodbe wtgodbe removed the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Aug 7, 2019
@wtgodbe

wtgodbe commented Aug 7, 2019

Copy link
Copy Markdown
Member

Branch is open, merging

@wtgodbe
wtgodbe merged commit e2e3a71 into dotnet:release/3.0 Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants