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

config: add VhostEnableH2C flag to support HTTP/2 cleartext upgrade #4561

Closed
wants to merge 1 commit into from

Conversation

sword-jin
Copy link
Contributor

@sword-jin sword-jin commented Nov 28, 2024

WHY

Support h2c in virtual host.

Our use case is:

In front of the vhost, we deploy a caddy to reverse the traffic to frps. And use caddy do tls termination, we got a bug, the client always get an error internal: protocol error: no Grpc-Status trailer: unexpected EOF when requesting a GRPC streaming API(works well on unary API).

After some investigation and debug, I found we can fix it by support h2c on the vhost layer.

refrence:

close #4563

@fatedier
Copy link
Owner

The better approach is to submit an issue first, engage in a discussion, reach a consensus, and then submit the code.

@fatedier
Copy link
Owner

I'd prefer not to introduce new optional parameters. Maybe we can support this functionality transparently so users don't need to make any changes.

Copy link

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