aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/secure_channel_create.c
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-06-30 23:29:03 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-06-30 23:29:03 -0700
commitd7d9ce27c523798384051246e18e3f00b29dd8c9 (patch)
tree3bea869080c65f73f1c92ded39c6b7e1434394fe /src/core/surface/secure_channel_create.c
parentfc0fa3381c7b7088936ce6f41a8f8c41ef3c38ac (diff)
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
Diffstat (limited to 'src/core/surface/secure_channel_create.c')
-rw-r--r--src/core/surface/secure_channel_create.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/surface/secure_channel_create.c b/src/core/surface/secure_channel_create.c
index be46c54427..cfa869ec71 100644
--- a/src/core/surface/secure_channel_create.c
+++ b/src/core/surface/secure_channel_create.c
@@ -244,10 +244,7 @@ grpc_channel *grpc_secure_channel_create(grpc_credentials *creds,
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_copy, mdctx, 1);