2
0
mirror of https://github.com/soheilhy/cmux.git synced 2026-08-10 14:55:44 +08:00
Files
cmux/cmux.go
Soheil Hassas Yeganeh d83a667cb2 Add Matchers that can write back on the channel
As reported in issue #22 reports that Java gRPC clients cannot
handshake with cmux'ed gRPC server, since the client does not
immediately send a header with the content-type field. The reason
is that the java client, block on receiving the first SETTING
frame.

Add MatchWriter that can match and write on the connection. Implement
a MatchWriter that writes a SETTING frame once it receives a SETTING
frame.
2016-04-24 14:47:08 -04:00

5.4 KiB