grpc 1.36.0 → 1.37.0.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

Files changed (221) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +65 -37
  3. data/include/grpc/grpc.h +15 -1
  4. data/include/grpc/impl/codegen/port_platform.h +2 -0
  5. data/src/core/ext/filters/client_channel/client_channel.cc +327 -305
  6. data/src/core/ext/filters/client_channel/client_channel_factory.h +2 -1
  7. data/src/core/ext/filters/client_channel/config_selector.h +8 -0
  8. data/src/core/ext/filters/client_channel/dynamic_filters.cc +9 -4
  9. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +24 -142
  10. data/src/core/ext/filters/client_channel/global_subchannel_pool.h +15 -10
  11. data/src/core/ext/filters/client_channel/lb_policy.cc +3 -0
  12. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +23 -0
  13. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +27 -0
  14. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +7 -22
  15. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +1 -1
  16. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +2 -2
  17. data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +27 -67
  18. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +10 -9
  19. data/src/core/ext/filters/client_channel/resolver.cc +3 -0
  20. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -2
  21. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +3 -1
  22. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +5 -9
  23. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +18 -3
  24. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +295 -91
  25. data/src/core/ext/filters/client_channel/server_address.cc +3 -0
  26. data/src/core/ext/filters/client_channel/subchannel.cc +69 -146
  27. data/src/core/ext/filters/client_channel/subchannel.h +63 -95
  28. data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +16 -2
  29. data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +10 -8
  30. data/src/core/ext/filters/client_idle/client_idle_filter.cc +1 -1
  31. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +495 -0
  32. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +39 -0
  33. data/src/core/ext/filters/fault_injection/service_config_parser.cc +189 -0
  34. data/src/core/ext/filters/fault_injection/service_config_parser.h +85 -0
  35. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc +1 -1
  36. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -1
  37. data/src/core/ext/transport/chttp2/client/insecure/channel_create.cc +3 -2
  38. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc +1 -1
  39. data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc +3 -2
  40. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +457 -170
  41. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc +1 -1
  42. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +39 -7
  43. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +12 -1
  44. data/src/core/ext/transport/chttp2/transport/frame_data.cc +5 -1
  45. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +1 -1
  46. data/src/core/ext/transport/chttp2/transport/internal.h +1 -0
  47. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +406 -0
  48. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +1459 -0
  49. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +350 -0
  50. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +1348 -0
  51. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +6 -0
  52. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +25 -0
  53. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +144 -0
  54. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +488 -0
  55. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +141 -0
  56. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +452 -0
  57. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +15 -0
  58. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +44 -0
  59. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +79 -0
  60. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +268 -0
  61. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +78 -0
  62. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +281 -0
  63. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +41 -0
  64. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +113 -0
  65. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +6 -5
  66. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +13 -9
  67. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +93 -0
  68. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +323 -0
  69. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +36 -0
  70. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +90 -0
  71. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +46 -0
  72. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +124 -0
  73. data/src/core/ext/upb-generated/udpa/type/v1/typed_struct.upb.c +33 -0
  74. data/src/core/ext/upb-generated/udpa/type/v1/typed_struct.upb.h +77 -0
  75. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +354 -0
  76. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +140 -0
  77. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +383 -0
  78. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +115 -0
  79. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +10 -7
  80. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +5 -0
  81. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +141 -0
  82. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  83. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  84. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +70 -0
  85. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +13 -7
  86. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +5 -0
  87. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +102 -0
  88. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  89. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +120 -0
  90. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  91. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +76 -0
  92. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +35 -0
  93. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +21 -20
  94. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +130 -0
  95. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +50 -0
  96. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +56 -0
  97. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  98. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +63 -0
  99. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  100. data/src/core/ext/upbdefs-generated/udpa/type/v1/typed_struct.upbdefs.c +44 -0
  101. data/src/core/ext/upbdefs-generated/udpa/type/v1/typed_struct.upbdefs.h +35 -0
  102. data/src/core/ext/xds/xds_api.cc +1591 -279
  103. data/src/core/ext/xds/xds_api.h +279 -39
  104. data/src/core/ext/xds/xds_bootstrap.cc +21 -5
  105. data/src/core/ext/xds/xds_bootstrap.h +5 -1
  106. data/src/core/ext/xds/xds_client.cc +168 -23
  107. data/src/core/ext/xds/xds_client.h +26 -0
  108. data/src/core/ext/xds/xds_client_stats.h +2 -2
  109. data/src/core/ext/xds/xds_http_fault_filter.cc +226 -0
  110. data/src/core/ext/xds/xds_http_fault_filter.h +63 -0
  111. data/src/core/ext/xds/xds_http_filters.cc +114 -0
  112. data/src/core/ext/xds/xds_http_filters.h +130 -0
  113. data/src/core/ext/xds/xds_server_config_fetcher.cc +391 -126
  114. data/src/core/lib/channel/channel_stack.cc +12 -0
  115. data/src/core/lib/channel/channel_stack.h +7 -0
  116. data/src/core/lib/channel/channelz.cc +92 -4
  117. data/src/core/lib/channel/channelz.h +30 -1
  118. data/src/core/lib/channel/channelz_registry.cc +14 -0
  119. data/src/core/lib/channel/handshaker.cc +0 -39
  120. data/src/core/lib/channel/handshaker.h +0 -17
  121. data/src/core/lib/channel/status_util.cc +12 -2
  122. data/src/core/lib/channel/status_util.h +5 -0
  123. data/src/core/lib/gpr/sync_abseil.cc +3 -6
  124. data/src/core/lib/gpr/sync_windows.cc +2 -2
  125. data/src/core/lib/gprpp/atomic.h +3 -3
  126. data/src/core/lib/gprpp/dual_ref_counted.h +3 -3
  127. data/src/core/lib/gprpp/ref_counted_ptr.h +2 -0
  128. data/src/core/lib/gprpp/thd.h +1 -1
  129. data/src/core/lib/iomgr/buffer_list.h +1 -1
  130. data/src/core/lib/iomgr/cfstream_handle.cc +2 -2
  131. data/src/core/lib/iomgr/error.h +1 -1
  132. data/src/core/lib/iomgr/ev_apple.cc +1 -1
  133. data/src/core/lib/iomgr/ev_epoll1_linux.cc +3 -3
  134. data/src/core/lib/iomgr/ev_posix.cc +3 -3
  135. data/src/core/lib/iomgr/exec_ctx.cc +6 -2
  136. data/src/core/lib/iomgr/resource_quota.cc +1 -1
  137. data/src/core/lib/iomgr/sockaddr_utils.cc +120 -0
  138. data/src/core/lib/iomgr/sockaddr_utils.h +25 -0
  139. data/src/core/lib/iomgr/tcp_posix.cc +1 -4
  140. data/src/core/lib/iomgr/tcp_uv.cc +2 -2
  141. data/src/core/lib/iomgr/timer_generic.cc +2 -2
  142. data/src/core/lib/iomgr/timer_manager.cc +1 -1
  143. data/src/core/lib/iomgr/wakeup_fd_nospecial.cc +1 -1
  144. data/src/core/lib/{security/authorization → matchers}/matchers.cc +8 -8
  145. data/src/core/lib/{security/authorization → matchers}/matchers.h +14 -12
  146. data/src/core/lib/security/security_connector/ssl_utils.cc +6 -4
  147. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +6 -0
  148. data/src/core/lib/security/transport/security_handshaker.cc +32 -2
  149. data/src/core/lib/slice/slice_intern.cc +6 -7
  150. data/src/core/lib/surface/channel.h +3 -3
  151. data/src/core/lib/surface/completion_queue.cc +1 -1
  152. data/src/core/lib/surface/lame_client.cc +38 -19
  153. data/src/core/lib/surface/lame_client.h +4 -3
  154. data/src/core/lib/surface/server.cc +40 -33
  155. data/src/core/lib/surface/server.h +74 -15
  156. data/src/core/lib/surface/version.cc +1 -1
  157. data/src/core/lib/transport/metadata_batch.cc +27 -0
  158. data/src/core/lib/transport/metadata_batch.h +14 -0
  159. data/src/core/plugin_registry/grpc_plugin_registry.cc +6 -0
  160. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -4
  161. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +1 -1
  162. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -3
  163. data/src/core/tsi/fake_transport_security.cc +10 -1
  164. data/src/ruby/ext/grpc/extconf.rb +9 -1
  165. data/src/ruby/ext/grpc/rb_channel.c +10 -1
  166. data/src/ruby/ext/grpc/rb_channel_credentials.c +11 -1
  167. data/src/ruby/ext/grpc/rb_channel_credentials.h +4 -0
  168. data/src/ruby/ext/grpc/rb_compression_options.c +1 -1
  169. data/src/ruby/ext/grpc/rb_enable_cpp.cc +1 -1
  170. data/src/ruby/ext/grpc/rb_grpc.c +4 -0
  171. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +2 -0
  172. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +4 -1
  173. data/src/ruby/ext/grpc/rb_server.c +13 -1
  174. data/src/ruby/ext/grpc/rb_server_credentials.c +19 -3
  175. data/src/ruby/ext/grpc/rb_server_credentials.h +4 -0
  176. data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +215 -0
  177. data/src/ruby/ext/grpc/rb_xds_channel_credentials.h +35 -0
  178. data/src/ruby/ext/grpc/rb_xds_server_credentials.c +169 -0
  179. data/src/ruby/ext/grpc/rb_xds_server_credentials.h +35 -0
  180. data/src/ruby/lib/grpc/generic/client_stub.rb +4 -2
  181. data/src/ruby/lib/grpc/version.rb +1 -1
  182. data/src/ruby/spec/call_spec.rb +1 -1
  183. data/src/ruby/spec/channel_credentials_spec.rb +32 -0
  184. data/src/ruby/spec/channel_spec.rb +17 -6
  185. data/src/ruby/spec/client_auth_spec.rb +27 -1
  186. data/src/ruby/spec/errors_spec.rb +1 -1
  187. data/src/ruby/spec/generic/active_call_spec.rb +2 -2
  188. data/src/ruby/spec/generic/client_stub_spec.rb +4 -4
  189. data/src/ruby/spec/generic/rpc_server_spec.rb +1 -1
  190. data/src/ruby/spec/server_credentials_spec.rb +25 -0
  191. data/src/ruby/spec/server_spec.rb +22 -0
  192. data/third_party/boringssl-with-bazel/err_data.c +255 -255
  193. data/third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.c +11 -2
  194. data/third_party/boringssl-with-bazel/src/crypto/cpu-arm.c +3 -3
  195. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +21 -13
  196. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +7 -5
  197. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +0 -28
  198. data/third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c +22 -17
  199. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +3 -1
  200. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +4 -0
  201. data/third_party/boringssl-with-bazel/src/include/openssl/cpu.h +22 -32
  202. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +25 -9
  203. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +0 -1
  204. data/third_party/boringssl-with-bazel/src/ssl/t1_lib.cc +33 -19
  205. data/third_party/xxhash/xxhash.h +5443 -0
  206. metadata +93 -49
  207. data/src/core/lib/security/authorization/authorization_engine.cc +0 -177
  208. data/src/core/lib/security/authorization/authorization_engine.h +0 -84
  209. data/src/core/lib/security/authorization/evaluate_args.cc +0 -148
  210. data/src/core/lib/security/authorization/evaluate_args.h +0 -59
  211. data/src/core/lib/security/authorization/mock_cel/activation.h +0 -57
  212. data/src/core/lib/security/authorization/mock_cel/cel_expr_builder_factory.h +0 -44
  213. data/src/core/lib/security/authorization/mock_cel/cel_expression.h +0 -69
  214. data/src/core/lib/security/authorization/mock_cel/cel_value.h +0 -99
  215. data/src/core/lib/security/authorization/mock_cel/evaluator_core.h +0 -67
  216. data/src/core/lib/security/authorization/mock_cel/flat_expr_builder.h +0 -57
  217. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +0 -504
  218. data/third_party/upb/upb/json_decode.c +0 -1443
  219. data/third_party/upb/upb/json_decode.h +0 -23
  220. data/third_party/upb/upb/json_encode.c +0 -713
  221. data/third_party/upb/upb/json_encode.h +0 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8be6341500d52e826fba2ddc391ca09fce6b37be4170e8245bb140678720fe4d
4
- data.tar.gz: c2cc7849225919a758c3e554a60d008b1d93c37c75c7aa4bbc848f834e082fa0
3
+ metadata.gz: a155a7907f6ff7e19137c81a470b609544dc792bda5c8695c37dc933d80b07a8
4
+ data.tar.gz: 488a1d69bc0940fb84af79e888ffafff39deb550917bb4c4a8116febb5f4a5d9
5
5
  SHA512:
6
- metadata.gz: 7597e4355bc6b9482f182da889a6d46cd6c49e2ee32c45bb7693efd058d41ba1d3be25044d71643f7995775c9c3bfa741f8e5024a80f3f9af63d40a38bf4c9f2
7
- data.tar.gz: d1e5613566ff78cce667735b79aca42c4ea67da0a07037df9cb3096357261ed61e290fcacfbcf8820318bef728565f628c74138ccf350f429768b223b6ab3d46
6
+ metadata.gz: a885d844c582191f5b55c940f53ba4b5521a731016e92a5cdcde2e5de1f5746d8d766fe87bba0fa240d19d81693c06d74827053059b0b8ec89d23335d4acf0fc
7
+ data.tar.gz: 0bbdaea9c19568aedd65df44fc9a11c7d6e7885cff443d8af0b31ce3e9e748bd94e0b4c322df590fe56642af3fa940534391c475ff8e3ff0c1dd1dafbdb550d6
data/Makefile CHANGED
@@ -371,7 +371,7 @@ CXXFLAGS += -stdlib=libc++
371
371
  LDFLAGS += -framework CoreFoundation
