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

support HTTP/2 with TLS config in http_helper HTTPDo method #987

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ngyl88
Copy link

@ngyl88 ngyl88 commented Sep 13, 2021

The method http_helper.HTTPDoE was attempting to use HTTP 1.x with TLSConfig, thus hitting the issue "net/http: HTTP/1.x transport connection broken: malformed HTTP response" .

  • Copy over the mechanism in method http_helper.HttpGetE , PR#560 , to use DefaultTransport with ForceAttemptHTTP2: true , when custom Dealer and TLS Config is injected.
  • Support for custom TLS Config was merged from PR#386 .

@ngyl88
Copy link
Author

ngyl88 commented Nov 2, 2021

Hi @marinalimeira @yorinasub17 @brikis98 , could anyone help to review this change ?
Thanks!

@ngyl88
Copy link
Author

ngyl88 commented Oct 18, 2022

Could also be fixed by merging #1140 and close #1139 .

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.

None yet

1 participant