Skip to content

[release/8.0] [maccatalyst] Make sure MacProxy is included in System.Net.Http - #91599

Merged
carlossanlop merged 1 commit into
release/8.0from
backport/pr-91473-to-release/8.0
Sep 11, 2023
Merged

[release/8.0] [maccatalyst] Make sure MacProxy is included in System.Net.Http#91599
carlossanlop merged 1 commit into
release/8.0from
backport/pr-91473-to-release/8.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Sep 5, 2023

Copy link
Copy Markdown
Contributor

Backport of #91473 to release/8.0

Fixes#90258

/cc @steveisok

Customer Impact

A customer reported #90258 where they were using ClientWebSocket.ConnectAsync in their MAUI app behind a proxy server and ran into connection issues using MacCatalyst. This is due to an in incorrect condition in System.Net.Http.csproj that does not include the relevant source code.

Testing

Manually validated connection with a proxy works

Risk

Low

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

#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, #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.
@ghost

ghost commented Sep 5, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #91473 to release/8.0

/cc @steveisok

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author:github-actions[bot]
Assignees:-
Labels:

area-System.Net.Http

Milestone:-

@steveisoksteveisok added the Servicing-consider Issue for next servicing release review label Sep 8, 2023
@marek-safarmarek-safar added this to the 8.0.0 milestone Sep 11, 2023
@carlossanlopcarlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 11, 2023
@carlossanlop
carlossanlop merged commit bfdfb82 into release/8.0Sep 11, 2023
@carlossanlop
carlossanlop deleted the backport/pr-91473-to-release/8.0 branch September 11, 2023 23:18
@radicalradical mentioned this pull request Sep 26, 2023
@radicalradical mentioned this pull request Oct 3, 2023
@ghostghost locked as resolved and limited conversation to collaborators Oct 12, 2023
@karelzkarelz added the os-maccatalyst MacCatalyst OS label Jun 24, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Httpos-maccatalystMacCatalyst OSServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@marek-safar@carlossanlop@steveisok@karelz