Skip to content

[release/3.0] HTTP2: Fix hang due to handling of RST_STREAM with error = NO_ERROR after response EndStream #30662

Closed

Description

@maryamariyan

Fixes #30295
Fixes #30488

Port of dotnet/corefx#39882 to release/3.0

Description

The RFC defines special behavior for receiving a RST_STREAM with error = NO_ERROR after the response body stream has been completed. When this happens, a client is supposed to cancel sending the request body but still consider the request successful. Previously, we did not do this.

Impact

Fixes a hang found in gRPC scenarios. Also affects non-GRPC scenarios, e.g. POST and receive early 4xx response like Forbidden; many servers will send RST_STREAM with NO_ERROR in this scenario.

Regression?

No

Risk

Low

danmosemsft

Activity

  1. transferred this issue fromdotnet/corefxon Feb 1, 2020
  2. added this to the 5.0 milestone on Feb 1, 2020
  3. ghost locked as resolved and limited conversation to collaborators on Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Httptenet-reliability

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions