diff options
author | David Garcia Quintas <dgq@google.com> | 2016-05-05 18:25:34 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-05-05 18:26:13 -0700 |
commit | 303d3082a07363c29dc747e986658fd6c8dc4053 (patch) | |
tree | b4def2842e1c764354e1c190218c8b02bfe1a26f /src/core/lib/channel | |
parent | 900ed58732c139f66fa93e06ba0b136dc5067868 (diff) |
Fixed compression interop and re-enable for C++.
Also added some defense in depth for compression algorithms in the
receive path.
Diffstat (limited to 'src/core/lib/channel')
-rw-r--r-- | src/core/lib/channel/compress_filter.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/lib/channel/compress_filter.c b/src/core/lib/channel/compress_filter.c index 5510c79b18..9769070cc1 100644 --- a/src/core/lib/channel/compress_filter.c +++ b/src/core/lib/channel/compress_filter.c @@ -189,8 +189,10 @@ static void finish_send_message(grpc_exec_ctx *exec_ctx, char *algo_name; GPR_ASSERT(grpc_compression_algorithm_name(calld->compression_algorithm, &algo_name)); - gpr_log(GPR_DEBUG, "Algorithm '%s' enabled but decided not to compress.", - algo_name); + gpr_log( + GPR_DEBUG, + "Algorithm '%s' enabled but decided not to compress. Input size: %d", + algo_name, calld->slices.length); } } |