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

Implement HTTP/2 to HTTP/1.1 downgrade support if the request is GRPC… #4606

Closed

Conversation

sword-jin
Copy link
Contributor

resolve: #4563

force to use h2 transport only for grpc request

@fatedier fatedier requested a review from Copilot December 24, 2024 08:18
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

pkg/util/vhost/http.go:53

  • The new behavior introduced by grpcSwitchH2Transport should be covered by tests.
type grpcSwitchH2Transport struct {

pkg/util/vhost/http.go Outdated Show resolved Hide resolved
@fatedier
Copy link
Owner

This implementation does not look elegant and is not a general-purpose solution. I am not inclined to introduce such logic.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sword-jin
Copy link
Contributor Author

This implementation does not look elegant and is not a general-purpose solution. I am not inclined to introduce such logic.

could you provide another acceptable idea?

Copy link

github-actions bot commented Jan 8, 2025

PRs go stale after 14d of inactivity. Stale PRs rot after an additional 3d of inactivity and eventually close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Support h2c in vhost server
2 participants