Description
Setting PublishTrimmed or PublishAot to true in the project will disable HTTP3 support in System.Net.Http.
dotnet/runtime#117655
Version
.NET 10 Preview 6
Previous behavior
HTTP3 support was allowed, but might not have actually worked by default in environments where msquic native library is not available. This resulted in HTTP3 not actually working while the app carried all the code related to it.
New behavior
HTTP3 is disabled and we don't carry the code for it.
Type of breaking change
Reason for change
Since making HTTP3 work requires extra gestures and often doesn't work by default, we'll no longer carry the code for it.
Recommended action
To enable HTTP3 support, set the documented <Http3Support> property to true in PublishTrimmed/PublishAot projects.
Feature area
Networking
Affected APIs
No response
Associated WorkItem - 454939
Description
Setting
PublishTrimmedorPublishAotto true in the project will disable HTTP3 support in System.Net.Http.dotnet/runtime#117655
Version
.NET 10 Preview 6
Previous behavior
HTTP3 support was allowed, but might not have actually worked by default in environments where msquic native library is not available. This resulted in HTTP3 not actually working while the app carried all the code related to it.
New behavior
HTTP3 is disabled and we don't carry the code for it.
Type of breaking change
Reason for change
Since making HTTP3 work requires extra gestures and often doesn't work by default, we'll no longer carry the code for it.
Recommended action
To enable HTTP3 support, set the documented
<Http3Support>property totrueinPublishTrimmed/PublishAotprojects.Feature area
Networking
Affected APIs
No response
Associated WorkItem - 454939