grpc 1.57.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2950) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1468 -1087
  3. data/include/grpc/event_engine/event_engine.h +28 -24
  4. data/include/grpc/event_engine/extensible.h +68 -0
  5. data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
  6. data/include/grpc/event_engine/internal/slice_cast.h +12 -0
  7. data/include/grpc/event_engine/memory_allocator.h +5 -3
  8. data/include/grpc/event_engine/slice.h +5 -0
  9. data/include/grpc/grpc_crl_provider.h +94 -0
  10. data/include/grpc/grpc_security.h +38 -1
  11. data/include/grpc/impl/call.h +29 -0
  12. data/include/grpc/impl/channel_arg_names.h +400 -0
  13. data/include/grpc/impl/grpc_types.h +1 -353
  14. data/include/grpc/impl/slice_type.h +1 -1
  15. data/include/grpc/module.modulemap +3 -0
  16. data/include/grpc/support/port_platform.h +86 -21
  17. data/src/core/client_channel/backend_metric.cc +95 -0
  18. data/src/core/client_channel/backend_metric.h +47 -0
  19. data/src/core/client_channel/backup_poller.cc +178 -0
  20. data/src/core/client_channel/backup_poller.h +37 -0
  21. data/src/core/client_channel/channel_connectivity.cc +265 -0
  22. data/src/core/client_channel/client_channel_channelz.cc +93 -0
  23. data/src/core/client_channel/client_channel_channelz.h +85 -0
  24. data/src/core/client_channel/client_channel_factory.cc +32 -0
  25. data/src/core/client_channel/client_channel_factory.h +46 -0
  26. data/src/core/client_channel/client_channel_filter.cc +3654 -0
  27. data/src/core/client_channel/client_channel_filter.h +636 -0
  28. data/src/core/client_channel/client_channel_internal.h +79 -0
  29. data/src/core/client_channel/client_channel_plugin.cc +55 -0
  30. data/src/core/client_channel/client_channel_service_config.cc +153 -0
  31. data/src/core/client_channel/client_channel_service_config.h +111 -0
  32. data/src/core/client_channel/config_selector.cc +60 -0
  33. data/src/core/client_channel/config_selector.h +125 -0
  34. data/src/core/client_channel/connector.h +87 -0
  35. data/src/core/client_channel/dynamic_filters.cc +174 -0
  36. data/src/core/client_channel/dynamic_filters.h +110 -0
  37. data/src/core/client_channel/global_subchannel_pool.cc +65 -0
  38. data/src/core/client_channel/global_subchannel_pool.h +63 -0
  39. data/src/core/client_channel/http_proxy_mapper.cc +305 -0
  40. data/src/core/client_channel/http_proxy_mapper.h +53 -0
  41. data/src/core/client_channel/local_subchannel_pool.cc +60 -0
  42. data/src/core/client_channel/local_subchannel_pool.h +59 -0
  43. data/src/core/client_channel/retry_filter.cc +160 -0
  44. data/src/core/client_channel/retry_filter.h +122 -0
  45. data/src/core/client_channel/retry_filter_legacy_call_data.cc +2054 -0
  46. data/src/core/client_channel/retry_filter_legacy_call_data.h +443 -0
  47. data/src/core/client_channel/retry_service_config.cc +283 -0
  48. data/src/core/client_channel/retry_service_config.h +105 -0
  49. data/src/core/client_channel/retry_throttle.cc +139 -0
  50. data/src/core/client_channel/retry_throttle.h +92 -0
  51. data/src/core/client_channel/service_config_channel_arg_filter.cc +136 -0
  52. data/src/core/client_channel/subchannel.cc +812 -0
  53. data/src/core/client_channel/subchannel.h +387 -0
  54. data/src/core/client_channel/subchannel_interface_internal.h +41 -0
  55. data/src/core/client_channel/subchannel_pool_interface.cc +66 -0
  56. data/src/core/client_channel/subchannel_pool_interface.h +100 -0
  57. data/src/core/client_channel/subchannel_stream_client.cc +468 -0
  58. data/src/core/client_channel/subchannel_stream_client.h +225 -0
  59. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +56 -16
  60. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
  61. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +49 -46
  62. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
  63. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
  64. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
  65. data/src/core/ext/filters/deadline/deadline_filter.cc +21 -24
  66. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  67. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +19 -14
  68. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
  69. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +1 -1
  70. data/src/core/ext/filters/http/client/http_client_filter.cc +30 -39
  71. data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
  72. data/src/core/ext/filters/http/client_authority_filter.cc +23 -25
  73. data/src/core/ext/filters/http/client_authority_filter.h +12 -4
  74. data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
  75. data/src/core/ext/filters/http/message_compress/compression_filter.cc +56 -84
  76. data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
  77. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
  78. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
  79. data/src/core/ext/filters/http/server/http_server_filter.cc +55 -53
  80. data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
  81. data/src/core/ext/filters/message_size/message_size_filter.cc +80 -109
  82. data/src/core/ext/filters/message_size/message_size_filter.h +36 -24
  83. data/src/core/ext/filters/rbac/rbac_filter.cc +24 -20
  84. data/src/core/ext/filters/rbac/rbac_filter.h +11 -4
  85. data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +4 -7
  86. data/src/core/ext/filters/rbac/rbac_service_config_parser.h +1 -1
  87. data/src/core/ext/filters/server_config_selector/server_config_selector.h +2 -2
  88. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +28 -15
  89. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +60 -65
  90. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +43 -9
  91. data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +1 -1
  92. data/src/core/ext/gcp/metadata_query.cc +0 -1
  93. data/src/core/ext/transport/chttp2/alpn/alpn.cc +5 -2
  94. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +10 -12
  95. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
  96. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +29 -32
  97. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +1018 -904
  98. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  99. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  100. data/src/core/ext/transport/chttp2/transport/flow_control.cc +56 -88
  101. data/src/core/ext/transport/chttp2/transport/flow_control.h +85 -12
  102. data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
  103. data/src/core/ext/transport/chttp2/transport/frame.h +193 -22
  104. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  105. data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
  106. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  107. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
  108. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +22 -18
  109. data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -1
  110. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -3
  111. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
  112. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +34 -82
  113. data/src/core/ext/transport/chttp2/transport/frame_settings.h +5 -8
  114. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  115. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
  116. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +16 -22
  117. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +12 -3
  118. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  119. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
  120. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
  121. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +79 -11
  122. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +17 -8
  123. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +3 -1
  124. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
  125. data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
  126. data/src/core/ext/transport/chttp2/transport/internal.h +220 -162
  127. data/src/core/ext/transport/chttp2/transport/legacy_frame.h +43 -0
  128. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
  129. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
  130. data/src/core/ext/transport/chttp2/transport/parsing.cc +146 -50
  131. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +90 -0
  132. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +59 -0
  133. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
  134. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
  135. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +120 -0
  136. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +88 -0
  137. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
  138. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
  139. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
  140. data/src/core/ext/transport/chttp2/transport/writing.cc +225 -176
  141. data/src/core/ext/transport/inproc/inproc_transport.cc +168 -1227
  142. data/src/core/ext/transport/inproc/inproc_transport.h +8 -4
  143. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  144. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  145. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  146. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  147. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  148. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  149. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  150. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  151. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  152. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  153. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  154. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  155. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  156. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  157. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  158. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  159. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  160. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  161. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  162. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  163. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  164. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  165. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  166. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  167. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  168. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  169. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  170. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  171. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  172. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  173. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  174. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  175. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  176. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  177. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  178. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  179. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  180. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  181. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  182. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  183. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  184. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  185. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  186. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  187. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3607 -0
  188. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +651 -0
  189. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +51 -0
  190. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  191. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  192. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  193. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3934 -0
  194. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +737 -0
  195. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  196. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +146 -0
  197. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +57 -0
  198. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  199. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +687 -0
  200. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +125 -0
  201. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  202. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1829 -0
  203. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +394 -0
  204. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  205. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1070 -0
  206. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +227 -0
  207. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  208. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  209. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  210. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  211. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2436 -0
  212. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +578 -0
  213. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  214. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  215. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  216. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  217. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  218. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  219. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  220. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  221. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  222. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  223. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  224. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  225. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  226. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  227. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  228. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  229. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  230. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  231. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  232. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +166 -0
  233. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +55 -0
  234. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +30 -0
  235. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  236. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  237. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  238. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2275 -0
  239. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +483 -0
  240. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  241. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  242. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  243. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  244. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  245. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  246. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  247. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  248. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  249. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  250. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +335 -0
  251. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +83 -0
  252. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +31 -0
  253. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  254. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  255. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  256. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +504 -0
  257. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +139 -0
  258. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  259. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  260. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  261. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  262. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  263. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  264. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  265. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  266. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  267. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  268. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  269. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  270. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  271. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  272. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  273. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  274. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  275. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  276. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  277. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  278. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  279. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  280. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  281. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  282. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  283. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  284. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  285. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  286. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  287. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  288. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  289. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  290. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  291. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  292. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +885 -0
  293. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +151 -0
  294. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  295. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9754 -0
  296. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1670 -0
  297. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  298. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  299. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  300. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  301. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1545 -0
  302. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +328 -0
  303. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  304. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  305. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  306. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  307. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +119 -0
  308. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +56 -0
  309. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  310. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  311. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  312. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  313. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  314. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  315. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  316. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  317. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  318. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  319. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +237 -0
  320. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +65 -0
  321. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  322. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  323. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  324. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  325. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  326. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  327. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  328. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  329. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  330. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  331. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  332. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  333. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  334. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  335. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  336. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  337. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2709 -0
  338. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +556 -0
  339. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  340. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  341. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  342. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  343. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  344. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  345. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  346. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  347. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  348. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  349. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  350. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  351. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  352. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +463 -0
  353. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +102 -0
  354. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  355. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +209 -0
  356. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +75 -0
  357. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  358. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3985 -0
  359. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +682 -0
  360. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  361. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  362. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  363. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  364. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
  365. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +67 -0
  366. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
  367. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  368. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  369. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  370. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  371. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  372. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  373. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  374. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  375. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  376. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  377. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  378. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  379. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  380. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  381. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  382. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1484 -0
  383. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +267 -0
  384. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  385. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  386. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  387. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  388. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1509 -0
  389. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +270 -0
  390. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  391. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  392. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  393. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  394. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
  395. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
  396. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
  397. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  398. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  399. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  400. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  401. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  402. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  403. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  404. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  405. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  406. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +940 -0
  407. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +188 -0
  408. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  409. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  410. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  411. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  412. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  413. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  414. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  415. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  416. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  417. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  418. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  419. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  420. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  421. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  422. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  423. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  424. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  425. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  426. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  427. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  428. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  429. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  430. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  431. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  432. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  433. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  434. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  435. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  436. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  437. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  438. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  439. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  440. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  441. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  442. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  443. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  444. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  445. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +476 -0
  446. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +113 -0
  447. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +33 -0
  448. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  449. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  450. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  451. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  452. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  453. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  454. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  455. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  456. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  457. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  458. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  459. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  460. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  461. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  462. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  463. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  464. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  465. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  466. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  467. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  468. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  469. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  470. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  471. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  472. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  473. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  474. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  475. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  476. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  477. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  478. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  479. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  480. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  481. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  482. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  483. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  484. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  485. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  486. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  487. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  488. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  489. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  490. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  491. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  492. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  493. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  494. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  495. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  496. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  497. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  498. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  499. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  500. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  501. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  502. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  503. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  504. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  505. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  506. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  507. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  508. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  509. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  510. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  511. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  512. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  513. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  514. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  515. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  516. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  517. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  518. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  519. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  520. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  521. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  522. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  523. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  524. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  525. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  526. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  527. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  528. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  529. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  530. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  531. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  532. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  533. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  534. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  535. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  536. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  537. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  538. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  539. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  540. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  541. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  542. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  543. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  544. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  545. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  546. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  547. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  548. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  549. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  550. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  551. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  552. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  553. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  554. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  555. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  556. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  557. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  558. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  559. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  560. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  561. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  562. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  563. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  564. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  565. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  566. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  567. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  568. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  569. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  570. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  571. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  572. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  573. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  574. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  575. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  576. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  577. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  578. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  579. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  580. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  581. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  582. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  583. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  584. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  585. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  586. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  587. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  588. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  589. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  590. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  591. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  592. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  593. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  594. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  595. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  596. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  597. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  598. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  599. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  600. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  601. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  602. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  603. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  604. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  605. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  606. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  607. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +116 -0
  608. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +53 -0
  609. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  610. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  611. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  612. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  613. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  614. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  615. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  616. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  617. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  618. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  619. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  620. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  621. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  622. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  623. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  624. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  625. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  626. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  627. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  628. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  629. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  630. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  631. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  632. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  633. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  634. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  635. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  636. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  637. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  638. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  639. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  640. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  641. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  642. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  643. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  644. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  645. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  646. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  647. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  648. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  649. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  650. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  651. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  652. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  653. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  654. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  655. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  656. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  657. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  658. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  659. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  660. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  661. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  662. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  663. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  664. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  665. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  666. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  667. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  668. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +444 -0
  669. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +140 -0
  670. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  671. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  672. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +574 -0
  673. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  674. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +57 -0
  675. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  676. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +142 -0
  677. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  678. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +201 -0
  679. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  680. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +139 -0
  681. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  682. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  683. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  684. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +274 -0
  685. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  686. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  687. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  688. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  689. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  690. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  691. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  692. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  693. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  694. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  695. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +52 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +35 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +53 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +314 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +75 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +40 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +101 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  723. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  724. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  725. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  726. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  727. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  728. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  729. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  730. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  731. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  732. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  733. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  734. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  735. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  736. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  737. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  738. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +125 -0
  739. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  740. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +984 -0
  741. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  742. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  743. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  744. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +205 -0
  745. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  746. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  747. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  748. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +60 -0
  749. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  750. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  751. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  752. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  753. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  754. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +104 -0
  755. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  756. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +66 -0
  757. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  758. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  759. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  760. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  761. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  762. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  763. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  764. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  765. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  766. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  767. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  768. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +404 -0
  769. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  770. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  771. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  772. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  773. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  774. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  775. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  776. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  777. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  778. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +108 -0
  779. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  780. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +60 -0
  781. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  782. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +605 -0
  783. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  784. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  785. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  786. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  787. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  788. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +216 -0
  789. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  790. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  791. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  792. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +263 -0
  793. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  794. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  795. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  796. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
  797. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
  798. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  799. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  800. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  801. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  802. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  803. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  804. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +155 -0
  805. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  806. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  807. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  808. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  809. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  810. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  811. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  812. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  813. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  814. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  815. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  816. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  817. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  818. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  819. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  820. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  821. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  822. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  823. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  824. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  825. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  826. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  827. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  828. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  829. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  830. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +81 -0
  831. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +50 -0
  832. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  833. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  834. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  835. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  836. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  837. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  838. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  839. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  840. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  841. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  842. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  843. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  844. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  845. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  846. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  847. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  848. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  849. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  850. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  851. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  852. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  853. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  854. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  855. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  856. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  857. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  858. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  859. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  860. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  861. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  862. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  863. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  864. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  865. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  866. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  867. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  868. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  869. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  870. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  871. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  872. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  873. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  874. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  875. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  876. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  877. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  878. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  879. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  880. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  881. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  882. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  883. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  884. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  885. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  886. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  887. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  888. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  889. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  890. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  891. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  892. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  893. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  894. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  895. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  896. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  897. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  898. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  899. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  900. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  901. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  902. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  903. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  904. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  905. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  906. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  907. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  908. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  909. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  910. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  911. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  912. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  913. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  914. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  915. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  916. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  917. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  918. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  919. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  920. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  921. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  922. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +44 -0
  923. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  924. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  925. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  926. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  927. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  928. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  929. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  930. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  931. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  932. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  933. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  934. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  935. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  936. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  937. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  938. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  939. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  940. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  941. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  942. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  943. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  944. data/src/core/ext/xds/certificate_provider_store.cc +2 -1
  945. data/src/core/ext/xds/certificate_provider_store.h +0 -5
  946. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  947. data/src/core/ext/xds/xds_api.cc +92 -167
  948. data/src/core/ext/xds/xds_api.h +4 -9
  949. data/src/core/ext/xds/xds_bootstrap.h +6 -4
  950. data/src/core/ext/xds/xds_bootstrap_grpc.cc +4 -16
  951. data/src/core/ext/xds/xds_bootstrap_grpc.h +2 -1
  952. data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
  953. data/src/core/ext/xds/xds_certificate_provider.h +44 -111
  954. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  955. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  956. data/src/core/ext/xds/xds_client.cc +531 -475
  957. data/src/core/ext/xds/xds_client.h +51 -37
  958. data/src/core/ext/xds/xds_client_grpc.cc +57 -16
  959. data/src/core/ext/xds/xds_client_grpc.h +4 -1
  960. data/src/core/ext/xds/xds_client_stats.cc +11 -11
  961. data/src/core/ext/xds/xds_client_stats.h +8 -14
  962. data/src/core/ext/xds/xds_cluster.cc +134 -53
  963. data/src/core/ext/xds/xds_cluster.h +12 -6
  964. data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
  965. data/src/core/ext/xds/xds_common_types.cc +14 -11
  966. data/src/core/ext/xds/xds_endpoint.cc +106 -67
  967. data/src/core/ext/xds/xds_endpoint.h +7 -4
  968. data/src/core/ext/xds/xds_health_status.cc +14 -2
  969. data/src/core/ext/xds/xds_health_status.h +5 -3
  970. data/src/core/ext/xds/xds_http_fault_filter.cc +1 -2
  971. data/src/core/ext/xds/xds_http_fault_filter.h +1 -2
  972. data/src/core/ext/xds/xds_http_filters.cc +1 -5
  973. data/src/core/ext/xds/xds_http_filters.h +2 -4
  974. data/src/core/ext/xds/xds_http_rbac_filter.cc +8 -11
  975. data/src/core/ext/xds/xds_http_rbac_filter.h +1 -2
  976. data/src/core/ext/xds/xds_http_stateful_session_filter.cc +2 -6
  977. data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -2
  978. data/src/core/ext/xds/xds_lb_policy_registry.cc +4 -7
  979. data/src/core/ext/xds/xds_listener.cc +29 -25
  980. data/src/core/ext/xds/xds_listener.h +13 -3
  981. data/src/core/ext/xds/xds_resource_type.h +1 -7
  982. data/src/core/ext/xds/xds_resource_type_impl.h +11 -11
  983. data/src/core/ext/xds/xds_route_config.cc +45 -35
  984. data/src/core/ext/xds/xds_route_config.h +2 -1
  985. data/src/core/ext/xds/xds_routing.cc +2 -2
  986. data/src/core/ext/xds/xds_server_config_fetcher.cc +112 -83
  987. data/src/core/ext/xds/xds_transport.h +3 -0
  988. data/src/core/ext/xds/xds_transport_grpc.cc +65 -56
  989. data/src/core/ext/xds/xds_transport_grpc.h +4 -0
  990. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
  991. data/src/core/lib/avl/avl.h +11 -173
  992. data/src/core/lib/backoff/random_early_detection.cc +4 -2
  993. data/src/core/lib/backoff/random_early_detection.h +2 -4
  994. data/src/core/lib/channel/call_tracer.cc +315 -1
  995. data/src/core/lib/channel/call_tracer.h +63 -4
  996. data/src/core/lib/channel/channel_args.cc +95 -81
  997. data/src/core/lib/channel/channel_args.h +116 -29
  998. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  999. data/src/core/lib/channel/channel_stack.cc +36 -1
  1000. data/src/core/lib/channel/channel_stack.h +10 -10
  1001. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  1002. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  1003. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  1004. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  1005. data/src/core/lib/channel/channel_trace.cc +1 -1
  1006. data/src/core/lib/channel/channelz_registry.h +4 -2
  1007. data/src/core/lib/channel/connected_channel.cc +152 -93
  1008. data/src/core/lib/channel/context.h +3 -0
  1009. data/src/core/lib/channel/promise_based_filter.cc +23 -11
  1010. data/src/core/lib/channel/promise_based_filter.h +1042 -3
  1011. data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
  1012. data/src/core/lib/channel/status_util.cc +0 -1
  1013. data/src/core/lib/channel/tcp_tracer.h +140 -0
  1014. data/src/core/lib/compression/compression_internal.cc +10 -7
  1015. data/src/core/lib/config/config_vars.cc +0 -1
  1016. data/src/core/lib/config/config_vars.h +1 -1
  1017. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  1018. data/src/core/lib/config/core_configuration.cc +2 -2
  1019. data/src/core/lib/config/core_configuration.h +8 -7
  1020. data/src/core/lib/debug/stats_data.cc +202 -35
  1021. data/src/core/lib/debug/stats_data.h +102 -0
  1022. data/src/core/lib/event_engine/ares_resolver.cc +794 -0
  1023. data/src/core/lib/event_engine/ares_resolver.h +151 -0
  1024. data/src/core/lib/event_engine/cf_engine/cf_engine.cc +12 -3
  1025. data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -0
  1026. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +9 -2
  1027. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +3 -0
  1028. data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -0
  1029. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +249 -0
  1030. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +120 -0
  1031. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  1032. data/src/core/lib/event_engine/event_engine.cc +0 -2
  1033. data/src/core/lib/event_engine/extensions/can_track_errors.h +40 -0
  1034. data/src/core/lib/event_engine/extensions/supports_fd.h +160 -0
  1035. data/src/core/lib/event_engine/forkable.cc +47 -50
  1036. data/src/core/lib/event_engine/forkable.h +46 -25
  1037. data/src/core/lib/event_engine/grpc_polled_fd.h +92 -0
  1038. data/src/core/lib/event_engine/nameser.h +102 -0
  1039. data/src/core/lib/event_engine/posix.h +11 -122
  1040. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
  1041. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  1042. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +35 -18
  1043. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +12 -10
  1044. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  1045. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  1046. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  1047. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +205 -0
  1048. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  1049. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
  1050. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +57 -0
  1051. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +35 -12
  1052. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
  1053. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +112 -28
  1054. data/src/core/lib/event_engine/posix_engine/posix_engine.h +29 -20
  1055. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +14 -6
  1056. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +21 -3
  1057. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +11 -5
  1058. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -0
  1059. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
  1060. data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
  1061. data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +2 -0
  1062. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  1063. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  1064. data/src/core/lib/event_engine/query_extensions.h +85 -0
  1065. data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
  1066. data/src/core/lib/event_engine/shim.cc +5 -17
  1067. data/src/core/lib/event_engine/shim.h +0 -2
  1068. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  1069. data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
  1070. data/src/core/lib/event_engine/thread_pool/thread_count.cc +79 -0
  1071. data/src/core/lib/event_engine/thread_pool/thread_count.h +181 -0
  1072. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +19 -10
  1073. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +209 -120
  1074. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +24 -61
  1075. data/src/core/lib/event_engine/utils.cc +2 -1
  1076. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +824 -0
  1077. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  1078. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +115 -0
  1079. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
  1080. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  1081. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  1082. data/src/core/lib/event_engine/windows/windows_endpoint.cc +35 -37
  1083. data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
  1084. data/src/core/lib/event_engine/windows/windows_engine.cc +83 -38
  1085. data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
  1086. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  1087. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  1088. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  1089. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  1090. data/src/core/lib/experiments/config.cc +46 -3
  1091. data/src/core/lib/experiments/config.h +9 -0
  1092. data/src/core/lib/experiments/experiments.cc +683 -270
  1093. data/src/core/lib/experiments/experiments.h +324 -85
  1094. data/src/core/lib/gpr/alloc.cc +1 -0
  1095. data/src/core/lib/gpr/posix/sync.cc +2 -2
  1096. data/src/core/lib/gpr/posix/time.cc +0 -5
  1097. data/src/core/lib/gpr/windows/sync.cc +2 -2
  1098. data/src/core/lib/gprpp/debug_location.h +15 -0
  1099. data/src/core/lib/gprpp/directory_reader.h +48 -0
  1100. data/src/core/lib/gprpp/down_cast.h +49 -0
  1101. data/src/core/lib/gprpp/dual_ref_counted.h +36 -7
  1102. data/src/core/lib/gprpp/fork.h +1 -1
  1103. data/src/core/lib/gprpp/host_port.cc +0 -2
  1104. data/src/core/lib/gprpp/linux/env.cc +1 -19
  1105. data/src/core/lib/gprpp/load_file.cc +2 -1
  1106. data/src/core/lib/gprpp/load_file.h +2 -1
  1107. data/src/core/lib/gprpp/manual_constructor.h +1 -2
  1108. data/src/core/lib/gprpp/match.h +1 -1
  1109. data/src/core/lib/gprpp/no_destruct.h +1 -1
  1110. data/src/core/lib/gprpp/orphanable.h +27 -0
  1111. data/src/core/lib/gprpp/per_cpu.cc +2 -0
  1112. data/src/core/lib/gprpp/per_cpu.h +36 -7
  1113. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  1114. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  1115. data/src/core/lib/gprpp/posix/thd.cc +27 -2
  1116. data/src/core/lib/gprpp/ref_counted.h +66 -23
  1117. data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
  1118. data/src/core/lib/gprpp/ref_counted_string.cc +44 -0
  1119. data/src/core/lib/gprpp/ref_counted_string.h +161 -0
  1120. data/src/core/lib/gprpp/status_helper.cc +1 -3
  1121. data/src/core/lib/gprpp/strerror.cc +0 -2
  1122. data/src/core/lib/gprpp/thd.h +8 -0
  1123. data/src/core/lib/gprpp/time.cc +0 -1
  1124. data/src/core/lib/gprpp/time.h +5 -4
  1125. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  1126. data/src/core/lib/gprpp/windows/directory_reader.cc +81 -0
  1127. data/src/core/lib/gprpp/windows/thd.cc +10 -1
  1128. data/src/core/lib/gprpp/work_serializer.cc +323 -12
  1129. data/src/core/lib/gprpp/work_serializer.h +30 -9
  1130. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  1131. data/src/core/lib/http/format_request.cc +0 -1
  1132. data/src/core/lib/http/httpcli.cc +0 -2
  1133. data/src/core/lib/http/httpcli_security_connector.cc +1 -0
  1134. data/src/core/lib/iomgr/buffer_list.cc +2 -0
  1135. data/src/core/lib/iomgr/combiner.cc +25 -19
  1136. data/src/core/lib/iomgr/combiner.h +8 -3
  1137. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +62 -40
  1138. data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
  1139. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1140. data/src/core/lib/iomgr/exec_ctx.cc +12 -0
  1141. data/src/core/lib/iomgr/exec_ctx.h +55 -19
  1142. data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +2 -2
  1143. data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +2 -2
  1144. data/src/core/lib/iomgr/polling_entity.cc +10 -0
  1145. data/src/core/lib/iomgr/polling_entity.h +2 -0
  1146. data/src/core/lib/iomgr/port.h +14 -0
  1147. data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
  1148. data/src/core/lib/iomgr/tcp_client_posix.cc +4 -3
  1149. data/src/core/lib/iomgr/tcp_posix.cc +27 -18
  1150. data/src/core/lib/iomgr/tcp_server_posix.cc +65 -50
  1151. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +12 -0
  1152. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1153. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1154. data/src/core/lib/json/json_object_loader.h +0 -1
  1155. data/src/core/lib/json/json_reader.cc +0 -1
  1156. data/src/core/lib/json/json_writer.cc +1 -1
  1157. data/src/core/lib/matchers/matchers.cc +0 -1
  1158. data/src/core/lib/promise/activity.cc +17 -3
  1159. data/src/core/lib/promise/activity.h +13 -6
  1160. data/src/core/lib/promise/all_ok.h +80 -0
  1161. data/src/core/lib/promise/arena_promise.h +5 -1
  1162. data/src/core/lib/promise/cancel_callback.h +0 -2
  1163. data/src/core/lib/promise/context.h +45 -8
  1164. data/src/core/lib/promise/detail/basic_seq.h +1 -372
  1165. data/src/core/lib/promise/detail/join_state.h +2077 -0
  1166. data/src/core/lib/promise/detail/promise_like.h +8 -1
  1167. data/src/core/lib/promise/detail/seq_state.h +5801 -0
  1168. data/src/core/lib/promise/detail/status.h +42 -5
  1169. data/src/core/lib/promise/for_each.h +13 -6
  1170. data/src/core/lib/promise/if.h +4 -1
  1171. data/src/core/lib/promise/interceptor_list.h +13 -6
  1172. data/src/core/lib/promise/latch.h +10 -8
  1173. data/src/core/lib/promise/loop.h +9 -6
  1174. data/src/core/lib/promise/map.h +0 -1
  1175. data/src/core/lib/promise/party.cc +45 -33
  1176. data/src/core/lib/promise/party.h +176 -10
  1177. data/src/core/lib/promise/pipe.h +30 -34
  1178. data/src/core/lib/promise/poll.h +43 -19
  1179. data/src/core/lib/promise/prioritized_race.h +0 -1
  1180. data/src/core/lib/promise/promise.h +4 -1
  1181. data/src/core/lib/promise/race.h +0 -1
  1182. data/src/core/lib/promise/seq.h +124 -8
  1183. data/src/core/lib/promise/sleep.cc +1 -1
  1184. data/src/core/lib/promise/sleep.h +5 -10
  1185. data/src/core/lib/promise/status_flag.h +226 -0
  1186. data/src/core/lib/promise/try_join.h +71 -21
  1187. data/src/core/lib/promise/try_seq.h +161 -7
  1188. data/src/core/lib/resource_quota/api.cc +1 -0
  1189. data/src/core/lib/resource_quota/arena.cc +2 -0
  1190. data/src/core/lib/resource_quota/arena.h +44 -10
  1191. data/src/core/lib/resource_quota/memory_quota.cc +132 -25
  1192. data/src/core/lib/resource_quota/memory_quota.h +12 -12
  1193. data/src/core/lib/resource_quota/resource_quota.h +1 -0
  1194. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1195. data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -1
  1196. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
  1197. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
  1198. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1199. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1200. data/src/core/lib/security/authorization/rbac_policy.h +1 -1
  1201. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1202. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1203. data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
  1204. data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
  1205. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -1
  1206. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
  1207. data/src/core/lib/security/credentials/external/aws_request_signer.cc +8 -2
  1208. data/src/core/lib/security/credentials/external/external_account_credentials.cc +28 -22
  1209. data/src/core/lib/security/credentials/external/external_account_credentials.h +4 -0
  1210. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +9 -11
  1211. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
  1212. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +5 -3
  1213. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
  1214. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +12 -11
  1215. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1216. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1217. data/src/core/lib/security/credentials/jwt/json_token.cc +17 -0
  1218. data/src/core/lib/security/credentials/jwt/json_token.h +4 -0
  1219. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1220. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +43 -2
  1221. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1222. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -7
  1223. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1224. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
  1225. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +1 -1
  1226. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +116 -10
  1227. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
  1228. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1229. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
  1230. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +16 -79
  1231. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
  1232. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
  1233. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +33 -0
  1234. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
  1235. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
  1236. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
  1237. data/src/core/lib/security/credentials/tls/tls_credentials.cc +26 -1
  1238. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1239. data/src/core/lib/security/credentials/xds/xds_credentials.cc +23 -30
  1240. data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
  1241. data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +1 -0
  1242. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +2 -2
  1243. data/src/core/lib/security/security_connector/load_system_roots_supported.cc +3 -7
  1244. data/src/core/lib/security/security_connector/local/local_security_connector.cc +1 -1
  1245. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -59
  1246. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
  1247. data/src/core/lib/security/security_connector/ssl_utils.cc +35 -19
  1248. data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
  1249. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +9 -20
  1250. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1251. data/src/core/lib/security/transport/auth_filters.h +71 -4
  1252. data/src/core/lib/security/transport/client_auth_filter.cc +9 -9
  1253. data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
  1254. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1255. data/src/core/lib/security/transport/security_handshaker.cc +2 -11
  1256. data/src/core/lib/security/transport/security_handshaker.h +0 -6
  1257. data/src/core/lib/security/transport/server_auth_filter.cc +70 -92
  1258. data/src/core/lib/slice/slice.h +11 -0
  1259. data/src/core/lib/slice/slice_buffer.cc +15 -0
  1260. data/src/core/lib/slice/slice_buffer.h +22 -5
  1261. data/src/core/lib/slice/slice_refcount.h +1 -1
  1262. data/src/core/lib/surface/builtins.cc +6 -25
  1263. data/src/core/lib/surface/call.cc +935 -246
  1264. data/src/core/lib/surface/call.h +30 -13
  1265. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1266. data/src/core/lib/surface/call_trace.cc +46 -6
  1267. data/src/core/lib/surface/channel.cc +26 -33
  1268. data/src/core/lib/surface/channel.h +6 -28
  1269. data/src/core/lib/surface/channel_init.cc +441 -14
  1270. data/src/core/lib/surface/channel_init.h +274 -27
  1271. data/src/core/lib/surface/completion_queue.cc +4 -1
  1272. data/src/core/lib/surface/event_string.cc +0 -1
  1273. data/src/core/lib/surface/init.cc +22 -48
  1274. data/src/core/lib/surface/lame_client.cc +8 -1
  1275. data/src/core/lib/surface/server.cc +518 -302
  1276. data/src/core/lib/surface/server.h +68 -44
  1277. data/src/core/lib/surface/version.cc +2 -2
  1278. data/src/core/lib/surface/wait_for_cq_end_op.cc +75 -0
  1279. data/src/core/lib/surface/wait_for_cq_end_op.h +72 -0
  1280. data/src/core/lib/transport/batch_builder.cc +9 -12
  1281. data/src/core/lib/transport/batch_builder.h +2 -4
  1282. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1283. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1284. data/src/core/lib/transport/call_factory.cc +41 -0
  1285. data/src/core/lib/transport/call_factory.h +56 -0
  1286. data/src/core/lib/transport/call_filters.cc +371 -0
  1287. data/src/core/lib/transport/call_filters.h +1500 -0
  1288. data/src/core/lib/transport/call_final_info.cc +38 -0
  1289. data/src/core/lib/transport/call_final_info.h +54 -0
  1290. data/src/core/lib/transport/call_size_estimator.cc +41 -0
  1291. data/src/core/lib/transport/call_size_estimator.h +52 -0
  1292. data/src/core/lib/transport/call_spine.cc +107 -0
  1293. data/src/core/lib/transport/call_spine.h +429 -0
  1294. data/src/core/lib/transport/connectivity_state.cc +3 -4
  1295. data/src/core/lib/transport/connectivity_state.h +4 -0
  1296. data/src/core/lib/transport/error_utils.cc +0 -2
  1297. data/src/core/lib/transport/handshaker.cc +0 -10
  1298. data/src/core/lib/transport/handshaker.h +0 -7
  1299. data/src/core/lib/transport/message.cc +45 -0
  1300. data/src/core/lib/transport/message.h +61 -0
  1301. data/src/core/lib/transport/metadata.cc +37 -0
  1302. data/src/core/lib/transport/metadata.h +78 -0
  1303. data/src/core/lib/transport/metadata_batch.cc +9 -2
  1304. data/src/core/lib/transport/metadata_batch.h +39 -5
  1305. data/src/core/lib/transport/parsed_metadata.h +2 -4
  1306. data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
  1307. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1308. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1309. data/src/core/lib/transport/transport.cc +13 -105
  1310. data/src/core/lib/transport/transport.h +132 -168
  1311. data/src/core/lib/transport/transport_fwd.h +3 -1
  1312. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1313. data/src/core/lib/uri/uri_parser.cc +0 -1
  1314. data/src/core/load_balancing/address_filtering.cc +108 -0
  1315. data/src/core/load_balancing/address_filtering.h +118 -0
  1316. data/src/core/load_balancing/backend_metric_data.h +57 -0
  1317. data/src/core/load_balancing/child_policy_handler.cc +317 -0
  1318. data/src/core/load_balancing/child_policy_handler.h +88 -0
  1319. data/src/core/load_balancing/delegating_helper.h +116 -0
  1320. data/src/core/load_balancing/endpoint_list.cc +187 -0
  1321. data/src/core/load_balancing/endpoint_list.h +220 -0
  1322. data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +83 -0
  1323. data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +46 -0
  1324. data/src/core/load_balancing/grpclb/grpclb.cc +1935 -0
  1325. data/src/core/load_balancing/grpclb/grpclb.h +39 -0
  1326. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +89 -0
  1327. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +39 -0
  1328. data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +90 -0
  1329. data/src/core/load_balancing/grpclb/grpclb_client_stats.h +81 -0
  1330. data/src/core/load_balancing/grpclb/load_balancer_api.cc +202 -0
  1331. data/src/core/load_balancing/grpclb/load_balancer_api.h +77 -0
  1332. data/src/core/load_balancing/health_check_client.cc +520 -0
  1333. data/src/core/load_balancing/health_check_client.h +52 -0
  1334. data/src/core/load_balancing/health_check_client_internal.h +204 -0
  1335. data/src/core/load_balancing/lb_policy.cc +98 -0
  1336. data/src/core/load_balancing/lb_policy.h +481 -0
  1337. data/src/core/load_balancing/lb_policy_factory.h +49 -0
  1338. data/src/core/load_balancing/lb_policy_registry.cc +142 -0
  1339. data/src/core/load_balancing/lb_policy_registry.h +82 -0
  1340. data/src/core/load_balancing/oob_backend_metric.cc +340 -0
  1341. data/src/core/load_balancing/oob_backend_metric.h +57 -0
  1342. data/src/core/load_balancing/oob_backend_metric_internal.h +119 -0
  1343. data/src/core/load_balancing/outlier_detection/outlier_detection.cc +1208 -0
  1344. data/src/core/load_balancing/outlier_detection/outlier_detection.h +94 -0
  1345. data/src/core/load_balancing/pick_first/pick_first.cc +1232 -0
  1346. data/src/core/load_balancing/pick_first/pick_first.h +36 -0
  1347. data/src/core/load_balancing/priority/priority.cc +900 -0
  1348. data/src/core/load_balancing/ring_hash/ring_hash.cc +878 -0
  1349. data/src/core/load_balancing/ring_hash/ring_hash.h +62 -0
  1350. data/src/core/load_balancing/rls/rls.cc +2477 -0
  1351. data/src/core/load_balancing/round_robin/round_robin.cc +916 -0
  1352. data/src/core/load_balancing/subchannel_interface.h +141 -0
  1353. data/src/core/load_balancing/subchannel_list.h +455 -0
  1354. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +198 -0
  1355. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +71 -0
  1356. data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +1819 -0
  1357. data/src/core/load_balancing/weighted_target/weighted_target.cc +755 -0
  1358. data/src/core/load_balancing/xds/cds.cc +757 -0
  1359. data/src/core/load_balancing/xds/xds_channel_args.h +37 -0
  1360. data/src/core/load_balancing/xds/xds_cluster_impl.cc +863 -0
  1361. data/src/core/load_balancing/xds/xds_cluster_manager.cc +652 -0
  1362. data/src/core/load_balancing/xds/xds_override_host.cc +1313 -0
  1363. data/src/core/load_balancing/xds/xds_override_host.h +63 -0
  1364. data/src/core/load_balancing/xds/xds_wrr_locality.cc +300 -0
  1365. data/src/core/plugin_registry/grpc_plugin_registry.cc +5 -0
  1366. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
  1367. data/src/core/resolver/binder/binder_resolver.cc +147 -0
  1368. data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +758 -0
  1369. data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
  1370. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +90 -0
  1371. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +206 -0
  1372. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +818 -0
  1373. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1219 -0
  1374. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +140 -0
  1375. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +29 -0
  1376. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +35 -0
  1377. data/src/core/resolver/dns/dns_resolver_plugin.cc +68 -0
  1378. data/src/core/resolver/dns/dns_resolver_plugin.h +27 -0
  1379. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +588 -0
  1380. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
  1381. data/src/core/resolver/dns/event_engine/service_config_helper.cc +97 -0
  1382. data/src/core/resolver/dns/event_engine/service_config_helper.h +32 -0
  1383. data/src/core/resolver/dns/native/dns_resolver.cc +183 -0
  1384. data/src/core/resolver/dns/native/dns_resolver.h +24 -0
  1385. data/src/core/resolver/endpoint_addresses.cc +147 -0
  1386. data/src/core/resolver/endpoint_addresses.h +164 -0
  1387. data/src/core/resolver/fake/fake_resolver.cc +255 -0
  1388. data/src/core/resolver/fake/fake_resolver.h +129 -0
  1389. data/src/core/resolver/google_c2p/google_c2p_resolver.cc +326 -0
  1390. data/src/core/resolver/polling_resolver.cc +272 -0
  1391. data/src/core/resolver/polling_resolver.h +121 -0
  1392. data/src/core/resolver/resolver.cc +37 -0
  1393. data/src/core/resolver/resolver.h +139 -0
  1394. data/src/core/resolver/resolver_factory.h +78 -0
  1395. data/src/core/resolver/resolver_registry.cc +162 -0
  1396. data/src/core/resolver/resolver_registry.h +123 -0
  1397. data/src/core/resolver/server_address.h +35 -0
  1398. data/src/core/resolver/sockaddr/sockaddr_resolver.cc +202 -0
  1399. data/src/core/resolver/xds/xds_dependency_manager.cc +1031 -0
  1400. data/src/core/resolver/xds/xds_dependency_manager.h +277 -0
  1401. data/src/core/resolver/xds/xds_resolver.cc +1135 -0
  1402. data/src/core/resolver/xds/xds_resolver_attributes.h +62 -0
  1403. data/src/core/resolver/xds/xds_resolver_trace.cc +25 -0
  1404. data/src/core/resolver/xds/xds_resolver_trace.h +30 -0
  1405. data/src/core/service_config/service_config.h +89 -0
  1406. data/src/core/service_config/service_config_call_data.h +116 -0
  1407. data/src/core/service_config/service_config_impl.cc +198 -0
  1408. data/src/core/service_config/service_config_impl.h +125 -0
  1409. data/src/core/service_config/service_config_parser.cc +81 -0
  1410. data/src/core/service_config/service_config_parser.h +105 -0
  1411. data/src/core/tsi/alts/crypt/aes_gcm.cc +142 -89
  1412. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1413. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1414. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
  1415. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
  1416. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
  1417. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
  1418. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1419. data/src/core/tsi/fake_transport_security.cc +1 -1
  1420. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1421. data/src/core/tsi/ssl_transport_security.cc +200 -60
  1422. data/src/core/tsi/ssl_transport_security.h +23 -1
  1423. data/src/ruby/bin/math_pb.rb +1 -1
  1424. data/src/ruby/ext/grpc/extconf.rb +78 -17
  1425. data/src/ruby/ext/grpc/rb_channel.c +11 -5
  1426. data/src/ruby/ext/grpc/rb_channel_args.c +9 -5
  1427. data/src/ruby/ext/grpc/rb_event_thread.c +9 -3
  1428. data/src/ruby/ext/grpc/rb_grpc.c +0 -1
  1429. data/src/ruby/ext/grpc/rb_grpc.h +0 -2
  1430. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +8 -0
  1431. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +12 -0
  1432. data/src/ruby/lib/grpc/generic/active_call.rb +9 -14
  1433. data/src/ruby/lib/grpc/version.rb +1 -1
  1434. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
  1435. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  1436. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +10 -2
  1437. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
  1438. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1439. data/src/ruby/pb/test/client.rb +16 -0
  1440. data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
  1441. data/third_party/abseil-cpp/absl/algorithm/algorithm.h +8 -103
  1442. data/third_party/abseil-cpp/absl/algorithm/container.h +60 -73
  1443. data/third_party/abseil-cpp/absl/base/attributes.h +107 -15
  1444. data/third_party/abseil-cpp/absl/base/call_once.h +16 -10
  1445. data/third_party/abseil-cpp/absl/base/casts.h +9 -9
  1446. data/third_party/abseil-cpp/absl/base/config.h +163 -113
  1447. data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +26 -1
  1448. data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +2 -2
  1449. data/third_party/abseil-cpp/absl/base/internal/endian.h +13 -12
  1450. data/third_party/abseil-cpp/absl/base/internal/identity.h +4 -2
  1451. data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +19 -18
  1452. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +51 -40
  1453. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +2 -1
  1454. data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +106 -0
  1455. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +41 -14
  1456. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +26 -4
  1457. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +17 -4
  1458. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +49 -71
  1459. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +18 -11
  1460. data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +11 -11
  1461. data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +23 -32
  1462. data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +13 -6
  1463. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +2 -3
  1464. data/third_party/abseil-cpp/absl/base/log_severity.cc +1 -0
  1465. data/third_party/abseil-cpp/absl/base/log_severity.h +23 -10
  1466. data/third_party/abseil-cpp/absl/base/no_destructor.h +217 -0
  1467. data/third_party/abseil-cpp/absl/base/nullability.h +224 -0
  1468. data/third_party/abseil-cpp/absl/base/optimization.h +1 -0
  1469. data/third_party/abseil-cpp/absl/base/options.h +27 -1
  1470. data/third_party/abseil-cpp/absl/base/policy_checks.h +3 -3
  1471. data/third_party/abseil-cpp/absl/base/prefetch.h +209 -0
  1472. data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -2
  1473. data/third_party/abseil-cpp/absl/container/fixed_array.h +54 -29
  1474. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +8 -4
  1475. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +7 -3
  1476. data/third_party/abseil-cpp/absl/container/inlined_vector.h +167 -79
  1477. data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +5 -3
  1478. data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +3 -21
  1479. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +14 -10
  1480. data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +46 -0
  1481. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +2 -0
  1482. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +2 -12
  1483. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +97 -27
  1484. data/third_party/abseil-cpp/absl/container/internal/layout.h +6 -21
  1485. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +46 -20
  1486. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +204 -46
  1487. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +1058 -418
  1488. data/third_party/abseil-cpp/absl/crc/crc32c.h +8 -1
  1489. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +40 -10
  1490. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.h +6 -0
  1491. data/third_party/abseil-cpp/absl/crc/internal/crc.cc +4 -35
  1492. data/third_party/abseil-cpp/absl/crc/internal/crc.h +2 -10
  1493. data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +35 -6
  1494. data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +1 -1
  1495. data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.h +4 -4
  1496. data/third_party/abseil-cpp/absl/crc/internal/crc_internal.h +8 -10
  1497. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy.h +6 -3
  1498. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +4 -2
  1499. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +450 -0
  1500. data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +18 -10
  1501. data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +4 -2
  1502. data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +24 -0
  1503. data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +35 -33
  1504. data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +2 -1
  1505. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +92 -32
  1506. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +1 -1
  1507. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +1 -1
  1508. data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +1 -1
  1509. data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +151 -63
  1510. data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +3 -0
  1511. data/third_party/abseil-cpp/absl/flags/commandlineflag.h +1 -1
  1512. data/third_party/abseil-cpp/absl/flags/declare.h +0 -5
  1513. data/third_party/abseil-cpp/absl/flags/flag.h +1 -10
  1514. data/third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc +1 -1
  1515. data/third_party/abseil-cpp/absl/flags/internal/flag.cc +2 -2
  1516. data/third_party/abseil-cpp/absl/flags/internal/flag.h +16 -20
  1517. data/third_party/abseil-cpp/absl/flags/marshalling.cc +53 -3
  1518. data/third_party/abseil-cpp/absl/flags/marshalling.h +5 -0
  1519. data/third_party/abseil-cpp/absl/flags/reflection.cc +2 -1
  1520. data/third_party/abseil-cpp/absl/functional/any_invocable.h +9 -1
  1521. data/third_party/abseil-cpp/absl/functional/bind_front.h +1 -1
  1522. data/third_party/abseil-cpp/absl/functional/function_ref.h +11 -3
  1523. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +39 -26
  1524. data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +19 -9
  1525. data/third_party/abseil-cpp/absl/hash/hash.h +7 -4
  1526. data/third_party/abseil-cpp/absl/hash/internal/hash.h +87 -17
  1527. data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +6 -0
  1528. data/third_party/abseil-cpp/absl/meta/type_traits.h +48 -373
  1529. data/third_party/abseil-cpp/absl/numeric/bits.h +40 -21
  1530. data/third_party/abseil-cpp/absl/numeric/int128.cc +20 -8
  1531. data/third_party/abseil-cpp/absl/numeric/int128.h +36 -39
  1532. data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -3
  1533. data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +47 -30
  1534. data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
  1535. data/third_party/abseil-cpp/absl/random/distributions.h +1 -1
  1536. data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +4 -3
  1537. data/third_party/abseil-cpp/absl/random/internal/generate_real.h +1 -1
  1538. data/third_party/abseil-cpp/absl/random/internal/platform.h +1 -1
  1539. data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +4 -0
  1540. data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +1 -1
  1541. data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +1 -1
  1542. data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +1 -1
  1543. data/third_party/abseil-cpp/absl/status/internal/status_internal.cc +248 -0
  1544. data/third_party/abseil-cpp/absl/status/internal/status_internal.h +59 -14
  1545. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +65 -26
  1546. data/third_party/abseil-cpp/absl/status/status.cc +40 -238
  1547. data/third_party/abseil-cpp/absl/status/status.h +105 -54
  1548. data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +1 -3
  1549. data/third_party/abseil-cpp/absl/status/status_payload_printer.h +3 -2
  1550. data/third_party/abseil-cpp/absl/status/statusor.cc +5 -2
  1551. data/third_party/abseil-cpp/absl/status/statusor.h +65 -11
  1552. data/third_party/abseil-cpp/absl/strings/ascii.cc +128 -8
  1553. data/third_party/abseil-cpp/absl/strings/ascii.h +8 -6
  1554. data/third_party/abseil-cpp/absl/strings/charconv.cc +40 -16
  1555. data/third_party/abseil-cpp/absl/strings/charconv.h +8 -5
  1556. data/third_party/abseil-cpp/absl/strings/charset.h +164 -0
  1557. data/third_party/abseil-cpp/absl/strings/cord.cc +267 -71
  1558. data/third_party/abseil-cpp/absl/strings/cord.h +168 -95
  1559. data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +38 -30
  1560. data/third_party/abseil-cpp/absl/strings/cord_analysis.h +21 -2
  1561. data/third_party/abseil-cpp/absl/strings/cord_buffer.h +2 -5
  1562. data/third_party/abseil-cpp/absl/strings/escaping.cc +15 -36
  1563. data/third_party/abseil-cpp/absl/strings/escaping.h +1 -1
  1564. data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +63 -0
  1565. data/third_party/abseil-cpp/absl/strings/has_ostream_operator.h +42 -0
  1566. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +2 -4
  1567. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +3 -3
  1568. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -7
  1569. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +18 -42
  1570. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +13 -4
  1571. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +8 -0
  1572. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +5 -3
  1573. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +4 -7
  1574. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +8 -0
  1575. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +46 -20
  1576. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +1 -34
  1577. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +25 -29
  1578. data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +23 -0
  1579. data/third_party/abseil-cpp/absl/strings/internal/escaping.h +1 -0
  1580. data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +15 -26
  1581. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +14 -81
  1582. data/third_party/abseil-cpp/absl/strings/internal/memutil.h +4 -112
  1583. data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +1 -1
  1584. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +154 -38
  1585. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +78 -30
  1586. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +17 -1
  1587. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +12 -24
  1588. data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +9 -3
  1589. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +11 -5
  1590. data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +9 -9
  1591. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +5 -4
  1592. data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +56 -6
  1593. data/third_party/abseil-cpp/absl/strings/match.cc +90 -0
  1594. data/third_party/abseil-cpp/absl/strings/match.h +19 -0
  1595. data/third_party/abseil-cpp/absl/strings/numbers.cc +437 -162
  1596. data/third_party/abseil-cpp/absl/strings/numbers.h +193 -40
  1597. data/third_party/abseil-cpp/absl/strings/str_cat.cc +155 -68
  1598. data/third_party/abseil-cpp/absl/strings/str_cat.h +205 -35
  1599. data/third_party/abseil-cpp/absl/strings/str_format.h +36 -23
  1600. data/third_party/abseil-cpp/absl/strings/str_join.h +16 -16
  1601. data/third_party/abseil-cpp/absl/strings/str_replace.cc +12 -3
  1602. data/third_party/abseil-cpp/absl/strings/str_replace.h +8 -5
  1603. data/third_party/abseil-cpp/absl/strings/str_split.cc +17 -12
  1604. data/third_party/abseil-cpp/absl/strings/str_split.h +18 -0
  1605. data/third_party/abseil-cpp/absl/strings/string_view.cc +47 -4
  1606. data/third_party/abseil-cpp/absl/strings/string_view.h +91 -26
  1607. data/third_party/abseil-cpp/absl/strings/strip.h +5 -2
  1608. data/third_party/abseil-cpp/absl/strings/substitute.cc +12 -4
  1609. data/third_party/abseil-cpp/absl/strings/substitute.h +103 -91
  1610. data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +5 -0
  1611. data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +63 -43
  1612. data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc +111 -0
  1613. data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.h +63 -0
  1614. data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -7
  1615. data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc +225 -0
  1616. data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +122 -114
  1617. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +12 -8
  1618. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +10 -1
  1619. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc +167 -0
  1620. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +60 -0
  1621. data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc +122 -0
  1622. data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.h +65 -0
  1623. data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc +91 -0
  1624. data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h +56 -0
  1625. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +21 -113
  1626. data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc +42 -0
  1627. data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.h +90 -0
  1628. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc +151 -0
  1629. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +72 -0
  1630. data/third_party/abseil-cpp/absl/synchronization/mutex.cc +612 -652
  1631. data/third_party/abseil-cpp/absl/synchronization/mutex.h +223 -134
  1632. data/third_party/abseil-cpp/absl/time/civil_time.h +26 -0
  1633. data/third_party/abseil-cpp/absl/time/clock.cc +6 -7
  1634. data/third_party/abseil-cpp/absl/time/clock.h +5 -1
  1635. data/third_party/abseil-cpp/absl/time/duration.cc +27 -29
  1636. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +2 -2
  1637. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +1 -0
  1638. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +1 -1
  1639. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +4 -4
  1640. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +8 -6
  1641. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +6 -3
  1642. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +4 -2
  1643. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +4 -0
  1644. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +333 -311
  1645. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +8 -17
  1646. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +51 -33
  1647. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +7 -2
  1648. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +128 -2
  1649. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +1 -1
  1650. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +5 -9
  1651. data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +34 -34
  1652. data/third_party/abseil-cpp/absl/time/time.cc +9 -2
  1653. data/third_party/abseil-cpp/absl/time/time.h +115 -15
  1654. data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +18 -0
  1655. data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +18 -0
  1656. data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -52
  1657. data/third_party/abseil-cpp/absl/types/internal/span.h +2 -2
  1658. data/third_party/abseil-cpp/absl/types/internal/variant.h +5 -5
  1659. data/third_party/abseil-cpp/absl/types/optional.h +16 -13
  1660. data/third_party/abseil-cpp/absl/types/span.h +10 -6
  1661. data/third_party/abseil-cpp/absl/utility/utility.h +11 -93
  1662. data/third_party/boringssl-with-bazel/err_data.c +293 -290
  1663. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +8 -4
  1664. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -9
  1665. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +15 -28
  1666. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +1 -1
  1667. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +19 -1
  1668. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +8 -4
  1669. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +11 -3
  1670. data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +4 -1
  1671. data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +1 -1
  1672. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +3 -3
  1673. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +1 -6
  1674. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +4 -13
  1675. data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +1 -6
  1676. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +27 -4
  1677. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +6 -9
  1678. data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +92 -0
  1679. data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +4 -48
  1680. data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +11 -6
  1681. data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +16 -6
  1682. data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +1 -4
  1683. data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +2 -2
  1684. data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +9 -0
  1685. data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +8 -0
  1686. data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +1 -11
  1687. data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +7 -8
  1688. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +42 -12
  1689. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +1 -1
  1690. data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -22
  1691. data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +9 -9
  1692. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +34 -1
  1693. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +49 -3
  1694. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +30 -42
  1695. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +90 -103
  1696. data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +5 -1
  1697. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +0 -2
  1698. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -1
  1699. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -2
  1700. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.c +0 -1
  1701. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +93 -0
  1702. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +1 -1
  1703. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -1
  1704. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -2
  1705. data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +4 -2
  1706. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +11 -0
  1707. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +4 -0
  1708. data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +1 -2
  1709. data/third_party/boringssl-with-bazel/src/crypto/des/des.c +105 -31
  1710. data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +10 -81
  1711. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +4 -0
  1712. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +5 -0
  1713. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +2 -15
  1714. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +9 -14
  1715. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +4 -6
  1716. data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +1 -9
  1717. data/third_party/boringssl-with-bazel/src/crypto/err/err.c +10 -11
  1718. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +1 -5
  1719. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +2 -5
  1720. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +1 -4
  1721. data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.c +1 -2
  1722. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -3
  1723. data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +2 -2
  1724. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +2 -8
  1725. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +1 -1
  1726. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +26 -17
  1727. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +1 -1
  1728. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +4 -2
  1729. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +26 -5
  1730. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +10 -41
  1731. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +49 -2
  1732. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +26 -0
  1733. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +27 -26
  1734. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -6
  1735. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +1 -8
  1736. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +8 -2
  1737. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +11 -2
  1738. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +11 -24
  1739. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.c +43 -50
  1740. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +37 -8
  1741. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +40 -25
  1742. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +7 -0
  1743. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +4 -0
  1744. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +1 -2
  1745. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +16 -9
  1746. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +7 -6
  1747. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +2 -7
  1748. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +51 -13
  1749. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +17 -0
  1750. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +5 -2
  1751. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +1 -2
  1752. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +1 -3
  1753. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +6 -5
  1754. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +1 -2
  1755. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +39 -16
  1756. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +4 -7
  1757. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +153 -6
  1758. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +87 -7
  1759. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +39 -5
  1760. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +32 -5
  1761. data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +7 -0
  1762. data/third_party/boringssl-with-bazel/src/crypto/internal.h +264 -72
  1763. data/third_party/boringssl-with-bazel/src/crypto/keccak/internal.h +70 -0
  1764. data/third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c +279 -0
  1765. data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +8 -39
  1766. data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +39 -29
  1767. data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +3 -6
  1768. data/third_party/boringssl-with-bazel/src/crypto/mem.c +17 -33
  1769. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +41 -38
  1770. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -3
  1771. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +31 -0
  1772. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +2 -4
  1773. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +3 -3
  1774. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +9 -13
  1775. data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +3 -6
  1776. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +4 -0
  1777. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +4 -0
  1778. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +3 -1
  1779. data/third_party/boringssl-with-bazel/src/crypto/spx/address.c +101 -0
  1780. data/third_party/boringssl-with-bazel/src/crypto/spx/address.h +50 -0
  1781. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.c +133 -0
  1782. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.h +54 -0
  1783. data/third_party/boringssl-with-bazel/src/crypto/spx/internal.h +79 -0
  1784. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.c +150 -0
  1785. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.h +61 -0
  1786. data/third_party/boringssl-with-bazel/src/crypto/spx/params.h +71 -0
  1787. data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +139 -0
  1788. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c +53 -0
  1789. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h +44 -0
  1790. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.c +136 -0
  1791. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.h +70 -0
  1792. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.c +135 -0
  1793. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.h +45 -0
  1794. data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +9 -9
  1795. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +10 -22
  1796. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +3 -6
  1797. data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +12 -36
  1798. data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +1 -2
  1799. data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -2
  1800. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +13 -13
  1801. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +22 -35
  1802. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +225 -51
  1803. data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +2 -6
  1804. data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +6 -2
  1805. data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +1 -1
  1806. data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +1 -4
  1807. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +1 -3
  1808. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c +221 -0
  1809. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c +73 -0
  1810. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c +634 -0
  1811. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c +135 -0
  1812. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c +141 -0
  1813. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c +416 -0
  1814. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +477 -0
  1815. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +598 -0
  1816. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c +112 -0
  1817. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c +154 -0
  1818. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c +270 -0
  1819. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c +122 -0
  1820. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +211 -0
  1821. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c +121 -0
  1822. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +342 -0
  1823. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c +555 -0
  1824. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c +81 -0
  1825. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c +142 -0
  1826. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c +150 -0
  1827. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c +224 -0
  1828. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +645 -0
  1829. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c +170 -0
  1830. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +1357 -0
  1831. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +35 -32
  1832. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +44 -59
  1833. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +1 -3
  1834. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -1
  1835. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +107 -255
  1836. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +32 -20
  1837. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +25 -152
  1838. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -1
  1839. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +330 -944
  1840. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +93 -215
  1841. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +28 -6
  1842. data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
  1843. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +35 -129
  1844. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +7 -8
  1845. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +46 -50
  1846. data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +2 -0
  1847. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -4
  1848. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +6 -6
  1849. data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -21
  1850. data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +5 -6
  1851. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +11 -1
  1852. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +35 -1
  1853. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +14 -5
  1854. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +22 -0
  1855. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +1 -0
  1856. data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +4 -1
  1857. data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +2 -2
  1858. data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -13
  1859. data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +4 -1
  1860. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +40 -20
  1861. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +1 -1
  1862. data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +5 -4
  1863. data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +6 -2
  1864. data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +26 -18
  1865. data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +13 -6
  1866. data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +5 -1
  1867. data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +1 -0
  1868. data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +19 -5
  1869. data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +45 -0
  1870. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +5 -0
  1871. data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +20 -3
  1872. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +36 -36
  1873. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +80 -60
  1874. data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +20 -12
  1875. data/third_party/boringssl-with-bazel/src/include/openssl/target.h +79 -7
  1876. data/third_party/boringssl-with-bazel/src/include/openssl/time.h +3 -22
  1877. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -1
  1878. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2806 -945
  1879. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +38 -1025
  1880. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h +124 -0
  1881. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +1 -2
  1882. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +82 -9
  1883. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +42 -4
  1884. data/third_party/boringssl-with-bazel/src/ssl/internal.h +4 -0
  1885. data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +2 -2
  1886. data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +4 -4
  1887. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +4 -5
  1888. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +11 -1
  1889. data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1
  1890. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +5 -1
  1891. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -1
  1892. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +4 -2
  1893. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +21 -0
  1894. data/third_party/cares/config_linux/ares_config.h +2 -38
  1895. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1896. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1897. data/third_party/upb/upb/base/status.c +6 -26
  1898. data/third_party/upb/upb/base/status.h +6 -26
  1899. data/third_party/upb/upb/base/status.hpp +50 -0
  1900. data/third_party/upb/upb/base/string_view.h +11 -28
  1901. data/third_party/upb/upb/generated_code_support.h +33 -0
  1902. data/third_party/upb/upb/hash/common.c +12 -44
  1903. data/third_party/upb/upb/hash/common.h +16 -41
  1904. data/third_party/upb/upb/hash/int_table.h +6 -26
  1905. data/third_party/upb/upb/hash/str_table.h +7 -26
  1906. data/third_party/upb/upb/json/decode.c +31 -28
  1907. data/third_party/upb/upb/json/decode.h +32 -29
  1908. data/third_party/upb/upb/json/encode.c +31 -28
  1909. data/third_party/upb/upb/json/encode.h +35 -32
  1910. data/third_party/upb/upb/lex/atoi.c +6 -26
  1911. data/third_party/upb/upb/lex/atoi.h +8 -26
  1912. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1913. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1914. data/third_party/upb/upb/lex/strtod.c +6 -26
  1915. data/third_party/upb/upb/lex/strtod.h +6 -26
  1916. data/third_party/upb/upb/lex/unicode.c +6 -26
  1917. data/third_party/upb/upb/lex/unicode.h +8 -26
  1918. data/third_party/upb/upb/mem/alloc.c +6 -26
  1919. data/third_party/upb/upb/mem/alloc.h +6 -26
  1920. data/third_party/upb/upb/mem/arena.c +30 -29
  1921. data/third_party/upb/upb/mem/arena.h +16 -44
  1922. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1923. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1924. data/third_party/upb/upb/message/accessors.c +34 -31
  1925. data/third_party/upb/upb/message/accessors.h +58 -57
  1926. data/third_party/upb/upb/message/array.c +154 -0
  1927. data/third_party/upb/upb/message/array.h +98 -0
  1928. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1929. data/third_party/upb/upb/message/internal/array.h +138 -0
  1930. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1931. data/third_party/upb/upb/message/internal/map.h +173 -0
  1932. data/third_party/upb/upb/message/internal/map_entry.h +66 -0
  1933. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1934. data/third_party/upb/upb/message/internal/message.h +106 -0
  1935. data/third_party/upb/upb/message/internal/types.h +23 -0
  1936. data/third_party/upb/upb/message/map.c +145 -0
  1937. data/third_party/upb/upb/message/map.h +147 -0
  1938. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1939. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1940. data/third_party/upb/upb/message/message.c +8 -34
  1941. data/third_party/upb/upb/message/message.h +10 -27
  1942. data/third_party/upb/upb/message/tagged_ptr.h +69 -0
  1943. data/third_party/upb/upb/message/types.h +15 -0
  1944. data/third_party/upb/upb/message/value.h +46 -0
  1945. data/third_party/upb/upb/mini_descriptor/build_enum.c +130 -0
  1946. data/third_party/upb/upb/mini_descriptor/build_enum.h +42 -0
  1947. data/third_party/upb/upb/mini_descriptor/decode.c +870 -0
  1948. data/third_party/upb/upb/mini_descriptor/decode.h +120 -0
  1949. data/third_party/upb/upb/mini_descriptor/internal/base92.c +26 -0
  1950. data/third_party/upb/upb/mini_descriptor/internal/base92.h +63 -0
  1951. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +53 -0
  1952. data/third_party/upb/upb/mini_descriptor/internal/encode.c +323 -0
  1953. data/third_party/upb/upb/mini_descriptor/internal/encode.h +92 -0
  1954. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +118 -0
  1955. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +32 -0
  1956. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +72 -0
  1957. data/third_party/upb/upb/mini_descriptor/link.c +122 -0
  1958. data/third_party/upb/upb/mini_descriptor/link.h +84 -0
  1959. data/third_party/upb/upb/mini_table/enum.h +38 -0
  1960. data/third_party/upb/upb/mini_table/extension.h +15 -0
  1961. data/third_party/upb/upb/mini_table/extension_registry.c +7 -27
  1962. data/third_party/upb/upb/mini_table/extension_registry.h +9 -28
  1963. data/third_party/upb/upb/mini_table/field.h +98 -0
  1964. data/third_party/upb/upb/mini_table/file.h +15 -0
  1965. data/third_party/upb/upb/mini_table/internal/enum.h +58 -0
  1966. data/third_party/upb/upb/mini_table/internal/extension.h +27 -0
  1967. data/third_party/upb/upb/mini_table/internal/field.h +114 -0
  1968. data/third_party/upb/upb/mini_table/internal/file.h +29 -0
  1969. data/third_party/upb/upb/mini_table/internal/message.c +19 -0
  1970. data/third_party/upb/upb/mini_table/internal/message.h +88 -0
  1971. data/third_party/upb/upb/mini_table/internal/sub.h +18 -0
  1972. data/third_party/upb/upb/mini_table/message.c +77 -0
  1973. data/third_party/upb/upb/mini_table/message.h +85 -0
  1974. data/third_party/upb/upb/mini_table/sub.h +15 -0
  1975. data/third_party/upb/upb/port/atomic.h +8 -26
  1976. data/third_party/upb/upb/port/def.inc +28 -29
  1977. data/third_party/upb/upb/port/undef.inc +8 -26
  1978. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1979. data/third_party/upb/upb/reflection/common.h +11 -27
  1980. data/third_party/upb/upb/reflection/def.h +8 -26
  1981. data/third_party/upb/upb/reflection/def.hpp +26 -31
  1982. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1983. data/third_party/upb/upb/reflection/def_pool.h +17 -38
  1984. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1985. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1986. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1987. data/third_party/upb/upb/reflection/enum_def.c +19 -37
  1988. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1989. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1990. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1991. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1992. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1993. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1994. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1995. data/third_party/upb/upb/reflection/field_def.c +70 -52
  1996. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1997. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1998. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1999. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  2000. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  2001. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  2002. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  2003. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  2004. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  2005. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  2006. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  2007. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  2008. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  2009. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  2010. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  2011. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  2012. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  2013. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  2014. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  2015. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  2016. data/third_party/upb/upb/reflection/message.c +10 -30
  2017. data/third_party/upb/upb/reflection/message.h +27 -40
  2018. data/third_party/upb/upb/reflection/message.hpp +5 -23
  2019. data/third_party/upb/upb/reflection/message_def.c +73 -55
  2020. data/third_party/upb/upb/reflection/message_def.h +25 -43
  2021. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  2022. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  2023. data/third_party/upb/upb/reflection/method_def.c +10 -29
  2024. data/third_party/upb/upb/reflection/method_def.h +6 -26
  2025. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  2026. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  2027. data/third_party/upb/upb/reflection/service_def.c +12 -31
  2028. data/third_party/upb/upb/reflection/service_def.h +6 -26
  2029. data/third_party/upb/upb/text/encode.c +8 -28
  2030. data/third_party/upb/upb/text/encode.h +6 -26
  2031. data/third_party/upb/upb/wire/decode.c +106 -68
  2032. data/third_party/upb/upb/wire/decode.h +50 -26
  2033. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  2034. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  2035. data/third_party/upb/upb/wire/encode.c +52 -46
  2036. data/third_party/upb/upb/wire/encode.h +14 -30
  2037. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  2038. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  2039. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  2040. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  2041. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  2042. data/third_party/upb/upb/wire/reader.c +6 -26
  2043. data/third_party/upb/upb/wire/reader.h +8 -28
  2044. data/third_party/upb/upb/wire/types.h +6 -26
  2045. data/third_party/zlib/adler32.c +5 -27
  2046. data/third_party/zlib/compress.c +5 -16
  2047. data/third_party/zlib/crc32.c +86 -162
  2048. data/third_party/zlib/deflate.c +233 -336
  2049. data/third_party/zlib/deflate.h +8 -8
  2050. data/third_party/zlib/gzguts.h +11 -12
  2051. data/third_party/zlib/infback.c +7 -23
  2052. data/third_party/zlib/inffast.c +1 -4
  2053. data/third_party/zlib/inffast.h +1 -1
  2054. data/third_party/zlib/inflate.c +30 -99
  2055. data/third_party/zlib/inftrees.c +6 -11
  2056. data/third_party/zlib/inftrees.h +3 -3
  2057. data/third_party/zlib/trees.c +224 -302
  2058. data/third_party/zlib/uncompr.c +4 -12
  2059. data/third_party/zlib/zconf.h +6 -2
  2060. data/third_party/zlib/zlib.h +191 -188
  2061. data/third_party/zlib/zutil.c +16 -44
  2062. data/third_party/zlib/zutil.h +10 -10
  2063. metadata +1160 -904
  2064. data/src/core/ext/filters/client_channel/backend_metric.cc +0 -95
  2065. data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
  2066. data/src/core/ext/filters/client_channel/backup_poller.cc +0 -178
  2067. data/src/core/ext/filters/client_channel/backup_poller.h +0 -37
  2068. data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -265
  2069. data/src/core/ext/filters/client_channel/client_channel.cc +0 -3242
  2070. data/src/core/ext/filters/client_channel/client_channel.h +0 -595
  2071. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -93
  2072. data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
  2073. data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
  2074. data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
  2075. data/src/core/ext/filters/client_channel/client_channel_internal.h +0 -77
  2076. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -42
  2077. data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
  2078. data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
  2079. data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
  2080. data/src/core/ext/filters/client_channel/config_selector.h +0 -125
  2081. data/src/core/ext/filters/client_channel/connector.h +0 -88
  2082. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
  2083. data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -108
  2084. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
  2085. data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
  2086. data/src/core/ext/filters/client_channel/http_proxy.cc +0 -238
  2087. data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
  2088. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -69
  2089. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -115
  2090. data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -57
  2091. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -315
  2092. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -88
  2093. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -85
  2094. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -46
  2095. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1866
  2096. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -39
  2097. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -89
  2098. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -39
  2099. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
  2100. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -81
  2101. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
  2102. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -77
  2103. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +0 -478
  2104. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +0 -52
  2105. data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +0 -202
  2106. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -333
  2107. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
  2108. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +0 -119
  2109. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1187
  2110. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -101
  2111. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -592
  2112. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +0 -25
  2113. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -892
  2114. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -880
  2115. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -64
  2116. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2456
  2117. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -537
  2118. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -488
  2119. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +0 -198
  2120. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h +0 -71
  2121. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +0 -1011
  2122. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -747
  2123. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -706
  2124. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -37
  2125. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -750
  2126. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -650
  2127. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1155
  2128. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +0 -780
  2129. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +0 -67
  2130. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -301
  2131. data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
  2132. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
  2133. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -148
  2134. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -758
  2135. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +0 -30
  2136. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -90
  2137. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -115
  2138. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -888
  2139. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1206
  2140. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -136
  2141. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
  2142. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
  2143. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +0 -60
  2144. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +0 -27
  2145. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +0 -559
  2146. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +0 -35
  2147. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +0 -97
  2148. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +0 -32
  2149. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -184
  2150. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +0 -24
  2151. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -368
  2152. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -110
  2153. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -326
  2154. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -273
  2155. data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -121
  2156. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -202
  2157. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1276
  2158. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -61
  2159. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -160
  2160. data/src/core/ext/filters/client_channel/retry_filter.h +0 -121
  2161. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -2052
  2162. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +0 -442
  2163. data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -283
  2164. data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
  2165. data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -139
  2166. data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
  2167. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -124
  2168. data/src/core/ext/filters/client_channel/subchannel.cc +0 -774
  2169. data/src/core/ext/filters/client_channel/subchannel.h +0 -372
  2170. data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -41
  2171. data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
  2172. data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
  2173. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -469
  2174. data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -225
  2175. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -152
  2176. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -735
  2177. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -183
  2178. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -835
  2179. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -160
  2180. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -743
  2181. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -535
  2182. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2796
  2183. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -69
  2184. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -256
  2185. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -77
  2186. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -287
  2187. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -59
  2188. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -168
  2189. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -52
  2190. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -128
  2191. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -52
  2192. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -123
  2193. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -153
  2194. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -935
  2195. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -57
  2196. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -122
  2197. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -63
  2198. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -134
  2199. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -60
  2200. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -118
  2201. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -378
  2202. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1772
  2203. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -572
  2204. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3257
  2205. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -128
  2206. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -532
  2207. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -732
  2208. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3926
  2209. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -57
  2210. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -122
  2211. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -126
  2212. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -664
  2213. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -398
  2214. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1849
  2215. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -227
  2216. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1054
  2217. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -58
  2218. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -134
  2219. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -580
  2220. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2448
  2221. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -228
  2222. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1141
  2223. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -54
  2224. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -115
  2225. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -56
  2226. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -122
  2227. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -71
  2228. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -256
  2229. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -381
  2230. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1707
  2231. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -318
  2232. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1951
  2233. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -58
  2234. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -149
  2235. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -484
  2236. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2264
  2237. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -73
  2238. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -245
  2239. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -75
  2240. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -239
  2241. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -79
  2242. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -293
  2243. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -69
  2244. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -260
  2245. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -57
  2246. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -136
  2247. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -141
  2248. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -498
  2249. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -207
  2250. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -875
  2251. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -182
  2252. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -920
  2253. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -53
  2254. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -107
  2255. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -269
  2256. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1600
  2257. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -263
  2258. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1459
  2259. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -89
  2260. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -331
  2261. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -80
  2262. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -204
  2263. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -67
  2264. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -187
  2265. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -222
  2266. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -988
  2267. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -253
  2268. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1197
  2269. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -351
  2270. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1717
  2271. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -136
  2272. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -867
  2273. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1646
  2274. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9598
  2275. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -100
  2276. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -347
  2277. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -328
  2278. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1530
  2279. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -54
  2280. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -123
  2281. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -58
  2282. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -122
  2283. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -76
  2284. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -196
  2285. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -65
  2286. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -205
  2287. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -84
  2288. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -413
  2289. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -55
  2290. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -122
  2291. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -54
  2292. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -107
  2293. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -88
  2294. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -259
  2295. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -36
  2296. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -48
  2297. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -90
  2298. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -261
  2299. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -68
  2300. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -204
  2301. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -558
  2302. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2710
  2303. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -49
  2304. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -139
  2305. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -119
  2306. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -437
  2307. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -144
  2308. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -664
  2309. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -90
  2310. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -271
  2311. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -104
  2312. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -468
  2313. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -75
  2314. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -201
  2315. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -682
  2316. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3973
  2317. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -53
  2318. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -107
  2319. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -70
  2320. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -246
  2321. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -138
  2322. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -499
  2323. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -47
  2324. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -93
  2325. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -71
  2326. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -257
  2327. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -53
  2328. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -107
  2329. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -31
  2330. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -43
  2331. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -265
  2332. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1479
  2333. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -111
  2334. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -369
  2335. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -270
  2336. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1482
  2337. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -75
  2338. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -224
  2339. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -41
  2340. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -78
  2341. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -405
  2342. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2161
  2343. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -87
  2344. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -331
  2345. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -185
  2346. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -923
  2347. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -57
  2348. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -137
  2349. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -89
  2350. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -321
  2351. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -56
  2352. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -130
  2353. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -108
  2354. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -309
  2355. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -79
  2356. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -266
  2357. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -58
  2358. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -172
  2359. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -57
  2360. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -135
  2361. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -54
  2362. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -115
  2363. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -99
  2364. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -277
  2365. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -46
  2366. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -117
  2367. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -84
  2368. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -312
  2369. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -73
  2370. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -236
  2371. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -95
  2372. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -354
  2373. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -130
  2374. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -536
  2375. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -142
  2376. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -516
  2377. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -79
  2378. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -234
  2379. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -29
  2380. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -44
  2381. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -49
  2382. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -153
  2383. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -67
  2384. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -168
  2385. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -87
  2386. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -246
  2387. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -78
  2388. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -237
  2389. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -29
  2390. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -48
  2391. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -52
  2392. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -123
  2393. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -60
  2394. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -151
  2395. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -43
  2396. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -63
  2397. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -372
  2398. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1764
  2399. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -402
  2400. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1849
  2401. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -114
  2402. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -507
  2403. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -55
  2404. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -173
  2405. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -49
  2406. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -108
  2407. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1172
  2408. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -5656
  2409. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -49
  2410. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -108
  2411. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -38
  2412. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -78
  2413. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -118
  2414. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -434
  2415. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -49
  2416. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -108
  2417. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -166
  2418. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -525
  2419. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -55
  2420. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -173
  2421. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -109
  2422. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -397
  2423. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -82
  2424. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -246
  2425. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -345
  2426. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1677
  2427. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -72
  2428. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -207
  2429. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -61
  2430. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -154
  2431. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -224
  2432. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -893
  2433. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -95
  2434. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -308
  2435. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -246
  2436. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1349
  2437. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -129
  2438. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -341
  2439. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -64
  2440. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -133
  2441. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -41
  2442. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -63
  2443. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -63
  2444. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -140
  2445. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -60
  2446. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -118
  2447. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -950
  2448. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6544
  2449. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -129
  2450. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -341
  2451. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -64
  2452. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -133
  2453. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -41
  2454. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -63
  2455. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -126
  2456. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -352
  2457. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -60
  2458. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -118
  2459. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -48
  2460. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -93
  2461. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -56
  2462. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -122
  2463. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -81
  2464. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -241
  2465. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -65
  2466. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -142
  2467. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -55
  2468. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -122
  2469. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -58
  2470. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -151
  2471. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -87
  2472. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -338
  2473. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -62
  2474. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -152
  2475. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -129
  2476. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -360
  2477. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -55
  2478. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -168
  2479. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -53
  2480. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -107
  2481. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -75
  2482. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -270
  2483. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -39
  2484. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -78
  2485. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -78
  2486. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -289
  2487. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -268
  2488. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1122
  2489. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -160
  2490. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -740
  2491. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -61
  2492. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -167
  2493. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -82
  2494. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -312
  2495. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -82
  2496. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -240
  2497. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -85
  2498. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -246
  2499. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -54
  2500. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -122
  2501. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  2502. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  2503. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  2504. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  2505. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  2506. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  2507. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  2508. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  2509. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  2510. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  2511. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  2512. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  2513. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  2514. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  2515. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  2516. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  2517. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  2518. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  2519. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  2520. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  2521. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  2522. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  2523. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  2524. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  2525. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  2526. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  2527. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
  2528. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
  2529. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  2530. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  2531. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  2532. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  2533. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  2534. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  2535. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  2536. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  2537. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  2538. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  2539. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  2540. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  2541. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  2542. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  2543. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  2544. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  2545. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  2546. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  2547. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  2548. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
  2549. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  2550. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  2551. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  2552. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  2553. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  2554. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  2555. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
  2556. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  2557. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
  2558. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  2559. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  2560. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  2561. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
  2562. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  2563. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  2564. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  2565. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  2566. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  2567. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  2568. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  2569. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  2570. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  2571. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  2572. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  2573. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  2574. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  2575. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  2576. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  2577. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  2578. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  2579. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  2580. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  2581. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  2582. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  2583. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  2584. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  2585. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  2586. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  2587. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  2588. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  2589. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
  2590. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  2591. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  2592. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  2593. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
  2594. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
  2595. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  2596. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  2597. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  2598. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  2599. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  2600. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  2601. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  2602. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  2603. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  2604. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  2605. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  2606. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  2607. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  2608. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  2609. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  2610. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  2611. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  2612. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  2613. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  2614. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  2615. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  2616. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  2617. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  2618. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  2619. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  2620. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  2621. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  2622. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  2623. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  2624. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  2625. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  2626. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  2627. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
  2628. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
  2629. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  2630. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  2631. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  2632. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  2633. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
  2634. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  2635. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  2636. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  2637. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
  2638. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
  2639. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  2640. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  2641. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
  2642. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
  2643. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  2644. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  2645. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  2646. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  2647. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  2648. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  2649. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  2650. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  2651. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  2652. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  2653. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  2654. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  2655. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  2656. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  2657. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  2658. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  2659. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  2660. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  2661. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  2662. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  2663. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  2664. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  2665. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  2666. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  2667. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  2668. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  2669. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  2670. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  2671. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  2672. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  2673. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  2674. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  2675. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  2676. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  2677. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  2678. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  2679. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  2680. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  2681. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  2682. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  2683. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  2684. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  2685. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  2686. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  2687. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  2688. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  2689. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  2690. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  2691. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  2692. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  2693. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  2694. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  2695. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  2696. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  2697. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  2698. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  2699. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  2700. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  2701. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  2702. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  2703. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  2704. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  2705. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  2706. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  2707. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  2708. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  2709. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  2710. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  2711. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  2712. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  2713. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  2714. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  2715. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  2716. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  2717. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  2718. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  2719. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  2720. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  2721. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  2722. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  2723. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -387
  2724. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -171
  2725. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  2726. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  2727. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  2728. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  2729. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  2730. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  2731. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  2732. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  2733. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  2734. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  2735. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  2736. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  2737. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  2738. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  2739. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  2740. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  2741. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  2742. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  2743. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  2744. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  2745. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  2746. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  2747. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  2748. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  2749. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  2750. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  2751. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  2752. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  2753. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  2754. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  2755. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  2756. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  2757. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  2758. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  2759. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  2760. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  2761. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  2762. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  2763. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  2764. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  2765. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  2766. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  2767. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  2768. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  2769. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  2770. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  2771. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  2772. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  2773. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  2774. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  2775. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  2776. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  2777. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  2778. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  2779. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  2780. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  2781. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  2782. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  2783. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  2784. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  2785. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  2786. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  2787. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  2788. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  2789. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  2790. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  2791. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  2792. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  2793. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  2794. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  2795. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  2796. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  2797. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  2798. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  2799. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  2800. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  2801. data/src/core/lib/event_engine/memory_allocator.cc +0 -74
  2802. data/src/core/lib/event_engine/thread_pool/original_thread_pool.cc +0 -256
  2803. data/src/core/lib/event_engine/thread_pool/original_thread_pool.h +0 -137
  2804. data/src/core/lib/iomgr/load_file.cc +0 -78
  2805. data/src/core/lib/iomgr/load_file.h +0 -35
  2806. data/src/core/lib/load_balancing/delegating_helper.h +0 -115
  2807. data/src/core/lib/load_balancing/lb_policy.cc +0 -98
  2808. data/src/core/lib/load_balancing/lb_policy.h +0 -477
  2809. data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
  2810. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -143
  2811. data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
  2812. data/src/core/lib/load_balancing/subchannel_interface.h +0 -141
  2813. data/src/core/lib/promise/detail/basic_join.h +0 -197
  2814. data/src/core/lib/promise/detail/switch.h +0 -1455
  2815. data/src/core/lib/resolver/resolver.cc +0 -37
  2816. data/src/core/lib/resolver/resolver.h +0 -138
  2817. data/src/core/lib/resolver/resolver_factory.h +0 -78
  2818. data/src/core/lib/resolver/resolver_registry.cc +0 -164
  2819. data/src/core/lib/resolver/resolver_registry.h +0 -123
  2820. data/src/core/lib/resolver/server_address.cc +0 -89
  2821. data/src/core/lib/resolver/server_address.h +0 -85
  2822. data/src/core/lib/service_config/service_config.h +0 -89
  2823. data/src/core/lib/service_config/service_config_call_data.h +0 -116
  2824. data/src/core/lib/service_config/service_config_impl.cc +0 -198
  2825. data/src/core/lib/service_config/service_config_impl.h +0 -125
  2826. data/src/core/lib/service_config/service_config_parser.cc +0 -81
  2827. data/src/core/lib/service_config/service_config_parser.h +0 -105
  2828. data/src/core/lib/transport/pid_controller.cc +0 -51
  2829. data/src/core/lib/transport/pid_controller.h +0 -116
  2830. data/src/core/lib/transport/transport_impl.h +0 -102
  2831. data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -138
  2832. data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -280
  2833. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +0 -434
  2834. data/third_party/abseil-cpp/absl/flags/flag.cc +0 -38
  2835. data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +0 -116
  2836. data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -158
  2837. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
  2838. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
  2839. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
  2840. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
  2841. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_freebsd.c +0 -62
  2842. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm.c +0 -38
  2843. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_openbsd.c +0 -31
  2844. data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +0 -204
  2845. data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -100
  2846. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -111
  2847. data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -197
  2848. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -221
  2849. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -71
  2850. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -636
  2851. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -135
  2852. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -141
  2853. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -418
  2854. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -477
  2855. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -599
  2856. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -111
  2857. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -154
  2858. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -270
  2859. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -122
  2860. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -213
  2861. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -121
  2862. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -341
  2863. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -555
  2864. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -81
  2865. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -142
  2866. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -150
  2867. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -225
  2868. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -888
  2869. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -171
  2870. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1355
  2871. data/third_party/re2/util/benchmark.h +0 -156
  2872. data/third_party/re2/util/flags.h +0 -26
  2873. data/third_party/re2/util/malloc_counter.h +0 -19
  2874. data/third_party/re2/util/pcre.cc +0 -1025
  2875. data/third_party/re2/util/pcre.h +0 -681
  2876. data/third_party/re2/util/test.h +0 -50
  2877. data/third_party/upb/upb/alloc.h +0 -36
  2878. data/third_party/upb/upb/arena.h +0 -36
  2879. data/third_party/upb/upb/array.h +0 -36
  2880. data/third_party/upb/upb/base/log2.h +0 -57
  2881. data/third_party/upb/upb/collections/array.c +0 -145
  2882. data/third_party/upb/upb/collections/array.h +0 -85
  2883. data/third_party/upb/upb/collections/array_internal.h +0 -135
  2884. data/third_party/upb/upb/collections/map.c +0 -135
  2885. data/third_party/upb/upb/collections/map.h +0 -135
  2886. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  2887. data/third_party/upb/upb/collections/map_internal.h +0 -170
  2888. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  2889. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  2890. data/third_party/upb/upb/collections/message_value.h +0 -65
  2891. data/third_party/upb/upb/decode.h +0 -36
  2892. data/third_party/upb/upb/def.h +0 -36
  2893. data/third_party/upb/upb/def.hpp +0 -33
  2894. data/third_party/upb/upb/encode.h +0 -36
  2895. data/third_party/upb/upb/extension_registry.h +0 -35
  2896. data/third_party/upb/upb/json_decode.h +0 -36
  2897. data/third_party/upb/upb/json_encode.h +0 -36
  2898. data/third_party/upb/upb/map.h +0 -36
  2899. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  2900. data/third_party/upb/upb/message/accessors_internal.h +0 -325
  2901. data/third_party/upb/upb/message/extension_internal.h +0 -83
  2902. data/third_party/upb/upb/message/internal.h +0 -135
  2903. data/third_party/upb/upb/mini_table/common.c +0 -128
  2904. data/third_party/upb/upb/mini_table/common.h +0 -170
  2905. data/third_party/upb/upb/mini_table/common_internal.h +0 -111
  2906. data/third_party/upb/upb/mini_table/decode.c +0 -1127
  2907. data/third_party/upb/upb/mini_table/decode.h +0 -179
  2908. data/third_party/upb/upb/mini_table/encode.c +0 -300
  2909. data/third_party/upb/upb/mini_table/encode_internal.h +0 -111
  2910. data/third_party/upb/upb/mini_table/encode_internal.hpp +0 -136
  2911. data/third_party/upb/upb/mini_table/enum_internal.h +0 -88
  2912. data/third_party/upb/upb/mini_table/extension_internal.h +0 -47
  2913. data/third_party/upb/upb/mini_table/field_internal.h +0 -192
  2914. data/third_party/upb/upb/mini_table/file_internal.h +0 -47
  2915. data/third_party/upb/upb/mini_table/message_internal.h +0 -136
  2916. data/third_party/upb/upb/mini_table/sub_internal.h +0 -38
  2917. data/third_party/upb/upb/mini_table/types.h +0 -40
  2918. data/third_party/upb/upb/mini_table.h +0 -36
  2919. data/third_party/upb/upb/msg.h +0 -36
  2920. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  2921. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  2922. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  2923. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  2924. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  2925. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  2926. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  2927. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  2928. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  2929. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  2930. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  2931. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  2932. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  2933. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  2934. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  2935. data/third_party/upb/upb/reflection.h +0 -36
  2936. data/third_party/upb/upb/reflection.hpp +0 -33
  2937. data/third_party/upb/upb/status.h +0 -36
  2938. data/third_party/upb/upb/string_view.h +0 -36
  2939. data/third_party/upb/upb/text_encode.h +0 -36
  2940. data/third_party/upb/upb/upb.h +0 -39
  2941. data/third_party/upb/upb/upb.hpp +0 -107
  2942. data/third_party/upb/upb/wire/common.h +0 -44
  2943. data/third_party/upb/upb/wire/common_internal.h +0 -50
  2944. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  2945. data/third_party/upb/upb/wire/swap_internal.h +0 -63
  2946. data/third_party/zlib/gzclose.c +0 -25
  2947. data/third_party/zlib/gzlib.c +0 -639
  2948. data/third_party/zlib/gzread.c +0 -650
  2949. data/third_party/zlib/gzwrite.c +0 -677
  2950. /data/third_party/boringssl-with-bazel/src/crypto/{x509v3 → x509}/ext_dat.h +0 -0
