Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
abc791a
[Foundation] Implement NSUrlSessionHandler proxy support
rolfbjarne Jul 9, 2026
3430bf6
[Foundation] Fix NSUrlSessionHandler proxy authentication challenge h…
rolfbjarne Jul 9, 2026
cfef971
[tests] Update expected app size files for NSUrlSessionHandler proxy …
rolfbjarne Jul 9, 2026
28dfc09
[Foundation] Send proxy credentials via the connection proxy dictionary
rolfbjarne Jul 9, 2026
a0b5eb5
[Foundation] Revert ineffective proxy-dict credentials; add proxy tes…
rolfbjarne Jul 10, 2026
86dda0d
[Foundation] Test proxy authentication via HTTPS CONNECT tunnel
rolfbjarne Jul 10, 2026
12e3605
Auto-format source code
Jul 10, 2026
71319b4
[tests] Fix missing closing brace in ProxyTestServer.HandleConnect
rolfbjarne Jul 10, 2026
beec855
[tests] Fix proxy-auth tests: avoid CFNetwork localhost proxy bypass
rolfbjarne Jul 10, 2026
91e7078
Address PR review comments
rolfbjarne Jul 14, 2026
6027f05
Address PR review comments (round 2)
rolfbjarne Jul 14, 2026
d2aeaa4
[tests] Don't ignore CI failures for the local-only proxy tests
rolfbjarne Jul 15, 2026
127b6ad
[Foundation] Address proxy-support review feedback
rolfbjarne Jul 16, 2026
d4716ab
Merge remote-tracking branch 'origin/main' into dev/rolf/issue-14632-…
rolfbjarne Jul 17, 2026
4ecd0d5
[tests] Update expected sizes.
rolfbjarne Jul 17, 2026
6bbee6f
[Foundation] Throw for unsupported proxy schemes instead of silently …
rolfbjarne Jul 17, 2026
9e5575d
Merge remote-tracking branch 'origin/main' into dev/rolf/issue-14632-…
rolfbjarne Aug 3, 2026
44246da
[tests] Update expected sizes.
rolfbjarne Aug 3, 2026
6bffe0d
Merge remote-tracking branch 'origin/main' into dev/rolf/issue-14632-…
rolfbjarne Aug 3, 2026
42fcdbe
Merge remote-tracking branch 'origin/main' into dev/rolf/issue-14632-…
rolfbjarne Aug 26, 2026
ce2f0a6
[tests] Update expected sizes.
rolfbjarne Aug 26, 2026
fc323de
[Foundation] Invalidate the old session when swapping in a proxy-conf…
rolfbjarne Aug 27, 2026
dd00dd3
Merge remote-tracking branch 'origin/main' into dev/rolf/issue-14632-…
rolfbjarne Sep 1, 2026
d6e41ea
[tests] Update expected sizes.
rolfbjarne Sep 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 201 additions & 30 deletions src/Foundation/NSUrlSessionHandler.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
AppBundleSize: 5,882,283 bytes (5,744.4 KB = 5.6 MB)
AppBundleSize: 5,882,872 bytes (5,745.0 KB = 5.6 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
1,078 bytes (1.1 KB = 0.0 MB)
1,099 bytes (1.1 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
4,579,016 bytes (4,471.7 KB = 4.4 MB)
4,579,528 bytes (4,472.2 KB = 4.4 MB)
Contents/MonoBundle/Microsoft.MacCatalyst.dll:
155,648 bytes (152.0 KB = 0.1 MB)
156,160 bytes (152.5 KB = 0.1 MB)
Contents/MonoBundle/runtimeconfig.bin:
1,405 bytes (1.4 KB = 0.0 MB)
Contents/MonoBundle/SizeTestApp.dll:
7,680 bytes (7.5 KB = 0.0 MB)
7,168 bytes (7.0 KB = 0.0 MB)
Contents/MonoBundle/System.Private.CoreLib.aotdata.arm64:
41,768 bytes (40.8 KB = 0.0 MB)
41,824 bytes (40.8 KB = 0.0 MB)
Contents/MonoBundle/System.Private.CoreLib.dll:
1,085,952 bytes (1,060.5 KB = 1.0 MB)
Contents/MonoBundle/System.Runtime.dll:
Expand Down
16 changes: 8 additions & 8 deletions tests/dotnet/UnitTests/expected/MacCatalyst-MonoVM-size.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
AppBundleSize: 17,470,855 bytes (17,061.4 KB = 16.7 MB)
AppBundleSize: 17,478,996 bytes (17,069.3 KB = 16.7 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
1,078 bytes (1.1 KB = 0.0 MB)
1,099 bytes (1.1 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
14,758,504 bytes (14,412.6 KB = 14.1 MB)
14,765,784 bytes (14,419.7 KB = 14.1 MB)
Contents/MonoBundle/aot-instances.aotdata.arm64:
1,127,384 bytes (1,101.0 KB = 1.1 MB)
1,127,456 bytes (1,101.0 KB = 1.1 MB)
Contents/MonoBundle/Microsoft.MacCatalyst.aotdata.arm64:
36,632 bytes (35.8 KB = 0.0 MB)
37,216 bytes (36.3 KB = 0.0 MB)
Contents/MonoBundle/Microsoft.MacCatalyst.dll:
51,200 bytes (50.0 KB = 0.0 MB)
51,712 bytes (50.5 KB = 0.0 MB)
Contents/MonoBundle/runtimeconfig.bin:
1,481 bytes (1.4 KB = 0.0 MB)
Contents/MonoBundle/SizeTestApp.aotdata.arm64:
1,552 bytes (1.5 KB = 0.0 MB)
Contents/MonoBundle/SizeTestApp.dll:
7,680 bytes (7.5 KB = 0.0 MB)
7,168 bytes (7.0 KB = 0.0 MB)
Contents/MonoBundle/System.Private.CoreLib.aotdata.arm64:
906,328 bytes (885.1 KB = 0.9 MB)
906,512 bytes (885.3 KB = 0.9 MB)
Contents/MonoBundle/System.Private.CoreLib.dll:
568,320 bytes (555.0 KB = 0.5 MB)
Contents/MonoBundle/System.Runtime.aotdata.arm64:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
AppBundleSize: 2,283,761 bytes (2,230.2 KB = 2.2 MB)
AppBundleSize: 2,283,827 bytes (2,230.3 KB = 2.2 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
1,081 bytes (1.1 KB = 0.0 MB)
1,099 bytes (1.1 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
2,280,776 bytes (2,227.3 KB = 2.2 MB)
2,280,824 bytes (2,227.4 KB = 2.2 MB)
Contents/MonoBundle/runtimeconfig.bin:
1,896 bytes (1.9 KB = 0.0 MB)
Contents/PkgInfo:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
AppBundleSize: 2,283,761 bytes (2,230.2 KB = 2.2 MB)
AppBundleSize: 2,283,827 bytes (2,230.3 KB = 2.2 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
1,081 bytes (1.1 KB = 0.0 MB)
1,099 bytes (1.1 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
2,280,776 bytes (2,227.3 KB = 2.2 MB)
2,280,824 bytes (2,227.4 KB = 2.2 MB)
Contents/MonoBundle/runtimeconfig.bin:
1,896 bytes (1.9 KB = 0.0 MB)
Contents/PkgInfo:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
AppBundleSize: 220,625,179 bytes (215,454.3 KB = 210.4 MB)
AppBundleSize: 220,626,534 bytes (215,455.6 KB = 210.4 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
750 bytes (0.7 KB = 0.0 MB)
777 bytes (0.8 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
7,351,304 bytes (7,179.0 KB = 7.0 MB)
7,351,608 bytes (7,179.3 KB = 7.0 MB)
Contents/MonoBundle/_Microsoft.macOS.TypeMap.dll:
4,710,400 bytes (4,600.0 KB = 4.5 MB)
Contents/MonoBundle/_Microsoft.macOS.TypeMaps.dll:
Expand Down Expand Up @@ -765,7 +765,7 @@ Contents/MonoBundle/libSystem.Net.Security.Native.dylib:
Contents/MonoBundle/libSystem.Security.Cryptography.Native.Apple.dylib:
510,064 bytes (498.1 KB = 0.5 MB)
Contents/MonoBundle/Microsoft.macOS.dll:
36,501,504 bytes (35,646.0 KB = 34.8 MB)
36,502,528 bytes (35,647.0 KB = 34.8 MB)
Contents/MonoBundle/runtimeconfig.bin:
1,445 bytes (1.4 KB = 0.0 MB)
Contents/PkgInfo:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
AppBundleSize: 220,625,179 bytes (215,454.3 KB = 210.4 MB)
AppBundleSize: 220,626,534 bytes (215,455.6 KB = 210.4 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
750 bytes (0.7 KB = 0.0 MB)
777 bytes (0.8 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
7,351,304 bytes (7,179.0 KB = 7.0 MB)
7,351,608 bytes (7,179.3 KB = 7.0 MB)
Contents/MonoBundle/_Microsoft.macOS.TypeMap.dll:
4,710,400 bytes (4,600.0 KB = 4.5 MB)
Contents/MonoBundle/_Microsoft.macOS.TypeMaps.dll:
Expand Down Expand Up @@ -765,7 +765,7 @@ Contents/MonoBundle/libSystem.Net.Security.Native.dylib:
Contents/MonoBundle/libSystem.Security.Cryptography.Native.Apple.dylib:
510,064 bytes (498.1 KB = 0.5 MB)
Contents/MonoBundle/Microsoft.macOS.dll:
36,501,504 bytes (35,646.0 KB = 34.8 MB)
36,502,528 bytes (35,647.0 KB = 34.8 MB)
Contents/MonoBundle/runtimeconfig.bin:
1,445 bytes (1.4 KB = 0.0 MB)
Contents/PkgInfo:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AppBundleSize: 4,733,446 bytes (4,622.5 KB = 4.5 MB)
AppBundleSize: 4,733,473 bytes (4,622.5 KB = 4.5 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
750 bytes (0.7 KB = 0.0 MB)
777 bytes (0.8 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
4,730,840 bytes (4,620.0 KB = 4.5 MB)
Contents/MonoBundle/runtimeconfig.bin:
Expand Down
4 changes: 2 additions & 2 deletions tests/dotnet/UnitTests/expected/MacOSX-NativeAOT-size.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AppBundleSize: 4,733,446 bytes (4,622.5 KB = 4.5 MB)
AppBundleSize: 4,733,473 bytes (4,622.5 KB = 4.5 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Contents/Info.plist:
750 bytes (0.7 KB = 0.0 MB)
777 bytes (0.8 KB = 0.0 MB)
Contents/MacOS/SizeTestApp:
4,730,840 bytes (4,620.0 KB = 4.5 MB)
Contents/MonoBundle/runtimeconfig.bin:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
AppBundleSize: 3,658,045 bytes (3,572.3 KB = 3.5 MB)
AppBundleSize: 3,658,674 bytes (3,572.9 KB = 3.5 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Info.plist:
1,144 bytes (1.1 KB = 0.0 MB)
1,165 bytes (1.1 KB = 0.0 MB)
Microsoft.tvOS.dll:
152,576 bytes (149.0 KB = 0.1 MB)
153,600 bytes (150.0 KB = 0.1 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
1,405 bytes (1.4 KB = 0.0 MB)
SizeTestApp:
2,368,992 bytes (2,313.5 KB = 2.3 MB)
2,369,056 bytes (2,313.5 KB = 2.3 MB)
SizeTestApp.dll:
7,680 bytes (7.5 KB = 0.0 MB)
7,168 bytes (7.0 KB = 0.0 MB)
System.Private.CoreLib.aotdata.arm64:
41,824 bytes (40.8 KB = 0.0 MB)
41,856 bytes (40.9 KB = 0.0 MB)
System.Private.CoreLib.dll:
1,074,688 bytes (1,049.5 KB = 1.0 MB)
System.Runtime.dll:
Expand Down
16 changes: 8 additions & 8 deletions tests/dotnet/UnitTests/expected/TVOS-MonoVM-size.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
AppBundleSize: 9,883,953 bytes (9,652.3 KB = 9.4 MB)
AppBundleSize: 9,885,190 bytes (9,653.5 KB = 9.4 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
aot-instances.aotdata.arm64:
888,672 bytes (867.8 KB = 0.8 MB)
889,288 bytes (868.4 KB = 0.8 MB)
Info.plist:
1,144 bytes (1.1 KB = 0.0 MB)
1,165 bytes (1.1 KB = 0.0 MB)
Microsoft.tvOS.aotdata.arm64:
23,640 bytes (23.1 KB = 0.0 MB)
23,784 bytes (23.2 KB = 0.0 MB)
Microsoft.tvOS.dll:
49,152 bytes (48.0 KB = 0.0 MB)
49,664 bytes (48.5 KB = 0.0 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
1,481 bytes (1.4 KB = 0.0 MB)
SizeTestApp:
7,615,264 bytes (7,436.8 KB = 7.3 MB)
7,615,384 bytes (7,436.9 KB = 7.3 MB)
SizeTestApp.aotdata.arm64:
1,464 bytes (1.4 KB = 0.0 MB)
SizeTestApp.dll:
7,680 bytes (7.5 KB = 0.0 MB)
7,168 bytes (7.0 KB = 0.0 MB)
System.Private.CoreLib.aotdata.arm64:
719,912 bytes (703.0 KB = 0.7 MB)
720,248 bytes (703.4 KB = 0.7 MB)
System.Private.CoreLib.dll:
564,224 bytes (551.0 KB = 0.5 MB)
System.Runtime.aotdata.arm64:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AppBundleSize: 2,250,363 bytes (2,197.6 KB = 2.1 MB)
AppBundleSize: 2,250,390 bytes (2,197.6 KB = 2.1 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Info.plist:
1,138 bytes (1.1 KB = 0.0 MB)
1,165 bytes (1.1 KB = 0.0 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
Expand Down
4 changes: 2 additions & 2 deletions tests/dotnet/UnitTests/expected/TVOS-NativeAOT-size.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AppBundleSize: 2,250,363 bytes (2,197.6 KB = 2.1 MB)
AppBundleSize: 2,250,390 bytes (2,197.6 KB = 2.1 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Info.plist:
1,138 bytes (1.1 KB = 0.0 MB)
1,165 bytes (1.1 KB = 0.0 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
AppBundleSize: 3,658,349 bytes (3,572.6 KB = 3.5 MB)
AppBundleSize: 3,658,978 bytes (3,573.2 KB = 3.5 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Info.plist:
1,168 bytes (1.1 KB = 0.0 MB)
1,189 bytes (1.2 KB = 0.0 MB)
Microsoft.iOS.dll:
152,576 bytes (149.0 KB = 0.1 MB)
153,600 bytes (150.0 KB = 0.1 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
1,405 bytes (1.4 KB = 0.0 MB)
SizeTestApp:
2,369,272 bytes (2,313.7 KB = 2.3 MB)
2,369,336 bytes (2,313.8 KB = 2.3 MB)
SizeTestApp.dll:
7,680 bytes (7.5 KB = 0.0 MB)
7,168 bytes (7.0 KB = 0.0 MB)
System.Private.CoreLib.aotdata.arm64:
41,824 bytes (40.8 KB = 0.0 MB)
41,856 bytes (40.9 KB = 0.0 MB)
System.Private.CoreLib.dll:
1,074,688 bytes (1,049.5 KB = 1.0 MB)
System.Runtime.dll:
Expand Down
16 changes: 8 additions & 8 deletions tests/dotnet/UnitTests/expected/iOS-MonoVM-size.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
AppBundleSize: 9,884,137 bytes (9,652.5 KB = 9.4 MB)
AppBundleSize: 9,885,374 bytes (9,653.7 KB = 9.4 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
aot-instances.aotdata.arm64:
888,672 bytes (867.8 KB = 0.8 MB)
889,288 bytes (868.4 KB = 0.8 MB)
Info.plist:
1,168 bytes (1.1 KB = 0.0 MB)
1,189 bytes (1.2 KB = 0.0 MB)
Microsoft.iOS.aotdata.arm64:
24,120 bytes (23.6 KB = 0.0 MB)
24,264 bytes (23.7 KB = 0.0 MB)
Microsoft.iOS.dll:
49,152 bytes (48.0 KB = 0.0 MB)
49,664 bytes (48.5 KB = 0.0 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
1,481 bytes (1.4 KB = 0.0 MB)
SizeTestApp:
7,614,944 bytes (7,436.5 KB = 7.3 MB)
7,615,064 bytes (7,436.6 KB = 7.3 MB)
SizeTestApp.aotdata.arm64:
1,464 bytes (1.4 KB = 0.0 MB)
SizeTestApp.dll:
7,680 bytes (7.5 KB = 0.0 MB)
7,168 bytes (7.0 KB = 0.0 MB)
System.Private.CoreLib.aotdata.arm64:
719,912 bytes (703.0 KB = 0.7 MB)
720,248 bytes (703.4 KB = 0.7 MB)
System.Private.CoreLib.dll:
564,224 bytes (551.0 KB = 0.5 MB)
System.Runtime.aotdata.arm64:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AppBundleSize: 2,304,954 bytes (2,250.9 KB = 2.2 MB)
AppBundleSize: 2,304,981 bytes (2,251.0 KB = 2.2 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Info.plist:
1,162 bytes (1.1 KB = 0.0 MB)
1,189 bytes (1.2 KB = 0.0 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
Expand Down
4 changes: 2 additions & 2 deletions tests/dotnet/UnitTests/expected/iOS-NativeAOT-size.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AppBundleSize: 2,304,954 bytes (2,250.9 KB = 2.2 MB)
AppBundleSize: 2,304,981 bytes (2,251.0 KB = 2.2 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
Info.plist:
1,162 bytes (1.1 KB = 0.0 MB)
1,189 bytes (1.2 KB = 0.0 MB)
PkgInfo:
8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin:
Expand Down
Loading
Loading