-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Set a default for the Http3Support feature switch #49581
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
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
Thanks for your PR, @@MichalStrehovsky. |
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
Sets the default value of the Http3Support
feature switch to false
in the Blazor WebAssembly 6.0 SDK targets so that publish-time behavior matches the previous build-time default.
- Adds a new
<Http3Support>
property with a fallback offalse
.
@@ -51,6 +51,7 @@ Copyright (c) .NET Foundation. All rights reserved. | |||
<UseSystemResourceKeys Condition="'$(UseSystemResourceKeys)' == ''">true</UseSystemResourceKeys> | |||
<UseSizeOptimizedLinq Condition="'$(UseSizeOptimizedLinq)' == ''">true</UseSizeOptimizedLinq> | |||
<EnableUnsafeUTF7Encoding Condition="'$(EnableUnsafeUTF7Encoding)' == ''">false</EnableUnsafeUTF7Encoding> | |||
<Http3Support Condition="'$(Http3Support)' == ''">false</Http3Support> |
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.
This change introduces a new default for Http3Support
. Consider adding or updating an automated test in the SDK targets tests to verify that when Http3Support
is unset it indeed defaults to false
.
Copilot uses AI. Check for mistakes.
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.
Should this be on the wasm SDK directly? /cc @maraf
Ideally, we want this for all webassembly apps, not just Blazor ones
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.
We don't have same underlying SocketsHttpHandler
in wasm. We use browser's fetch
. So this should have no impact.
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.
Should this be on the wasm SDK directly? /cc @maraf
I'm putting this on the other WASM related file here: #49583 (I had that PR out as dotnet/runtime#117081 originally, that's why it's a separate PR).
These both duplicate a lot of these properties and I don't know what's the difference so I'm just piling on where related things are already set.
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