Skip to content

HttpClient creates Quic threads even if HTTP/3 is not in use #74629

Closed
@wfurt

Description

@wfurt
  1. Create simple console app with HTTP and run simple http1.1 request on Windows 11 or Server 22.
  2. look at application threads.

image

Application crates 2x threads per core even if HTTP/3 and Quic are not in used. This was originally reported on legacy system with 54 cores. That will create 100+ threads ... for nothing.

We should figure out how to make Quic.IsSupported cheap and defer thread creation until needed.
This will impact legacy app that has no clue tor intention to use Quic or HTTP/3.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions