Decouple filter selection from channel construction
Allow plugins to extend the set of filters used by gRPC core: - plugins at construction time can register against the 'channel_init' system to be allowed to mutate a new channel_stack_builder type - channel_stack_builder provides a central and rather dynamic place to construct the list of filters required by a channel stack - ultimately we construct the channel stack in the fashion we always have This is also a prerequisite step to allowing filters to be implemented from wrapped languages.
Showing
- BUILD 27 additions, 3 deletionsBUILD
- Makefile 55 additions, 161 deletionsMakefile
- binding.gyp 4 additions, 1 deletionbinding.gyp
- build.yaml 9 additions, 1 deletionbuild.yaml
- gRPC.podspec 14 additions, 1 deletiongRPC.podspec
- grpc.gemspec 9 additions, 1 deletiongrpc.gemspec
- package.json 9 additions, 1 deletionpackage.json
- src/core/census/grpc_plugin.c 72 additions, 0 deletionssrc/core/census/grpc_plugin.c
- src/core/census/grpc_plugin.h 6 additions, 14 deletionssrc/core/census/grpc_plugin.h
- src/core/channel/channel_stack_builder.c 256 additions, 0 deletionssrc/core/channel/channel_stack_builder.c
- src/core/channel/channel_stack_builder.h 138 additions, 0 deletionssrc/core/channel/channel_stack_builder.h
- src/core/channel/client_uchannel.c 1 addition, 11 deletionssrc/core/channel/client_uchannel.c
- src/core/channel/connected_channel.c 15 additions, 14 deletionssrc/core/channel/connected_channel.c
- src/core/channel/connected_channel.h 3 additions, 12 deletionssrc/core/channel/connected_channel.h
- src/core/client_config/connector.h 0 additions, 3 deletionssrc/core/client_config/connector.h
- src/core/client_config/subchannel.c 4 additions, 22 deletionssrc/core/client_config/subchannel.c
- src/core/security/server_secure_chttp2.c 1 addition, 4 deletionssrc/core/security/server_secure_chttp2.c
- src/core/surface/channel.c 12 additions, 15 deletionssrc/core/surface/channel.c
- src/core/surface/channel.h 5 additions, 4 deletionssrc/core/surface/channel.h
- src/core/surface/channel_create.c 1 addition, 13 deletionssrc/core/surface/channel_create.c
Loading
Please register or sign in to comment