Skip to content

Commit

Permalink
Make Kestrel default to HTTP/1 and /2. (#50243)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityamandaleeka authored Aug 21, 2023
1 parent 81fe483 commit 1e2767e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Servers/Kestrel/Core/src/ListenOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core;
/// </summary>
public class ListenOptions : IConnectionBuilder, IMultiplexedConnectionBuilder
{
internal const HttpProtocols DefaultHttpProtocols = HttpProtocols.Http1AndHttp2AndHttp3;
internal const HttpProtocols DefaultHttpProtocols = HttpProtocols.Http1AndHttp2;

private readonly List<Func<ConnectionDelegate, ConnectionDelegate>> _middleware = new List<Func<ConnectionDelegate, ConnectionDelegate>>();
private readonly List<Func<MultiplexedConnectionDelegate, MultiplexedConnectionDelegate>> _multiplexedMiddleware = new List<Func<MultiplexedConnectionDelegate, MultiplexedConnectionDelegate>>();
Expand Down

0 comments on commit 1e2767e

Please sign in to comment.