|
|
@ -38,6 +38,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <grpc/support/alloc.h> |
|
|
|
#include <grpc/support/alloc.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "src/core/channel/census_filter.h" |
|
|
|
#include "src/core/channel/channel_args.h" |
|
|
|
#include "src/core/channel/channel_args.h" |
|
|
|
#include "src/core/channel/client_channel.h" |
|
|
|
#include "src/core/channel/client_channel.h" |
|
|
|
#include "src/core/channel/compress_filter.h" |
|
|
|
#include "src/core/channel/compress_filter.h" |
|
|
@ -213,10 +214,9 @@ grpc_channel *grpc_secure_channel_create(grpc_credentials *creds, |
|
|
|
args_copy = grpc_channel_args_copy_and_add( |
|
|
|
args_copy = grpc_channel_args_copy_and_add( |
|
|
|
new_args_from_connector != NULL ? new_args_from_connector : args, |
|
|
|
new_args_from_connector != NULL ? new_args_from_connector : args, |
|
|
|
&connector_arg, 1); |
|
|
|
&connector_arg, 1); |
|
|
|
/* TODO(census)
|
|
|
|
|
|
|
|
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; |
|
|
|
} */ |
|
|
|
} |
|
|
|
filters[n++] = &grpc_compress_filter; |
|
|
|
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); |
|
|
|