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

api: disable http.Transport.ForceAttemptHTTP2 by default #3566

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

dougm
Copy link
Member

@dougm dougm commented Sep 30, 2024

Revert soap.Client http.Transport back to manual construction, rather than Clone() (see 313aa85)

Disable ForceAttemptHTTP2 by default, as we currently see degraded transfer rates with large file uploads.

Closes #3564

Copy link

@RPitt RPitt left a comment

Choose a reason for hiding this comment

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

That looks good to me!
Not sure if I can approve but pressing the button anyway :)

Comment on lines 165 to 166
if insecure {
if t.TLSClientConfig == nil {
t.TLSClientConfig = new(tls.Config)
}
t.TLSClientConfig.InsecureSkipVerify = insecure
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: is this if redundant?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I'll fix that

vim25/soap/client.go Show resolved Hide resolved
Revert soap.Client http.Transport back to manual construction, rather than Clone() (see 313aa85)

Disable ForceAttemptHTTP2 by default, as we currently see degraded transfer rates with large file uploads.

Closes vmware#3564
@dougm dougm merged commit 40d679d into vmware:main Oct 1, 2024
10 checks passed
@dougm dougm deleted the disable-http2 branch October 1, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] datastore.upload slow performance since v0.31.0 due to the http Client configuration changes
3 participants