-
Notifications
You must be signed in to change notification settings - Fork 621
Closed
Labels
Area: APIArea: Performancefeature requestA request for new functionalityA request for new functionality
Milestone
Description
Describe the feature you'd like supported
In .NET Runtime, there is some logic conditioned on QUIC support on the platform (related to HTTP3). When checking QUIC support, we load the MsQuic library into the process and check the version (and query the TLS backend type), if compatible, we set some global flag.
However, calling MsQuicOpenVersion causes some threads to be created, which increases overall resources used by .NET programs even if they end up not using QUIC at all.
Proposed solution
Initialize the threadpool(s) lazily once the first Connection or Listener is created.
Additional context
We have resorted to a temporary workaround of calling MsQuicClose and later lazily reopening the library when necessary.
Metadata
Metadata
Assignees
Labels
Area: APIArea: Performancefeature requestA request for new functionalityA request for new functionality