diff options
author | David Garcia Quintas <dgq@google.com> | 2015-06-24 16:17:47 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-06-24 16:17:47 -0700 |
commit | 331d2da2a7832d4066a0ce1d6d979059fc78ec8d (patch) | |
tree | 6108ffc203c04b4537d21ef51fea3dcee5e0d788 /src/core | |
parent | b910170667993095f547224fdd3a413c0a6ae287 (diff) |
Always include compression filter in channel creation
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/surface/channel_create.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/surface/channel_create.c b/src/core/surface/channel_create.c index 671d6a6c3e..c441a14b32 100644 --- a/src/core/surface/channel_create.c +++ b/src/core/surface/channel_create.c @@ -203,10 +203,7 @@ grpc_channel *grpc_channel_create(const char *target, if (grpc_channel_args_is_census_enabled(args)) { filters[n++] = &grpc_client_census_filter; } */ - if (grpc_channel_args_get_compression_level(args) > - GRPC_COMPRESS_LEVEL_NONE) { - filters[n++] = &grpc_compress_filter; - } + filters[n++] = &grpc_compress_filter; filters[n++] = &grpc_client_channel_filter; GPR_ASSERT(n <= MAX_FILTERS); channel = grpc_channel_create_from_filters(filters, n, args, mdctx, 1); |