Skip to content

Dropped HTTP/2 response / response streams remain rooted #30236

@stephentoub

Description

@stephentoub

SocketHttpHandler's Http2ReadStream doesn't have a finalizer to handle the case where the caller drops the stream without disposing of it. But even if it did, it wouldn't be called today, because the response stream remains rooted: Http2Connection maintains a strong table of all active Http2Stream instances, each of which has a strong reference to its HttpResponseMessage, which has a strong reference to the Http2ReadStream.

Metadata

Metadata

Assignees

Labels

bugtenet-reliabilityReliability/stability related issue (stress, load problems, etc.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions