-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Refactor quic setup #34877
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
Refactor quic setup #34877
Conversation
src/Servers/Kestrel/Core/src/Internal/Infrastructure/TransportManager.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderQuicExtensions.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/Kestrel/src/WebHostBuilderKestrelExtensions.cs
Outdated
Show resolved
Hide resolved
63587d2
to
17e7dee
Compare
@@ -29,6 +29,7 @@ public static class WebHostBuilderKestrelExtensions | |||
/// </returns> | |||
public static IWebHostBuilder UseKestrel(this IWebHostBuilder hostBuilder) | |||
{ | |||
hostBuilder.UseQuic(); |
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.
So anyone using Kestrel will be using Quic, even if not using Http3? Does it no-op for Http1/2?
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.
Right, this adds the services but they're only used if you enable http3.
This works to improve the user experience around enabling and configuring Http3 and Quic.
Contributes to #34858, #34517