From 0b3230a78b906909170ec302ff065b7f28423071 Mon Sep 17 00:00:00 2001 From: ManickaP Date: Tue, 17 Feb 2026 18:43:03 +0100 Subject: [PATCH] Re-enable WinHttpHandler PlatformHandlerTest_Cookies_Http2 test class PlatformHandlerTest_Cookies_Http2 from WinHttpHandler test builds. The test was disabled in March 2020 due to WinHttp error 12030 (connection terminated abnormally) during HTTP/2 cookie tests. The WinHttpHandler has received significant updates since then. Fixes https://github.com/dotnet/runtime/issues/33930 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../tests/FunctionalTests/PlatformHandlerTest.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/PlatformHandlerTest.cs b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/PlatformHandlerTest.cs index 7822189896649b..c7d30a67c46225 100644 --- a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/PlatformHandlerTest.cs +++ b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/PlatformHandlerTest.cs @@ -181,7 +181,6 @@ public PlatformHandler_HttpClientHandler_Authentication_Test(ITestOutputHelper o } #if NET -#if !WINHTTPHANDLER_TEST // [ActiveIssue("https://github.com/dotnet/runtime/issues/33930")] [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWindows10Version1607OrGreater))] public sealed class PlatformHandlerTest_Cookies_Http2 : HttpClientHandlerTest_Cookies { @@ -189,7 +188,6 @@ public sealed class PlatformHandlerTest_Cookies_Http2 : HttpClientHandlerTest_Co public PlatformHandlerTest_Cookies_Http2(ITestOutputHelper output) : base(output) { } } -#endif public sealed class PlatformHandler_HttpClientHandler_Asynchrony_Http2_Test : HttpClientHandler_Asynchrony_Test {