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

Blazor: Fixes not supported HTTP features #1863

Merged
merged 2 commits into from
Sep 21, 2020
Merged

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Sep 21, 2020

Pull Request Template

Description

Creation of the CosmosHttpClient tries to set the Proxy and MaxConnectionsPerServer properties on HttpClientHandler, but these are not supported on all platforms.

This fix conditionally attempts to set them and detects PlatformNotSupportedException and retries without these parameters.

Due to the nature of the issue, no mocking can be done to test it.

Testing was done with a real Blazor WASM application.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Closing issues

Closes #1860
Closes #1862

@ealsur ealsur added the bug Something isn't working label Sep 21, 2020
@ealsur ealsur self-assigned this Sep 21, 2020
@ghost
Copy link

ghost commented Dec 15, 2021

Closing due to in-activity, pease feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants