Skip to content

Commit 2b8034b

Browse files
author
John Luo
committed
Comments
1 parent 4124533 commit 2b8034b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Servers/Kestrel/Core/src/Middleware/HttpsConnectionMiddleware.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ private static bool IsWindowsVersionIncompatible()
310310
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
311311
{
312312
var enableHttp2OnWindows81 = AppContext.TryGetSwitch(EnableWindows81Http2, out var enabled) && enabled;
313-
if (Environment.OSVersion.Version < new Version(6, 3)
313+
if (Environment.OSVersion.Version < new Version(6, 3) // Missing ALPN support
314+
// Win8.1 and 2012 R2 don't support the right cipher configuration by default.
314315
|| (Environment.OSVersion.Version < new Version(10, 0) && !enableHttp2OnWindows81))
315316
{
316317
return true;

0 commit comments

Comments
 (0)