372
372
  endif
373
373
  CFLAGS += -g
374
- CPPFLAGS += -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated
374
+ CPPFLAGS += -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash
375
375
  COREFLAGS += -fno-exceptions
376
376
  LDFLAGS += -g
377
377
 
@@ -455,8 +455,8 @@ Q = @
455
455
  endif
456
456
 
457
457
  CORE_VERSION = 15.0.0
458
- CPP_VERSION = 1.36.0
459
- CSHARP_VERSION = 2.36.0
458
+ CPP_VERSION = 1.37.0-pre1
459
+ CSHARP_VERSION = 2.37.0-pre1
460
460
 
461
461
  CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
462
462
  CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
@@ -1059,6 +1059,7 @@ LIBGRPC_SRC = \
1059
1059
  src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc \
1060
1060
  src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc \
1061
1061
  src/core/ext/filters/client_channel/lb_policy/priority/priority.cc \
1062
+ src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc \
1062
1063
  src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc \
1063
1064
  src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc \
1064
1065
  src/core/ext/filters/client_channel/lb_policy/xds/cds.cc \
@@ -1094,6 +1095,8 @@ LIBGRPC_SRC = \
1094
1095
  src/core/ext/filters/client_channel/subchannel_pool_interface.cc \
1095
1096
  src/core/ext/filters/client_idle/client_idle_filter.cc \
1096
1097
  src/core/ext/filters/deadline/deadline_filter.cc \
1098
+ src/core/ext/filters/fault_injection/fault_injection_filter.cc \
1099
+ src/core/ext/filters/fault_injection/service_config_parser.cc \
1097
1100
  src/core/ext/filters/http/client/http_client_filter.cc \
1098
1101
  src/core/ext/filters/http/client_authority_filter.cc \
1099
1102
  src/core/ext/filters/http/http_filters_plugin.cc \
@@ -1139,9 +1142,11 @@ LIBGRPC_SRC = \
1139
1142
  src/core/ext/transport/chttp2/transport/writing.cc \
1140
1143
  src/core/ext/transport/inproc/inproc_plugin.cc \
1141
1144
  src/core/ext/transport/inproc/inproc_transport.cc \
1145
+ src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c \
1142
1146
  src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c \
1143
1147
  src/core/ext/upb-generated/envoy/annotations/resource.upb.c \
1144
1148
  src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c \
1149
+ src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c \
1145
1150
  src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c \
1146
1151
  src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c \
1147
1152
  src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c \
@@ -1166,12 +1171,17 @@ LIBGRPC_SRC = \
1166
1171
  src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c \
1167
1172
  src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c \
1168
1173
  src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c \
1174
+ src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c \
1175
+ src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c \
1169
1176
  src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c \
1170
1177
  src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c \
1171
1178
  src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c \
1172
1179
  src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c \
1173
1180
  src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c \
1174
1181
  src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c \
1182
+ src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c \
1183
+ src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c \
1184
+ src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c \
1175
1185
  src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c \
1176
1186
  src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c \
1177
1187
  src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c \
@@ -1185,11 +1195,14 @@ LIBGRPC_SRC = \
1185
1195
  src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c \
1186
1196
  src/core/ext/upb-generated/envoy/service/route/v3/rds.upb.c \
1187
1197
  src/core/ext/upb-generated/envoy/service/route/v3/srds.upb.c \
1198
+ src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c \
1188
1199
  src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c \
1200
+ src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c \
1189
1201
  src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c \
1190
1202
  src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c \
1191
1203
  src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c \
1192
1204
  src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c \
1205
+ src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c \
1193
1206
  src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c \
1194
1207
  src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c \
1195
1208
  src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c \
@@ -1219,6 +1232,7 @@ LIBGRPC_SRC = \
1219
1232
  src/core/ext/upb-generated/udpa/annotations/status.upb.c \
1220
1233
  src/core/ext/upb-generated/udpa/annotations/versioning.upb.c \
1221
1234
  src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.c \
1235
+ src/core/ext/upb-generated/udpa/type/v1/typed_struct.upb.c \
1222
1236
  src/core/ext/upb-generated/validate/validate.upb.c \
1223
1237
  src/core/ext/upb-generated/xds/core/v3/authority.upb.c \
1224
1238
  src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c \
@@ -1226,9 +1240,11 @@ LIBGRPC_SRC = \
1226
1240
  src/core/ext/upb-generated/xds/core/v3/resource.upb.c \
1227
1241
  src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c \
1228
1242
  src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c \
1243
+ src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c \
1229
1244
  src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c \
1230
1245
  src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c \
1231
1246
  src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c \
1247
+ src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c \
1232
1248
  src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c \
1233
1249
  src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c \
1234
1250
  src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c \
@@ -1253,11 +1269,16 @@ LIBGRPC_SRC = \
1253
1269
  src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c \
1254
1270
  src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c \
1255
1271
  src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c \
1272
+ src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c \
1273
+ src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c \
1256
1274
  src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c \
1257
1275
  src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c \
1258
1276
  src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c \
1259
1277
  src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c \
1260
1278
  src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c \
1279
+ src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c \
1280
+ src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c \
1281
+ src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c \
1261
1282
  src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c \
1262
1283
  src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c \
1263
1284
  src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c \
@@ -1271,11 +1292,14 @@ LIBGRPC_SRC = \
1271
1292
  src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c \
1272
1293
  src/core/ext/upbdefs-generated/envoy/service/route/v3/rds.upbdefs.c \
1273
1294
  src/core/ext/upbdefs-generated/envoy/service/route/v3/srds.upbdefs.c \
1295
+ src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c \
1274
1296
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c \
1297
+ src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c \
1275
1298
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c \
1276
1299
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c \
1277
1300
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c \
1278
1301
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c \
1302
+ src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c \
1279
1303
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c \
1280
1304
  src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c \
1281
1305
  src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c \
@@ -1297,6 +1321,7 @@ LIBGRPC_SRC = \
1297
1321
  src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c \
1298
1322
  src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c \
1299
1323
  src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c \
1324
+ src/core/ext/upbdefs-generated/udpa/type/v1/typed_struct.upbdefs.c \
1300
1325
  src/core/ext/upbdefs-generated/validate/validate.upbdefs.c \
1301
1326
  src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c \
1302
1327
  src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c \
