Repository navigation
[release/8.0-staging] Fix idle HTTP/2 connection KeepAliveTimeout teardown - #96158
Conversation
|
Tagging subscribers to this area: @dotnet/ncl Issue DetailsBackport of #96157 to release/8.0-staging /cc @MihaZupan Customer ImpactTestingRiskIMPORTANT: If this backport is for a servicing release, please verify that:
|
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…pHandlerTest.Http2KeepAlivePing.cs
|
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. |
|
Middle of February or March, depending if we get it approved and merged this week or not. cc @karelz |
|
Approved by Tactics (@SteveMCarroll) via email on 1/4 |
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.dllwas 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).