Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't compress empty or small messages
Fixes grpc#6831. gzip compressing messages less than 21 bytes is always unfruitful, it always results in "compressed" messages that are longer than the original message length, since the minimum length of a gzipped message is 21 bytes, due to headers and CRC trailer.
- Loading branch information