|
|
@ -203,10 +203,7 @@ grpc_channel *grpc_channel_create(const char *target, |
|
|
|
if (grpc_channel_args_is_census_enabled(args)) { |
|
|
|
if (grpc_channel_args_is_census_enabled(args)) { |
|
|
|
filters[n++] = &grpc_client_census_filter; |
|
|
|
filters[n++] = &grpc_client_census_filter; |
|
|
|
} */ |
|
|
|
} */ |
|
|
|
if (grpc_channel_args_get_compression_level(args) > |
|
|
|
filters[n++] = &grpc_compress_filter; |
|
|
|
GRPC_COMPRESS_LEVEL_NONE) { |
|
|
|
|
|
|
|
filters[n++] = &grpc_compress_filter; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
filters[n++] = &grpc_client_channel_filter; |
|
|
|
filters[n++] = &grpc_client_channel_filter; |
|
|
|
GPR_ASSERT(n <= MAX_FILTERS); |
|
|
|
GPR_ASSERT(n <= MAX_FILTERS); |
|
|
|
channel = grpc_channel_create_from_filters(filters, n, args, mdctx, 1); |
|
|
|
channel = grpc_channel_create_from_filters(filters, n, args, mdctx, 1); |
|
|
|