@@ -1312,6 +1337,8 @@ LIBGRPC_SRC = \
1312
1337
  src/core/ext/xds/xds_certificate_provider.cc \
1313
1338
  src/core/ext/xds/xds_client.cc \
1314
1339
  src/core/ext/xds/xds_client_stats.cc \
1340
+ src/core/ext/xds/xds_http_fault_filter.cc \
1341
+ src/core/ext/xds/xds_http_filters.cc \
1315
1342
  src/core/ext/xds/xds_server_config_fetcher.cc \
1316
1343
  src/core/lib/avl/avl.cc \
1317
1344
  src/core/lib/backoff/backoff.cc \
@@ -1438,9 +1465,7 @@ LIBGRPC_SRC = \
1438
1465
  src/core/lib/json/json_reader.cc \
1439
1466
  src/core/lib/json/json_util.cc \
1440
1467
  src/core/lib/json/json_writer.cc \
1441
- src/core/lib/security/authorization/authorization_engine.cc \
1442
- src/core/lib/security/authorization/evaluate_args.cc \
1443
- src/core/lib/security/authorization/matchers.cc \
1468
+ src/core/lib/matchers/matchers.cc \
1444
1469
  src/core/lib/security/context/security_context.cc \
1445
1470
  src/core/lib/security/credentials/alts/alts_credentials.cc \
1446
1471
  src/core/lib/security/credentials/alts/check_gcp_environment.cc \
@@ -1640,17 +1665,7 @@ PUBLIC_HEADERS_C += \
1640
1665
  LIBGRPC_CSHARP_EXT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CSHARP_EXT_SRC))))
1641
1666
 
1642
1667
 
1643
- ifeq ($(NO_SECURE),true)
1644
-
1645
- # You can't build secure libraries if you don't have OpenSSL.
1646
-
1647
- $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a: openssl_dep_error
1648
-
1649
- $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): openssl_dep_error
1650
-
1651
- else
1652
-
1653
- $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(RE2_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBGRPC_CSHARP_EXT_OBJS)
1668
+ $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a: $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(RE2_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBGRPC_CSHARP_EXT_OBJS)
1654
1669
  $(E) "[AR] Creating $@"
1655
1670
  $(Q) mkdir -p `dirname $@`
1656
1671
  $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a
@@ -1662,30 +1677,26 @@ endif
1662
1677
 
1663
1678
 
1664
1679
  ifeq ($(SYSTEM),MINGW32)
1665
- $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(RE2_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_DEP)
1680
+ $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(RE2_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a
1666
1681
  $(E) "[LD] Linking $@"
1667
1682
  $(Q) mkdir -p `dirname $@`
1668
- $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
1683
+ $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
1669
1684
  else
1670
- $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(RE2_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_DEP)
1685
+ $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(RE2_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a
1671
1686
  $(E) "[LD] Linking $@"
1672
1687
  $(Q) mkdir -p `dirname $@`
1673
1688
  ifeq ($(SYSTEM),Darwin)
1674
- $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
1689
+ $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
1675
1690
  else
1676
- $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.15 -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
1691
+ $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.15 -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
1677
1692
  $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).so.15
1678
1693
  $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).so
1679
1694
  endif
1680
1695
  endif
1681
1696
 
1682
- endif
1683
-
1684
- ifneq ($(NO_SECURE),true)
1685
1697
  ifneq ($(NO_DEPS),true)
1686
1698
  -include $(LIBGRPC_CSHARP_EXT_OBJS:.o=.dep)
1687
1699
  endif
1688
- endif
1689
1700
  # end of build recipe for library "grpc_csharp_ext"
1690
1701
 
1691
1702
 
@@ -1745,6 +1756,8 @@ LIBGRPC_UNSECURE_SRC = \
1745
1756
  src/core/ext/filters/client_channel/subchannel_pool_interface.cc \
1746
1757
  src/core/ext/filters/client_idle/client_idle_filter.cc \
1747
1758
  src/core/ext/filters/deadline/deadline_filter.cc \
1759
+ src/core/ext/filters/fault_injection/fault_injection_filter.cc \
1760
+ src/core/ext/filters/fault_injection/service_config_parser.cc \
1748
1761
  src/core/ext/filters/http/client/http_client_filter.cc \
1749
1762
  src/core/ext/filters/http/client_authority_filter.cc \
1750
1763
  src/core/ext/filters/http/http_filters_plugin.cc \
@@ -2294,7 +2307,6 @@ LIBBORINGSSL_SRC = \
2294
2307
  third_party/boringssl-with-bazel/src/ssl/tls_method.cc \
2295
2308
  third_party/boringssl-with-bazel/src/ssl/tls_record.cc \
2296
2309
 
2297
- PUBLIC_HEADERS_C += \
2298
2310
 
2299
2311
  LIBBORINGSSL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_SRC))))
2300
2312
 
@@ -2346,7 +2358,6 @@ LIBRE2_SRC = \
2346
2358
  third_party/re2/util/rune.cc \
2347
2359
  third_party/re2/util/strutil.cc \
2348
2360
 
2349
- PUBLIC_HEADERS_C += \
2350
2361
 
