-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add feature switch to control HTTP3 support #49564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a feature switch to control HTTP/3 support via SDK properties and tests.
- Introduces
Http3Support
property in the KitchenSink test project - Updates publish tests to include the new
System.Net.SocketsHttpHandler.Http3Support
setting - Maps
Http3Support
to aRuntimeHostConfigurationOption
inMicrosoft.NET.Sdk.targets
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
test/TestAssets/TestProjects/KitchenSink/TestApp/TestApp.csproj | Added <Http3Support> property to the test project |
test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAProjectWithAllFeatures.cs | Included Http3Support in the published settings test |
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets | Mapped Http3Support property to runtime config option |
Comments suppressed due to low confidence (2)
test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAProjectWithAllFeatures.cs:83
- Consider adding a complementary test case where
Http3Support
is set totrue
to verify that enabling HTTP/3 is correctly applied during publish.
""System.Net.SocketsHttpHandler.Http3Support"": false,
test/TestAssets/TestProjects/KitchenSink/TestApp/TestApp.csproj:33
- [nitpick] Adjust the indentation of the
<Http3Support>
element to align with the surrounding properties (6 spaces) for consistency with the file’s style.
<Http3Support>false</Http3Support>
Control over this is moving from dotnet/runtime repo build time to publish time so we need to set a default that matches the old build-time setting. Ref #117012 Ref dotnet/sdk#49564
Control over this is moving from dotnet/runtime repo build time to publish time so we need to set a default that matches the old build-time setting. Ref dotnet/runtime#117012 Ref dotnet/sdk#49564
Control over this is moving from dotnet/runtime repo build time to publish time so we need to set a default that matches the old build-time setting. Ref dotnet/runtime#117012 Ref #49564
Control over this is moving from dotnet/runtime repo build time to publish time so we need to set a default that matches the old build-time setting. Ref dotnet/runtime#117012 Ref dotnet/sdk#49564
Control over this is moving from dotnet/runtime repo build time to publish time so we need to set a default that matches the old build-time setting. Ref dotnet/runtime#117012 Ref dotnet/sdk#49564
Control over this is moving from dotnet/runtime repo build time to publish time so we need to set a default that matches the old build-time setting. Ref dotnet/runtime#117012 Ref #49564
Context: dotnet/runtime#117012 Context: dotnet/sdk#49564 Control over this is moving from dotnet/runtime repo build time to publish time so we need to set a default that matches the old build-time setting.
Complements dotnet/runtime#117012.