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

Use consistent handler defaults in docs and samples #2451

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

MihaZupan
Copy link
Member

Closes #2323

@MihaZupan MihaZupan added this to the v.Next milestone Mar 25, 2024
@MihaZupan MihaZupan self-assigned this Mar 25, 2024
@@ -47,6 +47,7 @@ public HttpMessageInvoker CreateClient(ForwarderHttpClientContext context)
AllowAutoRedirect = false,
AutomaticDecompression = DecompressionMethods.None,
UseCookies = false,
EnableMultipleHttp2Connections = true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change in the product code doesn't actually change anything as this setting will be overwritten by the config right after, but I wanted to keep all new SocketsHttpHandler looking the same in case someone copy-pastes it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well worth it. i made the mistake when copying and not realizing how it gets overwritten oater to true anyway. thanks.

@MihaZupan MihaZupan added the Type: Documentation Improvements or additions to documentation label Mar 25, 2024
@MihaZupan MihaZupan merged commit 83c3607 into microsoft:main Apr 2, 2024
7 checks passed
Copy link
Contributor

@ChintanRaval ChintanRaval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @MihaZupan

@MihaZupan MihaZupan modified the milestones: v.Next, YARP 2.2.0-preview1 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EnableMultipleHttp2Connections not covered in samples/docs
3 participants