2351
2362
  LIBRE2_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBRE2_SRC))))
2352
2363
 
@@ -2375,8 +2386,6 @@ LIBUPB_SRC = \
2375
2386
  third_party/upb/upb/decode.c \
2376
2387
  third_party/upb/upb/def.c \
2377
2388
  third_party/upb/upb/encode.c \
2378
- third_party/upb/upb/json_decode.c \
2379
- third_party/upb/upb/json_encode.c \
2380
2389
  third_party/upb/upb/msg.c \
2381
2390
  third_party/upb/upb/reflection.c \
2382
2391
  third_party/upb/upb/table.c \
@@ -2385,7 +2394,6 @@ LIBUPB_SRC = \
2385
2394
  src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \
2386
2395
  src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c \
2387
2396
 
2388
- PUBLIC_HEADERS_C += \
2389
2397
 
2390
2398
  LIBUPB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_SRC))))
2391
2399
 
@@ -2443,7 +2451,6 @@ LIBZ_SRC = \
2443
2451
  third_party/zlib/uncompr.c \
2444
2452
  third_party/zlib/zutil.c \
2445
2453
 
2446
- PUBLIC_HEADERS_C += \
2447
2454
 
2448
2455
  LIBZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBZ_SRC))))
2449
2456
 
@@ -2521,7 +2528,6 @@ LIBARES_SRC = \
2521
2528
  third_party/cares/cares/inet_ntop.c \
2522
2529
  third_party/cares/cares/windows_port.c \
2523
2530
 
2524
- PUBLIC_HEADERS_C += \
2525
2531
 
2526
2532
  LIBARES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBARES_SRC))))
2527
2533
 
@@ -2657,6 +2663,7 @@ ifneq ($(OPENSSL_DEP),)
2657
2663
  # installing headers to their final destination on the drive. We need this
2658
2664
  # otherwise parallel compilation will fail if a source is compiled first.
2659
2665
  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc: $(OPENSSL_DEP)
2666
+ src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc: $(OPENSSL_DEP)
2660
2667
  src/core/ext/filters/client_channel/lb_policy/xds/cds.cc: $(OPENSSL_DEP)
2661
2668
  src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc: $(OPENSSL_DEP)
2662
2669
  src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc: $(OPENSSL_DEP)
@@ -2665,9 +2672,11 @@ src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc:
2665
2672
  src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc: $(OPENSSL_DEP)
2666
2673
  src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc: $(OPENSSL_DEP)
2667
2674
  src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc: $(OPENSSL_DEP)
2675
+ src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c: $(OPENSSL_DEP)
2668
2676
  src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c: $(OPENSSL_DEP)
2669
2677
  src/core/ext/upb-generated/envoy/annotations/resource.upb.c: $(OPENSSL_DEP)
2670
2678
  src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c: $(OPENSSL_DEP)
2679
+ src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c: $(OPENSSL_DEP)
2671
2680
  src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c: $(OPENSSL_DEP)
2672
2681
  src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c: $(OPENSSL_DEP)
2673
2682
  src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c: $(OPENSSL_DEP)
@@ -2692,12 +2701,17 @@ src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c: $(OPENSS
2692
2701
  src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c: $(OPENSSL_DEP)
2693
2702
  src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c: $(OPENSSL_DEP)
2694
2703
  src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c: $(OPENSSL_DEP)
2704
+ src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c: $(OPENSSL_DEP)
2705
+ src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c: $(OPENSSL_DEP)
2695
2706
  src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c: $(OPENSSL_DEP)
2696
2707
  src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c: $(OPENSSL_DEP)
2697
2708
  src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c: $(OPENSSL_DEP)
2698
2709
  src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c: $(OPENSSL_DEP)
2699
2710
  src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c: $(OPENSSL_DEP)
2700
2711
  src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c: $(OPENSSL_DEP)
2712
+ src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c: $(OPENSSL_DEP)
2713
+ src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c: $(OPENSSL_DEP)
2714
+ src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c: $(OPENSSL_DEP)
2701
2715
  src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c: $(OPENSSL_DEP)
2702
2716
  src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c: $(OPENSSL_DEP)
2703
2717
  src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c: $(OPENSSL_DEP)
@@ -2711,11 +2725,14 @@ src/core/ext/upb-generated/envoy/service/listener/v3/lds.upb.c: $(OPENSSL_DEP)
2711
2725
  src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c: $(OPENSSL_DEP)
2712
2726
  src/core/ext/upb-generated/envoy/service/route/v3/rds.upb.c: $(OPENSSL_DEP)
2713
2727
  src/core/ext/upb-generated/envoy/service/route/v3/srds.upb.c: $(OPENSSL_DEP)
2728
+ src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c: $(OPENSSL_DEP)
2714
2729
  src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c: $(OPENSSL_DEP)
2730
+ src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c: $(OPENSSL_DEP)
2715
2731
  src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c: $(OPENSSL_DEP)
2716
2732
  src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c: $(OPENSSL_DEP)
2717
2733
  src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c: $(OPENSSL_DEP)
2718
2734
  src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c: $(OPENSSL_DEP)
2735
+ src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c: $(OPENSSL_DEP)
2719
2736
  src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c: $(OPENSSL_DEP)
2720
2737
  src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c: $(OPENSSL_DEP)
2721
2738
  src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c: $(OPENSSL_DEP)
@@ -2731,15 +2748,18 @@ src/core/ext/upb-generated/udpa/annotations/security.upb.c: $(OPENSSL_DEP)
2731
2748
  src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c: $(OPENSSL_DEP)
2732
2749
  src/core/ext/upb-generated/udpa/annotations/status.upb.c: $(OPENSSL_DEP)
2733
2750
  src/core/ext/upb-generated/udpa/annotations/versioning.upb.c: $(OPENSSL_DEP)
2751
+ src/core/ext/upb-generated/udpa/type/v1/typed_struct.upb.c: $(OPENSSL_DEP)
2734
2752
  src/core/ext/upb-generated/xds/core/v3/authority.upb.c: $(OPENSSL_DEP)
2735
2753
  src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c: $(OPENSSL_DEP)
2736
2754
  src/core/ext/upb-generated/xds/core/v3/context_params.upb.c: $(OPENSSL_DEP)
2737
2755
  src/core/ext/upb-generated/xds/core/v3/resource.upb.c: $(OPENSSL_DEP)
2738
2756
  src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c: $(OPENSSL_DEP)
2739
2757
  src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c: $(OPENSSL_DEP)
2758
+ src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c: $(OPENSSL_DEP)
2740
2759
  src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c: $(OPENSSL_DEP)
2741
2760
  src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c: $(OPENSSL_DEP)
2742
2761
  src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP)
2762
+ src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c: $(OPENSSL_DEP)
2743
2763
  src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c: $(OPENSSL_DEP)
2744
2764
  src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c: $(OPENSSL_DEP)
2745
2765
  src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c: $(OPENSSL_DEP)
@@ -2764,11 +2784,16 @@ src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c:
2764
2784
  src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c: $(OPENSSL_DEP)
2765
2785
  src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c: $(OPENSSL_DEP)
2766
2786
  src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c: $(OPENSSL_DEP)
2787
+ src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c: $(OPENSSL_DEP)
2788
+ src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c: $(OPENSSL_DEP)
2767
2789
  src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c: $(OPENSSL_DEP)
2768
2790
  src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c: $(OPENSSL_DEP)
2769
2791
  src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c: $(OPENSSL_DEP)
2770
2792
  src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c: $(OPENSSL_DEP)
2771
2793
  src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c: $(OPENSSL_DEP)
2794
+ src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP)
2795
+ src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP)
2796
+ src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c: $(OPENSSL_DEP)
2772
2797
  src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c: $(OPENSSL_DEP)
2773
2798
  src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c: $(OPENSSL_DEP)
2774
2799
  src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c: $(OPENSSL_DEP)
@@ -2782,11 +2807,14 @@ src/core/ext/upbdefs-generated/envoy/service/listener/v3/lds.upbdefs.c: $(OPENSS
2782
2807
  src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c: $(OPENSSL_DEP)
2783
2808
  src/core/ext/upbdefs-generated/envoy/service/route/v3/rds.upbdefs.c: $(OPENSSL_DEP)
2784
2809
  src/core/ext/upbdefs-generated/envoy/service/route/v3/srds.upbdefs.c: $(OPENSSL_DEP)
2810
+ src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c: $(OPENSSL_DEP)
2785
2811
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c: $(OPENSSL_DEP)
2812
+ src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c: $(OPENSSL_DEP)
2786
2813
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c: $(OPENSSL_DEP)
2787
2814
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c: $(OPENSSL_DEP)
2788
2815
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c: $(OPENSSL_DEP)
2789
2816
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c: $(OPENSSL_DEP)
2817
+ src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c: $(OPENSSL_DEP)
2790
2818
  src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c: $(OPENSSL_DEP)
2791
2819
  src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c: $(OPENSSL_DEP)
2792
2820
  src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c: $(OPENSSL_DEP)
@@ -2808,6 +2836,7 @@ src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c: $(OPENSSL_DE
2808
2836
  src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c: $(OPENSSL_DEP)
2809
2837
  src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c: $(OPENSSL_DEP)
2810
2838
  src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c: $(OPENSSL_DEP)
2839
+ src/core/ext/upbdefs-generated/udpa/type/v1/typed_struct.upbdefs.c: $(OPENSSL_DEP)
2811
2840
  src/core/ext/upbdefs-generated/validate/validate.upbdefs.c: $(OPENSSL_DEP)
2812
2841
  src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c: $(OPENSSL_DEP)
2813
2842
  src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c: $(OPENSSL_DEP)
@@ -2823,11 +2852,11 @@ src/core/ext/xds/xds_bootstrap.cc: $(OPENSSL_DEP)
2823
2852
  src/core/ext/xds/xds_certificate_provider.cc: $(OPENSSL_DEP)
2824
2853
  src/core/ext/xds/xds_client.cc: $(OPENSSL_DEP)
2825
2854
  src/core/ext/xds/xds_client_stats.cc: $(OPENSSL_DEP)
2855
+ src/core/ext/xds/xds_http_fault_filter.cc: $(OPENSSL_DEP)
2856
+ src/core/ext/xds/xds_http_filters.cc: $(OPENSSL_DEP)
2826
2857
  src/core/ext/xds/xds_server_config_fetcher.cc: $(OPENSSL_DEP)
2827
2858
  src/core/lib/http/httpcli_security_connector.cc: $(OPENSSL_DEP)
2828
- src/core/lib/security/authorization/authorization_engine.cc: $(OPENSSL_DEP)
2829
- src/core/lib/security/authorization/evaluate_args.cc: $(OPENSSL_DEP)
2830
- src/core/lib/security/authorization/matchers.cc: $(OPENSSL_DEP)
2859
+ src/core/lib/matchers/matchers.cc: $(OPENSSL_DEP)
2831
2860
  src/core/lib/security/context/security_context.cc: $(OPENSSL_DEP)
2832
2861
  src/core/lib/security/credentials/alts/alts_credentials.cc: $(OPENSSL_DEP)
2833
2862
  src/core/lib/security/credentials/alts/check_gcp_environment.cc: $(OPENSSL_DEP)
@@ -2909,7 +2938,6 @@ src/core/tsi/ssl/session_cache/ssl_session_openssl.cc: $(OPENSSL_DEP)
2909
2938
  src/core/tsi/ssl_transport_security.cc: $(OPENSSL_DEP)
2910
2939
  src/core/tsi/transport_security.cc: $(OPENSSL_DEP)
2911
2940
  src/core/tsi/transport_security_grpc.cc: $(OPENSSL_DEP)
2912
- src/csharp/ext/grpc_csharp_ext.c: $(OPENSSL_DEP)
2913
2941
  endif
2914
2942
 
2915
2943
  .PHONY: all strip tools dep_error openssl_dep_error openssl_dep_message git_update stop buildtests buildtests_c buildtests_cxx test test_c test_cxx install install_c install_cxx install_csharp install-static install-certs strip strip-shared strip-static strip_c strip-shared_c strip-static_c strip_cxx strip-shared_cxx strip-static_cxx dep_c dep_cxx bins_dep_c bins_dep_cxx clean
data/include/grpc/grpc.h CHANGED
@@ -411,10 +411,20 @@ GRPCAPI void grpc_server_register_completion_queue(grpc_server* server,
411
411
  grpc_completion_queue* cq,
412
412
  void* reserved);
413
413
 
414
+ // There might be more methods added later, so users should take care to memset
415
+ // this to 0 before using it.
416
+ typedef struct {
417
+ void (*on_serving_status_change)(void* user_data, const char* uri,
418
+ grpc_status_code code,
419
+ const char* error_message);
420
+ void* user_data;
421
+ } grpc_server_xds_status_notifier;
422
+
414
423
  typedef struct grpc_server_config_fetcher grpc_server_config_fetcher;
415
424
 
416
425
  /** EXPERIMENTAL. Creates an xDS config fetcher. */
417
- GRPCAPI grpc_server_config_fetcher* grpc_server_config_fetcher_xds_create();
426
+ GRPCAPI grpc_server_config_fetcher* grpc_server_config_fetcher_xds_create(
427
+ grpc_server_xds_status_notifier notifier);
418
428
 
419
429
  /** EXPERIMENTAL. Destroys a config fetcher. */
420
430
  GRPCAPI void grpc_server_config_fetcher_destroy(
@@ -495,6 +505,10 @@ GRPCAPI void grpc_resource_quota_resize(grpc_resource_quota* resource_quota,
495
505
  GRPCAPI void grpc_resource_quota_set_max_threads(
496
506
  grpc_resource_quota* resource_quota, int new_max_threads);
497
507
 
508
+ /** EXPERIMENTAL. Dumps xDS configs as a serialized ClientConfig proto.
509
+ The full name of the proto is envoy.service.status.v3.ClientConfig. */
510
+ GRPCAPI grpc_slice grpc_dump_xds_configs();
511
+
498
512
  /** Fetch a vtable for a grpc_channel_arg that points to a grpc_resource_quota
499
513
  */
500
514
  GRPCAPI const grpc_arg_pointer_vtable* grpc_resource_quota_arg_vtable(void);
@@ -366,6 +366,7 @@
366
366
  #define GPR_ARCH_32 1
367
367
  #endif /* _LP64 */
368
368
  #elif defined(__Fuchsia__)
369
+ #define GRPC_ARES 0
369
370
  #define GPR_FUCHSIA 1
370
371
  #define GPR_ARCH_64 1
371
372
  #define GPR_PLATFORM_STRING "fuchsia"
@@ -387,6 +388,7 @@
387
388
  #define GPR_POSIX_TIME 1
388
389
  #define GPR_HAS_PTHREAD_H 1
389
390
  #define GPR_GETPID_IN_UNISTD_H 1
391
+ #define GRPC_ROOT_PEM_PATH "/config/ssl/cert.pem"
390
392
  #else
391
393
  #error "Could not auto-detect platform"
392
394
  #endif