Uh oh!
There was an error while loading. Please reload this page.
[maccatalyst] Make sure MacProxy is included in System.Net.Http - #91473
Conversation
dotnet#90258 identified that `HttpClient.DefaultProxy` returned `System.Net.Http.HttpNoProxy` when using MacCatalyst. This is due to a condition in System.Net.Http.csproj not including maccatalyst as a condition and as a result, skipped adding the MacProxy sources. Way back when, dotnet#47823 had the condition, but this appears to have changed in dotnet#48652 when we thought MacCatalyst would inherit settings from iOS. That turned out to not be the case and this check was never added back.
ghost
commented
Sep 1, 2023
Tagging subscribers to this area: @dotnet/ncl Issue Details#90258 identified that Way back when, #47823 had the condition, but this appears to have changed in #48652 when we thought MacCatalyst would inherit settings from iOS. That turned out to not be the case and this check was never added back.
|
steveisok
commented
Sep 1, 2023
/azp run runtime-maccatalyst |
|
Azure Pipelines successfully started running 1 pipeline(s). |
steveisok
commented
Sep 5, 2023
/backport to release/8.0 |
steveisok
commented
Sep 5, 2023
/backport to release/7.0-staging |
Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/6086905990 |
Started backporting to release/7.0-staging: https://github.com/dotnet/runtime/actions/runs/6086908252 |
@steveisok backporting to release/7.0-staging failed, the patch most likely resulted in conflicts: $ git am --3way --ignore-whitespace --keep-non-patch changes.patch
Applying: [maccatalyst] Make sure MacProxy is included in System.Net.Http
Using index info to reconstruct a base tree...
M src/libraries/System.Net.Http/src/System.Net.Http.csproj
Falling back to patching base and 3-way merge...
Auto-merging src/libraries/System.Net.Http/src/System.Net.Http.csproj
CONFLICT (content): Merge conflict in src/libraries/System.Net.Http/src/System.Net.Http.csproj
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 [maccatalyst] Make sure MacProxy is included in System.Net.Http
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128Please backport manually! |
@steveisok an error occurred while backporting to release/7.0-staging, please check the run log for details! Error: git am failed, most likely due to a merge conflict. |
MihaZupan
commented
Sep 5, 2023
Is there a way to test this? |
steveisok
commented
Sep 5, 2023
How do we test it now? MacCatalyst can be thought of as osx in this particular case. |
MihaZupan
commented
Sep 5, 2023
| looks like it could be the relevant test. |
… System.Net.Http Backport of dotnet#91473 to release/7.0
Fixes#90258
#90258 identified that
HttpClient.DefaultProxyreturnedSystem.Net.Http.HttpNoProxywhen using MacCatalyst. This is due to System.Net.Http.csproj not having maccatalyst as a condition when including MacProxy sources.Way back when, #47823 had the condition, but this appears to have changed in #48652 when we thought MacCatalyst would inherit settings from iOS. That turned out to not be the case and this check was never added back.