Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 5, 2023

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
Copy link

ghost commented Sep 5, 2023

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: -

@steveisok steveisok added the Servicing-consider Issue for next servicing release review label Sep 8, 2023
@marek-safar marek-safar added this to the 8.0.0 milestone Sep 11, 2023
@carlossanlop carlossanlop 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.0 Sep 11, 2023
104 of 110 checks passed
@carlossanlop carlossanlop deleted the backport/pr-91473-to-release/8.0 branch September 11, 2023 23:18
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 12, 2023
@karelz karelz added the os-maccatalyst MacCatalyst OS label Jun 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http os-maccatalyst MacCatalyst OS Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants