-
Notifications
You must be signed in to change notification settings - Fork 10k
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
HTTP/3: Enable in Kestrel by default #36486
Comments
Before we enable H3 by default, we need:
|
Related: #37151 |
HTTP/3 support has now been enabled by default in HttpClient (dotnet/runtime#73153). I'm nervous about doing this in .NET 7 for Kestrel though. I feel that HTTP/2 had more bake time before we enabled it by default. I'm worried we're not properly hardened and perf tested given issues like dotnet/runtime#49972 and #32034. @stephentoub @sebastienros Do we have any HTTP/2 vs HTTP/3 benchmarks? Anything on https://aka.ms/aspnet/benchmarks? |
You still need to opt-in to sending HTTP/3 requests, e.g. set the http message request version to 3.0, or set the version policy to request version or higher. It's just that before that PR, you also had to toggle an appcontext switch or else HTTP/3 wasn't available at all. |
I see. That's similar to how you currently have to opt-in with |
We removed the preview flags from I'm leaning towards leaving HTTP/3 opt-in in .NET 7 for Kestrel. We haven't seen any issues reported for it. Either there are no bugs or problems, or few people are using it so far. |
Do you know if the communication between IIS and Kestrel in out-of-process scenario is upgraded to HTTP/3 (for .NET 7) by default if it's supported by both servers ? https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/http3?view=aspnetcore-6.0
|
If HTTP/3 were "Enabled by default" then would that mean a client connecting would get upgraded to HTTP/3 without a specific opt-in? |
Thanks for contacting us. We're moving this issue to the |
Turn on HTTP/3 by default in .NET 7, i.e. default protocol is
Http1AndHttp2AndHttp3
. 🌶️ 🔥 💥Should do this sooner rather than later to get feedback in .NET 7 previews.
The text was updated successfully, but these errors were encountered: