From a9ff8fbcc00b66ee70562865d0a7d504b4853cad Mon Sep 17 00:00:00 2001 From: Soheil Hassas Yeganeh Date: Thu, 30 Jul 2015 00:07:14 -0400 Subject: [PATCH] Elaborate on the limitations in README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ff5b1b8..4237550 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,12 @@ is negligible. *TODO(soheil)*: Add benchmarks. ## Limitations -*TLS*: Since `cmux` sits in between the actual listener and the mux'ed +* *TLS*: Since `cmux` sits in between the actual listener and the mux'ed listeners, TLS handshake is not handled inside the actual servers. Because of that, when you handle HTTPS using cmux `http.Request.TLS` would not be set. + +* *Different Protocols on The Same Connection*: `cmux` matches the connection +when it's accepted. For example, one connection can be either gRPC or REST, but +not both. That is, we assume that a client connection is either used for gRPC +or REST.