Skip to content

Conversation

@geoffkizer
Copy link
Contributor

@geoffkizer geoffkizer commented Dec 1, 2021

When scavenging connections, if we end up scavenging at least one HTTP/1.1 connection and at least one HTTP2 connection for the same connection pool (i.e. origin server), the first HTTP2 connection will be removed from the connection list but not disposed, leading to a connection leak.

Having both HTTP/1.1 and HTTP2 connections to the same server is not common, but if this happens the impact is pretty bad.

@ghost ghost added the area-System.Net.Http label Dec 1, 2021
@ghost
Copy link

ghost commented Dec 1, 2021

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

Issue Details

null

Author: geoffkizer
Assignees: -
Labels:

area-System.Net.Http

Milestone: -

@geoffkizer geoffkizer added this to the 7.0.0 milestone Dec 1, 2021
@geoffkizer geoffkizer requested a review from a team December 1, 2021 03:15
@stephentoub
Copy link
Member

Looks like this was introduced in July for .NET 6. We should probably service it.

@stephentoub stephentoub merged commit e9c6c04 into dotnet:main Dec 1, 2021
@stephentoub
Copy link
Member

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2021

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1526252602

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.

4 participants