@@ -1,3242 +0,0 @@
1
- //
2
- // Copyright 2015 gRPC authors.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- //
16
-
17
- #include <grpc/support/port_platform.h>
18
-
19
- #include "src/core/ext/filters/client_channel/client_channel.h"
20
-
21
- #include <inttypes.h>
22
- #include <limits.h>
23
-
24
- #include <algorithm>
25
- #include <functional>
26
- #include <new>
27
- #include <set>
28
- #include <type_traits>
29
- #include <utility>
30
- #include <vector>
31
-
32
- #include "absl/cleanup/cleanup.h"
33
- #include "absl/status/status.h"
34
- #include "absl/status/statusor.h"
35
- #include "absl/strings/cord.h"
36
- #include "absl/strings/numbers.h"
37
- #include "absl/strings/str_cat.h"
38
- #include "absl/strings/str_join.h"
39
- #include "absl/strings/string_view.h"
40
- #include "absl/types/optional.h"
41
- #include "absl/types/variant.h"
42
-
43
- #include <grpc/event_engine/event_engine.h>
44
- #include <grpc/slice.h>
45
- #include <grpc/status.h>
46
- #include <grpc/support/json.h>
47
- #include <grpc/support/log.h>
48
- #include <grpc/support/string_util.h>
49
- #include <grpc/support/time.h>
50
-
51
- #include "src/core/ext/filters/client_channel/backend_metric.h"
52
- #include "src/core/ext/filters/client_channel/backup_poller.h"
53
- #include "src/core/ext/filters/client_channel/client_channel_channelz.h"
54
- #include "src/core/ext/filters/client_channel/client_channel_internal.h"
55
- #include "src/core/ext/filters/client_channel/client_channel_service_config.h"
56
- #include "src/core/ext/filters/client_channel/config_selector.h"
57
- #include "src/core/ext/filters/client_channel/dynamic_filters.h"
58
- #include "src/core/ext/filters/client_channel/global_subchannel_pool.h"
59
- #include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h"
60
- #include "src/core/ext/filters/client_channel/local_subchannel_pool.h"
61
- #include "src/core/ext/filters/client_channel/retry_filter.h"
62
- #include "src/core/ext/filters/client_channel/subchannel.h"
63
- #include "src/core/ext/filters/client_channel/subchannel_interface_internal.h"
64
- #include "src/core/ext/filters/deadline/deadline_filter.h"
65
- #include "src/core/lib/channel/channel_args.h"
66
- #include "src/core/lib/channel/channel_stack.h"
67
- #include "src/core/lib/channel/channel_trace.h"
68
- #include "src/core/lib/channel/status_util.h"
69
- #include "src/core/lib/config/core_configuration.h"
70
- #include "src/core/lib/debug/trace.h"
71
- #include "src/core/lib/gpr/useful.h"
72
- #include "src/core/lib/gprpp/debug_location.h"
73
- #include "src/core/lib/gprpp/status_helper.h"
74
- #include "src/core/lib/gprpp/sync.h"
75
- #include "src/core/lib/gprpp/unique_type_name.h"
76
- #include "src/core/lib/gprpp/work_serializer.h"
77
- #include "src/core/lib/handshaker/proxy_mapper_registry.h"
78
- #include "src/core/lib/iomgr/exec_ctx.h"
79
- #include "src/core/lib/iomgr/polling_entity.h"
80
- #include "src/core/lib/iomgr/pollset_set.h"
81
- #include "src/core/lib/json/json.h"
82
- #include "src/core/lib/load_balancing/lb_policy_registry.h"
83
- #include "src/core/lib/load_balancing/subchannel_interface.h"
84
- #include "src/core/lib/resolver/resolver_registry.h"
85
- #include "src/core/lib/resolver/server_address.h"
86
- #include "src/core/lib/security/credentials/credentials.h"
87
- #include "src/core/lib/service_config/service_config_call_data.h"
88
- #include "src/core/lib/service_config/service_config_impl.h"
89
- #include "src/core/lib/slice/slice.h"
90
- #include "src/core/lib/slice/slice_internal.h"
91
- #include "src/core/lib/surface/channel.h"
92
- #include "src/core/lib/transport/connectivity_state.h"
93
- #include "src/core/lib/transport/error_utils.h"
94
- #include "src/core/lib/transport/metadata_batch.h"
95
-
96
- //
97
- // Client channel filter
98
- //
99
-
100
- namespace grpc_core {
101
-
102
- using internal::ClientChannelMethodParsedConfig;
103
-
104
- TraceFlag grpc_client_channel_trace(false, "client_channel");
105
- TraceFlag grpc_client_channel_call_trace(false, "client_channel_call");
106
- TraceFlag grpc_client_channel_lb_call_trace(false, "client_channel_lb_call");
107
-
108
- //
109
- // ClientChannel::CallData definition
110
- //
111
-
112
- class ClientChannel::CallData {
113
- public:
114
- // Removes the call from the channel's list of calls queued
115
- // for name resolution.
116
- void RemoveCallFromResolverQueuedCallsLocked()
117
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_);
118
-
119
- // Called by the channel for each queued call when a new resolution
120
- // result becomes available.
121
- virtual void RetryCheckResolutionLocked()
122
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_) = 0;
123
-
124
- RefCountedPtr<DynamicFilters> dynamic_filters() const {
125
- return dynamic_filters_;
126
- }
127
-
128
- protected:
129
- CallData() = default;
130
- virtual ~CallData() = default;
131
-
132
- // Checks whether a resolver result is available. The following
133
- // outcomes are possible:
134
- // - No resolver result is available yet. The call will be queued and
135
- // absl::nullopt will be returned. Later, when a resolver result
136
- // becomes available, RetryCheckResolutionLocked() will be called.
137
- // - The resolver has returned a transient failure. If the call is
138
- // not wait_for_ready, a non-OK status will be returned. (If the
139
- // call *is* wait_for_ready, it will be queued instead.)
140
- // - There is a valid resolver result. The service config will be
141
- // stored in the call context and an OK status will be returned.
142
- absl::optional<absl::Status> CheckResolution(bool was_queued);
143
-
144
- private:
145
- // Accessors for data stored in the subclass.
146
- virtual ClientChannel* chand() const = 0;
147
- virtual Arena* arena() const = 0;
148
- virtual grpc_polling_entity* pollent() const = 0;
149
- virtual grpc_metadata_batch* send_initial_metadata() = 0;
150
- virtual grpc_call_context_element* call_context() const = 0;
151
-
152
- // Helper function for CheckResolution(). Returns true if the call
153
- // can continue (i.e., there is a valid resolution result, or there is
154
- // an invalid resolution result but the call is not wait_for_ready).
155
- bool CheckResolutionLocked(
156
- absl::StatusOr<RefCountedPtr<ConfigSelector>>* config_selector)
157
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_);
158
-
159
- // Adds the call to the channel's list of calls queued for name resolution.
160
- void AddCallToResolverQueuedCallsLocked()
161
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_);
162
-
163
- // Called when adding the call to the resolver queue.
164
- virtual void OnAddToQueueLocked()
165
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_) {}
166
-
167
- // Applies service config to the call. Must be invoked once we know
168
- // that the resolver has returned results to the channel.
169
- // If an error is returned, the error indicates the status with which
170
- // the call should be failed.
171
- grpc_error_handle ApplyServiceConfigToCallLocked(
172
- const absl::StatusOr<RefCountedPtr<ConfigSelector>>& config_selector);
173
-
174
- // Called to reset the deadline based on the service config obtained
175
- // from the resolver.
176
- virtual void ResetDeadline(Duration timeout) = 0;
177
-
178
- RefCountedPtr<DynamicFilters> dynamic_filters_;
179
- };
180
-
181
- class ClientChannel::FilterBasedCallData : public ClientChannel::CallData {
182
- public:
183
- static grpc_error_handle Init(grpc_call_element* elem,
184
- const grpc_call_element_args* args);
185
- static void Destroy(grpc_call_element* elem,
186
- const grpc_call_final_info* final_info,
187
- grpc_closure* then_schedule_closure);
188
- static void StartTransportStreamOpBatch(
189
- grpc_call_element* elem, grpc_transport_stream_op_batch* batch);
190
- static void SetPollent(grpc_call_element* elem, grpc_polling_entity* pollent);
191
-
192
- private:
193
- class ResolverQueuedCallCanceller;
194
-
195
- FilterBasedCallData(grpc_call_element* elem,
196
- const grpc_call_element_args& args);
197
- ~FilterBasedCallData() override;
198
-
199
- grpc_call_element* elem() const { return deadline_state_.elem; }
200
- grpc_call_stack* owning_call() const { return deadline_state_.call_stack; }
201
- CallCombiner* call_combiner() const { return deadline_state_.call_combiner; }
202
-
203
- ClientChannel* chand() const override {
204
- return static_cast<ClientChannel*>(elem()->channel_data);
205
- }
206
- Arena* arena() const override { return deadline_state_.arena; }
207
- grpc_polling_entity* pollent() const override { return pollent_; }
208
- grpc_metadata_batch* send_initial_metadata() override {
209
- return pending_batches_[0]
210
- ->payload->send_initial_metadata.send_initial_metadata;
211
- }
212
- grpc_call_context_element* call_context() const override {
213
- return call_context_;
214
- }
215
-
216
- // Returns the index into pending_batches_ to be used for batch.
217
- static size_t GetBatchIndex(grpc_transport_stream_op_batch* batch);
218
- void PendingBatchesAdd(grpc_transport_stream_op_batch* batch);
219
- static void FailPendingBatchInCallCombiner(void* arg,
220
- grpc_error_handle error);
221
- // A predicate type and some useful implementations for PendingBatchesFail().
222
- typedef bool (*YieldCallCombinerPredicate)(
223
- const CallCombinerClosureList& closures);
224
- static bool YieldCallCombiner(const CallCombinerClosureList& /*closures*/) {
225
- return true;
226
- }
227
- static bool NoYieldCallCombiner(const CallCombinerClosureList& /*closures*/) {
228
- return false;
229
- }
230
- static bool YieldCallCombinerIfPendingBatchesFound(
231
- const CallCombinerClosureList& closures) {
232
- return closures.size() > 0;
233
- }
234
- // Fails all pending batches.
235
- // If yield_call_combiner_predicate returns true, assumes responsibility for
236
- // yielding the call combiner.
237
- void PendingBatchesFail(
238
- grpc_error_handle error,
239
- YieldCallCombinerPredicate yield_call_combiner_predicate);
240
- static void ResumePendingBatchInCallCombiner(void* arg,
241
- grpc_error_handle ignored);
242
- // Resumes all pending batches on dynamic_call_.
243
- void PendingBatchesResume();
244
-
245
- // Called to check for a resolution result, both when the call is
246
- // initially started and when it is queued and the channel gets a new
247
- // resolution result.
248
- void TryCheckResolution(bool was_queued);
249
-
250
- void OnAddToQueueLocked() override
251
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_);
252
-
253
- void RetryCheckResolutionLocked() override
254
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_);
255
-
256
- void ResetDeadline(Duration timeout) override {
257
- const Timestamp per_method_deadline =
258
- Timestamp::FromCycleCounterRoundUp(call_start_time_) + timeout;
259
- if (per_method_deadline < deadline_) {
260
- deadline_ = per_method_deadline;
261
- grpc_deadline_state_reset(&deadline_state_, deadline_);
262
- }
263
- }
264
-
265
- void CreateDynamicCall();
266
-
267
- static void RecvTrailingMetadataReadyForConfigSelectorCommitCallback(
268
- void* arg, grpc_error_handle error);
269
-
270
- grpc_slice path_; // Request path.
271
- grpc_call_context_element* call_context_;
272
- gpr_cycle_counter call_start_time_;
273
- Timestamp deadline_;
274
-
275
- // State for handling deadlines.
276
- grpc_deadline_state deadline_state_;
277
-
278
- grpc_polling_entity* pollent_ = nullptr;
279
-
280
- // Accessed while holding ClientChannel::resolution_mu_.
281
- ResolverQueuedCallCanceller* resolver_call_canceller_
282
- ABSL_GUARDED_BY(&ClientChannel::resolution_mu_) = nullptr;
283
-
284
- grpc_closure* original_recv_trailing_metadata_ready_ = nullptr;
285
- grpc_closure recv_trailing_metadata_ready_;
286
-
287
- RefCountedPtr<DynamicFilters::Call> dynamic_call_;
288
-
289
- // Batches are added to this list when received from above.
290
- // They are removed when we are done handling the batch (i.e., when
291
- // either we have invoked all of the batch's callbacks or we have
292
- // passed the batch down to the LB call and are not intercepting any of
293
- // its callbacks).
294
- grpc_transport_stream_op_batch* pending_batches_[MAX_PENDING_BATCHES] = {};
295
-
296
- // Set when we get a cancel_stream op.
297
- grpc_error_handle cancel_error_;
298
- };
299
-
300
- //
301
- // Filter vtable
302
- //
303
-
304
- const grpc_channel_filter ClientChannel::kFilterVtable = {
305
- ClientChannel::FilterBasedCallData::StartTransportStreamOpBatch,
306
- nullptr,
307
- ClientChannel::StartTransportOp,
308
- sizeof(ClientChannel::FilterBasedCallData),
309
- ClientChannel::FilterBasedCallData::Init,
310
- ClientChannel::FilterBasedCallData::SetPollent,
311
- ClientChannel::FilterBasedCallData::Destroy,
312
- sizeof(ClientChannel),
313
- ClientChannel::Init,
314
- grpc_channel_stack_no_post_init,
315
- ClientChannel::Destroy,
316
- ClientChannel::GetChannelInfo,
317
- "client-channel",
318
- };
319
-
320
- //
321
- // dynamic termination filter
322
- //
323
-
324
- namespace {
325
-
326
- class DynamicTerminationFilter {
327
- public:
328
- class CallData;
329
-
330
- static const grpc_channel_filter kFilterVtable;
331
-
332
- static grpc_error_handle Init(grpc_channel_element* elem,
333
- grpc_channel_element_args* args) {
334
- GPR_ASSERT(args->is_last);
335
- GPR_ASSERT(elem->filter == &kFilterVtable);
336
- new (elem->channel_data) DynamicTerminationFilter(args->channel_args);
337
- return absl::OkStatus();
338
- }
339
-
340
- static void Destroy(grpc_channel_element* elem) {
341
- auto* chand = static_cast<DynamicTerminationFilter*>(elem->channel_data);
342
- chand->~DynamicTerminationFilter();
343
- }
344
-
345
- // Will never be called.
346
- static void StartTransportOp(grpc_channel_element* /*elem*/,
347
- grpc_transport_op* /*op*/) {}
348
- static void GetChannelInfo(grpc_channel_element* /*elem*/,
349
- const grpc_channel_info* /*info*/) {}
350
-
351
- private:
352
- explicit DynamicTerminationFilter(const ChannelArgs& args)
353
- : chand_(args.GetObject<ClientChannel>()) {}
354
-
355
- ClientChannel* chand_;
356
- };
357
-
358
- class DynamicTerminationFilter::CallData {
359
- public:
360
- static grpc_error_handle Init(grpc_call_element* elem,
361
- const grpc_call_element_args* args) {
362
- new (elem->call_data) CallData(*args);
363
- return absl::OkStatus();
364
- }
365
-
366
- static void Destroy(grpc_call_element* elem,
367
- const grpc_call_final_info* /*final_info*/,
368
- grpc_closure* then_schedule_closure) {
369
- auto* calld = static_cast<CallData*>(elem->call_data);
370
- RefCountedPtr<SubchannelCall> subchannel_call;
371
- if (GPR_LIKELY(calld->lb_call_ != nullptr)) {
372
- subchannel_call = calld->lb_call_->subchannel_call();
373
- }
374
- calld->~CallData();
375
- if (GPR_LIKELY(subchannel_call != nullptr)) {
376
- subchannel_call->SetAfterCallStackDestroy(then_schedule_closure);
377
- } else {
378
- // TODO(yashkt) : This can potentially be a Closure::Run
379
- ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, absl::OkStatus());
380
- }
381
- }
382
-
383
- static void StartTransportStreamOpBatch(
384
- grpc_call_element* elem, grpc_transport_stream_op_batch* batch) {
385
- auto* calld = static_cast<CallData*>(elem->call_data);
386
- calld->lb_call_->StartTransportStreamOpBatch(batch);
387
- }
388
-
389
- static void SetPollent(grpc_call_element* elem,
390
- grpc_polling_entity* pollent) {
391
- auto* calld = static_cast<CallData*>(elem->call_data);
392
- auto* chand = static_cast<DynamicTerminationFilter*>(elem->channel_data);
393
- ClientChannel* client_channel = chand->chand_;
394
- grpc_call_element_args args = {calld->owning_call_, nullptr,
395
- calld->call_context_, calld->path_,
396
- /*start_time=*/0, calld->deadline_,
397
- calld->arena_, calld->call_combiner_};
398
- auto* service_config_call_data =
399
- static_cast<ClientChannelServiceConfigCallData*>(
400
- calld->call_context_[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value);
401
- calld->lb_call_ = client_channel->CreateLoadBalancedCall(
402
- args, pollent, nullptr,
403
- [service_config_call_data]() { service_config_call_data->Commit(); },
404
- /*is_transparent_retry=*/false);
405
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
406
- gpr_log(GPR_INFO,
407
- "chand=%p dynamic_termination_calld=%p: create lb_call=%p", chand,
408
- client_channel, calld->lb_call_.get());
409
- }
410
- }
411
-
412
- private:
413
- explicit CallData(const grpc_call_element_args& args)
414
- : path_(CSliceRef(args.path)),
415
- deadline_(args.deadline),
416
- arena_(args.arena),
417
- owning_call_(args.call_stack),
418
- call_combiner_(args.call_combiner),
419
- call_context_(args.context) {}
420
-
421
- ~CallData() { CSliceUnref(path_); }
422
-
423
- grpc_slice path_; // Request path.
424
- Timestamp deadline_;
425
- Arena* arena_;
426
- grpc_call_stack* owning_call_;
427
- CallCombiner* call_combiner_;
428
- grpc_call_context_element* call_context_;
429
-
430
- OrphanablePtr<ClientChannel::FilterBasedLoadBalancedCall> lb_call_;
431
- };
432
-
433
- const grpc_channel_filter DynamicTerminationFilter::kFilterVtable = {
434
- DynamicTerminationFilter::CallData::StartTransportStreamOpBatch,
435
- nullptr,
436
- DynamicTerminationFilter::StartTransportOp,
437
- sizeof(DynamicTerminationFilter::CallData),
438
- DynamicTerminationFilter::CallData::Init,
439
- DynamicTerminationFilter::CallData::SetPollent,
440
- DynamicTerminationFilter::CallData::Destroy,
441
- sizeof(DynamicTerminationFilter),
442
- DynamicTerminationFilter::Init,
443
- grpc_channel_stack_no_post_init,
444
- DynamicTerminationFilter::Destroy,
445
- DynamicTerminationFilter::GetChannelInfo,
446
- "dynamic_filter_termination",
447
- };
448
-
449
- } // namespace
450
-
451
- //
452
- // ClientChannel::ResolverResultHandler
453
- //
454
-
455
- class ClientChannel::ResolverResultHandler : public Resolver::ResultHandler {
456
- public:
457
- explicit ResolverResultHandler(ClientChannel* chand) : chand_(chand) {
458
- GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ResolverResultHandler");
459
- }
460
-
461
- ~ResolverResultHandler() override {
462
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
463
- gpr_log(GPR_INFO, "chand=%p: resolver shutdown complete", chand_);
464
- }
465
- GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "ResolverResultHandler");
466
- }
467
-
468
- void ReportResult(Resolver::Result result) override
469
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
470
- chand_->OnResolverResultChangedLocked(std::move(result));
471
- }
472
-
473
- private:
474
- ClientChannel* chand_;
475
- };
476
-
477
- //
478
- // ClientChannel::SubchannelWrapper
479
- //
480
-
481
- // This class is a wrapper for Subchannel that hides details of the
482
- // channel's implementation (such as the connected subchannel) from the
483
- // LB policy API.
484
- //
485
- // Note that no synchronization is needed here, because even if the
486
- // underlying subchannel is shared between channels, this wrapper will only
487
- // be used within one channel, so it will always be synchronized by the
488
- // control plane work_serializer.
489
- class ClientChannel::SubchannelWrapper : public SubchannelInterface {
490
- public:
491
- SubchannelWrapper(ClientChannel* chand, RefCountedPtr<Subchannel> subchannel)
492
- : SubchannelInterface(GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)
493
- ? "SubchannelWrapper"
494
- : nullptr),
495
- chand_(chand),
496
- subchannel_(std::move(subchannel)) {
497
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
498
- gpr_log(GPR_INFO,
499
- "chand=%p: creating subchannel wrapper %p for subchannel %p",
500
- chand, this, subchannel_.get());
501
- }
502
- GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "SubchannelWrapper");
503
- if (chand_->channelz_node_ != nullptr) {
504
- auto* subchannel_node = subchannel_->channelz_node();
505
- if (subchannel_node != nullptr) {
506
- auto it = chand_->subchannel_refcount_map_.find(subchannel_.get());
507
- if (it == chand_->subchannel_refcount_map_.end()) {
508
- chand_->channelz_node_->AddChildSubchannel(subchannel_node->uuid());
509
- it = chand_->subchannel_refcount_map_.emplace(subchannel_.get(), 0)
510
- .first;
511
- }
512
- ++it->second;
513
- }
514
- }
515
- chand_->subchannel_wrappers_.insert(this);
516
- }
517
-
518
- ~SubchannelWrapper() override {
519
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
520
- gpr_log(GPR_INFO,
521
- "chand=%p: destroying subchannel wrapper %p for subchannel %p",
522
- chand_, this, subchannel_.get());
523
- }
524
- chand_->subchannel_wrappers_.erase(this);
525
- if (chand_->channelz_node_ != nullptr) {
526
- auto* subchannel_node = subchannel_->channelz_node();
527
- if (subchannel_node != nullptr) {
528
- auto it = chand_->subchannel_refcount_map_.find(subchannel_.get());
529
- GPR_ASSERT(it != chand_->subchannel_refcount_map_.end());
530
- --it->second;
531
- if (it->second == 0) {
532
- chand_->channelz_node_->RemoveChildSubchannel(
533
- subchannel_node->uuid());
534
- chand_->subchannel_refcount_map_.erase(it);
535
- }
536
- }
537
- }
538
- GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "SubchannelWrapper");
539
- }
540
-
541
- void WatchConnectivityState(
542
- std::unique_ptr<ConnectivityStateWatcherInterface> watcher) override
543
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
544
- auto& watcher_wrapper = watcher_map_[watcher.get()];
545
- GPR_ASSERT(watcher_wrapper == nullptr);
546
- watcher_wrapper = new WatcherWrapper(std::move(watcher),
547
- Ref(DEBUG_LOCATION, "WatcherWrapper"));
548
- subchannel_->WatchConnectivityState(
549
- RefCountedPtr<Subchannel::ConnectivityStateWatcherInterface>(
550
- watcher_wrapper));
551
- }
552
-
553
- void CancelConnectivityStateWatch(ConnectivityStateWatcherInterface* watcher)
554
- override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
555
- auto it = watcher_map_.find(watcher);
556
- GPR_ASSERT(it != watcher_map_.end());
557
- subchannel_->CancelConnectivityStateWatch(it->second);
558
- watcher_map_.erase(it);
559
- }
560
-
561
- RefCountedPtr<ConnectedSubchannel> connected_subchannel() const {
562
- return subchannel_->connected_subchannel();
563
- }
564
-
565
- void RequestConnection() override { subchannel_->RequestConnection(); }
566
-
567
- void ResetBackoff() override { subchannel_->ResetBackoff(); }
568
-
569
- void AddDataWatcher(std::unique_ptr<DataWatcherInterface> watcher) override
570
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
571
- static_cast<InternalSubchannelDataWatcherInterface*>(watcher.get())
572
- ->SetSubchannel(subchannel_.get());
573
- GPR_ASSERT(data_watchers_.insert(std::move(watcher)).second);
574
- }
575
-
576
- void CancelDataWatcher(DataWatcherInterface* watcher) override
577
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
578
- auto it = data_watchers_.find(watcher);
579
- if (it != data_watchers_.end()) data_watchers_.erase(it);
580
- }
581
-
582
- void ThrottleKeepaliveTime(int new_keepalive_time) {
583
- subchannel_->ThrottleKeepaliveTime(new_keepalive_time);
584
- }
585
-
586
- private:
587
- // This wrapper provides a bridge between the internal Subchannel API
588
- // and the SubchannelInterface API that we expose to LB policies.
589
- // It implements Subchannel::ConnectivityStateWatcherInterface and wraps
590
- // the instance of SubchannelInterface::ConnectivityStateWatcherInterface
591
- // that was passed in by the LB policy. We pass an instance of this
592
- // class to the underlying Subchannel, and when we get updates from
593
- // the subchannel, we pass those on to the wrapped watcher to return
594
- // the update to the LB policy.
595
- //
596
- // This class handles things like hopping into the WorkSerializer
597
- // before passing notifications to the LB policy and propagating
598
- // keepalive information betwen subchannels.
599
- class WatcherWrapper : public Subchannel::ConnectivityStateWatcherInterface {
600
- public:
601
- WatcherWrapper(
602
- std::unique_ptr<SubchannelInterface::ConnectivityStateWatcherInterface>
603
- watcher,
604
- RefCountedPtr<SubchannelWrapper> parent)
605
- : watcher_(std::move(watcher)), parent_(std::move(parent)) {}
606
-
607
- ~WatcherWrapper() override {
608
- auto* parent = parent_.release(); // ref owned by lambda
609
- parent->chand_->work_serializer_->Run(
610
- [parent]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(
611
- *parent_->chand_->work_serializer_) {
612
- parent->Unref(DEBUG_LOCATION, "WatcherWrapper");
613
- },
614
- DEBUG_LOCATION);
615
- }
616
-
617
- void OnConnectivityStateChange(grpc_connectivity_state state,
618
- const absl::Status& status) override {
619
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
620
- gpr_log(GPR_INFO,
621
- "chand=%p: connectivity change for subchannel wrapper %p "
622
- "subchannel %p; hopping into work_serializer",
623
- parent_->chand_, parent_.get(), parent_->subchannel_.get());
624
- }
625
- Ref().release(); // ref owned by lambda
626
- parent_->chand_->work_serializer_->Run(
627
- [this, state, status]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(
628
- *parent_->chand_->work_serializer_) {
629
- ApplyUpdateInControlPlaneWorkSerializer(state, status);
630
- Unref();
631
- },
632
- DEBUG_LOCATION);
633
- }
634
-
635
- grpc_pollset_set* interested_parties() override {
636
- return watcher_->interested_parties();
637
- }
638
-
639
- private:
640
- void ApplyUpdateInControlPlaneWorkSerializer(grpc_connectivity_state state,
641
- const absl::Status& status)
642
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*parent_->chand_->work_serializer_) {
643
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
644
- gpr_log(GPR_INFO,
645
- "chand=%p: processing connectivity change in work serializer "
646
- "for subchannel wrapper %p subchannel %p watcher=%p "
647
- "state=%s status=%s",
648
- parent_->chand_, parent_.get(), parent_->subchannel_.get(),
649
- watcher_.get(), ConnectivityStateName(state),
650
- status.ToString().c_str());
651
- }
652
- absl::optional<absl::Cord> keepalive_throttling =
653
- status.GetPayload(kKeepaliveThrottlingKey);
654
- if (keepalive_throttling.has_value()) {
655
- int new_keepalive_time = -1;
656
- if (absl::SimpleAtoi(std::string(keepalive_throttling.value()),
657
- &new_keepalive_time)) {
658
- if (new_keepalive_time > parent_->chand_->keepalive_time_) {
659
- parent_->chand_->keepalive_time_ = new_keepalive_time;
660
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
661
- gpr_log(GPR_INFO, "chand=%p: throttling keepalive time to %d",
662
- parent_->chand_, parent_->chand_->keepalive_time_);
663
- }
664
- // Propagate the new keepalive time to all subchannels. This is so
665
- // that new transports created by any subchannel (and not just the
666
- // subchannel that received the GOAWAY), use the new keepalive time.
667
- for (auto* subchannel_wrapper :
668
- parent_->chand_->subchannel_wrappers_) {
669
- subchannel_wrapper->ThrottleKeepaliveTime(new_keepalive_time);
670
- }
671
- }
672
- } else {
673
- gpr_log(GPR_ERROR, "chand=%p: Illegal keepalive throttling value %s",
674
- parent_->chand_,
675
- std::string(keepalive_throttling.value()).c_str());
676
- }
677
- }
678
- // Propagate status only in state TF.
679
- // We specifically want to avoid propagating the status for
680
- // state IDLE that the real subchannel gave us only for the
681
- // purpose of keepalive propagation.
682
- watcher_->OnConnectivityStateChange(
683
- state,
684
- state == GRPC_CHANNEL_TRANSIENT_FAILURE ? status : absl::OkStatus());
685
- }
686
-
687
- std::unique_ptr<SubchannelInterface::ConnectivityStateWatcherInterface>
688
- watcher_;
689
- RefCountedPtr<SubchannelWrapper> parent_;
690
- };
691
-
692
- // A heterogenous lookup comparator for data watchers that allows
693
- // unique_ptr keys to be looked up as raw pointers.
694
- struct DataWatcherLessThan {
695
- using is_transparent = void;
696
- bool operator()(const std::unique_ptr<DataWatcherInterface>& p1,
697
- const std::unique_ptr<DataWatcherInterface>& p2) const {
698
- return p1 < p2;
699
- }
700
- bool operator()(const std::unique_ptr<DataWatcherInterface>& p1,
701
- const DataWatcherInterface* p2) const {
702
- return p1.get() < p2;
703
- }
704
- bool operator()(const DataWatcherInterface* p1,
705
- const std::unique_ptr<DataWatcherInterface>& p2) const {
706
- return p1 < p2.get();
707
- }
708
- };
709
-
710
- ClientChannel* chand_;
711
- RefCountedPtr<Subchannel> subchannel_;
712
- // Maps from the address of the watcher passed to us by the LB policy
713
- // to the address of the WrapperWatcher that we passed to the underlying
714
- // subchannel. This is needed so that when the LB policy calls
715
- // CancelConnectivityStateWatch() with its watcher, we know the
716
- // corresponding WrapperWatcher to cancel on the underlying subchannel.
717
- std::map<ConnectivityStateWatcherInterface*, WatcherWrapper*> watcher_map_
718
- ABSL_GUARDED_BY(*chand_->work_serializer_);
719
- std::set<std::unique_ptr<DataWatcherInterface>, DataWatcherLessThan>
720
- data_watchers_ ABSL_GUARDED_BY(*chand_->work_serializer_);
721
- };
722
-
723
- //
724
- // ClientChannel::ExternalConnectivityWatcher
725
- //
726
-
727
- ClientChannel::ExternalConnectivityWatcher::ExternalConnectivityWatcher(
728
- ClientChannel* chand, grpc_polling_entity pollent,
729
- grpc_connectivity_state* state, grpc_closure* on_complete,
730
- grpc_closure* watcher_timer_init)
731
- : chand_(chand),
732
- pollent_(pollent),
733
- initial_state_(*state),
734
- state_(state),
735
- on_complete_(on_complete),
736
- watcher_timer_init_(watcher_timer_init) {
737
- grpc_polling_entity_add_to_pollset_set(&pollent_,
738
- chand_->interested_parties_);
739
- GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ExternalConnectivityWatcher");
740
- {
741
- MutexLock lock(&chand_->external_watchers_mu_);
742
- // Will be deleted when the watch is complete.
743
- GPR_ASSERT(chand->external_watchers_[on_complete] == nullptr);
744
- // Store a ref to the watcher in the external_watchers_ map.
745
- chand->external_watchers_[on_complete] =
746
- Ref(DEBUG_LOCATION, "AddWatcherToExternalWatchersMapLocked");
747
- }
748
- // Pass the ref from creating the object to Start().
749
- chand_->work_serializer_->Run(
750
- [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
751
- // The ref is passed to AddWatcherLocked().
752
- AddWatcherLocked();
753
- },
754
- DEBUG_LOCATION);
755
- }
756
-
757
- ClientChannel::ExternalConnectivityWatcher::~ExternalConnectivityWatcher() {
758
- grpc_polling_entity_del_from_pollset_set(&pollent_,
759
- chand_->interested_parties_);
760
- GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_,
761
- "ExternalConnectivityWatcher");
762
- }
763
-
764
- void ClientChannel::ExternalConnectivityWatcher::
765
- RemoveWatcherFromExternalWatchersMap(ClientChannel* chand,
766
- grpc_closure* on_complete,
767
- bool cancel) {
768
- RefCountedPtr<ExternalConnectivityWatcher> watcher;
769
- {
770
- MutexLock lock(&chand->external_watchers_mu_);
771
- auto it = chand->external_watchers_.find(on_complete);
772
- if (it != chand->external_watchers_.end()) {
773
- watcher = std::move(it->second);
774
- chand->external_watchers_.erase(it);
775
- }
776
- }
777
- // watcher->Cancel() will hop into the WorkSerializer, so we have to unlock
778
- // the mutex before calling it.
779
- if (watcher != nullptr && cancel) watcher->Cancel();
780
- }
781
-
782
- void ClientChannel::ExternalConnectivityWatcher::Notify(
783
- grpc_connectivity_state state, const absl::Status& /* status */) {
784
- bool done = false;
785
- if (!done_.compare_exchange_strong(done, true, std::memory_order_relaxed,
786
- std::memory_order_relaxed)) {
787
- return; // Already done.
788
- }
789
- // Remove external watcher.
790
- ExternalConnectivityWatcher::RemoveWatcherFromExternalWatchersMap(
791
- chand_, on_complete_, /*cancel=*/false);
792
- // Report new state to the user.
793
- *state_ = state;
794
- ExecCtx::Run(DEBUG_LOCATION, on_complete_, absl::OkStatus());
795
- // Hop back into the work_serializer to clean up.
796
- // Not needed in state SHUTDOWN, because the tracker will
797
- // automatically remove all watchers in that case.
798
- // Note: The callback takes a ref in case the ref inside the state tracker
799
- // gets removed before the callback runs via a SHUTDOWN notification.
800
- if (state != GRPC_CHANNEL_SHUTDOWN) {
801
- Ref(DEBUG_LOCATION, "RemoveWatcherLocked()").release();
802
- chand_->work_serializer_->Run(
803
- [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
804
- RemoveWatcherLocked();
805
- Unref(DEBUG_LOCATION, "RemoveWatcherLocked()");
806
- },
807
- DEBUG_LOCATION);
808
- }
809
- }
810
-
811
- void ClientChannel::ExternalConnectivityWatcher::Cancel() {
812
- bool done = false;
813
- if (!done_.compare_exchange_strong(done, true, std::memory_order_relaxed,
814
- std::memory_order_relaxed)) {
815
- return; // Already done.
816
- }
817
- ExecCtx::Run(DEBUG_LOCATION, on_complete_, absl::CancelledError());
818
- // Hop back into the work_serializer to clean up.
819
- // Note: The callback takes a ref in case the ref inside the state tracker
820
- // gets removed before the callback runs via a SHUTDOWN notification.
821
- Ref(DEBUG_LOCATION, "RemoveWatcherLocked()").release();
822
- chand_->work_serializer_->Run(
823
- [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
824
- RemoveWatcherLocked();
825
- Unref(DEBUG_LOCATION, "RemoveWatcherLocked()");
826
- },
827
- DEBUG_LOCATION);
828
- }
829
-
830
- void ClientChannel::ExternalConnectivityWatcher::AddWatcherLocked() {
831
- Closure::Run(DEBUG_LOCATION, watcher_timer_init_, absl::OkStatus());
832
- // Add new watcher. Pass the ref of the object from creation to OrphanablePtr.
833
- chand_->state_tracker_.AddWatcher(
834
- initial_state_, OrphanablePtr<ConnectivityStateWatcherInterface>(this));
835
- }
836
-
837
- void ClientChannel::ExternalConnectivityWatcher::RemoveWatcherLocked() {
838
- chand_->state_tracker_.RemoveWatcher(this);
839
- }
840
-
841
- //
842
- // ClientChannel::ConnectivityWatcherAdder
843
- //
844
-
845
- class ClientChannel::ConnectivityWatcherAdder {
846
- public:
847
- ConnectivityWatcherAdder(
848
- ClientChannel* chand, grpc_connectivity_state initial_state,
849
- OrphanablePtr<AsyncConnectivityStateWatcherInterface> watcher)
850
- : chand_(chand),
851
- initial_state_(initial_state),
852
- watcher_(std::move(watcher)) {
853
- GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ConnectivityWatcherAdder");
854
- chand_->work_serializer_->Run(
855
- [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
856
- AddWatcherLocked();
857
- },
858
- DEBUG_LOCATION);
859
- }
860
-
861
- private:
862
- void AddWatcherLocked()
863
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
864
- chand_->state_tracker_.AddWatcher(initial_state_, std::move(watcher_));
865
- GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "ConnectivityWatcherAdder");
866
- delete this;
867
- }
868
-
869
- ClientChannel* chand_;
870
- grpc_connectivity_state initial_state_;
871
- OrphanablePtr<AsyncConnectivityStateWatcherInterface> watcher_;
872
- };
873
-
874
- //
875
- // ClientChannel::ConnectivityWatcherRemover
876
- //
877
-
878
- class ClientChannel::ConnectivityWatcherRemover {
879
- public:
880
- ConnectivityWatcherRemover(ClientChannel* chand,
881
- AsyncConnectivityStateWatcherInterface* watcher)
882
- : chand_(chand), watcher_(watcher) {
883
- GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ConnectivityWatcherRemover");
884
- chand_->work_serializer_->Run(
885
- [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
886
- RemoveWatcherLocked();
887
- },
888
- DEBUG_LOCATION);
889
- }
890
-
891
- private:
892
- void RemoveWatcherLocked()
893
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
894
- chand_->state_tracker_.RemoveWatcher(watcher_);
895
- GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_,
896
- "ConnectivityWatcherRemover");
897
- delete this;
898
- }
899
-
900
- ClientChannel* chand_;
901
- AsyncConnectivityStateWatcherInterface* watcher_;
902
- };
903
-
904
- //
905
- // ClientChannel::ClientChannelControlHelper
906
- //
907
-
908
- class ClientChannel::ClientChannelControlHelper
909
- : public LoadBalancingPolicy::ChannelControlHelper {
910
- public:
911
- explicit ClientChannelControlHelper(ClientChannel* chand) : chand_(chand) {
912
- GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ClientChannelControlHelper");
913
- }
914
-
915
- ~ClientChannelControlHelper() override {
916
- GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_,
917
- "ClientChannelControlHelper");
918
- }
919
-
920
- RefCountedPtr<SubchannelInterface> CreateSubchannel(
921
- ServerAddress address, const ChannelArgs& args) override
922
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
923
- if (chand_->resolver_ == nullptr) return nullptr; // Shutting down.
924
- ChannelArgs subchannel_args = ClientChannel::MakeSubchannelArgs(
925
- args, address.args(), chand_->subchannel_pool_,
926
- chand_->default_authority_);
927
- // Create subchannel.
928
- RefCountedPtr<Subchannel> subchannel =
929
- chand_->client_channel_factory_->CreateSubchannel(address.address(),
930
- subchannel_args);
931
- if (subchannel == nullptr) return nullptr;
932
- // Make sure the subchannel has updated keepalive time.
933
- subchannel->ThrottleKeepaliveTime(chand_->keepalive_time_);
934
- // Create and return wrapper for the subchannel.
935
- return MakeRefCounted<SubchannelWrapper>(chand_, std::move(subchannel));
936
- }
937
-
938
- void UpdateState(grpc_connectivity_state state, const absl::Status& status,
939
- RefCountedPtr<LoadBalancingPolicy::SubchannelPicker> picker)
940
- override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
941
- if (chand_->resolver_ == nullptr) return; // Shutting down.
942
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
943
- const char* extra = chand_->disconnect_error_.ok()
944
- ? ""
945
- : " (ignoring -- channel shutting down)";
946
- gpr_log(GPR_INFO, "chand=%p: update: state=%s status=(%s) picker=%p%s",
947
- chand_, ConnectivityStateName(state), status.ToString().c_str(),
948
- picker.get(), extra);
949
- }
950
- // Do update only if not shutting down.
951
- if (chand_->disconnect_error_.ok()) {
952
- chand_->UpdateStateAndPickerLocked(state, status, "helper",
953
- std::move(picker));
954
- }
955
- }
956
-
957
- void RequestReresolution() override
958
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
959
- if (chand_->resolver_ == nullptr) return; // Shutting down.
960
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
961
- gpr_log(GPR_INFO, "chand=%p: started name re-resolving", chand_);
962
- }
963
- chand_->resolver_->RequestReresolutionLocked();
964
- }
965
-
966
- absl::string_view GetAuthority() override {
967
- return chand_->default_authority_;
968
- }
969
-
970
- RefCountedPtr<grpc_channel_credentials> GetChannelCredentials() override {
971
- return chand_->channel_args_.GetObject<grpc_channel_credentials>()
972
- ->duplicate_without_call_credentials();
973
- }
974
-
975
- RefCountedPtr<grpc_channel_credentials> GetUnsafeChannelCredentials()
976
- override {
977
- return chand_->channel_args_.GetObject<grpc_channel_credentials>()->Ref();
978
- }
979
-
980
- grpc_event_engine::experimental::EventEngine* GetEventEngine() override {
981
- return chand_->owning_stack_->EventEngine();
982
- }
983
-
984
- void AddTraceEvent(TraceSeverity severity, absl::string_view message) override
985
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
986
- if (chand_->resolver_ == nullptr) return; // Shutting down.
987
- if (chand_->channelz_node_ != nullptr) {
988
- chand_->channelz_node_->AddTraceEvent(
989
- ConvertSeverityEnum(severity),
990
- grpc_slice_from_copied_buffer(message.data(), message.size()));
991
- }
992
- }
993
-
994
- private:
995
- static channelz::ChannelTrace::Severity ConvertSeverityEnum(
996
- TraceSeverity severity) {
997
- if (severity == TRACE_INFO) return channelz::ChannelTrace::Info;
998
- if (severity == TRACE_WARNING) return channelz::ChannelTrace::Warning;
999
- return channelz::ChannelTrace::Error;
1000
- }
1001
-
1002
- ClientChannel* chand_;
1003
- };
1004
-
1005
- //
1006
- // ClientChannel implementation
1007
- //
1008
-
1009
- ClientChannel* ClientChannel::GetFromChannel(Channel* channel) {
1010
- grpc_channel_element* elem =
1011
- grpc_channel_stack_last_element(channel->channel_stack());
1012
- if (elem->filter != &kFilterVtable) return nullptr;
1013
- return static_cast<ClientChannel*>(elem->channel_data);
1014
- }
1015
-
1016
- grpc_error_handle ClientChannel::Init(grpc_channel_element* elem,
1017
- grpc_channel_element_args* args) {
1018
- GPR_ASSERT(args->is_last);
1019
- GPR_ASSERT(elem->filter == &kFilterVtable);
1020
- grpc_error_handle error;
1021
- new (elem->channel_data) ClientChannel(args, &error);
1022
- return error;
1023
- }
1024
-
1025
- void ClientChannel::Destroy(grpc_channel_element* elem) {
1026
- ClientChannel* chand = static_cast<ClientChannel*>(elem->channel_data);
1027
- chand->~ClientChannel();
1028
- }
1029
-
1030
- namespace {
1031
-
1032
- RefCountedPtr<SubchannelPoolInterface> GetSubchannelPool(
1033
- const ChannelArgs& args) {
1034
- if (args.GetBool(GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL).value_or(false)) {
1035
- return MakeRefCounted<LocalSubchannelPool>();
1036
- }
1037
- return GlobalSubchannelPool::instance();
1038
- }
1039
-
1040
- } // namespace
1041
-
1042
- ClientChannel::ClientChannel(grpc_channel_element_args* args,
1043
- grpc_error_handle* error)
1044
- : channel_args_(args->channel_args),
1045
- deadline_checking_enabled_(grpc_deadline_checking_enabled(channel_args_)),
1046
- owning_stack_(args->channel_stack),
1047
- client_channel_factory_(channel_args_.GetObject<ClientChannelFactory>()),
1048
- channelz_node_(channel_args_.GetObject<channelz::ChannelNode>()),
1049
- interested_parties_(grpc_pollset_set_create()),
1050
- service_config_parser_index_(
1051
- internal::ClientChannelServiceConfigParser::ParserIndex()),
1052
- work_serializer_(std::make_shared<WorkSerializer>()),
1053
- state_tracker_("client_channel", GRPC_CHANNEL_IDLE),
1054
- subchannel_pool_(GetSubchannelPool(channel_args_)) {
1055
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1056
- gpr_log(GPR_INFO, "chand=%p: creating client_channel for channel stack %p",
1057
- this, owning_stack_);
1058
- }
1059
- // Start backup polling.
1060
- grpc_client_channel_start_backup_polling(interested_parties_);
1061
- // Check client channel factory.
1062
- if (client_channel_factory_ == nullptr) {
1063
- *error = GRPC_ERROR_CREATE(
1064
- "Missing client channel factory in args for client channel filter");
1065
- return;
1066
- }
1067
- // Get default service config. If none is specified via the client API,
1068
- // we use an empty config.
1069
- absl::optional<absl::string_view> service_config_json =
1070
- channel_args_.GetString(GRPC_ARG_SERVICE_CONFIG);
1071
- if (!service_config_json.has_value()) service_config_json = "{}";
1072
- *error = absl::OkStatus();
1073
- auto service_config =
1074
- ServiceConfigImpl::Create(channel_args_, *service_config_json);
1075
- if (!service_config.ok()) {
1076
- *error = absl_status_to_grpc_error(service_config.status());
1077
- return;
1078
- }
1079
- default_service_config_ = std::move(*service_config);
1080
- // Get URI to resolve, using proxy mapper if needed.
1081
- absl::optional<std::string> server_uri =
1082
- channel_args_.GetOwnedString(GRPC_ARG_SERVER_URI);
1083
- if (!server_uri.has_value()) {
1084
- *error = GRPC_ERROR_CREATE(
1085
- "target URI channel arg missing or wrong type in client channel "
1086
- "filter");
1087
- return;
1088
- }
1089
- uri_to_resolve_ = CoreConfiguration::Get()
1090
- .proxy_mapper_registry()
1091
- .MapName(*server_uri, &channel_args_)
1092
- .value_or(*server_uri);
1093
- // Make sure the URI to resolve is valid, so that we know that
1094
- // resolver creation will succeed later.
1095
- if (!CoreConfiguration::Get().resolver_registry().IsValidTarget(
1096
- uri_to_resolve_)) {
1097
- *error = GRPC_ERROR_CREATE(
1098
- absl::StrCat("the target uri is not valid: ", uri_to_resolve_));
1099
- return;
1100
- }
1101
- // Strip out service config channel arg, so that it doesn't affect
1102
- // subchannel uniqueness when the args flow down to that layer.
1103
- channel_args_ = channel_args_.Remove(GRPC_ARG_SERVICE_CONFIG);
1104
- // Set initial keepalive time.
1105
- auto keepalive_arg = channel_args_.GetInt(GRPC_ARG_KEEPALIVE_TIME_MS);
1106
- if (keepalive_arg.has_value()) {
1107
- keepalive_time_ = Clamp(*keepalive_arg, 1, INT_MAX);
1108
- } else {
1109
- keepalive_time_ = -1; // unset
1110
- }
1111
- // Set default authority.
1112
- absl::optional<std::string> default_authority =
1113
- channel_args_.GetOwnedString(GRPC_ARG_DEFAULT_AUTHORITY);
1114
- if (!default_authority.has_value()) {
1115
- default_authority_ =
1116
- CoreConfiguration::Get().resolver_registry().GetDefaultAuthority(
1117
- *server_uri);
1118
- } else {
1119
- default_authority_ = std::move(*default_authority);
1120
- }
1121
- // Success.
1122
- *error = absl::OkStatus();
1123
- }
1124
-
1125
- ClientChannel::~ClientChannel() {
1126
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1127
- gpr_log(GPR_INFO, "chand=%p: destroying channel", this);
1128
- }
1129
- DestroyResolverAndLbPolicyLocked();
1130
- // Stop backup polling.
1131
- grpc_client_channel_stop_backup_polling(interested_parties_);
1132
- grpc_pollset_set_destroy(interested_parties_);
1133
- }
1134
-
1135
- OrphanablePtr<ClientChannel::FilterBasedLoadBalancedCall>
1136
- ClientChannel::CreateLoadBalancedCall(
1137
- const grpc_call_element_args& args, grpc_polling_entity* pollent,
1138
- grpc_closure* on_call_destruction_complete,
1139
- absl::AnyInvocable<void()> on_commit, bool is_transparent_retry) {
1140
- return OrphanablePtr<FilterBasedLoadBalancedCall>(
1141
- args.arena->New<FilterBasedLoadBalancedCall>(
1142
- this, args, pollent, on_call_destruction_complete,
1143
- std::move(on_commit), is_transparent_retry));
1144
- }
1145
-
1146
- ChannelArgs ClientChannel::MakeSubchannelArgs(
1147
- const ChannelArgs& channel_args, const ChannelArgs& address_args,
1148
- const RefCountedPtr<SubchannelPoolInterface>& subchannel_pool,
1149
- const std::string& channel_default_authority) {
1150
- // Note that we start with the channel-level args and then apply the
1151
- // per-address args, so that if a value is present in both, the one
1152
- // in the channel-level args is used. This is particularly important
1153
- // for the GRPC_ARG_DEFAULT_AUTHORITY arg, which we want to allow
1154
- // resolvers to set on a per-address basis only if the application
1155
- // did not explicitly set it at the channel level.
1156
- return channel_args.UnionWith(address_args)
1157
- .SetObject(subchannel_pool)
1158
- // If we haven't already set the default authority arg (i.e., it
1159
- // was not explicitly set by the application nor overridden by
1160
- // the resolver), add it from the channel's default.
1161
- .SetIfUnset(GRPC_ARG_DEFAULT_AUTHORITY, channel_default_authority)
1162
- // Remove channel args that should not affect subchannel
1163
- // uniqueness.
1164
- .Remove(GRPC_ARG_HEALTH_CHECK_SERVICE_NAME)
1165
- .Remove(GRPC_ARG_INHIBIT_HEALTH_CHECKING)
1166
- .Remove(GRPC_ARG_CHANNELZ_CHANNEL_NODE)
1167
- // Remove all keys with the no-subchannel prefix.
1168
- .RemoveAllKeysWithPrefix(GRPC_ARG_NO_SUBCHANNEL_PREFIX);
1169
- }
1170
-
1171
- void ClientChannel::ReprocessQueuedResolverCalls() {
1172
- for (CallData* calld : resolver_queued_calls_) {
1173
- calld->RemoveCallFromResolverQueuedCallsLocked();
1174
- calld->RetryCheckResolutionLocked();
1175
- }
1176
- resolver_queued_calls_.clear();
1177
- }
1178
-
1179
- namespace {
1180
-
1181
- RefCountedPtr<LoadBalancingPolicy::Config> ChooseLbPolicy(
1182
- const Resolver::Result& resolver_result,
1183
- const internal::ClientChannelGlobalParsedConfig* parsed_service_config) {
1184
- // Prefer the LB policy config found in the service config.
1185
- if (parsed_service_config->parsed_lb_config() != nullptr) {
1186
- return parsed_service_config->parsed_lb_config();
1187
- }
1188
- // Try the deprecated LB policy name from the service config.
1189
- // If not, try the setting from channel args.
1190
- absl::optional<absl::string_view> policy_name;
1191
- if (!parsed_service_config->parsed_deprecated_lb_policy().empty()) {
1192
- policy_name = parsed_service_config->parsed_deprecated_lb_policy();
1193
- } else {
1194
- policy_name = resolver_result.args.GetString(GRPC_ARG_LB_POLICY_NAME);
1195
- bool requires_config = false;
1196
- if (policy_name.has_value() &&
1197
- (!CoreConfiguration::Get()
1198
- .lb_policy_registry()
1199
- .LoadBalancingPolicyExists(*policy_name, &requires_config) ||
1200
- requires_config)) {
1201
- if (requires_config) {
1202
- gpr_log(GPR_ERROR,
1203
- "LB policy: %s passed through channel_args must not "
1204
- "require a config. Using pick_first instead.",
1205
- std::string(*policy_name).c_str());
1206
- } else {
1207
- gpr_log(GPR_ERROR,
1208
- "LB policy: %s passed through channel_args does not exist. "
1209
- "Using pick_first instead.",
1210
- std::string(*policy_name).c_str());
1211
- }
1212
- policy_name = "pick_first";
1213
- }
1214
- }
1215
- // Use pick_first if nothing was specified and we didn't select grpclb
1216
- // above.
1217
- if (!policy_name.has_value()) policy_name = "pick_first";
1218
- // Now that we have the policy name, construct an empty config for it.
1219
- Json config_json = Json::FromArray({Json::FromObject({
1220
- {std::string(*policy_name), Json::FromObject({})},
1221
- })});
1222
- auto lb_policy_config =
1223
- CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig(
1224
- config_json);
1225
- // The policy name came from one of three places:
1226
- // - The deprecated loadBalancingPolicy field in the service config,
1227
- // in which case the code in ClientChannelServiceConfigParser
1228
- // already verified that the policy does not require a config.
1229
- // - One of the hard-coded values here, all of which are known to not
1230
- // require a config.
1231
- // - A channel arg, in which case we check that the specified policy exists
1232
- // and accepts an empty config. If not, we revert to using pick_first
1233
- // lb_policy
1234
- GPR_ASSERT(lb_policy_config.ok());
1235
- return std::move(*lb_policy_config);
1236
- }
1237
-
1238
- } // namespace
1239
-
1240
- void ClientChannel::OnResolverResultChangedLocked(Resolver::Result result) {
1241
- // Handle race conditions.
1242
- if (resolver_ == nullptr) return;
1243
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1244
- gpr_log(GPR_INFO, "chand=%p: got resolver result", this);
1245
- }
1246
- // Grab resolver result health callback.
1247
- auto resolver_callback = std::move(result.result_health_callback);
1248
- absl::Status resolver_result_status;
1249
- // We only want to trace the address resolution in the follow cases:
1250
- // (a) Address resolution resulted in service config change.
1251
- // (b) Address resolution that causes number of backends to go from
1252
- // zero to non-zero.
1253
- // (c) Address resolution that causes number of backends to go from
1254
- // non-zero to zero.
1255
- // (d) Address resolution that causes a new LB policy to be created.
1256
- //
1257
- // We track a list of strings to eventually be concatenated and traced.
1258
- std::vector<const char*> trace_strings;
1259
- const bool resolution_contains_addresses =
1260
- result.addresses.ok() && !result.addresses->empty();
1261
- if (!resolution_contains_addresses &&
1262
- previous_resolution_contained_addresses_) {
1263
- trace_strings.push_back("Address list became empty");
1264
- } else if (resolution_contains_addresses &&
1265
- !previous_resolution_contained_addresses_) {
1266
- trace_strings.push_back("Address list became non-empty");
1267
- }
1268
- previous_resolution_contained_addresses_ = resolution_contains_addresses;
1269
- std::string service_config_error_string_storage;
1270
- if (!result.service_config.ok()) {
1271
- service_config_error_string_storage =
1272
- result.service_config.status().ToString();
1273
- trace_strings.push_back(service_config_error_string_storage.c_str());
1274
- }
1275
- // Choose the service config.
1276
- RefCountedPtr<ServiceConfig> service_config;
1277
- RefCountedPtr<ConfigSelector> config_selector;
1278
- if (!result.service_config.ok()) {
1279
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1280
- gpr_log(GPR_INFO, "chand=%p: resolver returned service config error: %s",
1281
- this, result.service_config.status().ToString().c_str());
1282
- }
1283
- // If the service config was invalid, then fallback to the
1284
- // previously returned service config.
1285
- if (saved_service_config_ != nullptr) {
1286
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1287
- gpr_log(GPR_INFO,
1288
- "chand=%p: resolver returned invalid service config. "
1289
- "Continuing to use previous service config.",
1290
- this);
1291
- }
1292
- service_config = saved_service_config_;
1293
- config_selector = saved_config_selector_;
1294
- } else {
1295
- // We received a service config error and we don't have a
1296
- // previous service config to fall back to. Put the channel into
1297
- // TRANSIENT_FAILURE.
1298
- OnResolverErrorLocked(result.service_config.status());
1299
- trace_strings.push_back("no valid service config");
1300
- resolver_result_status =
1301
- absl::UnavailableError("no valid service config");
1302
- }
1303
- } else if (*result.service_config == nullptr) {
1304
- // Resolver did not return any service config.
1305
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1306
- gpr_log(GPR_INFO,
1307
- "chand=%p: resolver returned no service config. Using default "
1308
- "service config for channel.",
1309
- this);
1310
- }
1311
- service_config = default_service_config_;
1312
- } else {
1313
- // Use ServiceConfig and ConfigSelector returned by resolver.
1314
- service_config = std::move(*result.service_config);
1315
- config_selector = result.args.GetObjectRef<ConfigSelector>();
1316
- }
1317
- // Note: The only case in which service_config is null here is if the resolver
1318
- // returned a service config error and we don't have a previous service
1319
- // config to fall back to.
1320
- if (service_config != nullptr) {
1321
- // Extract global config for client channel.
1322
- const internal::ClientChannelGlobalParsedConfig* parsed_service_config =
1323
- static_cast<const internal::ClientChannelGlobalParsedConfig*>(
1324
- service_config->GetGlobalParsedConfig(
1325
- service_config_parser_index_));
1326
- // Choose LB policy config.
1327
- RefCountedPtr<LoadBalancingPolicy::Config> lb_policy_config =
1328
- ChooseLbPolicy(result, parsed_service_config);
1329
- // Check if the ServiceConfig has changed.
1330
- const bool service_config_changed =
1331
- saved_service_config_ == nullptr ||
1332
- service_config->json_string() != saved_service_config_->json_string();
1333
- // Check if the ConfigSelector has changed.
1334
- const bool config_selector_changed = !ConfigSelector::Equals(
1335
- saved_config_selector_.get(), config_selector.get());
1336
- // If either has changed, apply the global parameters now.
1337
- if (service_config_changed || config_selector_changed) {
1338
- // Update service config in control plane.
1339
- UpdateServiceConfigInControlPlaneLocked(
1340
- std::move(service_config), std::move(config_selector),
1341
- std::string(lb_policy_config->name()));
1342
- } else if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1343
- gpr_log(GPR_INFO, "chand=%p: service config not changed", this);
1344
- }
1345
- // Create or update LB policy, as needed.
1346
- resolver_result_status = CreateOrUpdateLbPolicyLocked(
1347
- std::move(lb_policy_config),
1348
- parsed_service_config->health_check_service_name(), std::move(result));
1349
- if (service_config_changed || config_selector_changed) {
1350
- // Start using new service config for calls.
1351
- // This needs to happen after the LB policy has been updated, since
1352
- // the ConfigSelector may need the LB policy to know about new
1353
- // destinations before it can send RPCs to those destinations.
1354
- UpdateServiceConfigInDataPlaneLocked();
1355
- // TODO(ncteisen): might be worth somehow including a snippet of the
1356
- // config in the trace, at the risk of bloating the trace logs.
1357
- trace_strings.push_back("Service config changed");
1358
- }
1359
- }
1360
- // Invoke resolver callback if needed.
1361
- if (resolver_callback != nullptr) {
1362
- resolver_callback(std::move(resolver_result_status));
1363
- }
1364
- // Add channel trace event.
1365
- if (!trace_strings.empty()) {
1366
- std::string message =
1367
- absl::StrCat("Resolution event: ", absl::StrJoin(trace_strings, ", "));
1368
- if (channelz_node_ != nullptr) {
1369
- channelz_node_->AddTraceEvent(channelz::ChannelTrace::Severity::Info,
1370
- grpc_slice_from_cpp_string(message));
1371
- }
1372
- }
1373
- }
1374
-
1375
- void ClientChannel::OnResolverErrorLocked(absl::Status status) {
1376
- if (resolver_ == nullptr) return;
1377
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1378
- gpr_log(GPR_INFO, "chand=%p: resolver transient failure: %s", this,
1379
- status.ToString().c_str());
1380
- }
1381
- // If we already have an LB policy from a previous resolution
1382
- // result, then we continue to let it set the connectivity state.
1383
- // Otherwise, we go into TRANSIENT_FAILURE.
1384
- if (lb_policy_ == nullptr) {
1385
- // Update connectivity state.
1386
- UpdateStateLocked(GRPC_CHANNEL_TRANSIENT_FAILURE, status,
1387
- "resolver failure");
1388
- {
1389
- MutexLock lock(&resolution_mu_);
1390
- // Update resolver transient failure.
1391
- resolver_transient_failure_error_ =
1392
- MaybeRewriteIllegalStatusCode(status, "resolver");
1393
- ReprocessQueuedResolverCalls();
1394
- }
1395
- }
1396
- }
1397
-
1398
- absl::Status ClientChannel::CreateOrUpdateLbPolicyLocked(
1399
- RefCountedPtr<LoadBalancingPolicy::Config> lb_policy_config,
1400
- const absl::optional<std::string>& health_check_service_name,
1401
- Resolver::Result result) {
1402
- // Construct update.
1403
- LoadBalancingPolicy::UpdateArgs update_args;
1404
- update_args.addresses = std::move(result.addresses);
1405
- update_args.config = std::move(lb_policy_config);
1406
- update_args.resolution_note = std::move(result.resolution_note);
1407
- // Remove the config selector from channel args so that we're not holding
1408
- // unnecessary refs that cause it to be destroyed somewhere other than in the
1409
- // WorkSerializer.
1410
- update_args.args = result.args.Remove(GRPC_ARG_CONFIG_SELECTOR);
1411
- // Add health check service name to channel args.
1412
- if (health_check_service_name.has_value()) {
1413
- update_args.args = update_args.args.Set(GRPC_ARG_HEALTH_CHECK_SERVICE_NAME,
1414
- *health_check_service_name);
1415
- }
1416
- // Create policy if needed.
1417
- if (lb_policy_ == nullptr) {
1418
- lb_policy_ = CreateLbPolicyLocked(update_args.args);
1419
- }
1420
- // Update the policy.
1421
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1422
- gpr_log(GPR_INFO, "chand=%p: Updating child policy %p", this,
1423
- lb_policy_.get());
1424
- }
1425
- return lb_policy_->UpdateLocked(std::move(update_args));
1426
- }
1427
-
1428
- // Creates a new LB policy.
1429
- OrphanablePtr<LoadBalancingPolicy> ClientChannel::CreateLbPolicyLocked(
1430
- const ChannelArgs& args) {
1431
- // The LB policy will start in state CONNECTING but will not
1432
- // necessarily send us an update synchronously, so set state to
1433
- // CONNECTING (in case the resolver had previously failed and put the
1434
- // channel into TRANSIENT_FAILURE) and make sure we have a queueing picker.
1435
- UpdateStateAndPickerLocked(
1436
- GRPC_CHANNEL_CONNECTING, absl::Status(), "started resolving",
1437
- MakeRefCounted<LoadBalancingPolicy::QueuePicker>(nullptr));
1438
- // Now create the LB policy.
1439
- LoadBalancingPolicy::Args lb_policy_args;
1440
- lb_policy_args.work_serializer = work_serializer_;
1441
- lb_policy_args.channel_control_helper =
1442
- std::make_unique<ClientChannelControlHelper>(this);
1443
- lb_policy_args.args = args;
1444
- OrphanablePtr<LoadBalancingPolicy> lb_policy =
1445
- MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args),
1446
- &grpc_client_channel_trace);
1447
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1448
- gpr_log(GPR_INFO, "chand=%p: created new LB policy %p", this,
1449
- lb_policy.get());
1450
- }
1451
- grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(),
1452
- interested_parties_);
1453
- return lb_policy;
1454
- }
1455
-
1456
- void ClientChannel::UpdateServiceConfigInControlPlaneLocked(
1457
- RefCountedPtr<ServiceConfig> service_config,
1458
- RefCountedPtr<ConfigSelector> config_selector, std::string lb_policy_name) {
1459
- std::string service_config_json(service_config->json_string());
1460
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1461
- gpr_log(GPR_INFO, "chand=%p: using service config: \"%s\"", this,
1462
- service_config_json.c_str());
1463
- }
1464
- // Save service config.
1465
- saved_service_config_ = std::move(service_config);
1466
- // Swap out the data used by GetChannelInfo().
1467
- {
1468
- MutexLock lock(&info_mu_);
1469
- info_lb_policy_name_ = std::move(lb_policy_name);
1470
- info_service_config_json_ = std::move(service_config_json);
1471
- }
1472
- // Save config selector.
1473
- saved_config_selector_ = std::move(config_selector);
1474
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1475
- gpr_log(GPR_INFO, "chand=%p: using ConfigSelector %p", this,
1476
- saved_config_selector_.get());
1477
- }
1478
- }
1479
-
1480
- void ClientChannel::UpdateServiceConfigInDataPlaneLocked() {
1481
- // Grab ref to service config.
1482
- RefCountedPtr<ServiceConfig> service_config = saved_service_config_;
1483
- // Grab ref to config selector. Use default if resolver didn't supply one.
1484
- RefCountedPtr<ConfigSelector> config_selector = saved_config_selector_;
1485
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1486
- gpr_log(GPR_INFO, "chand=%p: switching to ConfigSelector %p", this,
1487
- saved_config_selector_.get());
1488
- }
1489
- if (config_selector == nullptr) {
1490
- config_selector =
1491
- MakeRefCounted<DefaultConfigSelector>(saved_service_config_);
1492
- }
1493
- ChannelArgs new_args =
1494
- channel_args_.SetObject(this).SetObject(service_config);
1495
- bool enable_retries =
1496
- !new_args.WantMinimalStack() &&
1497
- new_args.GetBool(GRPC_ARG_ENABLE_RETRIES).value_or(true);
1498
- // Construct dynamic filter stack.
1499
- std::vector<const grpc_channel_filter*> filters =
1500
- config_selector->GetFilters();
1501
- if (enable_retries) {
1502
- filters.push_back(&RetryFilter::kVtable);
1503
- } else {
1504
- filters.push_back(&DynamicTerminationFilter::kFilterVtable);
1505
- }
1506
- RefCountedPtr<DynamicFilters> dynamic_filters =
1507
- DynamicFilters::Create(new_args, std::move(filters));
1508
- GPR_ASSERT(dynamic_filters != nullptr);
1509
- // Grab data plane lock to update service config.
1510
- //
1511
- // We defer unreffing the old values (and deallocating memory) until
1512
- // after releasing the lock to keep the critical section small.
1513
- {
1514
- MutexLock lock(&resolution_mu_);
1515
- resolver_transient_failure_error_ = absl::OkStatus();
1516
- // Update service config.
1517
- received_service_config_data_ = true;
1518
- // Old values will be unreffed after lock is released.
1519
- service_config_.swap(service_config);
1520
- config_selector_.swap(config_selector);
1521
- dynamic_filters_.swap(dynamic_filters);
1522
- // Re-process queued calls asynchronously.
1523
- ReprocessQueuedResolverCalls();
1524
- }
1525
- // Old values will be unreffed after lock is released when they go out
1526
- // of scope.
1527
- }
1528
-
1529
- void ClientChannel::CreateResolverLocked() {
1530
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1531
- gpr_log(GPR_INFO, "chand=%p: starting name resolution for %s", this,
1532
- uri_to_resolve_.c_str());
1533
- }
1534
- resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver(
1535
- uri_to_resolve_, channel_args_, interested_parties_, work_serializer_,
1536
- std::make_unique<ResolverResultHandler>(this));
1537
- // Since the validity of the args was checked when the channel was created,
1538
- // CreateResolver() must return a non-null result.
1539
- GPR_ASSERT(resolver_ != nullptr);
1540
- UpdateStateLocked(GRPC_CHANNEL_CONNECTING, absl::Status(),
1541
- "started resolving");
1542
- resolver_->StartLocked();
1543
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1544
- gpr_log(GPR_INFO, "chand=%p: created resolver=%p", this, resolver_.get());
1545
- }
1546
- }
1547
-
1548
- void ClientChannel::DestroyResolverAndLbPolicyLocked() {
1549
- if (resolver_ != nullptr) {
1550
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1551
- gpr_log(GPR_INFO, "chand=%p: shutting down resolver=%p", this,
1552
- resolver_.get());
1553
- }
1554
- resolver_.reset();
1555
- // Clear resolution state.
1556
- saved_service_config_.reset();
1557
- saved_config_selector_.reset();
1558
- // Acquire resolution lock to update config selector and associated state.
1559
- // To minimize lock contention, we wait to unref these objects until
1560
- // after we release the lock.
1561
- RefCountedPtr<ServiceConfig> service_config_to_unref;
1562
- RefCountedPtr<ConfigSelector> config_selector_to_unref;
1563
- RefCountedPtr<DynamicFilters> dynamic_filters_to_unref;
1564
- {
1565
- MutexLock lock(&resolution_mu_);
1566
- received_service_config_data_ = false;
1567
- service_config_to_unref = std::move(service_config_);
1568
- config_selector_to_unref = std::move(config_selector_);
1569
- dynamic_filters_to_unref = std::move(dynamic_filters_);
1570
- }
1571
- // Clear LB policy if set.
1572
- if (lb_policy_ != nullptr) {
1573
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1574
- gpr_log(GPR_INFO, "chand=%p: shutting down lb_policy=%p", this,
1575
- lb_policy_.get());
1576
- }
1577
- grpc_pollset_set_del_pollset_set(lb_policy_->interested_parties(),
1578
- interested_parties_);
1579
- lb_policy_.reset();
1580
- }
1581
- }
1582
- }
1583
-
1584
- void ClientChannel::UpdateStateLocked(grpc_connectivity_state state,
1585
- const absl::Status& status,
1586
- const char* reason) {
1587
- state_tracker_.SetState(state, status, reason);
1588
- if (channelz_node_ != nullptr) {
1589
- channelz_node_->SetConnectivityState(state);
1590
- channelz_node_->AddTraceEvent(
1591
- channelz::ChannelTrace::Severity::Info,
1592
- grpc_slice_from_static_string(
1593
- channelz::ChannelNode::GetChannelConnectivityStateChangeString(
1594
- state)));
1595
- }
1596
- }
1597
-
1598
- void ClientChannel::UpdateStateAndPickerLocked(
1599
- grpc_connectivity_state state, const absl::Status& status,
1600
- const char* reason,
1601
- RefCountedPtr<LoadBalancingPolicy::SubchannelPicker> picker) {
1602
- UpdateStateLocked(state, status, reason);
1603
- // Grab the LB lock to update the picker and trigger reprocessing of the
1604
- // queued picks.
1605
- // Old picker will be unreffed after releasing the lock.
1606
- MutexLock lock(&lb_mu_);
1607
- picker_.swap(picker);
1608
- // Reprocess queued picks.
1609
- for (LoadBalancedCall* call : lb_queued_calls_) {
1610
- call->RemoveCallFromLbQueuedCallsLocked();
1611
- call->RetryPickLocked();
1612
- }
1613
- lb_queued_calls_.clear();
1614
- }
1615
-
1616
- namespace {
1617
-
1618
- // TODO(roth): Remove this in favor of the gprpp Match() function once
1619
- // we can do that without breaking lock annotations.
1620
- template <typename T>
1621
- T HandlePickResult(
1622
- LoadBalancingPolicy::PickResult* result,
1623
- std::function<T(LoadBalancingPolicy::PickResult::Complete*)> complete_func,
1624
- std::function<T(LoadBalancingPolicy::PickResult::Queue*)> queue_func,
1625
- std::function<T(LoadBalancingPolicy::PickResult::Fail*)> fail_func,
1626
- std::function<T(LoadBalancingPolicy::PickResult::Drop*)> drop_func) {
1627
- auto* complete_pick =
1628
- absl::get_if<LoadBalancingPolicy::PickResult::Complete>(&result->result);
1629
- if (complete_pick != nullptr) {
1630
- return complete_func(complete_pick);
1631
- }
1632
- auto* queue_pick =
1633
- absl::get_if<LoadBalancingPolicy::PickResult::Queue>(&result->result);
1634
- if (queue_pick != nullptr) {
1635
- return queue_func(queue_pick);
1636
- }
1637
- auto* fail_pick =
1638
- absl::get_if<LoadBalancingPolicy::PickResult::Fail>(&result->result);
1639
- if (fail_pick != nullptr) {
1640
- return fail_func(fail_pick);
1641
- }
1642
- auto* drop_pick =
1643
- absl::get_if<LoadBalancingPolicy::PickResult::Drop>(&result->result);
1644
- GPR_ASSERT(drop_pick != nullptr);
1645
- return drop_func(drop_pick);
1646
- }
1647
-
1648
- } // namespace
1649
-
1650
- grpc_error_handle ClientChannel::DoPingLocked(grpc_transport_op* op) {
1651
- if (state_tracker_.state() != GRPC_CHANNEL_READY) {
1652
- return GRPC_ERROR_CREATE("channel not connected");
1653
- }
1654
- LoadBalancingPolicy::PickResult result;
1655
- {
1656
- MutexLock lock(&lb_mu_);
1657
- result = picker_->Pick(LoadBalancingPolicy::PickArgs());
1658
- }
1659
- return HandlePickResult<grpc_error_handle>(
1660
- &result,
1661
- // Complete pick.
1662
- [op](LoadBalancingPolicy::PickResult::Complete* complete_pick)
1663
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(*ClientChannel::work_serializer_) {
1664
- SubchannelWrapper* subchannel = static_cast<SubchannelWrapper*>(
1665
- complete_pick->subchannel.get());
1666
- RefCountedPtr<ConnectedSubchannel> connected_subchannel =
1667
- subchannel->connected_subchannel();
1668
- if (connected_subchannel == nullptr) {
1669
- return GRPC_ERROR_CREATE("LB pick for ping not connected");
1670
- }
1671
- connected_subchannel->Ping(op->send_ping.on_initiate,
1672
- op->send_ping.on_ack);
1673
- return absl::OkStatus();
1674
- },
1675
- // Queue pick.
1676
- [](LoadBalancingPolicy::PickResult::Queue* /*queue_pick*/) {
1677
- return GRPC_ERROR_CREATE("LB picker queued call");
1678
- },
1679
- // Fail pick.
1680
- [](LoadBalancingPolicy::PickResult::Fail* fail_pick) {
1681
- return absl_status_to_grpc_error(fail_pick->status);
1682
- },
1683
- // Drop pick.
1684
- [](LoadBalancingPolicy::PickResult::Drop* drop_pick) {
1685
- return absl_status_to_grpc_error(drop_pick->status);
1686
- });
1687
- }
1688
-
1689
- void ClientChannel::StartTransportOpLocked(grpc_transport_op* op) {
1690
- // Connectivity watch.
1691
- if (op->start_connectivity_watch != nullptr) {
1692
- state_tracker_.AddWatcher(op->start_connectivity_watch_state,
1693
- std::move(op->start_connectivity_watch));
1694
- }
1695
- if (op->stop_connectivity_watch != nullptr) {
1696
- state_tracker_.RemoveWatcher(op->stop_connectivity_watch);
1697
- }
1698
- // Ping.
1699
- if (op->send_ping.on_initiate != nullptr || op->send_ping.on_ack != nullptr) {
1700
- grpc_error_handle error = DoPingLocked(op);
1701
- if (!error.ok()) {
1702
- ExecCtx::Run(DEBUG_LOCATION, op->send_ping.on_initiate, error);
1703
- ExecCtx::Run(DEBUG_LOCATION, op->send_ping.on_ack, error);
1704
- }
1705
- op->bind_pollset = nullptr;
1706
- op->send_ping.on_initiate = nullptr;
1707
- op->send_ping.on_ack = nullptr;
1708
- }
1709
- // Reset backoff.
1710
- if (op->reset_connect_backoff) {
1711
- if (lb_policy_ != nullptr) {
1712
- lb_policy_->ResetBackoffLocked();
1713
- }
1714
- }
1715
- // Disconnect or enter IDLE.
1716
- if (!op->disconnect_with_error.ok()) {
1717
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
1718
- gpr_log(GPR_INFO, "chand=%p: disconnect_with_error: %s", this,
1719
- StatusToString(op->disconnect_with_error).c_str());
1720
- }
1721
- DestroyResolverAndLbPolicyLocked();
1722
- intptr_t value;
1723
- if (grpc_error_get_int(op->disconnect_with_error,
1724
- StatusIntProperty::ChannelConnectivityState,
1725
- &value) &&
1726
- static_cast<grpc_connectivity_state>(value) == GRPC_CHANNEL_IDLE) {
1727
- if (disconnect_error_.ok()) { // Ignore if we're shutting down.
1728
- // Enter IDLE state.
1729
- UpdateStateAndPickerLocked(GRPC_CHANNEL_IDLE, absl::Status(),
1730
- "channel entering IDLE", nullptr);
1731
- // TODO(roth): Do we need to check for any queued picks here, in
1732
- // case there's a race condition in the client_idle filter?
1733
- // And maybe also check for calls in the resolver queue?
1734
- }
1735
- } else {
1736
- // Disconnect.
1737
- GPR_ASSERT(disconnect_error_.ok());
1738
- disconnect_error_ = op->disconnect_with_error;
1739
- UpdateStateAndPickerLocked(
1740
- GRPC_CHANNEL_SHUTDOWN, absl::Status(), "shutdown from API",
1741
- MakeRefCounted<LoadBalancingPolicy::TransientFailurePicker>(
1742
- grpc_error_to_absl_status(op->disconnect_with_error)));
1743
- // TODO(roth): If this happens when we're still waiting for a
1744
- // resolver result, we need to trigger failures for all calls in
1745
- // the resolver queue here.
1746
- }
1747
- }
1748
- GRPC_CHANNEL_STACK_UNREF(owning_stack_, "start_transport_op");
1749
- ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
1750
- }
1751
-
1752
- void ClientChannel::StartTransportOp(grpc_channel_element* elem,
1753
- grpc_transport_op* op) {
1754
- ClientChannel* chand = static_cast<ClientChannel*>(elem->channel_data);
1755
- GPR_ASSERT(op->set_accept_stream == false);
1756
- // Handle bind_pollset.
1757
- if (op->bind_pollset != nullptr) {
1758
- grpc_pollset_set_add_pollset(chand->interested_parties_, op->bind_pollset);
1759
- }
1760
- // Pop into control plane work_serializer for remaining ops.
1761
- GRPC_CHANNEL_STACK_REF(chand->owning_stack_, "start_transport_op");
1762
- chand->work_serializer_->Run(
1763
- [chand, op]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand->work_serializer_) {
1764
- chand->StartTransportOpLocked(op);
1765
- },
1766
- DEBUG_LOCATION);
1767
- }
1768
-
1769
- void ClientChannel::GetChannelInfo(grpc_channel_element* elem,
1770
- const grpc_channel_info* info) {
1771
- ClientChannel* chand = static_cast<ClientChannel*>(elem->channel_data);
1772
- MutexLock lock(&chand->info_mu_);
1773
- if (info->lb_policy_name != nullptr) {
1774
- *info->lb_policy_name = gpr_strdup(chand->info_lb_policy_name_.c_str());
1775
- }
1776
- if (info->service_config_json != nullptr) {
1777
- *info->service_config_json =
1778
- gpr_strdup(chand->info_service_config_json_.c_str());
1779
- }
1780
- }
1781
-
1782
- void ClientChannel::TryToConnectLocked() {
1783
- if (lb_policy_ != nullptr) {
1784
- lb_policy_->ExitIdleLocked();
1785
- } else if (resolver_ == nullptr) {
1786
- CreateResolverLocked();
1787
- }
1788
- GRPC_CHANNEL_STACK_UNREF(owning_stack_, "TryToConnect");
1789
- }
1790
-
1791
- grpc_connectivity_state ClientChannel::CheckConnectivityState(
1792
- bool try_to_connect) {
1793
- // state_tracker_ is guarded by work_serializer_, which we're not
1794
- // holding here. But the one method of state_tracker_ that *is*
1795
- // thread-safe to call without external synchronization is the state()
1796
- // method, so we can disable thread-safety analysis for this one read.
1797
- grpc_connectivity_state out = ABSL_TS_UNCHECKED_READ(state_tracker_).state();
1798
- if (out == GRPC_CHANNEL_IDLE && try_to_connect) {
1799
- GRPC_CHANNEL_STACK_REF(owning_stack_, "TryToConnect");
1800
- work_serializer_->Run([this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(
1801
- *work_serializer_) { TryToConnectLocked(); },
1802
- DEBUG_LOCATION);
1803
- }
1804
- return out;
1805
- }
1806
-
1807
- void ClientChannel::AddConnectivityWatcher(
1808
- grpc_connectivity_state initial_state,
1809
- OrphanablePtr<AsyncConnectivityStateWatcherInterface> watcher) {
1810
- new ConnectivityWatcherAdder(this, initial_state, std::move(watcher));
1811
- }
1812
-
1813
- void ClientChannel::RemoveConnectivityWatcher(
1814
- AsyncConnectivityStateWatcherInterface* watcher) {
1815
- new ConnectivityWatcherRemover(this, watcher);
1816
- }
1817
-
1818
- //
1819
- // CallData implementation
1820
- //
1821
-
1822
- void ClientChannel::CallData::RemoveCallFromResolverQueuedCallsLocked() {
1823
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
1824
- gpr_log(GPR_INFO,
1825
- "chand=%p calld=%p: removing from resolver queued picks list",
1826
- chand(), this);
1827
- }
1828
- // Remove call's pollent from channel's interested_parties.
1829
- grpc_polling_entity_del_from_pollset_set(pollent(),
1830
- chand()->interested_parties_);
1831
- // Note: There's no need to actually remove the call from the queue
1832
- // here, because that will be done in
1833
- // ResolverQueuedCallCanceller::CancelLocked() or
1834
- // ClientChannel::ReprocessQueuedResolverCalls().
1835
- }
1836
-
1837
- void ClientChannel::CallData::AddCallToResolverQueuedCallsLocked() {
1838
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
1839
- gpr_log(GPR_INFO, "chand=%p calld=%p: adding to resolver queued picks list",
1840
- chand(), this);
1841
- }
1842
- // Add call's pollent to channel's interested_parties, so that I/O
1843
- // can be done under the call's CQ.
1844
- grpc_polling_entity_add_to_pollset_set(pollent(),
1845
- chand()->interested_parties_);
1846
- // Add to queue.
1847
- chand()->resolver_queued_calls_.insert(this);
1848
- OnAddToQueueLocked();
1849
- }
1850
-
1851
- grpc_error_handle ClientChannel::CallData::ApplyServiceConfigToCallLocked(
1852
- const absl::StatusOr<RefCountedPtr<ConfigSelector>>& config_selector) {
1853
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
1854
- gpr_log(GPR_INFO, "chand=%p calld=%p: applying service config to call",
1855
- chand(), this);
1856
- }
1857
- if (!config_selector.ok()) return config_selector.status();
1858
- // Create a ClientChannelServiceConfigCallData for the call. This stores
1859
- // a ref to the ServiceConfig and caches the right set of parsed configs
1860
- // to use for the call. The ClientChannelServiceConfigCallData will store
1861
- // itself in the call context, so that it can be accessed by filters
1862
- // below us in the stack, and it will be cleaned up when the call ends.
1863
- auto* service_config_call_data =
1864
- arena()->New<ClientChannelServiceConfigCallData>(arena(), call_context());
1865
- // Use the ConfigSelector to determine the config for the call.
1866
- absl::Status call_config_status =
1867
- (*config_selector)
1868
- ->GetCallConfig(
1869
- {send_initial_metadata(), arena(), service_config_call_data});
1870
- if (!call_config_status.ok()) {
1871
- return absl_status_to_grpc_error(
1872
- MaybeRewriteIllegalStatusCode(call_config_status, "ConfigSelector"));
1873
- }
1874
- // Apply our own method params to the call.
1875
- auto* method_params = static_cast<ClientChannelMethodParsedConfig*>(
1876
- service_config_call_data->GetMethodParsedConfig(
1877
- chand()->service_config_parser_index_));
1878
- if (method_params != nullptr) {
1879
- // If the deadline from the service config is shorter than the one
1880
- // from the client API, reset the deadline timer.
1881
- if (chand()->deadline_checking_enabled_ &&
1882
- method_params->timeout() != Duration::Zero()) {
1883
- ResetDeadline(method_params->timeout());
1884
- }
1885
- // If the service config set wait_for_ready and the application
1886
- // did not explicitly set it, use the value from the service config.
1887
- auto* wait_for_ready =
1888
- send_initial_metadata()->GetOrCreatePointer(WaitForReady());
1889
- if (method_params->wait_for_ready().has_value() &&
1890
- !wait_for_ready->explicitly_set) {
1891
- wait_for_ready->value = method_params->wait_for_ready().value();
1892
- }
1893
- }
1894
- return absl::OkStatus();
1895
- }
1896
-
1897
- absl::optional<absl::Status> ClientChannel::CallData::CheckResolution(
1898
- bool was_queued) {
1899
- // Check if we have a resolver result to use.
1900
- absl::StatusOr<RefCountedPtr<ConfigSelector>> config_selector;
1901
- {
1902
- MutexLock lock(&chand()->resolution_mu_);
1903
- bool result_ready = CheckResolutionLocked(&config_selector);
1904
- // If no result is available, queue the call.
1905
- if (!result_ready) {
1906
- AddCallToResolverQueuedCallsLocked();
1907
- return absl::nullopt;
1908
- }
1909
- }
1910
- // We have a result. Apply service config to call.
1911
- grpc_error_handle error = ApplyServiceConfigToCallLocked(config_selector);
1912
- // ConfigSelector must be unreffed inside the WorkSerializer.
1913
- if (config_selector.ok()) {
1914
- chand()->work_serializer_->Run(
1915
- [config_selector = std::move(*config_selector)]() mutable {
1916
- config_selector.reset();
1917
- },
1918
- DEBUG_LOCATION);
1919
- }
1920
- // Handle errors.
1921
- if (!error.ok()) {
1922
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
1923
- gpr_log(GPR_INFO,
1924
- "chand=%p calld=%p: error applying config to call: error=%s",
1925
- chand(), this, StatusToString(error).c_str());
1926
- }
1927
- return error;
1928
- }
1929
- // If the call was queued, add trace annotation.
1930
- if (was_queued) {
1931
- auto* call_tracer = static_cast<CallTracerAnnotationInterface*>(
1932
- call_context()[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value);
1933
- if (call_tracer != nullptr) {
1934
- call_tracer->RecordAnnotation("Delayed name resolution complete.");
1935
- }
1936
- }
1937
- return absl::OkStatus();
1938
- }
1939
-
1940
- bool ClientChannel::CallData::CheckResolutionLocked(
1941
- absl::StatusOr<RefCountedPtr<ConfigSelector>>* config_selector) {
1942
- // If we don't yet have a resolver result, we need to queue the call
1943
- // until we get one.
1944
- if (GPR_UNLIKELY(!chand()->received_service_config_data_)) {
1945
- // If the resolver returned transient failure before returning the
1946
- // first service config, fail any non-wait_for_ready calls.
1947
- absl::Status resolver_error = chand()->resolver_transient_failure_error_;
1948
- if (!resolver_error.ok() &&
1949
- !send_initial_metadata()->GetOrCreatePointer(WaitForReady())->value) {
1950
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
1951
- gpr_log(GPR_INFO, "chand=%p calld=%p: resolution failed, failing call",
1952
- chand(), this);
1953
- }
1954
- *config_selector = absl_status_to_grpc_error(resolver_error);
1955
- return true;
1956
- }
1957
- // Either the resolver has not yet returned a result, or it has
1958
- // returned transient failure but the call is wait_for_ready. In
1959
- // either case, queue the call.
1960
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
1961
- gpr_log(GPR_INFO, "chand=%p calld=%p: no resolver result yet", chand(),
1962
- this);
1963
- }
1964
- return false;
1965
- }
1966
- // Result found.
1967
- *config_selector = chand()->config_selector_;
1968
- dynamic_filters_ = chand()->dynamic_filters_;
1969
- return true;
1970
- }
1971
-
1972
- //
1973
- // FilterBasedCallData implementation
1974
- //
1975
-
1976
- ClientChannel::FilterBasedCallData::FilterBasedCallData(
1977
- grpc_call_element* elem, const grpc_call_element_args& args)
1978
- : path_(CSliceRef(args.path)),
1979
- call_context_(args.context),
1980
- call_start_time_(args.start_time),
1981
- deadline_(args.deadline),
1982
- deadline_state_(elem, args,
1983
- GPR_LIKELY(static_cast<ClientChannel*>(elem->channel_data)
1984
- ->deadline_checking_enabled_)
1985
- ? args.deadline
1986
- : Timestamp::InfFuture()) {
1987
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
1988
- gpr_log(GPR_INFO, "chand=%p calld=%p: created call", chand(), this);
1989
- }
1990
- }
1991
-
1992
- ClientChannel::FilterBasedCallData::~FilterBasedCallData() {
1993
- CSliceUnref(path_);
1994
- // Make sure there are no remaining pending batches.
1995
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
1996
- GPR_ASSERT(pending_batches_[i] == nullptr);
1997
- }
1998
- }
1999
-
2000
- grpc_error_handle ClientChannel::FilterBasedCallData::Init(
2001
- grpc_call_element* elem, const grpc_call_element_args* args) {
2002
- new (elem->call_data) FilterBasedCallData(elem, *args);
2003
- return absl::OkStatus();
2004
- }
2005
-
2006
- void ClientChannel::FilterBasedCallData::Destroy(
2007
- grpc_call_element* elem, const grpc_call_final_info* /*final_info*/,
2008
- grpc_closure* then_schedule_closure) {
2009
- auto* calld = static_cast<FilterBasedCallData*>(elem->call_data);
2010
- RefCountedPtr<DynamicFilters::Call> dynamic_call =
2011
- std::move(calld->dynamic_call_);
2012
- calld->~FilterBasedCallData();
2013
- if (GPR_LIKELY(dynamic_call != nullptr)) {
2014
- dynamic_call->SetAfterCallStackDestroy(then_schedule_closure);
2015
- } else {
2016
- // TODO(yashkt) : This can potentially be a Closure::Run
2017
- ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, absl::OkStatus());
2018
- }
2019
- }
2020
-
2021
- void ClientChannel::FilterBasedCallData::StartTransportStreamOpBatch(
2022
- grpc_call_element* elem, grpc_transport_stream_op_batch* batch) {
2023
- auto* calld = static_cast<FilterBasedCallData*>(elem->call_data);
2024
- ClientChannel* chand = static_cast<ClientChannel*>(elem->channel_data);
2025
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace) &&
2026
- !GRPC_TRACE_FLAG_ENABLED(grpc_trace_channel)) {
2027
- gpr_log(GPR_INFO, "chand=%p calld=%p: batch started from above: %s", chand,
2028
- calld, grpc_transport_stream_op_batch_string(batch, false).c_str());
2029
- }
2030
- if (GPR_LIKELY(chand->deadline_checking_enabled_)) {
2031
- grpc_deadline_state_client_start_transport_stream_op_batch(
2032
- &calld->deadline_state_, batch);
2033
- }
2034
- // Intercept recv_trailing_metadata to commit the call, in case we wind up
2035
- // failing the call before we get down to the retry or LB call layer.
2036
- if (batch->recv_trailing_metadata) {
2037
- calld->original_recv_trailing_metadata_ready_ =
2038
- batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready;
2039
- GRPC_CLOSURE_INIT(&calld->recv_trailing_metadata_ready_,
2040
- RecvTrailingMetadataReadyForConfigSelectorCommitCallback,
2041
- calld, nullptr);
2042
- batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready =
2043
- &calld->recv_trailing_metadata_ready_;
2044
- }
2045
- // If we already have a dynamic call, pass the batch down to it.
2046
- // Note that once we have done so, we do not need to acquire the channel's
2047
- // resolution mutex, which is more efficient (especially for streaming calls).
2048
- if (calld->dynamic_call_ != nullptr) {
2049
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2050
- gpr_log(GPR_INFO, "chand=%p calld=%p: starting batch on dynamic_call=%p",
2051
- chand, calld, calld->dynamic_call_.get());
2052
- }
2053
- calld->dynamic_call_->StartTransportStreamOpBatch(batch);
2054
- return;
2055
- }
2056
- // We do not yet have a dynamic call.
2057
- //
2058
- // If we've previously been cancelled, immediately fail any new batches.
2059
- if (GPR_UNLIKELY(!calld->cancel_error_.ok())) {
2060
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2061
- gpr_log(GPR_INFO, "chand=%p calld=%p: failing batch with error: %s",
2062
- chand, calld, StatusToString(calld->cancel_error_).c_str());
2063
- }
2064
- // Note: This will release the call combiner.
2065
- grpc_transport_stream_op_batch_finish_with_failure(
2066
- batch, calld->cancel_error_, calld->call_combiner());
2067
- return;
2068
- }
2069
- // Handle cancellation.
2070
- if (GPR_UNLIKELY(batch->cancel_stream)) {
2071
- // Stash a copy of cancel_error in our call data, so that we can use
2072
- // it for subsequent operations. This ensures that if the call is
2073
- // cancelled before any batches are passed down (e.g., if the deadline
2074
- // is in the past when the call starts), we can return the right
2075
- // error to the caller when the first batch does get passed down.
2076
- calld->cancel_error_ = batch->payload->cancel_stream.cancel_error;
2077
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2078
- gpr_log(GPR_INFO, "chand=%p calld=%p: recording cancel_error=%s", chand,
2079
- calld, StatusToString(calld->cancel_error_).c_str());
2080
- }
2081
- // Fail all pending batches.
2082
- calld->PendingBatchesFail(calld->cancel_error_, NoYieldCallCombiner);
2083
- // Note: This will release the call combiner.
2084
- grpc_transport_stream_op_batch_finish_with_failure(
2085
- batch, calld->cancel_error_, calld->call_combiner());
2086
- return;
2087
- }
2088
- // Add the batch to the pending list.
2089
- calld->PendingBatchesAdd(batch);
2090
- // For batches containing a send_initial_metadata op, acquire the
2091
- // channel's resolution mutex to apply the service config to the call,
2092
- // after which we will create a dynamic call.
2093
- if (GPR_LIKELY(batch->send_initial_metadata)) {
2094
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2095
- gpr_log(GPR_INFO,
2096
- "chand=%p calld=%p: grabbing resolution mutex to apply service "
2097
- "config",
2098
- chand, calld);
2099
- }
2100
- // If we're still in IDLE, we need to start resolving.
2101
- if (GPR_UNLIKELY(chand->CheckConnectivityState(false) ==
2102
- GRPC_CHANNEL_IDLE)) {
2103
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2104
- gpr_log(GPR_INFO, "chand=%p calld=%p: triggering exit idle", chand,
2105
- calld);
2106
- }
2107
- // Bounce into the control plane work serializer to start resolving.
2108
- GRPC_CHANNEL_STACK_REF(chand->owning_stack_, "ExitIdle");
2109
- chand->work_serializer_->Run(
2110
- [chand]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand->work_serializer_) {
2111
- chand->CheckConnectivityState(/*try_to_connect=*/true);
2112
- GRPC_CHANNEL_STACK_UNREF(chand->owning_stack_, "ExitIdle");
2113
- },
2114
- DEBUG_LOCATION);
2115
- }
2116
- calld->TryCheckResolution(/*was_queued=*/false);
2117
- } else {
2118
- // For all other batches, release the call combiner.
2119
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2120
- gpr_log(GPR_INFO,
2121
- "chand=%p calld=%p: saved batch, yielding call combiner", chand,
2122
- calld);
2123
- }
2124
- GRPC_CALL_COMBINER_STOP(calld->call_combiner(),
2125
- "batch does not include send_initial_metadata");
2126
- }
2127
- }
2128
-
2129
- void ClientChannel::FilterBasedCallData::SetPollent(
2130
- grpc_call_element* elem, grpc_polling_entity* pollent) {
2131
- auto* calld = static_cast<FilterBasedCallData*>(elem->call_data);
2132
- calld->pollent_ = pollent;
2133
- }
2134
-
2135
- size_t ClientChannel::FilterBasedCallData::GetBatchIndex(
2136
- grpc_transport_stream_op_batch* batch) {
2137
- // Note: It is important the send_initial_metadata be the first entry
2138
- // here, since the code in CheckResolution() assumes it will be.
2139
- if (batch->send_initial_metadata) return 0;
2140
- if (batch->send_message) return 1;
2141
- if (batch->send_trailing_metadata) return 2;
2142
- if (batch->recv_initial_metadata) return 3;
2143
- if (batch->recv_message) return 4;
2144
- if (batch->recv_trailing_metadata) return 5;
2145
- GPR_UNREACHABLE_CODE(return (size_t)-1);
2146
- }
2147
-
2148
- // This is called via the call combiner, so access to calld is synchronized.
2149
- void ClientChannel::FilterBasedCallData::PendingBatchesAdd(
2150
- grpc_transport_stream_op_batch* batch) {
2151
- const size_t idx = GetBatchIndex(batch);
2152
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2153
- gpr_log(GPR_INFO,
2154
- "chand=%p calld=%p: adding pending batch at index %" PRIuPTR,
2155
- chand(), this, idx);
2156
- }
2157
- grpc_transport_stream_op_batch*& pending = pending_batches_[idx];
2158
- GPR_ASSERT(pending == nullptr);
2159
- pending = batch;
2160
- }
2161
-
2162
- // This is called via the call combiner, so access to calld is synchronized.
2163
- void ClientChannel::FilterBasedCallData::FailPendingBatchInCallCombiner(
2164
- void* arg, grpc_error_handle error) {
2165
- grpc_transport_stream_op_batch* batch =
2166
- static_cast<grpc_transport_stream_op_batch*>(arg);
2167
- auto* calld =
2168
- static_cast<FilterBasedCallData*>(batch->handler_private.extra_arg);
2169
- // Note: This will release the call combiner.
2170
- grpc_transport_stream_op_batch_finish_with_failure(batch, error,
2171
- calld->call_combiner());
2172
- }
2173
-
2174
- // This is called via the call combiner, so access to calld is synchronized.
2175
- void ClientChannel::FilterBasedCallData::PendingBatchesFail(
2176
- grpc_error_handle error,
2177
- YieldCallCombinerPredicate yield_call_combiner_predicate) {
2178
- GPR_ASSERT(!error.ok());
2179
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2180
- size_t num_batches = 0;
2181
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2182
- if (pending_batches_[i] != nullptr) ++num_batches;
2183
- }
2184
- gpr_log(GPR_INFO,
2185
- "chand=%p calld=%p: failing %" PRIuPTR " pending batches: %s",
2186
- chand(), this, num_batches, StatusToString(error).c_str());
2187
- }
2188
- CallCombinerClosureList closures;
2189
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2190
- grpc_transport_stream_op_batch*& batch = pending_batches_[i];
2191
- if (batch != nullptr) {
2192
- batch->handler_private.extra_arg = this;
2193
- GRPC_CLOSURE_INIT(&batch->handler_private.closure,
2194
- FailPendingBatchInCallCombiner, batch,
2195
- grpc_schedule_on_exec_ctx);
2196
- closures.Add(&batch->handler_private.closure, error,
2197
- "PendingBatchesFail");
2198
- batch = nullptr;
2199
- }
2200
- }
2201
- if (yield_call_combiner_predicate(closures)) {
2202
- closures.RunClosures(call_combiner());
2203
- } else {
2204
- closures.RunClosuresWithoutYielding(call_combiner());
2205
- }
2206
- }
2207
-
2208
- // This is called via the call combiner, so access to calld is synchronized.
2209
- void ClientChannel::FilterBasedCallData::ResumePendingBatchInCallCombiner(
2210
- void* arg, grpc_error_handle /*ignored*/) {
2211
- grpc_transport_stream_op_batch* batch =
2212
- static_cast<grpc_transport_stream_op_batch*>(arg);
2213
- auto* calld =
2214
- static_cast<FilterBasedCallData*>(batch->handler_private.extra_arg);
2215
- // Note: This will release the call combiner.
2216
- calld->dynamic_call_->StartTransportStreamOpBatch(batch);
2217
- }
2218
-
2219
- // This is called via the call combiner, so access to calld is synchronized.
2220
- void ClientChannel::FilterBasedCallData::PendingBatchesResume() {
2221
- // Retries not enabled; send down batches as-is.
2222
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2223
- size_t num_batches = 0;
2224
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2225
- if (pending_batches_[i] != nullptr) ++num_batches;
2226
- }
2227
- gpr_log(GPR_INFO,
2228
- "chand=%p calld=%p: starting %" PRIuPTR
2229
- " pending batches on dynamic_call=%p",
2230
- chand(), this, num_batches, dynamic_call_.get());
2231
- }
2232
- CallCombinerClosureList closures;
2233
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2234
- grpc_transport_stream_op_batch*& batch = pending_batches_[i];
2235
- if (batch != nullptr) {
2236
- batch->handler_private.extra_arg = this;
2237
- GRPC_CLOSURE_INIT(&batch->handler_private.closure,
2238
- ResumePendingBatchInCallCombiner, batch, nullptr);
2239
- closures.Add(&batch->handler_private.closure, absl::OkStatus(),
2240
- "resuming pending batch from client channel call");
2241
- batch = nullptr;
2242
- }
2243
- }
2244
- // Note: This will release the call combiner.
2245
- closures.RunClosures(call_combiner());
2246
- }
2247
-
2248
- // A class to handle the call combiner cancellation callback for a
2249
- // queued pick.
2250
- class ClientChannel::FilterBasedCallData::ResolverQueuedCallCanceller {
2251
- public:
2252
- explicit ResolverQueuedCallCanceller(FilterBasedCallData* calld)
2253
- : calld_(calld) {
2254
- GRPC_CALL_STACK_REF(calld->owning_call(), "ResolverQueuedCallCanceller");
2255
- GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this,
2256
- grpc_schedule_on_exec_ctx);
2257
- calld->call_combiner()->SetNotifyOnCancel(&closure_);
2258
- }
2259
-
2260
- private:
2261
- static void CancelLocked(void* arg, grpc_error_handle error) {
2262
- auto* self = static_cast<ResolverQueuedCallCanceller*>(arg);
2263
- auto* calld = self->calld_;
2264
- auto* chand = calld->chand();
2265
- {
2266
- MutexLock lock(&chand->resolution_mu_);
2267
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2268
- gpr_log(GPR_INFO,
2269
- "chand=%p calld=%p: cancelling resolver queued pick: "
2270
- "error=%s self=%p calld->resolver_pick_canceller=%p",
2271
- chand, calld, StatusToString(error).c_str(), self,
2272
- calld->resolver_call_canceller_);
2273
- }
2274
- if (calld->resolver_call_canceller_ == self && !error.ok()) {
2275
- // Remove pick from list of queued picks.
2276
- calld->RemoveCallFromResolverQueuedCallsLocked();
2277
- chand->resolver_queued_calls_.erase(calld);
2278
- // Fail pending batches on the call.
2279
- calld->PendingBatchesFail(error,
2280
- YieldCallCombinerIfPendingBatchesFound);
2281
- }
2282
- }
2283
- GRPC_CALL_STACK_UNREF(calld->owning_call(), "ResolvingQueuedCallCanceller");
2284
- delete self;
2285
- }
2286
-
2287
- FilterBasedCallData* calld_;
2288
- grpc_closure closure_;
2289
- };
2290
-
2291
- void ClientChannel::FilterBasedCallData::TryCheckResolution(bool was_queued) {
2292
- auto result = CheckResolution(was_queued);
2293
- if (result.has_value()) {
2294
- if (!result->ok()) {
2295
- PendingBatchesFail(*result, YieldCallCombiner);
2296
- return;
2297
- }
2298
- CreateDynamicCall();
2299
- }
2300
- }
2301
-
2302
- void ClientChannel::FilterBasedCallData::OnAddToQueueLocked() {
2303
- // Register call combiner cancellation callback.
2304
- resolver_call_canceller_ = new ResolverQueuedCallCanceller(this);
2305
- }
2306
-
2307
- void ClientChannel::FilterBasedCallData::RetryCheckResolutionLocked() {
2308
- // Lame the call combiner canceller.
2309
- resolver_call_canceller_ = nullptr;
2310
- // Do an async callback to resume call processing, so that we're not
2311
- // doing it while holding the channel's resolution mutex.
2312
- chand()->owning_stack_->EventEngine()->Run([this]() {
2313
- ApplicationCallbackExecCtx application_exec_ctx;
2314
- ExecCtx exec_ctx;
2315
- TryCheckResolution(/*was_queued=*/true);
2316
- });
2317
- }
2318
-
2319
- void ClientChannel::FilterBasedCallData::CreateDynamicCall() {
2320
- DynamicFilters::Call::Args args = {dynamic_filters(), pollent_, path_,
2321
- call_start_time_, deadline_, arena(),
2322
- call_context_, call_combiner()};
2323
- grpc_error_handle error;
2324
- DynamicFilters* channel_stack = args.channel_stack.get();
2325
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2326
- gpr_log(
2327
- GPR_INFO,
2328
- "chand=%p calld=%p: creating dynamic call stack on channel_stack=%p",
2329
- chand(), this, channel_stack);
2330
- }
2331
- dynamic_call_ = channel_stack->CreateCall(std::move(args), &error);
2332
- if (!error.ok()) {
2333
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2334
- gpr_log(GPR_INFO,
2335
- "chand=%p calld=%p: failed to create dynamic call: error=%s",
2336
- chand(), this, StatusToString(error).c_str());
2337
- }
2338
- PendingBatchesFail(error, YieldCallCombiner);
2339
- return;
2340
- }
2341
- PendingBatchesResume();
2342
- }
2343
-
2344
- void ClientChannel::FilterBasedCallData::
2345
- RecvTrailingMetadataReadyForConfigSelectorCommitCallback(
2346
- void* arg, grpc_error_handle error) {
2347
- auto* calld = static_cast<FilterBasedCallData*>(arg);
2348
- auto* chand = calld->chand();
2349
- auto* service_config_call_data =
2350
- static_cast<ClientChannelServiceConfigCallData*>(
2351
- calld->call_context()[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value);
2352
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
2353
- gpr_log(GPR_INFO,
2354
- "chand=%p calld=%p: got recv_trailing_metadata_ready: error=%s "
2355
- "service_config_call_data=%p",
2356
- chand, calld, StatusToString(error).c_str(),
2357
- service_config_call_data);
2358
- }
2359
- if (service_config_call_data != nullptr) {
2360
- service_config_call_data->Commit();
2361
- }
2362
- // Chain to original callback.
2363
- Closure::Run(DEBUG_LOCATION, calld->original_recv_trailing_metadata_ready_,
2364
- error);
2365
- }
2366
-
2367
- //
2368
- // ClientChannel::LoadBalancedCall::LbCallState
2369
- //
2370
-
2371
- class ClientChannel::LoadBalancedCall::LbCallState
2372
- : public ClientChannelLbCallState {
2373
- public:
2374
- explicit LbCallState(LoadBalancedCall* lb_call) : lb_call_(lb_call) {}
2375
-
2376
- void* Alloc(size_t size) override { return lb_call_->arena()->Alloc(size); }
2377
-
2378
- // Internal API to allow first-party LB policies to access per-call
2379
- // attributes set by the ConfigSelector.
2380
- ServiceConfigCallData::CallAttributeInterface* GetCallAttribute(
2381
- UniqueTypeName type) const override;
2382
-
2383
- private:
2384
- LoadBalancedCall* lb_call_;
2385
- };
2386
-
2387
- //
2388
- // ClientChannel::LoadBalancedCall::Metadata
2389
- //
2390
-
2391
- class ClientChannel::LoadBalancedCall::Metadata
2392
- : public LoadBalancingPolicy::MetadataInterface {
2393
- public:
2394
- explicit Metadata(grpc_metadata_batch* batch) : batch_(batch) {}
2395
-
2396
- void Add(absl::string_view key, absl::string_view value) override {
2397
- if (batch_ == nullptr) return;
2398
- // Gross, egregious hack to support legacy grpclb behavior.
2399
- // TODO(ctiller): Use a promise context for this once that plumbing is done.
2400
- if (key == GrpcLbClientStatsMetadata::key()) {
2401
- batch_->Set(
2402
- GrpcLbClientStatsMetadata(),
2403
- const_cast<GrpcLbClientStats*>(
2404
- reinterpret_cast<const GrpcLbClientStats*>(value.data())));
2405
- return;
2406
- }
2407
- batch_->Append(key, Slice::FromStaticString(value),
2408
- [key](absl::string_view error, const Slice& value) {
2409
- gpr_log(GPR_ERROR, "%s",
2410
- absl::StrCat(error, " key:", key,
2411
- " value:", value.as_string_view())
2412
- .c_str());
2413
- });
2414
- }
2415
-
2416
- std::vector<std::pair<std::string, std::string>> TestOnlyCopyToVector()
2417
- override {
2418
- if (batch_ == nullptr) return {};
2419
- Encoder encoder;
2420
- batch_->Encode(&encoder);
2421
- return encoder.Take();
2422
- }
2423
-
2424
- absl::optional<absl::string_view> Lookup(absl::string_view key,
2425
- std::string* buffer) const override {
2426
- if (batch_ == nullptr) return absl::nullopt;
2427
- return batch_->GetStringValue(key, buffer);
2428
- }
2429
-
2430
- private:
2431
- class Encoder {
2432
- public:
2433
- void Encode(const Slice& key, const Slice& value) {
2434
- out_.emplace_back(std::string(key.as_string_view()),
2435
- std::string(value.as_string_view()));
2436
- }
2437
-
2438
- template <class Which>
2439
- void Encode(Which, const typename Which::ValueType& value) {
2440
- auto value_slice = Which::Encode(value);
2441
- out_.emplace_back(std::string(Which::key()),
2442
- std::string(value_slice.as_string_view()));
2443
- }
2444
-
2445
- void Encode(GrpcTimeoutMetadata,
2446
- const typename GrpcTimeoutMetadata::ValueType&) {}
2447
- void Encode(HttpPathMetadata, const Slice&) {}
2448
- void Encode(HttpMethodMetadata,
2449
- const typename HttpMethodMetadata::ValueType&) {}
2450
-
2451
- std::vector<std::pair<std::string, std::string>> Take() {
2452
- return std::move(out_);
2453
- }
2454
-
2455
- private:
2456
- std::vector<std::pair<std::string, std::string>> out_;
2457
- };
2458
-
2459
- grpc_metadata_batch* batch_;
2460
- };
2461
-
2462
- //
2463
- // ClientChannel::LoadBalancedCall::LbCallState
2464
- //
2465
-
2466
- ServiceConfigCallData::CallAttributeInterface*
2467
- ClientChannel::LoadBalancedCall::LbCallState::GetCallAttribute(
2468
- UniqueTypeName type) const {
2469
- auto* service_config_call_data = static_cast<ServiceConfigCallData*>(
2470
- lb_call_->call_context()[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value);
2471
- return service_config_call_data->GetCallAttribute(type);
2472
- }
2473
-
2474
- //
2475
- // ClientChannel::LoadBalancedCall::BackendMetricAccessor
2476
- //
2477
-
2478
- class ClientChannel::LoadBalancedCall::BackendMetricAccessor
2479
- : public LoadBalancingPolicy::BackendMetricAccessor {
2480
- public:
2481
- BackendMetricAccessor(LoadBalancedCall* lb_call,
2482
- grpc_metadata_batch* recv_trailing_metadata)
2483
- : lb_call_(lb_call), recv_trailing_metadata_(recv_trailing_metadata) {}
2484
-
2485
- const BackendMetricData* GetBackendMetricData() override {
2486
- if (lb_call_->backend_metric_data_ == nullptr &&
2487
- recv_trailing_metadata_ != nullptr) {
2488
- if (const auto* md = recv_trailing_metadata_->get_pointer(
2489
- EndpointLoadMetricsBinMetadata())) {
2490
- BackendMetricAllocator allocator(lb_call_->arena());
2491
- lb_call_->backend_metric_data_ =
2492
- ParseBackendMetricData(md->as_string_view(), &allocator);
2493
- }
2494
- }
2495
- return lb_call_->backend_metric_data_;
2496
- }
2497
-
2498
- private:
2499
- class BackendMetricAllocator : public BackendMetricAllocatorInterface {
2500
- public:
2501
- explicit BackendMetricAllocator(Arena* arena) : arena_(arena) {}
2502
-
2503
- BackendMetricData* AllocateBackendMetricData() override {
2504
- return arena_->New<BackendMetricData>();
2505
- }
2506
-
2507
- char* AllocateString(size_t size) override {
2508
- return static_cast<char*>(arena_->Alloc(size));
2509
- }
2510
-
2511
- private:
2512
- Arena* arena_;
2513
- };
2514
-
2515
- LoadBalancedCall* lb_call_;
2516
- grpc_metadata_batch* recv_trailing_metadata_;
2517
- };
2518
-
2519
- //
2520
- // ClientChannel::LoadBalancedCall
2521
- //
2522
-
2523
- namespace {
2524
-
2525
- ClientCallTracer::CallAttemptTracer* CreateCallAttemptTracer(
2526
- grpc_call_context_element* context, bool is_transparent_retry) {
2527
- auto* call_tracer = static_cast<ClientCallTracer*>(
2528
- context[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value);
2529
- if (call_tracer == nullptr) return nullptr;
2530
- auto* tracer = call_tracer->StartNewAttempt(is_transparent_retry);
2531
- context[GRPC_CONTEXT_CALL_TRACER].value = tracer;
2532
- return tracer;
2533
- }
2534
-
2535
- } // namespace
2536
-
2537
- ClientChannel::LoadBalancedCall::LoadBalancedCall(
2538
- ClientChannel* chand, grpc_call_context_element* call_context,
2539
- absl::AnyInvocable<void()> on_commit, bool is_transparent_retry)
2540
- : InternallyRefCounted(
2541
- GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)
2542
- ? "LoadBalancedCall"
2543
- : nullptr),
2544
- chand_(chand),
2545
- on_commit_(std::move(on_commit)) {
2546
- CreateCallAttemptTracer(call_context, is_transparent_retry);
2547
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2548
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: created", chand_, this);
2549
- }
2550
- }
2551
-
2552
- ClientChannel::LoadBalancedCall::~LoadBalancedCall() {
2553
- if (backend_metric_data_ != nullptr) {
2554
- backend_metric_data_->BackendMetricData::~BackendMetricData();
2555
- }
2556
- }
2557
-
2558
- void ClientChannel::LoadBalancedCall::Orphan() {
2559
- // Compute latency and report it to the tracer.
2560
- if (call_attempt_tracer() != nullptr) {
2561
- gpr_timespec latency =
2562
- gpr_cycle_counter_sub(gpr_get_cycle_counter(), lb_call_start_time_);
2563
- call_attempt_tracer()->RecordEnd(latency);
2564
- }
2565
- Unref();
2566
- }
2567
-
2568
- void ClientChannel::LoadBalancedCall::RecordCallCompletion(
2569
- absl::Status status, grpc_metadata_batch* recv_trailing_metadata,
2570
- grpc_transport_stream_stats* transport_stream_stats,
2571
- absl::string_view peer_address) {
2572
- // If we have a tracer, notify it.
2573
- if (call_attempt_tracer() != nullptr) {
2574
- call_attempt_tracer()->RecordReceivedTrailingMetadata(
2575
- status, recv_trailing_metadata, transport_stream_stats);
2576
- }
2577
- // If the LB policy requested a callback for trailing metadata, invoke
2578
- // the callback.
2579
- if (lb_subchannel_call_tracker_ != nullptr) {
2580
- Metadata trailing_metadata(recv_trailing_metadata);
2581
- BackendMetricAccessor backend_metric_accessor(this, recv_trailing_metadata);
2582
- LoadBalancingPolicy::SubchannelCallTrackerInterface::FinishArgs args = {
2583
- peer_address, status, &trailing_metadata, &backend_metric_accessor};
2584
- lb_subchannel_call_tracker_->Finish(args);
2585
- lb_subchannel_call_tracker_.reset();
2586
- }
2587
- }
2588
-
2589
- void ClientChannel::LoadBalancedCall::RemoveCallFromLbQueuedCallsLocked() {
2590
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2591
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: removing from queued picks list",
2592
- chand_, this);
2593
- }
2594
- // Remove pollset_set linkage.
2595
- grpc_polling_entity_del_from_pollset_set(pollent(),
2596
- chand_->interested_parties_);
2597
- // Note: There's no need to actually remove the call from the queue
2598
- // here, beacuse that will be done in either
2599
- // LbQueuedCallCanceller::CancelLocked() or
2600
- // in ClientChannel::UpdateStateAndPickerLocked().
2601
- }
2602
-
2603
- void ClientChannel::LoadBalancedCall::AddCallToLbQueuedCallsLocked() {
2604
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2605
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: adding to queued picks list",
2606
- chand_, this);
2607
- }
2608
- // Add call's pollent to channel's interested_parties, so that I/O
2609
- // can be done under the call's CQ.
2610
- grpc_polling_entity_add_to_pollset_set(pollent(),
2611
- chand_->interested_parties_);
2612
- // Add to queue.
2613
- chand_->lb_queued_calls_.insert(this);
2614
- OnAddToQueueLocked();
2615
- }
2616
-
2617
- absl::optional<absl::Status> ClientChannel::LoadBalancedCall::PickSubchannel(
2618
- bool was_queued) {
2619
- // We may accumulate multiple pickers here, because if a picker says
2620
- // to queue the call, we check again to see if the picker has been
2621
- // updated before we queue it.
2622
- // We need to unref pickers in the WorkSerializer.
2623
- std::vector<RefCountedPtr<LoadBalancingPolicy::SubchannelPicker>> pickers;
2624
- auto cleanup = absl::MakeCleanup([&]() {
2625
- chand_->work_serializer_->Run(
2626
- [pickers = std::move(pickers)]() mutable {
2627
- for (auto& picker : pickers) {
2628
- picker.reset(DEBUG_LOCATION, "PickSubchannel");
2629
- }
2630
- },
2631
- DEBUG_LOCATION);
2632
- });
2633
- // Grab mutex and take a ref to the picker.
2634
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2635
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: grabbing LB mutex to get picker",
2636
- chand_, this);
2637
- }
2638
- {
2639
- MutexLock lock(&chand_->lb_mu_);
2640
- pickers.emplace_back(chand_->picker_);
2641
- }
2642
- while (true) {
2643
- // Do pick.
2644
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2645
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: performing pick with picker=%p",
2646
- chand_, this, pickers.back().get());
2647
- }
2648
- grpc_error_handle error;
2649
- bool pick_complete = PickSubchannelImpl(pickers.back().get(), &error);
2650
- if (!pick_complete) {
2651
- MutexLock lock(&chand_->lb_mu_);
2652
- // If picker has been swapped out since we grabbed it, try again.
2653
- if (chand_->picker_ != pickers.back()) {
2654
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2655
- gpr_log(GPR_INFO,
2656
- "chand=%p lb_call=%p: pick not complete, but picker changed",
2657
- chand_, this);
2658
- }
2659
- pickers.emplace_back(chand_->picker_);
2660
- continue;
2661
- }
2662
- // Otherwise queue the pick to try again later when we get a new picker.
2663
- AddCallToLbQueuedCallsLocked();
2664
- return absl::nullopt;
2665
- }
2666
- // Pick is complete.
2667
- // If it was queued, add a trace annotation.
2668
- if (was_queued && call_attempt_tracer() != nullptr) {
2669
- call_attempt_tracer()->RecordAnnotation("Delayed LB pick complete.");
2670
- }
2671
- // If the pick failed, fail the call.
2672
- if (!error.ok()) {
2673
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2674
- gpr_log(GPR_INFO,
2675
- "chand=%p lb_call=%p: failed to pick subchannel: error=%s",
2676
- chand_, this, StatusToString(error).c_str());
2677
- }
2678
- return error;
2679
- }
2680
- // Pick succeeded.
2681
- Commit();
2682
- return absl::OkStatus();
2683
- }
2684
- }
2685
-
2686
- bool ClientChannel::LoadBalancedCall::PickSubchannelImpl(
2687
- LoadBalancingPolicy::SubchannelPicker* picker, grpc_error_handle* error) {
2688
- GPR_ASSERT(connected_subchannel_ == nullptr);
2689
- // Perform LB pick.
2690
- LoadBalancingPolicy::PickArgs pick_args;
2691
- Slice* path = send_initial_metadata()->get_pointer(HttpPathMetadata());
2692
- GPR_ASSERT(path != nullptr);
2693
- pick_args.path = path->as_string_view();
2694
- LbCallState lb_call_state(this);
2695
- pick_args.call_state = &lb_call_state;
2696
- Metadata initial_metadata(send_initial_metadata());
2697
- pick_args.initial_metadata = &initial_metadata;
2698
- auto result = picker->Pick(pick_args);
2699
- return HandlePickResult<bool>(
2700
- &result,
2701
- // CompletePick
2702
- [this](LoadBalancingPolicy::PickResult::Complete* complete_pick) {
2703
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2704
- gpr_log(GPR_INFO,
2705
- "chand=%p lb_call=%p: LB pick succeeded: subchannel=%p",
2706
- chand_, this, complete_pick->subchannel.get());
2707
- }
2708
- GPR_ASSERT(complete_pick->subchannel != nullptr);
2709
- // Grab a ref to the connected subchannel while we're still
2710
- // holding the data plane mutex.
2711
- SubchannelWrapper* subchannel =
2712
- static_cast<SubchannelWrapper*>(complete_pick->subchannel.get());
2713
- connected_subchannel_ = subchannel->connected_subchannel();
2714
- // If the subchannel has no connected subchannel (e.g., if the
2715
- // subchannel has moved out of state READY but the LB policy hasn't
2716
- // yet seen that change and given us a new picker), then just
2717
- // queue the pick. We'll try again as soon as we get a new picker.
2718
- if (connected_subchannel_ == nullptr) {
2719
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2720
- gpr_log(GPR_INFO,
2721
- "chand=%p lb_call=%p: subchannel returned by LB picker "
2722
- "has no connected subchannel; queueing pick",
2723
- chand_, this);
2724
- }
2725
- return false;
2726
- }
2727
- lb_subchannel_call_tracker_ =
2728
- std::move(complete_pick->subchannel_call_tracker);
2729
- if (lb_subchannel_call_tracker_ != nullptr) {
2730
- lb_subchannel_call_tracker_->Start();
2731
- }
2732
- return true;
2733
- },
2734
- // QueuePick
2735
- [this](LoadBalancingPolicy::PickResult::Queue* /*queue_pick*/) {
2736
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2737
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick queued", chand_,
2738
- this);
2739
- }
2740
- return false;
2741
- },
2742
- // FailPick
2743
- [this, &error](LoadBalancingPolicy::PickResult::Fail* fail_pick) {
2744
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2745
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick failed: %s", chand_,
2746
- this, fail_pick->status.ToString().c_str());
2747
- }
2748
- // If wait_for_ready is false, then the error indicates the RPC
2749
- // attempt's final status.
2750
- if (!send_initial_metadata()
2751
- ->GetOrCreatePointer(WaitForReady())
2752
- ->value) {
2753
- *error = absl_status_to_grpc_error(MaybeRewriteIllegalStatusCode(
2754
- std::move(fail_pick->status), "LB pick"));
2755
- return true;
2756
- }
2757
- // If wait_for_ready is true, then queue to retry when we get a new
2758
- // picker.
2759
- return false;
2760
- },
2761
- // DropPick
2762
- [this, &error](LoadBalancingPolicy::PickResult::Drop* drop_pick) {
2763
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2764
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick dropped: %s", chand_,
2765
- this, drop_pick->status.ToString().c_str());
2766
- }
2767
- *error = grpc_error_set_int(
2768
- absl_status_to_grpc_error(MaybeRewriteIllegalStatusCode(
2769
- std::move(drop_pick->status), "LB drop")),
2770
- StatusIntProperty::kLbPolicyDrop, 1);
2771
- return true;
2772
- });
2773
- }
2774
-
2775
- //
2776
- // ClientChannel::FilterBasedLoadBalancedCall
2777
- //
2778
-
2779
- ClientChannel::FilterBasedLoadBalancedCall::FilterBasedLoadBalancedCall(
2780
- ClientChannel* chand, const grpc_call_element_args& args,
2781
- grpc_polling_entity* pollent, grpc_closure* on_call_destruction_complete,
2782
- absl::AnyInvocable<void()> on_commit, bool is_transparent_retry)
2783
- : LoadBalancedCall(chand, args.context, std::move(on_commit),
2784
- is_transparent_retry),
2785
- deadline_(args.deadline),
2786
- arena_(args.arena),
2787
- call_context_(args.context),
2788
- owning_call_(args.call_stack),
2789
- call_combiner_(args.call_combiner),
2790
- pollent_(pollent),
2791
- on_call_destruction_complete_(on_call_destruction_complete) {}
2792
-
2793
- ClientChannel::FilterBasedLoadBalancedCall::~FilterBasedLoadBalancedCall() {
2794
- // Make sure there are no remaining pending batches.
2795
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2796
- GPR_ASSERT(pending_batches_[i] == nullptr);
2797
- }
2798
- if (on_call_destruction_complete_ != nullptr) {
2799
- ExecCtx::Run(DEBUG_LOCATION, on_call_destruction_complete_,
2800
- absl::OkStatus());
2801
- }
2802
- }
2803
-
2804
- void ClientChannel::FilterBasedLoadBalancedCall::Orphan() {
2805
- // If the recv_trailing_metadata op was never started, then notify
2806
- // about call completion here, as best we can. We assume status
2807
- // CANCELLED in this case.
2808
- if (recv_trailing_metadata_ == nullptr) {
2809
- RecordCallCompletion(absl::CancelledError("call cancelled"), nullptr,
2810
- nullptr, "");
2811
- }
2812
- // Delegate to parent.
2813
- LoadBalancedCall::Orphan();
2814
- }
2815
-
2816
- size_t ClientChannel::FilterBasedLoadBalancedCall::GetBatchIndex(
2817
- grpc_transport_stream_op_batch* batch) {
2818
- // Note: It is important the send_initial_metadata be the first entry
2819
- // here, since the code in PickSubchannelImpl() assumes it will be.
2820
- if (batch->send_initial_metadata) return 0;
2821
- if (batch->send_message) return 1;
2822
- if (batch->send_trailing_metadata) return 2;
2823
- if (batch->recv_initial_metadata) return 3;
2824
- if (batch->recv_message) return 4;
2825
- if (batch->recv_trailing_metadata) return 5;
2826
- GPR_UNREACHABLE_CODE(return (size_t)-1);
2827
- }
2828
-
2829
- // This is called via the call combiner, so access to calld is synchronized.
2830
- void ClientChannel::FilterBasedLoadBalancedCall::PendingBatchesAdd(
2831
- grpc_transport_stream_op_batch* batch) {
2832
- const size_t idx = GetBatchIndex(batch);
2833
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2834
- gpr_log(GPR_INFO,
2835
- "chand=%p lb_call=%p: adding pending batch at index %" PRIuPTR,
2836
- chand(), this, idx);
2837
- }
2838
- GPR_ASSERT(pending_batches_[idx] == nullptr);
2839
- pending_batches_[idx] = batch;
2840
- }
2841
-
2842
- // This is called via the call combiner, so access to calld is synchronized.
2843
- void ClientChannel::FilterBasedLoadBalancedCall::FailPendingBatchInCallCombiner(
2844
- void* arg, grpc_error_handle error) {
2845
- grpc_transport_stream_op_batch* batch =
2846
- static_cast<grpc_transport_stream_op_batch*>(arg);
2847
- auto* self = static_cast<FilterBasedLoadBalancedCall*>(
2848
- batch->handler_private.extra_arg);
2849
- // Note: This will release the call combiner.
2850
- grpc_transport_stream_op_batch_finish_with_failure(batch, error,
2851
- self->call_combiner_);
2852
- }
2853
-
2854
- // This is called via the call combiner, so access to calld is synchronized.
2855
- void ClientChannel::FilterBasedLoadBalancedCall::PendingBatchesFail(
2856
- grpc_error_handle error,
2857
- YieldCallCombinerPredicate yield_call_combiner_predicate) {
2858
- GPR_ASSERT(!error.ok());
2859
- failure_error_ = error;
2860
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2861
- size_t num_batches = 0;
2862
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2863
- if (pending_batches_[i] != nullptr) ++num_batches;
2864
- }
2865
- gpr_log(GPR_INFO,
2866
- "chand=%p lb_call=%p: failing %" PRIuPTR " pending batches: %s",
2867
- chand(), this, num_batches, StatusToString(error).c_str());
2868
- }
2869
- CallCombinerClosureList closures;
2870
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2871
- grpc_transport_stream_op_batch*& batch = pending_batches_[i];
2872
- if (batch != nullptr) {
2873
- batch->handler_private.extra_arg = this;
2874
- GRPC_CLOSURE_INIT(&batch->handler_private.closure,
2875
- FailPendingBatchInCallCombiner, batch,
2876
- grpc_schedule_on_exec_ctx);
2877
- closures.Add(&batch->handler_private.closure, error,
2878
- "PendingBatchesFail");
2879
- batch = nullptr;
2880
- }
2881
- }
2882
- if (yield_call_combiner_predicate(closures)) {
2883
- closures.RunClosures(call_combiner_);
2884
- } else {
2885
- closures.RunClosuresWithoutYielding(call_combiner_);
2886
- }
2887
- }
2888
-
2889
- // This is called via the call combiner, so access to calld is synchronized.
2890
- void ClientChannel::FilterBasedLoadBalancedCall::
2891
- ResumePendingBatchInCallCombiner(void* arg, grpc_error_handle /*ignored*/) {
2892
- grpc_transport_stream_op_batch* batch =
2893
- static_cast<grpc_transport_stream_op_batch*>(arg);
2894
- SubchannelCall* subchannel_call =
2895
- static_cast<SubchannelCall*>(batch->handler_private.extra_arg);
2896
- // Note: This will release the call combiner.
2897
- subchannel_call->StartTransportStreamOpBatch(batch);
2898
- }
2899
-
2900
- // This is called via the call combiner, so access to calld is synchronized.
2901
- void ClientChannel::FilterBasedLoadBalancedCall::PendingBatchesResume() {
2902
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2903
- size_t num_batches = 0;
2904
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2905
- if (pending_batches_[i] != nullptr) ++num_batches;
2906
- }
2907
- gpr_log(GPR_INFO,
2908
- "chand=%p lb_call=%p: starting %" PRIuPTR
2909
- " pending batches on subchannel_call=%p",
2910
- chand(), this, num_batches, subchannel_call_.get());
2911
- }
2912
- CallCombinerClosureList closures;
2913
- for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) {
2914
- grpc_transport_stream_op_batch*& batch = pending_batches_[i];
2915
- if (batch != nullptr) {
2916
- batch->handler_private.extra_arg = subchannel_call_.get();
2917
- GRPC_CLOSURE_INIT(&batch->handler_private.closure,
2918
- ResumePendingBatchInCallCombiner, batch,
2919
- grpc_schedule_on_exec_ctx);
2920
- closures.Add(&batch->handler_private.closure, absl::OkStatus(),
2921
- "resuming pending batch from LB call");
2922
- batch = nullptr;
2923
- }
2924
- }
2925
- // Note: This will release the call combiner.
2926
- closures.RunClosures(call_combiner_);
2927
- }
2928
-
2929
- void ClientChannel::FilterBasedLoadBalancedCall::StartTransportStreamOpBatch(
2930
- grpc_transport_stream_op_batch* batch) {
2931
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace) ||
2932
- GRPC_TRACE_FLAG_ENABLED(grpc_trace_channel)) {
2933
- gpr_log(GPR_INFO,
2934
- "chand=%p lb_call=%p: batch started from above: %s, "
2935
- "call_attempt_tracer()=%p",
2936
- chand(), this,
2937
- grpc_transport_stream_op_batch_string(batch, false).c_str(),
2938
- call_attempt_tracer());
2939
- }
2940
- // Handle call tracing.
2941
- if (call_attempt_tracer() != nullptr) {
2942
- // Record send ops in tracer.
2943
- if (batch->cancel_stream) {
2944
- call_attempt_tracer()->RecordCancel(
2945
- batch->payload->cancel_stream.cancel_error);
2946
- }
2947
- if (batch->send_initial_metadata) {
2948
- call_attempt_tracer()->RecordSendInitialMetadata(
2949
- batch->payload->send_initial_metadata.send_initial_metadata);
2950
- }
2951
- if (batch->send_trailing_metadata) {
2952
- call_attempt_tracer()->RecordSendTrailingMetadata(
2953
- batch->payload->send_trailing_metadata.send_trailing_metadata);
2954
- }
2955
- // Intercept recv ops.
2956
- if (batch->recv_initial_metadata) {
2957
- recv_initial_metadata_ =
2958
- batch->payload->recv_initial_metadata.recv_initial_metadata;
2959
- original_recv_initial_metadata_ready_ =
2960
- batch->payload->recv_initial_metadata.recv_initial_metadata_ready;
2961
- GRPC_CLOSURE_INIT(&recv_initial_metadata_ready_, RecvInitialMetadataReady,
2962
- this, nullptr);
2963
- batch->payload->recv_initial_metadata.recv_initial_metadata_ready =
2964
- &recv_initial_metadata_ready_;
2965
- }
2966
- }
2967
- // Intercept recv_trailing_metadata even if there is no call tracer,
2968
- // since we may need to notify the LB policy about trailing metadata.
2969
- if (batch->recv_trailing_metadata) {
2970
- recv_trailing_metadata_ =
2971
- batch->payload->recv_trailing_metadata.recv_trailing_metadata;
2972
- transport_stream_stats_ =
2973
- batch->payload->recv_trailing_metadata.collect_stats;
2974
- original_recv_trailing_metadata_ready_ =
2975
- batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready;
2976
- GRPC_CLOSURE_INIT(&recv_trailing_metadata_ready_, RecvTrailingMetadataReady,
2977
- this, nullptr);
2978
- batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready =
2979
- &recv_trailing_metadata_ready_;
2980
- }
2981
- // If we've already gotten a subchannel call, pass the batch down to it.
2982
- // Note that once we have picked a subchannel, we do not need to acquire
2983
- // the channel's data plane mutex, which is more efficient (especially for
2984
- // streaming calls).
2985
- if (subchannel_call_ != nullptr) {
2986
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2987
- gpr_log(GPR_INFO,
2988
- "chand=%p lb_call=%p: starting batch on subchannel_call=%p",
2989
- chand(), this, subchannel_call_.get());
2990
- }
2991
- subchannel_call_->StartTransportStreamOpBatch(batch);
2992
- return;
2993
- }
2994
- // We do not yet have a subchannel call.
2995
- //
2996
- // If we've previously been cancelled, immediately fail any new batches.
2997
- if (GPR_UNLIKELY(!cancel_error_.ok())) {
2998
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
2999
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: failing batch with error: %s",
3000
- chand(), this, StatusToString(cancel_error_).c_str());
3001
- }
3002
- // Note: This will release the call combiner.
3003
- grpc_transport_stream_op_batch_finish_with_failure(batch, cancel_error_,
3004
- call_combiner_);
3005
- return;
3006
- }
3007
- // Handle cancellation.
3008
- if (GPR_UNLIKELY(batch->cancel_stream)) {
3009
- // Stash a copy of cancel_error in our call data, so that we can use
3010
- // it for subsequent operations. This ensures that if the call is
3011
- // cancelled before any batches are passed down (e.g., if the deadline
3012
- // is in the past when the call starts), we can return the right
3013
- // error to the caller when the first batch does get passed down.
3014
- cancel_error_ = batch->payload->cancel_stream.cancel_error;
3015
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
3016
- gpr_log(GPR_INFO, "chand=%p lb_call=%p: recording cancel_error=%s",
3017
- chand(), this, StatusToString(cancel_error_).c_str());
3018
- }
3019
- // Fail all pending batches.
3020
- PendingBatchesFail(cancel_error_, NoYieldCallCombiner);
3021
- // Note: This will release the call combiner.
3022
- grpc_transport_stream_op_batch_finish_with_failure(batch, cancel_error_,
3023
- call_combiner_);
3024
- return;
3025
- }
3026
- // Add the batch to the pending list.
3027
- PendingBatchesAdd(batch);
3028
- // For batches containing a send_initial_metadata op, acquire the
3029
- // channel's LB mutex to pick a subchannel.
3030
- if (GPR_LIKELY(batch->send_initial_metadata)) {
3031
- TryPick(/*was_queued=*/false);
3032
- } else {
3033
- // For all other batches, release the call combiner.
3034
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
3035
- gpr_log(GPR_INFO,
3036
- "chand=%p lb_call=%p: saved batch, yielding call combiner",
3037
- chand(), this);
3038
- }
3039
- GRPC_CALL_COMBINER_STOP(call_combiner_,
3040
- "batch does not include send_initial_metadata");
3041
- }
3042
- }
3043
-
3044
- void ClientChannel::FilterBasedLoadBalancedCall::RecvInitialMetadataReady(
3045
- void* arg, grpc_error_handle error) {
3046
- auto* self = static_cast<FilterBasedLoadBalancedCall*>(arg);
3047
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
3048
- gpr_log(GPR_INFO,
3049
- "chand=%p lb_call=%p: got recv_initial_metadata_ready: error=%s",
3050
- self->chand(), self, StatusToString(error).c_str());
3051
- }
3052
- if (error.ok()) {
3053
- // recv_initial_metadata_flags is not populated for clients
3054
- self->call_attempt_tracer()->RecordReceivedInitialMetadata(
3055
- self->recv_initial_metadata_);
3056
- auto* peer_string = self->recv_initial_metadata_->get_pointer(PeerString());
3057
- if (peer_string != nullptr) self->peer_string_ = peer_string->Ref();
3058
- }
3059
- Closure::Run(DEBUG_LOCATION, self->original_recv_initial_metadata_ready_,
3060
- error);
3061
- }
3062
-
3063
- void ClientChannel::FilterBasedLoadBalancedCall::RecvTrailingMetadataReady(
3064
- void* arg, grpc_error_handle error) {
3065
- auto* self = static_cast<FilterBasedLoadBalancedCall*>(arg);
3066
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
3067
- gpr_log(GPR_INFO,
3068
- "chand=%p lb_call=%p: got recv_trailing_metadata_ready: error=%s "
3069
- "call_attempt_tracer()=%p lb_subchannel_call_tracker_=%p "
3070
- "failure_error_=%s",
3071
- self->chand(), self, StatusToString(error).c_str(),
3072
- self->call_attempt_tracer(), self->lb_subchannel_call_tracker(),
3073
- StatusToString(self->failure_error_).c_str());
3074
- }
3075
- // Check if we have a tracer or an LB callback to invoke.
3076
- if (self->call_attempt_tracer() != nullptr ||
3077
- self->lb_subchannel_call_tracker() != nullptr) {
3078
- // Get the call's status.
3079
- absl::Status status;
3080
- if (!error.ok()) {
3081
- // Get status from error.
3082
- grpc_status_code code;
3083
- std::string message;
3084
- grpc_error_get_status(error, self->deadline_, &code, &message,
3085
- /*http_error=*/nullptr, /*error_string=*/nullptr);
3086
- status = absl::Status(static_cast<absl::StatusCode>(code), message);
3087
- } else {
3088
- // Get status from headers.
3089
- const auto& md = *self->recv_trailing_metadata_;
3090
- grpc_status_code code =
3091
- md.get(GrpcStatusMetadata()).value_or(GRPC_STATUS_UNKNOWN);
3092
- if (code != GRPC_STATUS_OK) {
3093
- absl::string_view message;
3094
- if (const auto* grpc_message = md.get_pointer(GrpcMessageMetadata())) {
3095
- message = grpc_message->as_string_view();
3096
- }
3097
- status = absl::Status(static_cast<absl::StatusCode>(code), message);
3098
- }
3099
- }
3100
- absl::string_view peer_string;
3101
- if (self->peer_string_.has_value()) {
3102
- peer_string = self->peer_string_->as_string_view();
3103
- }
3104
- self->RecordCallCompletion(status, self->recv_trailing_metadata_,
3105
- self->transport_stream_stats_, peer_string);
3106
- }
3107
- // Chain to original callback.
3108
- if (!self->failure_error_.ok()) {
3109
- error = self->failure_error_;
3110
- self->failure_error_ = absl::OkStatus();
3111
- }
3112
- Closure::Run(DEBUG_LOCATION, self->original_recv_trailing_metadata_ready_,
3113
- error);
3114
- }
3115
-
3116
- // A class to handle the call combiner cancellation callback for a
3117
- // queued pick.
3118
- // TODO(roth): When we implement hedging support, we won't be able to
3119
- // register a call combiner cancellation closure for each LB pick,
3120
- // because there may be multiple LB picks happening in parallel.
3121
- // Instead, we will probably need to maintain a list in the CallData
3122
- // object of pending LB picks to be cancelled when the closure runs.
3123
- class ClientChannel::FilterBasedLoadBalancedCall::LbQueuedCallCanceller {
3124
- public:
3125
- explicit LbQueuedCallCanceller(
3126
- RefCountedPtr<FilterBasedLoadBalancedCall> lb_call)
3127
- : lb_call_(std::move(lb_call)) {
3128
- GRPC_CALL_STACK_REF(lb_call_->owning_call_, "LbQueuedCallCanceller");
3129
- GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this, nullptr);
3130
- lb_call_->call_combiner_->SetNotifyOnCancel(&closure_);
3131
- }
3132
-
3133
- private:
3134
- static void CancelLocked(void* arg, grpc_error_handle error) {
3135
- auto* self = static_cast<LbQueuedCallCanceller*>(arg);
3136
- auto* lb_call = self->lb_call_.get();
3137
- auto* chand = lb_call->chand();
3138
- {
3139
- MutexLock lock(&chand->lb_mu_);
3140
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
3141
- gpr_log(GPR_INFO,
3142
- "chand=%p lb_call=%p: cancelling queued pick: "
3143
- "error=%s self=%p calld->pick_canceller=%p",
3144
- chand, lb_call, StatusToString(error).c_str(), self,
3145
- lb_call->lb_call_canceller_);
3146
- }
3147
- if (lb_call->lb_call_canceller_ == self && !error.ok()) {
3148
- lb_call->Commit();
3149
- // Remove pick from list of queued picks.
3150
- lb_call->RemoveCallFromLbQueuedCallsLocked();
3151
- // Remove from queued picks list.
3152
- chand->lb_queued_calls_.erase(lb_call);
3153
- // Fail pending batches on the call.
3154
- lb_call->PendingBatchesFail(error,
3155
- YieldCallCombinerIfPendingBatchesFound);
3156
- }
3157
- }
3158
- // Unref lb_call before unreffing the call stack, since unreffing
3159
- // the call stack may destroy the arena in which lb_call is allocated.
3160
- auto* owning_call = lb_call->owning_call_;
3161
- self->lb_call_.reset();
3162
- GRPC_CALL_STACK_UNREF(owning_call, "LbQueuedCallCanceller");
3163
- delete self;
3164
- }
3165
-
3166
- RefCountedPtr<FilterBasedLoadBalancedCall> lb_call_;
3167
- grpc_closure closure_;
3168
- };
3169
-
3170
- void ClientChannel::FilterBasedLoadBalancedCall::TryPick(bool was_queued) {
3171
- auto result = PickSubchannel(was_queued);
3172
- if (result.has_value()) {
3173
- if (!result->ok()) {
3174
- PendingBatchesFail(*result, YieldCallCombiner);
3175
- return;
3176
- }
3177
- CreateSubchannelCall();
3178
- }
3179
- }
3180
-
3181
- void ClientChannel::FilterBasedLoadBalancedCall::OnAddToQueueLocked() {
3182
- // Register call combiner cancellation callback.
3183
- lb_call_canceller_ = new LbQueuedCallCanceller(Ref());
3184
- }
3185
-
3186
- void ClientChannel::FilterBasedLoadBalancedCall::RetryPickLocked() {
3187
- // Lame the call combiner canceller.
3188
- lb_call_canceller_ = nullptr;
3189
- // Do an async callback to resume call processing, so that we're not
3190
- // doing it while holding the channel's LB mutex.
3191
- // TODO(roth): We should really be using EventEngine::Run() here
3192
- // instead of ExecCtx::Run(). Unfortunately, doing that seems to cause
3193
- // a flaky TSAN failure for reasons that I do not fully understand.
3194
- // However, given that we are working toward eliminating this code as
3195
- // part of the promise conversion, it doesn't seem worth further
3196
- // investigation right now.
3197
- ExecCtx::Run(DEBUG_LOCATION, NewClosure([this](grpc_error_handle) {
3198
- // If there are a lot of queued calls here, resuming them
3199
- // all may cause us to stay inside C-core for a long period
3200
- // of time. All of that work would be done using the same
3201
- // ExecCtx instance and therefore the same cached value of
3202
- // "now". The longer it takes to finish all of this work
3203
- // and exit from C-core, the more stale the cached value of
3204
- // "now" may become. This can cause problems whereby (e.g.)
3205
- // we calculate a timer deadline based on the stale value,
3206
- // which results in the timer firing too early. To avoid
3207
- // this, we invalidate the cached value for each call we
3208
- // process.
3209
- ExecCtx::Get()->InvalidateNow();
3210
- TryPick(/*was_queued=*/true);
3211
- }),
3212
- absl::OkStatus());
3213
- }
3214
-
3215
- void ClientChannel::FilterBasedLoadBalancedCall::CreateSubchannelCall() {
3216
- Slice* path = send_initial_metadata()->get_pointer(HttpPathMetadata());
3217
- GPR_ASSERT(path != nullptr);
3218
- SubchannelCall::Args call_args = {
3219
- connected_subchannel()->Ref(), pollent_, path->Ref(), /*start_time=*/0,
3220
- deadline_, arena_,
3221
- // TODO(roth): When we implement hedging support, we will probably
3222
- // need to use a separate call context for each subchannel call.
3223
- call_context_, call_combiner_};
3224
- grpc_error_handle error;
3225
- subchannel_call_ = SubchannelCall::Create(std::move(call_args), &error);
3226
- if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
3227
- gpr_log(GPR_INFO,
3228
- "chand=%p lb_call=%p: create subchannel_call=%p: error=%s", chand(),
3229
- this, subchannel_call_.get(), StatusToString(error).c_str());
3230
- }
3231
- if (on_call_destruction_complete_ != nullptr) {
3232
- subchannel_call_->SetAfterCallStackDestroy(on_call_destruction_complete_);
3233
- on_call_destruction_complete_ = nullptr;
3234
- }
3235
- if (GPR_UNLIKELY(!error.ok())) {
3236
- PendingBatchesFail(error, YieldCallCombiner);
3237
- } else {
3238
- PendingBatchesResume();
3239
- }
3240
- }
3241
-
3242
- } // namespace grpc_core