You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the case *http2.SettingsFrame: is being taken but not case *http2.ContinuationFrame: or case *http2.HeadersFrame: and I am guessing either of those two branches are supposed to be taken. Unit tests in this repo are passing. I'm not sure what is wrong.
The text was updated successfully, but these errors were encountered:
I had the same problem. I always got a Method: PRI ... request that the server could not handle. Maybe something in the go-grpc client changed recently? Anyway, using cmux.HTTP2MatchHeaderFieldSendSettings works.
If I change https://github.com/grpc/grpc-go/blob/81b95b1854d7caf3cc21aed316fc222e1749cf31/examples/helloworld/greeter_server/main.go#L53 to:
This works as expected. The client side prints
2020/12/12 09:37:44 Greeting: Hello world
. But if I add the content-type matcher,The client cannot connect and blocks forever. In this switch
cmux/matchers.go
Line 241 in 8a8ea3c
case *http2.SettingsFrame:
is being taken but notcase *http2.ContinuationFrame:
orcase *http2.HeadersFrame:
and I am guessing either of those two branches are supposed to be taken. Unit tests in this repo are passing. I'm not sure what is wrong.The text was updated successfully, but these errors were encountered: