2
0
mirror of https://github.com/soheilhy/cmux.git synced 2026-08-04 02:57:36 +08:00
Files
cmux/cmux_test.go
Soheil Hassas Yeganeh 861c99e0fc Return not-match on different field values in HTTP2
Retun as soon as we have the matched field in the HTTP2 matcher
regardless of weather the value is matched or not. Fixes #35.

Issue #35 reports that cmux leaks memory when the client is HTTP2
but does not sends the expected header field. For example, when
the non-gRPC client sends a large field in the header and we are
matching for gRPC, we waste a lot of memory in the sniff buffer.
2016-09-25 00:58:17 -04:00

14 KiB