From 9d1cea2002df1ab496449c24402a555fee1de40e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 03:25:46 +0000 Subject: [PATCH 1/2] Initial plan From 92cdd733365062c5c57ae1a800a74dbb7a3759a6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 03:29:28 +0000 Subject: [PATCH 2/2] Reduce LargeUriAndHeaders_Works test size on Android to avoid timeout Co-authored-by: danmoseley <6385855+danmoseley@users.noreply.github.com> Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/180b1583-f9c5-4691-8785-f8875518a722 --- .../Common/tests/System/Net/Http/HttpClientHandlerTest.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs index aa98a2f8f7e592..322474fb38fef7 100644 --- a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs +++ b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs @@ -2332,7 +2332,9 @@ public enum HeaderType [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotBrowser))] public async Task LargeUriAndHeaders_Works() { - int length = IsWinHttpHandler ? 65_000 : 10_000_000; + int length = IsWinHttpHandler ? 65_000 + : PlatformDetection.IsAndroid ? 100_000 + : 10_000_000; string longPath = "/" + new string('X', length); string longHeaderName = new string('Y', length);