-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
net/http: h2 does not support other net.Conn than *tls.Conn #55076
Comments
I'm not certain we want to weaken that requirement; the server is already fairly tightly coupled to |
@neild thanks for your reply and notice In my use case I want to use cmux to listen to http2 and grpc services on the same port. But this |
The usual way is via grpc's ServeHTTP and treat it like any other handler |
Change https://go.dev/cl/431155 mentions this issue: |
Another way to do this today is to use |
Oh, thx! This is a great idea to me |
If anyone has the same issue and usecase as me Maybe you can try to use |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: