Skip to content

[release/8.0-staging] Fix idle HTTP/2 connection KeepAliveTimeout teardown - #96158

Merged
MihaZupan merged 2 commits into
release/8.0-stagingfrom
backport/pr-96157-to-release/8.0-staging
Jan 4, 2024
Merged

MihaZupan merged 2 commits into
release/8.0-stagingfrom
backport/pr-96157-to-release/8.0-staging

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 19, 2023 •

Copy link
Copy Markdown
Contributor

Backport of #96157 to release/8.0-staging
Fixes #95621 for 8.0.

/cc @MihaZupan

Customer Impact

This is a regression introduced in 8.0 (PR #90094). Blocks migration from 7.0 to 8.0, as it causes the application to crash if the app uses HTTP/2 with the KeepAlive opt-in.
Customers impacted: 2 reports from the community migrating to 8.0, using HTTP/2 (via gRPC) - see #95621. One of the customers verified the fix on a patched build of 8.0.

A bug in the HttpClient's HTTP/2 implementation can cause otherwise well-behaved applications to consistently crash if they opt-in to HTTP/2 KeepAlive pings.

Testing

Existing CI tests were modified to consistently reproduce the reported issue and are no longer failing after applying the fix.

A patched .NET 8.0 build of System.Net.Http.dll was tested by one of the affected users who reported the issue, and they confirmed that it addressed the issue.

Risk

Minimal.
The product change in question is trivial (moving setting a flag up by 2 lines).

@ghost ghost added the area-System.Net.Http label Dec 19, 2023
@ghost

ghost commented Dec 19, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #96157 to release/8.0-staging

/cc @MihaZupan

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Net.Http

Milestone: -

@MihaZupan MihaZupan self-assigned this Dec 19, 2023
@MihaZupan MihaZupan added this to the 8.0.x milestone Dec 19, 2023
@MihaZupan
MihaZupan requested a review from wfurt December 19, 2023 01:19
@MihaZupan

Copy link
Copy Markdown
Member

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@jaydoshiforblog

Copy link
Copy Markdown

I am Planning to Migrate my grpc app to .net8 .. Can @ManickaP you kindly confirm when this will be Released? it looks like critical and blocking issue currently.

@ManickaP

ManickaP commented Jan 3, 2024

Copy link
Copy Markdown
Member

Middle of February or March, depending if we get it approved and merged this week or not. cc @karelz

@karelz karelz added the Servicing-consider Issue for next servicing release review label Jan 3, 2024
@MihaZupan MihaZupan added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jan 4, 2024
@MihaZupan

MihaZupan commented Jan 4, 2024 •

Copy link
Copy Markdown
Member

Approved by Tactics (@SteveMCarroll) via email on 1/4

@MihaZupan
MihaZupan merged commit ef39923 into release/8.0-staging Jan 4, 2024
@MihaZupan
MihaZupan deleted the backport/pr-96157-to-release/8.0-staging branch January 4, 2024 13:25
@akoeplinger akoeplinger modified the milestones: 8.0.x, 8.0.2 Jan 14, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Http Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants