mirror of
https://github.com/soheilhy/cmux.git
synced 2026-08-04 02:57:36 +08:00
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.
14 KiB
14 KiB