grpc 1.59.0 → 1.60.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1955) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +767 -716
  3. data/include/grpc/grpc_crl_provider.h +94 -0
  4. data/include/grpc/grpc_security.h +16 -0
  5. data/include/grpc/impl/channel_arg_names.h +14 -0
  6. data/include/grpc/module.modulemap +1 -0
  7. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -10
  8. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +20 -28
  9. data/src/core/ext/filters/client_channel/client_channel.cc +22 -22
  10. data/src/core/ext/filters/client_channel/client_channel.h +4 -7
  11. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +10 -11
  12. data/src/core/ext/filters/client_channel/connector.h +2 -3
  13. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -1
  14. data/src/core/ext/filters/client_channel/http_proxy_mapper.cc +90 -23
  15. data/src/core/ext/filters/client_channel/http_proxy_mapper.h +5 -4
  16. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +7 -6
  17. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +5 -5
  18. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +5 -4
  19. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +15 -13
  20. data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +14 -11
  21. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -2
  22. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +53 -45
  23. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +18 -18
  24. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +4 -4
  25. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +197 -104
  26. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +385 -29
  27. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +1 -1
  28. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +2 -1
  29. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +95 -70
  30. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +3 -5
  31. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +6 -8
  32. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +11 -13
  33. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +1 -2
  34. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +55 -51
  35. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +5 -4
  36. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -1
  37. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +1 -1
  38. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +13 -10
  39. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +3 -3
  40. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +5 -5
  41. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +252 -162
  42. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +1 -1
  43. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +5 -6
  44. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +8 -9
  45. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +23 -22
  46. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +7 -6
  47. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +1 -1
  48. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +3 -3
  49. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +2 -3
  50. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +66 -197
  51. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +28 -43
  52. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +1 -1
  53. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +6 -6
  54. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +8 -17
  55. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -1
  56. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -1
  57. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +7 -13
  58. data/src/core/ext/filters/client_channel/subchannel.cc +5 -4
  59. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -1
  60. data/src/core/ext/filters/deadline/deadline_filter.cc +8 -23
  61. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  62. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +1 -0
  63. data/src/core/ext/filters/http/client/http_client_filter.cc +6 -7
  64. data/src/core/ext/filters/http/client_authority_filter.cc +13 -15
  65. data/src/core/ext/filters/http/http_filters_plugin.cc +36 -38
  66. data/src/core/ext/filters/http/message_compress/compression_filter.cc +0 -4
  67. data/src/core/ext/filters/http/server/http_server_filter.cc +21 -19
  68. data/src/core/ext/filters/message_size/message_size_filter.cc +28 -38
  69. data/src/core/ext/filters/rbac/rbac_filter.cc +8 -8
  70. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
  71. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +26 -28
  72. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +21 -4
  73. data/src/core/ext/gcp/metadata_query.cc +0 -1
  74. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +2 -5
  75. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +9 -17
  76. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +664 -476
  77. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  78. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  79. data/src/core/ext/transport/chttp2/transport/flow_control.cc +24 -1
  80. data/src/core/ext/transport/chttp2/transport/flow_control.h +57 -0
  81. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  82. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  83. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +11 -3
  84. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +9 -2
  85. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +0 -2
  86. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  87. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +15 -21
  88. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +7 -3
  89. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  90. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
  91. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
  92. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +4 -4
  93. data/src/core/ext/transport/chttp2/transport/internal.h +154 -67
  94. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
  95. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
  96. data/src/core/ext/transport/chttp2/transport/parsing.cc +114 -15
  97. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
  98. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
  99. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +27 -5
  100. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +16 -1
  101. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
  102. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
  103. data/src/core/ext/transport/chttp2/transport/writing.cc +169 -81
  104. data/src/core/ext/transport/inproc/inproc_transport.cc +24 -1259
  105. data/src/core/ext/transport/inproc/inproc_transport.h +0 -4
  106. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  107. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  108. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  109. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  110. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  111. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  112. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  113. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  114. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  115. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  116. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  117. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  118. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  119. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  120. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  121. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  122. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  123. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  124. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  125. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  126. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  127. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  128. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  129. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  130. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  131. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  132. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  133. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  134. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  135. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  136. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  137. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  138. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  139. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  140. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  141. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  142. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  143. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  144. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  145. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  146. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  147. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  148. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  149. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  150. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3420 -0
  151. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +612 -0
  152. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +49 -0
  153. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  154. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  155. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  156. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3890 -0
  157. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +729 -0
  158. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  159. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +117 -0
  160. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +54 -0
  161. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  162. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +659 -0
  163. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +123 -0
  164. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  165. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1830 -0
  166. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +395 -0
  167. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  168. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1041 -0
  169. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +224 -0
  170. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  171. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  172. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  173. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  174. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2420 -0
  175. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +577 -0
  176. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  177. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  178. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  179. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  180. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  181. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  182. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  183. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  184. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  185. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  186. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  187. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  188. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  189. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  190. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  191. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  192. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  193. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  194. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  195. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  196. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  197. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  198. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2245 -0
  199. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +481 -0
  200. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  201. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  202. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  203. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  204. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  205. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  206. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  207. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  208. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  209. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  210. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +255 -0
  211. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +66 -0
  212. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +30 -0
  213. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  214. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  215. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  216. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +489 -0
  217. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +138 -0
  218. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  219. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  220. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  221. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  222. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  223. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  224. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  225. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  226. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  227. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  228. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  229. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  230. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  231. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  232. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  233. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  234. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  235. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  236. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  237. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  238. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  239. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  240. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  241. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  242. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  243. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  244. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  245. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  246. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  247. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  248. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  249. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  250. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  251. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  252. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +857 -0
  253. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +133 -0
  254. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  255. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9666 -0
  256. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1667 -0
  257. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  258. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  259. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  260. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  261. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1515 -0
  262. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +325 -0
  263. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  264. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  265. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  266. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  267. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +118 -0
  268. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +55 -0
  269. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  270. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  271. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  272. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  273. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  274. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  275. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  276. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  277. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  278. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  279. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +115 -0
  280. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +52 -0
  281. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  282. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  283. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  284. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  285. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  286. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  287. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  288. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  289. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  290. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  291. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  292. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  293. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  294. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  295. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  296. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  297. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2691 -0
  298. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +555 -0
  299. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  300. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  301. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  302. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  303. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  304. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  305. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  306. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  307. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  308. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  309. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  310. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  311. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  312. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +462 -0
  313. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +101 -0
  314. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  315. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +194 -0
  316. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +72 -0
  317. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  318. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3943 -0
  319. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +679 -0
  320. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  321. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  322. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  323. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  324. 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
  325. 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
  326. 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
  327. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  328. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  329. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  330. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  331. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  332. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  333. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  334. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  335. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  336. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  337. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  338. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  339. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  340. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  341. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  342. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1469 -0
  343. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +262 -0
  344. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  345. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  346. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  347. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  348. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1467 -0
  349. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +267 -0
  350. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  351. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  352. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  353. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  354. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  355. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  356. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  357. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  358. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  359. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  360. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  361. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  362. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  363. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +925 -0
  364. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +183 -0
  365. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  366. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  367. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  368. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  369. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  370. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  371. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  372. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  373. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  374. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  375. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  376. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  377. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  378. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  379. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  380. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  381. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  382. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  383. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  384. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  385. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  386. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  387. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  388. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  389. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  390. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  391. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  392. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  393. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  394. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  395. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  396. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  397. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  398. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  399. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  400. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  401. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  402. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +347 -0
  403. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +92 -0
  404. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +32 -0
  405. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  406. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  407. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  408. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  409. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  410. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  411. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  412. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  413. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  414. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  415. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  416. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  417. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  418. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  419. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  420. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  421. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  422. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  423. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  424. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  425. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  426. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  427. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  428. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  429. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  430. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  431. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  432. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  433. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  434. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  435. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  436. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  437. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  438. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  439. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  440. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  441. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  442. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  443. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  444. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  445. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  446. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  447. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  448. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  449. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  450. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  451. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  452. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  453. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  454. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  455. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  456. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  457. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  458. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  459. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  460. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  461. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  462. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  463. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  464. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  465. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  466. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  467. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  468. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  469. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  470. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  471. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  472. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  473. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  474. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  475. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  476. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  477. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  478. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  479. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  480. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  481. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  482. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  483. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  484. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  485. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  486. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  487. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  488. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  489. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  490. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  491. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  492. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  493. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  494. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  495. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  496. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  497. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  498. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  499. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  500. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  501. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  502. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  503. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  504. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  505. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  506. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  507. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  508. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  509. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  510. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  511. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  512. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  513. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  514. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  515. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  516. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  517. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  518. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  519. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  520. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  521. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  522. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  523. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  524. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  525. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  526. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  527. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  528. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  529. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  530. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  531. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  532. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  533. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  534. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  535. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  536. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  537. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  538. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  539. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  540. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  541. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  542. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  543. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  544. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  545. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  546. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  547. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  548. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  549. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  550. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  551. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  552. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  553. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  554. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  555. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  556. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  557. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  558. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  559. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  560. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  561. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  562. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  563. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  564. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +101 -0
  565. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +50 -0
  566. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  567. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  568. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  569. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  570. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  571. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  572. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  573. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  574. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  575. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  576. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  577. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  578. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  579. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  580. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  581. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  582. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  583. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  584. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  585. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  586. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  587. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  588. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  589. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  590. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  591. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  592. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  593. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  594. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  595. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  596. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  597. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  598. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  599. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  600. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  601. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  602. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  603. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  604. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  605. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  606. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  607. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  608. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  609. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  610. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  611. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  612. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  613. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  614. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  615. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  616. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  617. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  618. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  619. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  620. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  621. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  622. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  623. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  624. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  625. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +422 -0
  626. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +130 -0
  627. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  628. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  629. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +566 -0
  630. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  631. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +50 -0
  632. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  633. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +137 -0
  634. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  635. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +205 -0
  636. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  637. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +131 -0
  638. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  639. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  640. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  641. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +270 -0
  642. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  643. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  644. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  645. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  646. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  647. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  648. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  649. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  650. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  651. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  652. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  653. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  654. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  655. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +52 -0
  656. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  657. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +310 -0
  658. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  659. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  660. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  661. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  662. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  663. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  664. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  665. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +69 -0
  666. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +35 -0
  667. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  668. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  669. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +98 -0
  670. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  671. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  672. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  673. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  674. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  675. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  676. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  677. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  678. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  679. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  680. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  681. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  682. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  683. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  684. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  685. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  686. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  687. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  688. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  689. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  690. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  691. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  692. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  693. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +122 -0
  694. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  695. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +979 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +198 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +56 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +98 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +44 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  723. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +401 -0
  724. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  725. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  726. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  727. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  728. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  729. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  730. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  731. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  732. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  733. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +104 -0
  734. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  735. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +59 -0
  736. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  737. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +601 -0
  738. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  739. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  740. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  741. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  742. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  743. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +214 -0
  744. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  745. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  746. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  747. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +257 -0
  748. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  749. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  750. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  751. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  752. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  753. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  754. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  755. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  756. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  757. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +154 -0
  758. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  759. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  760. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  761. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  762. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  763. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  764. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  765. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  766. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  767. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  768. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  769. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  770. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  771. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  772. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  773. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  774. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  775. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  776. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  777. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  778. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  779. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  780. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  781. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  782. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  783. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +74 -0
  784. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +45 -0
  785. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  786. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  787. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  788. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  789. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  790. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  791. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  792. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  793. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  794. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  795. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  796. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  797. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  798. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  799. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  800. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  801. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  802. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  803. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  804. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  805. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  806. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  807. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  808. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  809. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  810. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  811. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  812. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  813. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  814. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  815. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  816. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  817. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  818. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  819. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  820. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  821. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  822. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  823. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  824. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  825. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  826. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  827. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  828. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  829. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  830. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  831. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  832. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  833. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  834. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  835. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  836. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  837. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  838. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  839. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  840. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  841. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  842. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  843. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  844. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  845. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  846. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  847. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  848. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  849. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  850. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  851. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  852. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  853. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  854. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  855. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  856. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  857. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  858. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  859. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  860. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  861. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  862. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  863. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  864. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  865. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  866. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  867. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  868. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  869. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  870. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  871. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  872. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  873. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  874. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  875. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +42 -0
  876. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  877. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  878. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  879. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  880. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  881. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  882. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  883. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  884. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  885. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  886. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  887. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  888. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  889. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  890. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  891. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  892. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  893. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  894. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  895. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  896. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  897. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  898. data/src/core/ext/xds/xds_api.cc +0 -1
  899. data/src/core/ext/xds/xds_bootstrap_grpc.cc +0 -1
  900. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  901. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  902. data/src/core/ext/xds/xds_client.cc +1 -0
  903. data/src/core/ext/xds/xds_client_grpc.h +1 -1
  904. data/src/core/ext/xds/xds_client_stats.h +1 -2
  905. data/src/core/ext/xds/xds_cluster.h +2 -0
  906. data/src/core/ext/xds/xds_common_types.cc +0 -1
  907. data/src/core/ext/xds/xds_endpoint.cc +86 -45
  908. data/src/core/ext/xds/xds_endpoint.h +2 -2
  909. data/src/core/ext/xds/xds_health_status.cc +2 -0
  910. data/src/core/ext/xds/xds_health_status.h +1 -1
  911. data/src/core/ext/xds/xds_http_filters.cc +0 -1
  912. data/src/core/ext/xds/xds_listener.cc +1 -3
  913. data/src/core/ext/xds/xds_route_config.cc +0 -1
  914. data/src/core/ext/xds/xds_transport_grpc.cc +1 -0
  915. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
  916. data/src/core/lib/avl/avl.h +1 -0
  917. data/src/core/lib/channel/call_tracer.cc +8 -1
  918. data/src/core/lib/channel/call_tracer.h +7 -0
  919. data/src/core/lib/channel/channel_args.cc +0 -1
  920. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  921. data/src/core/lib/channel/channel_stack.cc +9 -1
  922. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  923. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  924. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  925. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  926. data/src/core/lib/channel/channel_trace.cc +1 -1
  927. data/src/core/lib/channel/connected_channel.cc +89 -76
  928. data/src/core/lib/channel/context.h +3 -0
  929. data/src/core/lib/channel/promise_based_filter.cc +15 -6
  930. data/src/core/lib/channel/promise_based_filter.h +2 -2
  931. data/src/core/lib/channel/server_call_tracer_filter.cc +2 -9
  932. data/src/core/lib/channel/status_util.cc +0 -1
  933. data/src/core/lib/channel/tcp_tracer.h +140 -0
  934. data/src/core/lib/compression/compression_internal.cc +2 -0
  935. data/src/core/lib/config/config_vars.cc +0 -1
  936. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  937. data/src/core/lib/config/core_configuration.cc +0 -1
  938. data/src/core/lib/event_engine/ares_resolver.cc +23 -18
  939. data/src/core/lib/event_engine/ares_resolver.h +4 -2
  940. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +1 -0
  941. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  942. data/src/core/lib/event_engine/event_engine.cc +0 -2
  943. data/src/core/lib/event_engine/forkable.cc +40 -59
  944. data/src/core/lib/event_engine/forkable.h +33 -27
  945. data/src/core/lib/event_engine/grpc_polled_fd.h +23 -4
  946. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
  947. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  948. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -16
  949. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -11
  950. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  951. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  952. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  953. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +12 -4
  954. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  955. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +1 -2
  956. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +0 -1
  957. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +35 -12
  958. data/src/core/lib/event_engine/posix_engine/posix_engine.h +19 -15
  959. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +0 -2
  960. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  961. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  962. data/src/core/lib/event_engine/shim.cc +4 -2
  963. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  964. data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
  965. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +20 -6
  966. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +7 -3
  967. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +823 -0
  968. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  969. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  970. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  971. data/src/core/lib/event_engine/windows/windows_endpoint.cc +32 -33
  972. data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
  973. data/src/core/lib/event_engine/windows/windows_engine.cc +82 -37
  974. data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
  975. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  976. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  977. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  978. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  979. data/src/core/lib/experiments/experiments.cc +711 -318
  980. data/src/core/lib/experiments/experiments.h +371 -147
  981. data/src/core/lib/gpr/alloc.cc +1 -0
  982. data/src/core/lib/gprpp/directory_reader.h +48 -0
  983. data/src/core/lib/gprpp/host_port.cc +0 -2
  984. data/src/core/lib/gprpp/match.h +1 -1
  985. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  986. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  987. data/src/core/lib/gprpp/ref_counted_string.h +2 -0
  988. data/src/core/lib/gprpp/status_helper.cc +0 -1
  989. data/src/core/lib/gprpp/strerror.cc +0 -2
  990. data/src/core/lib/gprpp/time.cc +0 -1
  991. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  992. data/src/core/lib/gprpp/windows/directory_reader.cc +80 -0
  993. data/src/core/lib/gprpp/work_serializer.cc +3 -0
  994. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  995. data/src/core/lib/http/format_request.cc +0 -1
  996. data/src/core/lib/http/httpcli.cc +0 -2
  997. data/src/core/lib/iomgr/combiner.cc +3 -0
  998. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -0
  999. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1000. data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
  1001. data/src/core/lib/iomgr/tcp_posix.cc +7 -1
  1002. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1003. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1004. data/src/core/lib/json/json_object_loader.h +0 -1
  1005. data/src/core/lib/json/json_reader.cc +0 -1
  1006. data/src/core/lib/load_balancing/delegating_helper.h +4 -3
  1007. data/src/core/lib/load_balancing/lb_policy.h +8 -5
  1008. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -1
  1009. data/src/core/lib/matchers/matchers.cc +0 -1
  1010. data/src/core/lib/promise/activity.cc +0 -1
  1011. data/src/core/lib/promise/cancel_callback.h +0 -2
  1012. data/src/core/lib/promise/context.h +0 -1
  1013. data/src/core/lib/promise/detail/promise_factory.h +0 -1
  1014. data/src/core/lib/promise/detail/seq_state.h +0 -1
  1015. data/src/core/lib/promise/for_each.h +0 -2
  1016. data/src/core/lib/promise/if.h +0 -1
  1017. data/src/core/lib/promise/interceptor_list.h +0 -1
  1018. data/src/core/lib/promise/latch.h +0 -2
  1019. data/src/core/lib/promise/loop.h +1 -1
  1020. data/src/core/lib/promise/map.h +0 -1
  1021. data/src/core/lib/promise/party.cc +0 -2
  1022. data/src/core/lib/promise/party.h +0 -1
  1023. data/src/core/lib/promise/pipe.h +4 -3
  1024. data/src/core/lib/promise/prioritized_race.h +0 -1
  1025. data/src/core/lib/promise/promise.h +0 -1
  1026. data/src/core/lib/promise/race.h +0 -1
  1027. data/src/core/lib/promise/seq.h +0 -1
  1028. data/src/core/lib/resolver/endpoint_addresses.cc +148 -0
  1029. data/src/core/lib/resolver/endpoint_addresses.h +116 -0
  1030. data/src/core/lib/resolver/resolver.h +4 -3
  1031. data/src/core/lib/resolver/resolver_registry.cc +0 -2
  1032. data/src/core/lib/resolver/server_address.h +5 -56
  1033. data/src/core/lib/resource_quota/memory_quota.cc +13 -10
  1034. data/src/core/lib/resource_quota/memory_quota.h +2 -11
  1035. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1036. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +1 -1
  1037. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1038. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1039. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1040. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1041. data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
  1042. data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
  1043. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +0 -1
  1044. data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -2
  1045. data/src/core/lib/security/credentials/external/external_account_credentials.cc +0 -2
  1046. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +1 -3
  1047. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +0 -1
  1048. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1049. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1050. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1051. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +1 -2
  1052. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1053. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1054. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +0 -1
  1055. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +0 -1
  1056. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1057. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +21 -0
  1058. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
  1059. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +238 -0
  1060. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +133 -0
  1061. data/src/core/lib/security/credentials/tls/tls_credentials.cc +9 -1
  1062. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1063. data/src/core/lib/security/credentials/xds/xds_credentials.cc +0 -1
  1064. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +0 -1
  1065. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +0 -2
  1066. data/src/core/lib/security/security_connector/ssl_utils.cc +8 -2
  1067. data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
  1068. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +3 -3
  1069. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1070. data/src/core/lib/security/transport/client_auth_filter.cc +0 -1
  1071. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1072. data/src/core/lib/security/transport/security_handshaker.cc +1 -3
  1073. data/src/core/lib/security/transport/server_auth_filter.cc +0 -4
  1074. data/src/core/lib/slice/slice.h +6 -1
  1075. data/src/core/lib/surface/builtins.cc +6 -25
  1076. data/src/core/lib/surface/call.cc +41 -7
  1077. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1078. data/src/core/lib/surface/call_trace.cc +0 -1
  1079. data/src/core/lib/surface/channel.cc +4 -5
  1080. data/src/core/lib/surface/channel.h +2 -2
  1081. data/src/core/lib/surface/channel_init.cc +367 -14
  1082. data/src/core/lib/surface/channel_init.h +149 -27
  1083. data/src/core/lib/surface/completion_queue.cc +0 -7
  1084. data/src/core/lib/surface/event_string.cc +0 -1
  1085. data/src/core/lib/surface/init.cc +14 -47
  1086. data/src/core/lib/surface/lame_client.cc +8 -1
  1087. data/src/core/lib/surface/server.cc +235 -78
  1088. data/src/core/lib/surface/server.h +61 -7
  1089. data/src/core/lib/surface/version.cc +2 -2
  1090. data/src/core/lib/transport/batch_builder.cc +4 -4
  1091. data/src/core/lib/transport/batch_builder.h +1 -3
  1092. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1093. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1094. data/src/core/lib/transport/connectivity_state.cc +0 -2
  1095. data/src/core/lib/transport/error_utils.cc +0 -2
  1096. data/src/core/lib/transport/handshaker.cc +0 -2
  1097. data/src/core/lib/transport/metadata_batch.cc +0 -1
  1098. data/src/core/lib/transport/metadata_batch.h +17 -2
  1099. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1100. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1101. data/src/core/lib/transport/transport.cc +10 -48
  1102. data/src/core/lib/transport/transport.h +95 -62
  1103. data/src/core/lib/transport/transport_fwd.h +3 -1
  1104. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1105. data/src/core/lib/uri/uri_parser.cc +0 -1
  1106. data/src/core/plugin_registry/grpc_plugin_registry.cc +2 -0
  1107. data/src/core/tsi/alts/crypt/aes_gcm.cc +137 -109
  1108. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1109. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1110. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +4 -6
  1111. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
  1112. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1113. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1114. data/src/core/tsi/ssl_transport_security.cc +118 -18
  1115. data/src/core/tsi/ssl_transport_security.h +19 -1
  1116. data/src/ruby/bin/math_pb.rb +1 -1
  1117. data/src/ruby/ext/grpc/extconf.rb +77 -15
  1118. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -0
  1119. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -0
  1120. data/src/ruby/lib/grpc/version.rb +1 -1
  1121. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
  1122. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  1123. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +7 -2
  1124. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
  1125. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1126. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1127. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1128. data/third_party/upb/upb/base/status.c +6 -26
  1129. data/third_party/upb/upb/base/status.h +6 -26
  1130. data/third_party/upb/upb/base/status.hpp +50 -0
  1131. data/third_party/upb/upb/base/string_view.h +11 -28
  1132. data/third_party/upb/upb/collections/array.h +11 -85
  1133. data/third_party/upb/upb/collections/map.h +11 -134
  1134. data/third_party/upb/upb/generated_code_support.h +13 -34
  1135. data/third_party/upb/upb/hash/common.c +7 -44
  1136. data/third_party/upb/upb/hash/common.h +16 -42
  1137. data/third_party/upb/upb/hash/int_table.h +6 -26
  1138. data/third_party/upb/upb/hash/str_table.h +6 -26
  1139. data/third_party/upb/upb/json/decode.c +31 -28
  1140. data/third_party/upb/upb/json/decode.h +32 -29
  1141. data/third_party/upb/upb/json/encode.c +31 -28
  1142. data/third_party/upb/upb/json/encode.h +35 -32
  1143. data/third_party/upb/upb/lex/atoi.c +6 -26
  1144. data/third_party/upb/upb/lex/atoi.h +8 -26
  1145. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1146. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1147. data/third_party/upb/upb/lex/strtod.c +6 -26
  1148. data/third_party/upb/upb/lex/strtod.h +6 -26
  1149. data/third_party/upb/upb/lex/unicode.c +6 -26
  1150. data/third_party/upb/upb/lex/unicode.h +8 -26
  1151. data/third_party/upb/upb/mem/alloc.c +6 -26
  1152. data/third_party/upb/upb/mem/alloc.h +6 -26
  1153. data/third_party/upb/upb/mem/arena.c +30 -29
  1154. data/third_party/upb/upb/mem/arena.h +16 -44
  1155. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1156. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1157. data/third_party/upb/upb/message/accessors.c +10 -31
  1158. data/third_party/upb/upb/message/accessors.h +12 -32
  1159. data/third_party/upb/upb/message/array.c +154 -0
  1160. data/third_party/upb/upb/message/array.h +98 -0
  1161. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1162. data/third_party/upb/upb/message/internal/array.h +138 -0
  1163. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1164. data/third_party/upb/upb/message/internal/map.h +173 -0
  1165. data/third_party/upb/upb/message/internal/map_entry.h +35 -33
  1166. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1167. data/third_party/upb/upb/message/internal/message.h +106 -0
  1168. data/third_party/upb/upb/message/internal/types.h +23 -0
  1169. data/third_party/upb/upb/message/map.c +145 -0
  1170. data/third_party/upb/upb/message/map.h +147 -0
  1171. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1172. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1173. data/third_party/upb/upb/message/message.c +8 -28
  1174. data/third_party/upb/upb/message/message.h +9 -26
  1175. data/third_party/upb/upb/message/tagged_ptr.h +8 -28
  1176. data/third_party/upb/upb/message/types.h +15 -0
  1177. data/third_party/upb/upb/message/value.h +46 -0
  1178. data/third_party/upb/upb/mini_descriptor/build_enum.c +6 -26
  1179. data/third_party/upb/upb/mini_descriptor/build_enum.h +7 -28
  1180. data/third_party/upb/upb/mini_descriptor/decode.c +21 -26
  1181. data/third_party/upb/upb/mini_descriptor/decode.h +6 -26
  1182. data/third_party/upb/upb/mini_descriptor/internal/base92.c +6 -26
  1183. data/third_party/upb/upb/mini_descriptor/internal/base92.h +9 -27
  1184. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +6 -26
  1185. data/third_party/upb/upb/mini_descriptor/internal/encode.c +25 -28
  1186. data/third_party/upb/upb/mini_descriptor/internal/encode.h +8 -26
  1187. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +21 -39
  1188. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +8 -26
  1189. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +7 -26
  1190. data/third_party/upb/upb/mini_descriptor/link.c +8 -28
  1191. data/third_party/upb/upb/mini_descriptor/link.h +6 -26
  1192. data/third_party/upb/upb/mini_table/enum.h +14 -26
  1193. data/third_party/upb/upb/mini_table/extension.h +6 -31
  1194. data/third_party/upb/upb/mini_table/extension_registry.c +6 -26
  1195. data/third_party/upb/upb/mini_table/extension_registry.h +7 -27
  1196. data/third_party/upb/upb/mini_table/field.h +6 -26
  1197. data/third_party/upb/upb/mini_table/file.h +6 -26
  1198. data/third_party/upb/upb/mini_table/internal/enum.h +8 -26
  1199. data/third_party/upb/upb/mini_table/internal/extension.h +6 -26
  1200. data/third_party/upb/upb/mini_table/internal/field.h +8 -30
  1201. data/third_party/upb/upb/mini_table/internal/file.h +9 -29
  1202. data/third_party/upb/upb/mini_table/internal/message.c +6 -26
  1203. data/third_party/upb/upb/mini_table/internal/message.h +7 -32
  1204. data/third_party/upb/upb/mini_table/internal/sub.h +6 -27
  1205. data/third_party/upb/upb/mini_table/message.c +6 -26
  1206. data/third_party/upb/upb/mini_table/message.h +6 -26
  1207. data/third_party/upb/upb/mini_table/sub.h +6 -26
  1208. data/third_party/upb/upb/port/atomic.h +8 -26
  1209. data/third_party/upb/upb/port/def.inc +28 -29
  1210. data/third_party/upb/upb/port/undef.inc +8 -26
  1211. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1212. data/third_party/upb/upb/reflection/common.h +11 -27
  1213. data/third_party/upb/upb/reflection/def.h +8 -26
  1214. data/third_party/upb/upb/reflection/def.hpp +10 -27
  1215. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1216. data/third_party/upb/upb/reflection/def_pool.h +15 -36
  1217. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1218. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1219. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1220. data/third_party/upb/upb/reflection/enum_def.c +18 -36
  1221. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1222. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1223. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1224. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1225. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1226. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1227. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1228. data/third_party/upb/upb/reflection/field_def.c +68 -51
  1229. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1230. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1231. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1232. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  1233. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  1234. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  1235. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  1236. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  1237. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  1238. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  1239. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  1240. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  1241. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  1242. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  1243. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  1244. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  1245. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  1246. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  1247. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  1248. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  1249. data/third_party/upb/upb/reflection/message.c +8 -28
  1250. data/third_party/upb/upb/reflection/message.h +27 -40
  1251. data/third_party/upb/upb/reflection/message.hpp +5 -23
  1252. data/third_party/upb/upb/reflection/message_def.c +70 -54
  1253. data/third_party/upb/upb/reflection/message_def.h +25 -43
  1254. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  1255. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  1256. data/third_party/upb/upb/reflection/method_def.c +10 -29
  1257. data/third_party/upb/upb/reflection/method_def.h +6 -26
  1258. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  1259. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  1260. data/third_party/upb/upb/reflection/service_def.c +12 -31
  1261. data/third_party/upb/upb/reflection/service_def.h +6 -26
  1262. data/third_party/upb/upb/text/encode.c +8 -28
  1263. data/third_party/upb/upb/text/encode.h +6 -26
  1264. data/third_party/upb/upb/upb.hpp +11 -100
  1265. data/third_party/upb/upb/wire/decode.c +39 -40
  1266. data/third_party/upb/upb/wire/decode.h +10 -26
  1267. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  1268. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  1269. data/third_party/upb/upb/wire/encode.c +30 -34
  1270. data/third_party/upb/upb/wire/encode.h +14 -30
  1271. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  1272. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  1273. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  1274. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  1275. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  1276. data/third_party/upb/upb/wire/reader.c +6 -26
  1277. data/third_party/upb/upb/wire/reader.h +8 -28
  1278. data/third_party/upb/upb/wire/types.h +6 -26
  1279. metadata +857 -683
  1280. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -150
  1281. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -727
  1282. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -181
  1283. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -827
  1284. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -158
  1285. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -735
  1286. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -533
  1287. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2788
  1288. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -67
  1289. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -248
  1290. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -75
  1291. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -279
  1292. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -57
  1293. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -160
  1294. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -50
  1295. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -120
  1296. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -50
  1297. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -115
  1298. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -151
  1299. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -927
  1300. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -55
  1301. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -114
  1302. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -61
  1303. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -126
  1304. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -58
  1305. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -110
  1306. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -376
  1307. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1764
  1308. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -570
  1309. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3249
  1310. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -126
  1311. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -524
  1312. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -730
  1313. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3918
  1314. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -55
  1315. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -114
  1316. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -124
  1317. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -656
  1318. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -396
  1319. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1841
  1320. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -225
  1321. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1046
  1322. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -56
  1323. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -126
  1324. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -578
  1325. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2440
  1326. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -226
  1327. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1133
  1328. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -52
  1329. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -107
  1330. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -54
  1331. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -114
  1332. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -69
  1333. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -248
  1334. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -379
  1335. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1699
  1336. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -316
  1337. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1943
  1338. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -56
  1339. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -141
  1340. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -482
  1341. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2256
  1342. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -71
  1343. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -237
  1344. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -73
  1345. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -231
  1346. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -77
  1347. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -285
  1348. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -67
  1349. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -252
  1350. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -55
  1351. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -128
  1352. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -139
  1353. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -490
  1354. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -205
  1355. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -867
  1356. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -180
  1357. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -912
  1358. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -51
  1359. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -99
  1360. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -267
  1361. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1592
  1362. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -261
  1363. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1451
  1364. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -87
  1365. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -323
  1366. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -78
  1367. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -196
  1368. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -65
  1369. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -179
  1370. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -220
  1371. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -980
  1372. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -251
  1373. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1189
  1374. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -349
  1375. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1709
  1376. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -134
  1377. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -859
  1378. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1644
  1379. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9590
  1380. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -98
  1381. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -339
  1382. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -326
  1383. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1522
  1384. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -52
  1385. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -115
  1386. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -56
  1387. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -114
  1388. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -74
  1389. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -188
  1390. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -63
  1391. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -197
  1392. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -82
  1393. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -405
  1394. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -53
  1395. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -114
  1396. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -52
  1397. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -99
  1398. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -86
  1399. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -251
  1400. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -34
  1401. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -40
  1402. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -88
  1403. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -253
  1404. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -66
  1405. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -196
  1406. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -556
  1407. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2702
  1408. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -47
  1409. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -131
  1410. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -117
  1411. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -429
  1412. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -142
  1413. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -656
  1414. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -88
  1415. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -263
  1416. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -102
  1417. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -460
  1418. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -73
  1419. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -193
  1420. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -680
  1421. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3965
  1422. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -51
  1423. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -99
  1424. 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 -68
  1425. 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 -238
  1426. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -136
  1427. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -491
  1428. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -45
  1429. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -85
  1430. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -69
  1431. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -249
  1432. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -51
  1433. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -99
  1434. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -29
  1435. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -35
  1436. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -263
  1437. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1471
  1438. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -109
  1439. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -361
  1440. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -268
  1441. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1474
  1442. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -73
  1443. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -216
  1444. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -39
  1445. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -70
  1446. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -403
  1447. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2153
  1448. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -85
  1449. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -323
  1450. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -183
  1451. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -915
  1452. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -55
  1453. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -129
  1454. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -87
  1455. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -313
  1456. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -54
  1457. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -122
  1458. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -106
  1459. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -301
  1460. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -77
  1461. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -258
  1462. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -56
  1463. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -164
  1464. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -55
  1465. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -127
  1466. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -52
  1467. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -107
  1468. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -97
  1469. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -269
  1470. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -44
  1471. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -109
  1472. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -82
  1473. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -304
  1474. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -71
  1475. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -228
  1476. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -93
  1477. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -346
  1478. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -128
  1479. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -528
  1480. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -140
  1481. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -508
  1482. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -77
  1483. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -226
  1484. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -27
  1485. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -36
  1486. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -47
  1487. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -145
  1488. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -65
  1489. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -160
  1490. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -85
  1491. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -238
  1492. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -76
  1493. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -229
  1494. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -27
  1495. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -40
  1496. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -50
  1497. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -115
  1498. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -58
  1499. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -143
  1500. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -41
  1501. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -55
  1502. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -370
  1503. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1756
  1504. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -400
  1505. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1841
  1506. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -112
  1507. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -499
  1508. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -53
  1509. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -165
  1510. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -47
  1511. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -100
  1512. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1327
  1513. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -6236
  1514. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -47
  1515. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -100
  1516. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -36
  1517. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -70
  1518. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -116
  1519. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -426
  1520. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -47
  1521. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -100
  1522. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -164
  1523. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -517
  1524. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -53
  1525. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -165
  1526. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -107
  1527. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -389
  1528. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -80
  1529. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -238
  1530. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -343
  1531. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1669
  1532. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -70
  1533. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -199
  1534. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -59
  1535. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -146
  1536. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -222
  1537. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -885
  1538. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -93
  1539. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -300
  1540. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -244
  1541. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1341
  1542. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -127
  1543. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -333
  1544. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -62
  1545. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -125
  1546. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -39
  1547. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -55
  1548. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -61
  1549. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -132
  1550. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -58
  1551. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -110
  1552. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -948
  1553. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6536
  1554. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -127
  1555. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -333
  1556. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -62
  1557. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -125
  1558. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -39
  1559. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -55
  1560. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -124
  1561. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -344
  1562. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -58
  1563. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -110
  1564. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -46
  1565. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -85
  1566. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -54
  1567. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -114
  1568. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -79
  1569. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -233
  1570. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -63
  1571. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -134
  1572. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -53
  1573. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -114
  1574. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -56
  1575. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -143
  1576. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -85
  1577. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -330
  1578. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -60
  1579. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -144
  1580. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -127
  1581. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -352
  1582. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -53
  1583. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -160
  1584. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -51
  1585. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -99
  1586. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -73
  1587. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -262
  1588. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -37
  1589. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -70
  1590. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -76
  1591. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -281
  1592. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -266
  1593. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1114
  1594. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -158
  1595. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -732
  1596. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -59
  1597. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -159
  1598. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -80
  1599. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -304
  1600. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -80
  1601. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -232
  1602. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -83
  1603. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -238
  1604. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -52
  1605. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -114
  1606. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  1607. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  1608. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  1609. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  1610. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  1611. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  1612. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  1613. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  1614. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  1615. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  1616. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  1617. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  1618. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  1619. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  1620. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  1621. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  1622. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  1623. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  1624. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  1625. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  1626. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  1627. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  1628. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  1629. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  1630. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  1631. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  1632. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
  1633. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
  1634. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  1635. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  1636. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  1637. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  1638. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  1639. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  1640. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  1641. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  1642. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  1643. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  1644. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  1645. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  1646. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  1647. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  1648. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  1649. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  1650. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  1651. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  1652. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  1653. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
  1654. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  1655. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  1656. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  1657. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  1658. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  1659. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  1660. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
  1661. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  1662. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
  1663. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  1664. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  1665. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  1666. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
  1667. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  1668. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  1669. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  1670. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  1671. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  1672. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  1673. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  1674. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  1675. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  1676. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  1677. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  1678. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  1679. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  1680. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  1681. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  1682. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  1683. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  1684. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  1685. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  1686. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  1687. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  1688. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  1689. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  1690. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  1691. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  1692. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  1693. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  1694. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
  1695. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  1696. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  1697. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  1698. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
  1699. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
  1700. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  1701. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  1702. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  1703. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  1704. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  1705. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  1706. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  1707. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  1708. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  1709. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  1710. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  1711. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  1712. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  1713. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  1714. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  1715. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  1716. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  1717. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  1718. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  1719. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  1720. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  1721. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  1722. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  1723. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  1724. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  1725. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  1726. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  1727. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  1728. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  1729. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  1730. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  1731. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  1732. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
  1733. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
  1734. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  1735. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  1736. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  1737. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  1738. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
  1739. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  1740. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  1741. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  1742. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
  1743. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
  1744. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  1745. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  1746. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
  1747. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
  1748. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  1749. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  1750. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  1751. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  1752. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  1753. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  1754. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  1755. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  1756. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  1757. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  1758. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  1759. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  1760. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  1761. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  1762. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  1763. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  1764. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  1765. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  1766. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  1767. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  1768. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  1769. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  1770. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  1771. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  1772. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  1773. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  1774. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  1775. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  1776. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  1777. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  1778. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  1779. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  1780. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  1781. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  1782. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  1783. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  1784. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  1785. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  1786. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  1787. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  1788. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  1789. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  1790. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  1791. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  1792. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  1793. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  1794. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  1795. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  1796. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  1797. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  1798. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  1799. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  1800. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  1801. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  1802. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  1803. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  1804. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  1805. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  1806. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  1807. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  1808. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  1809. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  1810. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  1811. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  1812. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  1813. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  1814. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  1815. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  1816. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  1817. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  1818. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  1819. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  1820. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  1821. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  1822. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  1823. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  1824. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  1825. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  1826. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  1827. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  1828. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -464
  1829. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -181
  1830. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  1831. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  1832. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  1833. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  1834. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  1835. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  1836. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  1837. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  1838. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  1839. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  1840. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  1841. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  1842. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  1843. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  1844. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  1845. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  1846. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  1847. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  1848. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  1849. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  1850. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  1851. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  1852. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  1853. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  1854. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  1855. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  1856. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  1857. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  1858. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  1859. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  1860. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  1861. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  1862. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  1863. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  1864. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  1865. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  1866. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  1867. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  1868. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  1869. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  1870. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  1871. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  1872. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  1873. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  1874. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  1875. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  1876. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  1877. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  1878. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  1879. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  1880. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  1881. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  1882. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  1883. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  1884. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  1885. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  1886. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  1887. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  1888. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  1889. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  1890. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  1891. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  1892. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  1893. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  1894. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  1895. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  1896. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  1897. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  1898. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  1899. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  1900. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  1901. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  1902. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  1903. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  1904. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  1905. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  1906. data/src/core/lib/resolver/server_address.cc +0 -89
  1907. data/src/core/lib/transport/transport_impl.h +0 -102
  1908. data/third_party/upb/upb/alloc.h +0 -36
  1909. data/third_party/upb/upb/arena.h +0 -36
  1910. data/third_party/upb/upb/array.h +0 -36
  1911. data/third_party/upb/upb/base/log2.h +0 -57
  1912. data/third_party/upb/upb/collections/array.c +0 -151
  1913. data/third_party/upb/upb/collections/array_internal.h +0 -135
  1914. data/third_party/upb/upb/collections/map.c +0 -142
  1915. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  1916. data/third_party/upb/upb/collections/map_internal.h +0 -170
  1917. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  1918. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  1919. data/third_party/upb/upb/collections/message_value.h +0 -72
  1920. data/third_party/upb/upb/decode.h +0 -36
  1921. data/third_party/upb/upb/def.h +0 -36
  1922. data/third_party/upb/upb/def.hpp +0 -33
  1923. data/third_party/upb/upb/encode.h +0 -36
  1924. data/third_party/upb/upb/extension_registry.h +0 -35
  1925. data/third_party/upb/upb/map.h +0 -36
  1926. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  1927. data/third_party/upb/upb/message/accessors_internal.h +0 -391
  1928. data/third_party/upb/upb/message/extension_internal.h +0 -83
  1929. data/third_party/upb/upb/message/internal.h +0 -131
  1930. data/third_party/upb/upb/msg.h +0 -36
  1931. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  1932. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  1933. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  1934. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  1935. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  1936. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  1937. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  1938. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  1939. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  1940. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  1941. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  1942. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  1943. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  1944. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  1945. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  1946. data/third_party/upb/upb/reflection.h +0 -36
  1947. data/third_party/upb/upb/reflection.hpp +0 -33
  1948. data/third_party/upb/upb/status.h +0 -36
  1949. data/third_party/upb/upb/string_view.h +0 -36
  1950. data/third_party/upb/upb/text_encode.h +0 -36
  1951. data/third_party/upb/upb/upb.h +0 -39
  1952. data/third_party/upb/upb/wire/common.h +0 -44
  1953. data/third_party/upb/upb/wire/common_internal.h +0 -50
  1954. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  1955. data/third_party/upb/upb/wire/swap_internal.h +0 -63
@@ -20,11 +20,12 @@
20
20
 
21
21
  #include <inttypes.h>
22
22
  #include <limits.h>
23
- #include <stdio.h>
24
23
  #include <string.h>
25
24
 
26
25
  #include <algorithm>
27
- #include <initializer_list>
26
+ #include <atomic>
27
+ #include <cstddef>
28
+ #include <limits>
28
29
  #include <memory>
29
30
  #include <new>
30
31
  #include <string>
@@ -36,12 +37,14 @@
36
37
  #include "absl/container/flat_hash_map.h"
37
38
  #include "absl/hash/hash.h"
38
39
  #include "absl/meta/type_traits.h"
40
+ #include "absl/random/random.h"
39
41
  #include "absl/status/status.h"
40
42
  #include "absl/strings/cord.h"
41
43
  #include "absl/strings/str_cat.h"
42
44
  #include "absl/strings/str_format.h"
43
45
  #include "absl/strings/string_view.h"
44
46
  #include "absl/types/optional.h"
47
+ #include "absl/types/variant.h"
45
48
 
46
49
  #include <grpc/event_engine/event_engine.h>
47
50
  #include <grpc/grpc.h>
@@ -63,12 +66,16 @@
63
66
  #include "src/core/ext/transport/chttp2/transport/http_trace.h"
64
67
  #include "src/core/ext/transport/chttp2/transport/internal.h"
65
68
  #include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
69
+ #include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h"
66
70
  #include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h"
71
+ #include "src/core/ext/transport/chttp2/transport/ping_callbacks.h"
67
72
  #include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h"
68
73
  #include "src/core/ext/transport/chttp2/transport/varint.h"
74
+ #include "src/core/ext/transport/chttp2/transport/write_size_policy.h"
69
75
  #include "src/core/lib/channel/call_tracer.h"
70
76
  #include "src/core/lib/channel/channel_args.h"
71
77
  #include "src/core/lib/channel/context.h"
78
+ #include "src/core/lib/channel/tcp_tracer.h"
72
79
  #include "src/core/lib/debug/stats.h"
73
80
  #include "src/core/lib/debug/stats_data.h"
74
81
  #include "src/core/lib/experiments/experiments.h"
@@ -100,7 +107,6 @@
100
107
  #include "src/core/lib/transport/metadata_batch.h"
101
108
  #include "src/core/lib/transport/status_conversion.h"
102
109
  #include "src/core/lib/transport/transport.h"
103
- #include "src/core/lib/transport/transport_impl.h"
104
110
 
105
111
  #ifdef GRPC_POSIX_SOCKET_TCP
106
112
  #include "src/core/lib/iomgr/ev_posix.h"
@@ -116,6 +122,9 @@
116
122
 
117
123
  #define DEFAULT_MAX_PENDING_INDUCED_FRAMES 10000
118
124
 
125
+ #define GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT \
126
+ "grpc.http2.ping_on_rst_stream_percent"
127
+
119
128
  static grpc_core::Duration g_default_client_keepalive_time =
120
129
  grpc_core::Duration::Infinity();
121
130
  static grpc_core::Duration g_default_client_keepalive_timeout =
@@ -127,6 +136,11 @@ static grpc_core::Duration g_default_server_keepalive_timeout =
127
136
  static bool g_default_client_keepalive_permit_without_calls = false;
128
137
  static bool g_default_server_keepalive_permit_without_calls = false;
129
138
 
139
+ // EXPERIMENTAL: control tarpitting in chttp2
140
+ #define GRPC_ARG_HTTP_ALLOW_TARPIT "grpc.http.tarpit"
141
+ #define GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS "grpc.http.tarpit_min_duration_ms"
142
+ #define GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS "grpc.http.tarpit_max_duration_ms"
143
+
130
144
  #define MAX_CLIENT_STREAM_ID 0x7fffffffu
131
145
  grpc_core::TraceFlag grpc_keepalive_trace(false, "http_keepalive");
132
146
  grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount(false,
@@ -153,7 +167,7 @@ static void queue_setting_update(grpc_chttp2_transport* t,
153
167
  grpc_chttp2_setting_id id, uint32_t value);
154
168
 
155
169
  static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
156
- grpc_error_handle error);
170
+ grpc_error_handle error, bool tarpit);
157
171
 
158
172
  // Start new streams that have been created if we can
159
173
  static void maybe_start_some_streams(grpc_chttp2_transport* t);
@@ -202,30 +216,49 @@ static void init_keepalive_ping(
202
216
  static void init_keepalive_ping_locked(
203
217
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
204
218
  GRPC_UNUSED grpc_error_handle error);
205
- static void start_keepalive_ping(
206
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
207
219
  static void finish_keepalive_ping(
208
220
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
209
- static void start_keepalive_ping_locked(
210
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
211
221
  static void finish_keepalive_ping_locked(
212
222
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
213
- static void keepalive_watchdog_fired(
214
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t);
215
- static void keepalive_watchdog_fired_locked(
216
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
217
- GRPC_UNUSED grpc_error_handle error);
218
223
  static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t);
219
224
 
225
+ static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error,
226
+ bool immediate_disconnect_hint);
227
+
228
+ // Timeout for getting an ack back on settings changes
229
+ #define GRPC_ARG_SETTINGS_TIMEOUT "grpc.http2.settings_timeout"
230
+
220
231
  namespace {
221
- grpc_core::CallTracerInterface* CallTracerIfEnabled(grpc_chttp2_stream* s) {
232
+
233
+ using TaskHandle = ::grpc_event_engine::experimental::EventEngine::TaskHandle;
234
+
235
+ grpc_core::CallTracerInterface* CallTracerIfSampled(grpc_chttp2_stream* s) {
222
236
  if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
223
237
  return nullptr;
224
238
  }
225
- return static_cast<grpc_core::CallTracerInterface*>(
239
+ auto* call_tracer = static_cast<grpc_core::CallTracerInterface*>(
226
240
  static_cast<grpc_call_context_element*>(
227
241
  s->context)[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE]
228
242
  .value);
243
+ if (call_tracer == nullptr || !call_tracer->IsSampled()) {
244
+ return nullptr;
245
+ }
246
+ return call_tracer;
247
+ }
248
+
249
+ std::shared_ptr<grpc_core::TcpTracerInterface> TcpTracerIfSampled(
250
+ grpc_chttp2_stream* s) {
251
+ if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
252
+ return nullptr;
253
+ }
254
+ auto* call_attempt_tracer = static_cast<grpc_core::CallTracerInterface*>(
255
+ static_cast<grpc_call_context_element*>(
256
+ s->context)[GRPC_CONTEXT_CALL_TRACER]
257
+ .value);
258
+ if (call_attempt_tracer == nullptr || !call_attempt_tracer->IsSampled()) {
259
+ return nullptr;
260
+ }
261
+ return call_attempt_tracer->StartNewTcpTrace();
229
262
  }
230
263
 
231
264
  grpc_core::WriteTimestampsCallback g_write_timestamps_callback = nullptr;
@@ -308,6 +341,42 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
308
341
  delete context_list;
309
342
  }
310
343
 
344
+ HttpAnnotation::HttpAnnotation(
345
+ Type type, Timestamp time,
346
+ absl::optional<chttp2::TransportFlowControl::Stats> transport_stats,
347
+ absl::optional<chttp2::StreamFlowControl::Stats> stream_stats)
348
+ : CallTracerAnnotationInterface::Annotation(
349
+ CallTracerAnnotationInterface::AnnotationType::kHttpTransport),
350
+ type_(type),
351
+ time_(time),
352
+ transport_stats_(transport_stats),
353
+ stream_stats_(stream_stats) {}
354
+
355
+ std::string HttpAnnotation::ToString() const {
356
+ std::string s = "HttpAnnotation type: ";
357
+ switch (type_) {
358
+ case Type::kStart:
359
+ absl::StrAppend(&s, "Start");
360
+ break;
361
+ case Type::kHeadWritten:
362
+ absl::StrAppend(&s, "HeadWritten");
363
+ break;
364
+ case Type::kEnd:
365
+ absl::StrAppend(&s, "End");
366
+ break;
367
+ default:
368
+ absl::StrAppend(&s, "Unknown");
369
+ }
370
+ absl::StrAppend(&s, " time: ", time_.ToString());
371
+ if (transport_stats_.has_value()) {
372
+ absl::StrAppend(&s, " transport:[", transport_stats_->ToString(), "]");
373
+ }
374
+ if (stream_stats_.has_value()) {
375
+ absl::StrAppend(&s, " stream:[", stream_stats_->ToString(), "]");
376
+ }
377
+ return s;
378
+ }
379
+
311
380
  } // namespace grpc_core
312
381
 
313
382
  //
@@ -317,6 +386,8 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
317
386
  grpc_chttp2_transport::~grpc_chttp2_transport() {
318
387
  size_t i;
319
388
 
389
+ cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
390
+
320
391
  event_engine.reset();
321
392
 
322
393
  if (channelz_socket != nullptr) {
@@ -327,8 +398,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
327
398
 
328
399
  grpc_slice_buffer_destroy(&qbuf);
329
400
 
330
- grpc_slice_buffer_destroy(&outbuf);
331
-
332
401
  grpc_error_handle error = GRPC_ERROR_CREATE("Transport destroyed");
333
402
  // ContextList::Execute follows semantics of a callback function and does not
334
403
  // take a ref on error
@@ -348,8 +417,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
348
417
  GPR_ASSERT(stream_map.empty());
349
418
  GRPC_COMBINER_UNREF(combiner, "chttp2_transport");
350
419
 
351
- cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
352
-
353
420
  while (write_cb_pool) {
354
421
  grpc_chttp2_write_cb* next = write_cb_pool->next;
355
422
  gpr_free(write_cb_pool);
@@ -362,8 +429,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
362
429
  }
363
430
  }
364
431
 
365
- static const grpc_transport_vtable* get_vtable(void);
366
-
367
432
  static void read_channel_args(grpc_chttp2_transport* t,
368
433
  const grpc_core::ChannelArgs& channel_args,
369
434
  bool is_client) {
@@ -396,8 +461,16 @@ static void read_channel_args(grpc_chttp2_transport* t,
396
461
  t->keepalive_timeout = std::max(
397
462
  grpc_core::Duration::Zero(),
398
463
  channel_args.GetDurationFromIntMillis(GRPC_ARG_KEEPALIVE_TIMEOUT_MS)
399
- .value_or(t->is_client ? g_default_client_keepalive_timeout
400
- : g_default_server_keepalive_timeout));
464
+ .value_or(t->keepalive_time == grpc_core::Duration::Infinity()
465
+ ? grpc_core::Duration::Infinity()
466
+ : (t->is_client ? g_default_client_keepalive_timeout
467
+ : g_default_server_keepalive_timeout)));
468
+ t->ping_timeout = std::max(
469
+ grpc_core::Duration::Zero(),
470
+ channel_args.GetDurationFromIntMillis(GRPC_ARG_PING_TIMEOUT_MS)
471
+ .value_or(t->keepalive_time == grpc_core::Duration::Infinity()
472
+ ? grpc_core::Duration::Infinity()
473
+ : grpc_core::Duration::Minutes(1)));
401
474
  if (t->is_client) {
402
475
  t->keepalive_permit_without_calls =
403
476
  channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)
@@ -412,6 +485,11 @@ static void read_channel_args(grpc_chttp2_transport* t,
412
485
  : false);
413
486
  }
414
487
 
488
+ t->settings_timeout =
489
+ channel_args.GetDurationFromIntMillis(GRPC_ARG_SETTINGS_TIMEOUT)
490
+ .value_or(std::max(t->keepalive_timeout * 2,
491
+ grpc_core::Duration::Minutes(1)));
492
+
415
493
  // Only send the prefered rx frame size http2 setting if we are instructed
416
494
  // to auto size the buffers allocated at tcp level and we also can adjust
417
495
  // sending frame size.
@@ -420,13 +498,24 @@ static void read_channel_args(grpc_chttp2_transport* t,
420
498
  .GetBool(GRPC_ARG_EXPERIMENTAL_HTTP2_PREFERRED_CRYPTO_FRAME_SIZE)
421
499
  .value_or(false);
422
500
 
501
+ const auto max_requests_per_read =
502
+ channel_args.GetInt("grpc.http2.max_requests_per_read");
503
+ if (max_requests_per_read.has_value()) {
504
+ t->max_requests_per_read =
505
+ grpc_core::Clamp(*max_requests_per_read, 1, 10000);
506
+ } else if (grpc_core::IsChttp2BatchRequestsEnabled()) {
507
+ t->max_requests_per_read = 32;
508
+ } else {
509
+ t->max_requests_per_read = std::numeric_limits<size_t>::max();
510
+ }
511
+
423
512
  if (channel_args.GetBool(GRPC_ARG_ENABLE_CHANNELZ)
424
513
  .value_or(GRPC_ENABLE_CHANNELZ_DEFAULT)) {
425
514
  t->channelz_socket =
426
515
  grpc_core::MakeRefCounted<grpc_core::channelz::SocketNode>(
427
516
  std::string(grpc_endpoint_get_local_address(t->ep)),
428
517
  std::string(t->peer_string.as_string_view()),
429
- absl::StrCat(get_vtable()->name, " ",
518
+ absl::StrCat(t->GetTransportName(), " ",
430
519
  t->peer_string.as_string_view()),
431
520
  channel_args
432
521
  .GetObjectRef<grpc_core::channelz::SocketNode::Security>());
@@ -434,6 +523,19 @@ static void read_channel_args(grpc_chttp2_transport* t,
434
523
 
435
524
  t->ack_pings = channel_args.GetBool("grpc.http2.ack_pings").value_or(true);
436
525
 
526
+ t->allow_tarpit = channel_args.GetBool(GRPC_ARG_HTTP_ALLOW_TARPIT)
527
+ .value_or(grpc_core::IsTarpitEnabled());
528
+ t->min_tarpit_duration_ms =
529
+ channel_args
530
+ .GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS)
531
+ .value_or(grpc_core::Duration::Milliseconds(100))
532
+ .millis();
533
+ t->max_tarpit_duration_ms =
534
+ channel_args
535
+ .GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS)
536
+ .value_or(grpc_core::Duration::Seconds(1))
537
+ .millis();
538
+
437
539
  const int soft_limit =
438
540
  channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1);
439
541
  if (soft_limit < 0) {
@@ -499,8 +601,12 @@ static void read_channel_args(grpc_chttp2_transport* t,
499
601
  const int value = channel_args.GetInt(setting.channel_arg_name)
500
602
  .value_or(setting.default_value);
501
603
  if (value >= 0) {
502
- queue_setting_update(t, setting.setting_id,
503
- grpc_core::Clamp(value, setting.min, setting.max));
604
+ const int clamped_value =
605
+ grpc_core::Clamp(value, setting.min, setting.max);
606
+ queue_setting_update(t, setting.setting_id, clamped_value);
607
+ if (setting.setting_id == GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS) {
608
+ t->max_concurrent_streams_policy.SetTarget(clamped_value);
609
+ }
504
610
  } else if (setting.setting_id ==
505
611
  GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE) {
506
612
  // Set value to 1.25 * soft limit if this is larger than
@@ -533,6 +639,15 @@ static void read_channel_args(grpc_chttp2_transport* t,
533
639
  grpc_core::Clamp(INT_MAX, static_cast<int>(sp->min_value),
534
640
  static_cast<int>(sp->max_value)));
535
641
  }
642
+
643
+ t->ping_on_rst_stream_percent = grpc_core::Clamp(
644
+ channel_args.GetInt(GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT)
645
+ .value_or(1),
646
+ 0, 100);
647
+
648
+ t->max_concurrent_streams_overload_protection =
649
+ channel_args.GetBool(GRPC_ARG_MAX_CONCURRENT_STREAMS_OVERLOAD_PROTECTION)
650
+ .value_or(grpc_core::IsOverloadProtectionEnabled());
536
651
  }
537
652
 
538
653
  static void init_keepalive_pings_if_enabled_locked(
@@ -557,16 +672,17 @@ static void init_keepalive_pings_if_enabled_locked(
557
672
  grpc_chttp2_transport::grpc_chttp2_transport(
558
673
  const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
559
674
  bool is_client)
560
- : refs(1, GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount)
561
- ? "chttp2_refcount"
562
- : nullptr),
675
+ : grpc_core::RefCounted<grpc_chttp2_transport,
676
+ grpc_core::NonPolymorphicRefCount>(
677
+ GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount)
678
+ ? "chttp2_refcount"
679
+ : nullptr),
563
680
  ep(ep),
564
681
  peer_string(
565
682
  grpc_core::Slice::FromCopiedString(grpc_endpoint_get_peer(ep))),
566
683
  memory_owner(channel_args.GetObject<grpc_core::ResourceQuota>()
567
684
  ->memory_quota()
568
- ->CreateMemoryOwner(absl::StrCat(
569
- grpc_endpoint_get_peer(ep), ":client_transport"))),
685
+ ->CreateMemoryOwner()),
570
686
  self_reservation(
571
687
  memory_owner.MakeReservation(sizeof(grpc_chttp2_transport))),
572
688
  event_engine(
@@ -587,13 +703,12 @@ grpc_chttp2_transport::grpc_chttp2_transport(
587
703
  cl = new grpc_core::ContextList();
588
704
  GPR_ASSERT(strlen(GRPC_CHTTP2_CLIENT_CONNECT_STRING) ==
589
705
  GRPC_CHTTP2_CLIENT_CONNECT_STRLEN);
590
- base.vtable = get_vtable();
591
706
 
592
707
  grpc_slice_buffer_init(&read_buffer);
593
- grpc_slice_buffer_init(&outbuf);
594
708
  if (is_client) {
595
- grpc_slice_buffer_add(&outbuf, grpc_slice_from_copied_string(
596
- GRPC_CHTTP2_CLIENT_CONNECT_STRING));
709
+ grpc_slice_buffer_add(
710
+ outbuf.c_slice_buffer(),
711
+ grpc_slice_from_copied_string(GRPC_CHTTP2_CLIENT_CONNECT_STRING));
597
712
  }
598
713
  grpc_slice_buffer_init(&qbuf);
599
714
  // copy in initial settings to all setting sets
@@ -618,6 +733,12 @@ grpc_chttp2_transport::grpc_chttp2_transport(
618
733
 
619
734
  read_channel_args(this, channel_args, is_client);
620
735
 
736
+ // Initially allow *UP TO* MAX_CONCURRENT_STREAMS incoming before we start
737
+ // blanket cancelling them.
738
+ num_incoming_streams_before_settings_ack =
739
+ settings[GRPC_LOCAL_SETTINGS]
740
+ [GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS];
741
+
621
742
  grpc_core::ExecCtx exec_ctx;
622
743
  combiner->Run(
623
744
  grpc_core::InitTransportClosure<init_keepalive_pings_if_enabled_locked>(
@@ -657,10 +778,9 @@ static void destroy_transport_locked(void* tp, grpc_error_handle /*error*/) {
657
778
  t->memory_owner.Reset();
658
779
  }
659
780
 
660
- static void destroy_transport(grpc_transport* gt) {
661
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
662
- t->combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, t, nullptr),
663
- absl::OkStatus());
781
+ void grpc_chttp2_transport::Orphan() {
782
+ combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, this, nullptr),
783
+ absl::OkStatus());
664
784
  }
665
785
 
666
786
  static void close_transport_locked(grpc_chttp2_transport* t,
@@ -686,34 +806,33 @@ static void close_transport_locked(grpc_chttp2_transport* t,
686
806
  t->closed_with_error = error;
687
807
  connectivity_state_set(t, GRPC_CHANNEL_SHUTDOWN, absl::Status(),
688
808
  "close_transport");
689
- if (t->delayed_ping_timer_handle.has_value()) {
690
- if (t->event_engine->Cancel(*t->delayed_ping_timer_handle)) {
691
- t->delayed_ping_timer_handle.reset();
692
- }
809
+ if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
810
+ t->event_engine->Cancel(std::exchange(t->keepalive_ping_timeout_handle,
811
+ TaskHandle::kInvalid));
693
812
  }
694
- if (t->next_bdp_ping_timer_handle.has_value()) {
695
- if (t->event_engine->Cancel(*t->next_bdp_ping_timer_handle)) {
696
- t->next_bdp_ping_timer_handle.reset();
697
- }
813
+ if (t->settings_ack_watchdog != TaskHandle::kInvalid) {
814
+ t->event_engine->Cancel(
815
+ std::exchange(t->settings_ack_watchdog, TaskHandle::kInvalid));
816
+ }
817
+ if (t->delayed_ping_timer_handle != TaskHandle::kInvalid &&
818
+ t->event_engine->Cancel(t->delayed_ping_timer_handle)) {
819
+ t->delayed_ping_timer_handle = TaskHandle::kInvalid;
820
+ }
821
+ if (t->next_bdp_ping_timer_handle != TaskHandle::kInvalid &&
822
+ t->event_engine->Cancel(t->next_bdp_ping_timer_handle)) {
823
+ t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
698
824
  }
699
825
  switch (t->keepalive_state) {
700
826
  case GRPC_CHTTP2_KEEPALIVE_STATE_WAITING:
701
- if (t->keepalive_ping_timer_handle.has_value()) {
702
- if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) {
703
- t->keepalive_ping_timer_handle.reset();
704
- }
827
+ if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
828
+ t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
829
+ t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
705
830
  }
706
831
  break;
707
832
  case GRPC_CHTTP2_KEEPALIVE_STATE_PINGING:
708
- if (t->keepalive_ping_timer_handle.has_value()) {
709
- if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) {
710
- t->keepalive_ping_timer_handle.reset();
711
- }
712
- }
713
- if (t->keepalive_watchdog_timer_handle.has_value()) {
714
- if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
715
- t->keepalive_watchdog_timer_handle.reset();
716
- }
833
+ if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
834
+ t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
835
+ t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
717
836
  }
718
837
  break;
719
838
  case GRPC_CHTTP2_KEEPALIVE_STATE_DYING:
@@ -777,6 +896,7 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
777
896
  initial_metadata_buffer(arena),
778
897
  trailing_metadata_buffer(arena),
779
898
  flow_control(&t->flow_control) {
899
+ t->streams_allocated.fetch_add(1, std::memory_order_relaxed);
780
900
  if (server_data) {
781
901
  id = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(server_data));
782
902
  if (grpc_http_trace.enabled()) {
@@ -793,6 +913,7 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
793
913
  }
794
914
 
795
915
  grpc_chttp2_stream::~grpc_chttp2_stream() {
916
+ t->streams_allocated.fetch_sub(1, std::memory_order_relaxed);
796
917
  grpc_chttp2_list_remove_stalled_by_stream(t.get(), this);
797
918
  grpc_chttp2_list_remove_stalled_by_transport(t.get(), this);
798
919
 
@@ -828,12 +949,11 @@ grpc_chttp2_stream::~grpc_chttp2_stream() {
828
949
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, destroy_stream_arg, absl::OkStatus());
829
950
  }
830
951
 
831
- static int init_stream(grpc_transport* gt, grpc_stream* gs,
832
- grpc_stream_refcount* refcount, const void* server_data,
833
- grpc_core::Arena* arena) {
834
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
835
- new (gs) grpc_chttp2_stream(t, refcount, server_data, arena);
836
- return 0;
952
+ void grpc_chttp2_transport::InitStream(grpc_stream* gs,
953
+ grpc_stream_refcount* refcount,
954
+ const void* server_data,
955
+ grpc_core::Arena* arena) {
956
+ new (gs) grpc_chttp2_stream(this, refcount, server_data, arena);
837
957
  }
838
958
 
839
959
  static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
@@ -841,13 +961,12 @@ static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
841
961
  s->~grpc_chttp2_stream();
842
962
  }
843
963
 
844
- static void destroy_stream(grpc_transport* gt, grpc_stream* gs,
845
- grpc_closure* then_schedule_closure) {
846
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
964
+ void grpc_chttp2_transport::DestroyStream(grpc_stream* gs,
965
+ grpc_closure* then_schedule_closure) {
847
966
  grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
848
967
 
849
968
  s->destroy_stream_arg = then_schedule_closure;
850
- t->combiner->Run(
969
+ combiner->Run(
851
970
  GRPC_CLOSURE_INIT(&s->destroy_stream, destroy_stream_locked, s, nullptr),
852
971
  absl::OkStatus());
853
972
  }
@@ -860,7 +979,7 @@ grpc_chttp2_stream* grpc_chttp2_parsing_accept_stream(grpc_chttp2_transport* t,
860
979
  grpc_chttp2_stream* accepting = nullptr;
861
980
  GPR_ASSERT(t->accepting_stream == nullptr);
862
981
  t->accepting_stream = &accepting;
863
- t->accept_stream_cb(t->accept_stream_cb_user_data, &t->base,
982
+ t->accept_stream_cb(t->accept_stream_cb_user_data, t,
864
983
  reinterpret_cast<void*>(id));
865
984
  t->accepting_stream = nullptr;
866
985
  return accepting;
@@ -1016,7 +1135,12 @@ static void write_action(grpc_chttp2_transport* t) {
1016
1135
  if (max_frame_size == 0) {
1017
1136
  max_frame_size = INT_MAX;
1018
1137
  }
1019
- grpc_endpoint_write(t->ep, &t->outbuf,
1138
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
1139
+ gpr_log(GPR_INFO, "%s[%p]: Write %" PRIdPTR " bytes",
1140
+ t->is_client ? "CLIENT" : "SERVER", t, t->outbuf.Length());
1141
+ }
1142
+ t->write_size_policy.BeginWrite(t->outbuf.Length());
1143
+ grpc_endpoint_write(t->ep, t->outbuf.c_slice_buffer(),
1020
1144
  grpc_core::InitTransportClosure<write_action_end>(
1021
1145
  t->Ref(), &t->write_action_end_locked),
1022
1146
  cl, max_frame_size);
@@ -1025,6 +1149,10 @@ static void write_action(grpc_chttp2_transport* t) {
1025
1149
  static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1026
1150
  grpc_error_handle error) {
1027
1151
  auto* tp = t.get();
1152
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
1153
+ gpr_log(GPR_INFO, "%s[%p]: Finish write",
1154
+ t->is_client ? "CLIENT" : "SERVER", t.get());
1155
+ }
1028
1156
  tp->combiner->Run(grpc_core::InitTransportClosure<write_action_end_locked>(
1029
1157
  std::move(t), &tp->write_action_end_locked),
1030
1158
  error);
@@ -1035,6 +1163,8 @@ static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1035
1163
  static void write_action_end_locked(
1036
1164
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1037
1165
  grpc_error_handle error) {
1166
+ t->write_size_policy.EndWrite(error.ok());
1167
+
1038
1168
  bool closed = false;
1039
1169
  if (!error.ok()) {
1040
1170
  close_transport_locked(t.get(), error);
@@ -1095,13 +1225,13 @@ static void queue_setting_update(grpc_chttp2_transport* t,
1095
1225
 
1096
1226
  // Cancel out streams that haven't yet started if we have received a GOAWAY
1097
1227
  static void cancel_unstarted_streams(grpc_chttp2_transport* t,
1098
- grpc_error_handle error) {
1228
+ grpc_error_handle error, bool tarpit) {
1099
1229
  grpc_chttp2_stream* s;
1100
1230
  while (grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
1101
1231
  s->trailing_metadata_buffer.Set(
1102
1232
  grpc_core::GrpcStreamNetworkState(),
1103
1233
  grpc_core::GrpcStreamNetworkState::kNotSentOnWire);
1104
- grpc_chttp2_cancel_stream(t, s, error);
1234
+ grpc_chttp2_cancel_stream(t, s, error, tarpit);
1105
1235
  }
1106
1236
  }
1107
1237
 
@@ -1134,7 +1264,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
1134
1264
  grpc_core::StatusToString(t->goaway_error).c_str());
1135
1265
  }
1136
1266
  if (t->is_client) {
1137
- cancel_unstarted_streams(t, t->goaway_error);
1267
+ cancel_unstarted_streams(t, t->goaway_error, false);
1138
1268
  // Cancel all unseen streams
1139
1269
  std::vector<grpc_chttp2_stream*> to_cancel;
1140
1270
  for (auto id_stream : t->stream_map) {
@@ -1146,7 +1276,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
1146
1276
  s->trailing_metadata_buffer.Set(
1147
1277
  grpc_core::GrpcStreamNetworkState(),
1148
1278
  grpc_core::GrpcStreamNetworkState::kNotSeenByServer);
1149
- grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error);
1279
+ grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error, false);
1150
1280
  }
1151
1281
  }
1152
1282
  absl::Status status = grpc_error_to_absl_status(t->goaway_error);
@@ -1185,7 +1315,7 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
1185
1315
  // maybe cancel out streams that haven't yet started if we have received a
1186
1316
  // GOAWAY
1187
1317
  if (!t->goaway_error.ok()) {
1188
- cancel_unstarted_streams(t, t->goaway_error);
1318
+ cancel_unstarted_streams(t, t->goaway_error, false);
1189
1319
  return;
1190
1320
  }
1191
1321
  // start streams where we have free grpc_chttp2_stream ids and free
@@ -1227,7 +1357,8 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
1227
1357
  t, s,
1228
1358
  grpc_error_set_int(GRPC_ERROR_CREATE("Stream IDs exhausted"),
1229
1359
  grpc_core::StatusIntProperty::kRpcStatus,
1230
- GRPC_STATUS_UNAVAILABLE));
1360
+ GRPC_STATUS_UNAVAILABLE),
1361
+ false);
1231
1362
  }
1232
1363
  }
1233
1364
  }
@@ -1275,9 +1406,8 @@ void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t,
1275
1406
  write_state_name(t->write_state), whence.file(), whence.line());
1276
1407
  }
1277
1408
 
1278
- auto* tracer = CallTracerIfEnabled(s);
1279
- if (tracer != nullptr) {
1280
- tracer->RecordAnnotation(
1409
+ if (s->call_tracer) {
1410
+ s->call_tracer->RecordAnnotation(
1281
1411
  absl::StrFormat("on_complete: s=%p %p desc=%s err=%s", s, closure, desc,
1282
1412
  grpc_core::StatusToString(error).c_str()));
1283
1413
  }
@@ -1339,6 +1469,8 @@ static void perform_stream_op_locked(void* stream_op,
1339
1469
 
1340
1470
  s->context = op->payload->context;
1341
1471
  s->traced = op->is_traced;
1472
+ s->call_tracer = CallTracerIfSampled(s);
1473
+ s->tcp_tracer = TcpTracerIfSampled(s);
1342
1474
  if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1343
1475
  gpr_log(GPR_INFO,
1344
1476
  "perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s,
@@ -1354,9 +1486,8 @@ static void perform_stream_op_locked(void* stream_op,
1354
1486
  }
1355
1487
  }
1356
1488
 
1357
- auto* tracer = CallTracerIfEnabled(s);
1358
- if (tracer != nullptr) {
1359
- tracer->RecordAnnotation(absl::StrFormat(
1489
+ if (s->call_tracer) {
1490
+ s->call_tracer->RecordAnnotation(absl::StrFormat(
1360
1491
  "perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s, op,
1361
1492
  grpc_transport_stream_op_batch_string(op, true).c_str(),
1362
1493
  op->on_complete));
@@ -1372,10 +1503,16 @@ static void perform_stream_op_locked(void* stream_op,
1372
1503
  }
1373
1504
 
1374
1505
  if (op->cancel_stream) {
1375
- grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error);
1506
+ grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error,
1507
+ op_payload->cancel_stream.tarpit);
1376
1508
  }
1377
1509
 
1378
1510
  if (op->send_initial_metadata) {
1511
+ if (s->call_tracer) {
1512
+ s->call_tracer->RecordAnnotation(grpc_core::HttpAnnotation(
1513
+ grpc_core::HttpAnnotation::Type::kStart, grpc_core::Timestamp::Now(),
1514
+ s->t->flow_control.stats(), s->flow_control.stats()));
1515
+ }
1379
1516
  if (t->is_client && t->channelz_socket != nullptr) {
1380
1517
  t->channelz_socket->RecordStreamStartedFromLocal();
1381
1518
  }
@@ -1410,7 +1547,8 @@ static void perform_stream_op_locked(void* stream_op,
1410
1547
  GRPC_ERROR_CREATE_REFERENCING("Transport closed",
1411
1548
  &t->closed_with_error, 1),
1412
1549
  grpc_core::StatusIntProperty::kRpcStatus,
1413
- GRPC_STATUS_UNAVAILABLE));
1550
+ GRPC_STATUS_UNAVAILABLE),
1551
+ false);
1414
1552
  }
1415
1553
  } else {
1416
1554
  GPR_ASSERT(s->id != 0);
@@ -1457,6 +1595,11 @@ static void perform_stream_op_locked(void* stream_op,
1457
1595
  frame_hdr[3] = static_cast<uint8_t>(len >> 8);
1458
1596
  frame_hdr[4] = static_cast<uint8_t>(len);
1459
1597
 
1598
+ if (grpc_core::IsHttp2StatsFixEnabled()) {
1599
+ s->stats.outgoing.framing_bytes += GRPC_HEADER_SIZE_IN_BYTES;
1600
+ s->stats.outgoing.data_bytes +=
1601
+ op_payload->send_message.send_message->Length();
1602
+ }
1460
1603
  s->next_message_end_offset =
1461
1604
  s->flow_controlled_bytes_written +
1462
1605
  static_cast<int64_t>(s->flow_controlled_buffer.length) +
@@ -1583,12 +1726,11 @@ static void perform_stream_op_locked(void* stream_op,
1583
1726
  GRPC_CHTTP2_STREAM_UNREF(s, "perform_stream_op");
1584
1727
  }
1585
1728
 
1586
- static void perform_stream_op(grpc_transport* gt, grpc_stream* gs,
1587
- grpc_transport_stream_op_batch* op) {
1588
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
1729
+ void grpc_chttp2_transport::PerformStreamOp(
1730
+ grpc_stream* gs, grpc_transport_stream_op_batch* op) {
1589
1731
  grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
1590
1732
 
1591
- if (!t->is_client) {
1733
+ if (!is_client) {
1592
1734
  if (op->send_initial_metadata) {
1593
1735
  GPR_ASSERT(!op->payload->send_initial_metadata.send_initial_metadata
1594
1736
  ->get(grpc_core::GrpcTimeoutMetadata())
@@ -1608,9 +1750,9 @@ static void perform_stream_op(grpc_transport* gt, grpc_stream* gs,
1608
1750
 
1609
1751
  GRPC_CHTTP2_STREAM_REF(s, "perform_stream_op");
1610
1752
  op->handler_private.extra_arg = gs;
1611
- t->combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
1612
- perform_stream_op_locked, op, nullptr),
1613
- absl::OkStatus());
1753
+ combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
1754
+ perform_stream_op_locked, op, nullptr),
1755
+ absl::OkStatus());
1614
1756
  }
1615
1757
 
1616
1758
  static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
@@ -1618,14 +1760,38 @@ static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
1618
1760
  grpc_core::StatusToString(error).c_str()));
1619
1761
  // callback remaining pings: they're not allowed to call into the transport,
1620
1762
  // and maybe they hold resources that need to be freed
1621
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1622
- GPR_ASSERT(!error.ok());
1623
- for (size_t j = 0; j < GRPC_CHTTP2_PCL_COUNT; j++) {
1624
- grpc_closure_list_fail_all(&pq->lists[j], error);
1625
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &pq->lists[j]);
1626
- }
1763
+ t->ping_callbacks.CancelAll(t->event_engine.get());
1627
1764
  }
1628
1765
 
1766
+ namespace {
1767
+ class PingClosureWrapper {
1768
+ public:
1769
+ explicit PingClosureWrapper(grpc_closure* closure) : closure_(closure) {}
1770
+ PingClosureWrapper(const PingClosureWrapper&) = delete;
1771
+ PingClosureWrapper& operator=(const PingClosureWrapper&) = delete;
1772
+ PingClosureWrapper(PingClosureWrapper&& other) noexcept
1773
+ : closure_(other.Take()) {}
1774
+ PingClosureWrapper& operator=(PingClosureWrapper&& other) noexcept {
1775
+ std::swap(closure_, other.closure_);
1776
+ return *this;
1777
+ }
1778
+ ~PingClosureWrapper() {
1779
+ if (closure_ != nullptr) {
1780
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure_, absl::CancelledError());
1781
+ }
1782
+ }
1783
+
1784
+ void operator()() {
1785
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, Take(), absl::OkStatus());
1786
+ }
1787
+
1788
+ private:
1789
+ grpc_closure* Take() { return std::exchange(closure_, nullptr); }
1790
+
1791
+ grpc_closure* closure_ = nullptr;
1792
+ };
1793
+ } // namespace
1794
+
1629
1795
  static void send_ping_locked(grpc_chttp2_transport* t,
1630
1796
  grpc_closure* on_initiate, grpc_closure* on_ack) {
1631
1797
  if (!t->closed_with_error.ok()) {
@@ -1633,11 +1799,8 @@ static void send_ping_locked(grpc_chttp2_transport* t,
1633
1799
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_ack, t->closed_with_error);
1634
1800
  return;
1635
1801
  }
1636
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1637
- grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_INITIATE], on_initiate,
1638
- absl::OkStatus());
1639
- grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_NEXT], on_ack,
1640
- absl::OkStatus());
1802
+ t->ping_callbacks.OnPing(PingClosureWrapper(on_initiate),
1803
+ PingClosureWrapper(on_ack));
1641
1804
  }
1642
1805
 
1643
1806
  // Specialized form of send_ping_locked for keepalive ping. If there is already
@@ -1646,40 +1809,15 @@ static void send_ping_locked(grpc_chttp2_transport* t,
1646
1809
  static void send_keepalive_ping_locked(
1647
1810
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1648
1811
  if (!t->closed_with_error.ok()) {
1649
- t->combiner->Run(
1650
- grpc_core::InitTransportClosure<start_keepalive_ping_locked>(
1651
- t->Ref(), &t->start_keepalive_ping_locked),
1652
- t->closed_with_error);
1653
1812
  t->combiner->Run(
1654
1813
  grpc_core::InitTransportClosure<finish_keepalive_ping_locked>(
1655
1814
  t->Ref(), &t->finish_keepalive_ping_locked),
1656
1815
  t->closed_with_error);
1657
1816
  return;
1658
1817
  }
1659
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1660
- if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_INFLIGHT])) {
1661
- // There is a ping in flight. Add yourself to the inflight closure list.
1662
- t->combiner->Run(
1663
- grpc_core::InitTransportClosure<start_keepalive_ping_locked>(
1664
- t->Ref(), &t->start_keepalive_ping_locked),
1665
- t->closed_with_error);
1666
- grpc_closure_list_append(
1667
- &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT],
1668
- grpc_core::InitTransportClosure<finish_keepalive_ping>(
1669
- t->Ref(), &t->finish_keepalive_ping_locked),
1670
- absl::OkStatus());
1671
- return;
1672
- }
1673
- grpc_closure_list_append(
1674
- &pq->lists[GRPC_CHTTP2_PCL_INITIATE],
1675
- grpc_core::InitTransportClosure<start_keepalive_ping>(
1676
- t->Ref(), &t->start_keepalive_ping_locked),
1677
- absl::OkStatus());
1678
- grpc_closure_list_append(
1679
- &pq->lists[GRPC_CHTTP2_PCL_NEXT],
1680
- grpc_core::InitTransportClosure<finish_keepalive_ping>(
1681
- t->Ref(), &t->finish_keepalive_ping_locked),
1682
- absl::OkStatus());
1818
+ t->ping_callbacks.OnPingAck(
1819
+ PingClosureWrapper(grpc_core::InitTransportClosure<finish_keepalive_ping>(
1820
+ t->Ref(), &t->finish_keepalive_ping_locked)));
1683
1821
  }
1684
1822
 
1685
1823
  void grpc_chttp2_retry_initiate_ping(
@@ -1694,26 +1832,86 @@ static void retry_initiate_ping_locked(
1694
1832
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1695
1833
  GRPC_UNUSED grpc_error_handle error) {
1696
1834
  GPR_DEBUG_ASSERT(error.ok());
1697
- GPR_ASSERT(t->delayed_ping_timer_handle.has_value());
1698
- t->delayed_ping_timer_handle.reset();
1835
+ GPR_ASSERT(t->delayed_ping_timer_handle != TaskHandle::kInvalid);
1836
+ t->delayed_ping_timer_handle = TaskHandle::kInvalid;
1699
1837
  grpc_chttp2_initiate_write(t.get(),
1700
1838
  GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING);
1701
1839
  }
1702
1840
 
1703
1841
  void grpc_chttp2_ack_ping(grpc_chttp2_transport* t, uint64_t id) {
1704
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1705
- if (pq->inflight_id != id) {
1842
+ if (!t->ping_callbacks.AckPing(id, t->event_engine.get())) {
1706
1843
  gpr_log(GPR_DEBUG, "Unknown ping response from %s: %" PRIx64,
1707
1844
  std::string(t->peer_string.as_string_view()).c_str(), id);
1708
1845
  return;
1709
1846
  }
1710
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION,
1711
- &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT]);
1712
- if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_NEXT])) {
1847
+ if (t->ping_callbacks.ping_requested()) {
1713
1848
  grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CONTINUE_PINGS);
1714
1849
  }
1715
1850
  }
1716
1851
 
1852
+ void grpc_chttp2_keepalive_timeout(
1853
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1854
+ t->combiner->Run(
1855
+ grpc_core::NewClosure([t](grpc_error_handle) {
1856
+ gpr_log(GPR_INFO, "%s: Keepalive timeout. Closing transport.",
1857
+ std::string(t->peer_string.as_string_view()).c_str());
1858
+ send_goaway(
1859
+ t.get(),
1860
+ grpc_error_set_int(GRPC_ERROR_CREATE("keepalive_timeout"),
1861
+ grpc_core::StatusIntProperty::kHttp2Error,
1862
+ GRPC_HTTP2_ENHANCE_YOUR_CALM),
1863
+ /*immediate_disconnect_hint=*/true);
1864
+ close_transport_locked(
1865
+ t.get(),
1866
+ grpc_error_set_int(GRPC_ERROR_CREATE("keepalive timeout"),
1867
+ grpc_core::StatusIntProperty::kRpcStatus,
1868
+ GRPC_STATUS_UNAVAILABLE));
1869
+ }),
1870
+ absl::OkStatus());
1871
+ }
1872
+
1873
+ void grpc_chttp2_ping_timeout(
1874
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1875
+ t->combiner->Run(
1876
+ grpc_core::NewClosure([t](grpc_error_handle) {
1877
+ gpr_log(GPR_INFO, "%s: Ping timeout. Closing transport.",
1878
+ std::string(t->peer_string.as_string_view()).c_str());
1879
+ send_goaway(
1880
+ t.get(),
1881
+ grpc_error_set_int(GRPC_ERROR_CREATE("ping_timeout"),
1882
+ grpc_core::StatusIntProperty::kHttp2Error,
1883
+ GRPC_HTTP2_ENHANCE_YOUR_CALM),
1884
+ /*immediate_disconnect_hint=*/true);
1885
+ close_transport_locked(
1886
+ t.get(),
1887
+ grpc_error_set_int(GRPC_ERROR_CREATE("ping timeout"),
1888
+ grpc_core::StatusIntProperty::kRpcStatus,
1889
+ GRPC_STATUS_UNAVAILABLE));
1890
+ }),
1891
+ absl::OkStatus());
1892
+ }
1893
+
1894
+ void grpc_chttp2_settings_timeout(
1895
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1896
+ t->combiner->Run(
1897
+ grpc_core::NewClosure([t](grpc_error_handle) {
1898
+ gpr_log(GPR_INFO, "%s: Settings timeout. Closing transport.",
1899
+ std::string(t->peer_string.as_string_view()).c_str());
1900
+ send_goaway(
1901
+ t.get(),
1902
+ grpc_error_set_int(GRPC_ERROR_CREATE("settings_timeout"),
1903
+ grpc_core::StatusIntProperty::kHttp2Error,
1904
+ GRPC_HTTP2_SETTINGS_TIMEOUT),
1905
+ /*immediate_disconnect_hint=*/true);
1906
+ close_transport_locked(
1907
+ t.get(),
1908
+ grpc_error_set_int(GRPC_ERROR_CREATE("settings timeout"),
1909
+ grpc_core::StatusIntProperty::kRpcStatus,
1910
+ GRPC_STATUS_UNAVAILABLE));
1911
+ }),
1912
+ absl::OkStatus());
1913
+ }
1914
+
1717
1915
  namespace {
1718
1916
 
1719
1917
  // Fire and forget (deletes itself on completion). Does a graceful shutdown by
@@ -1733,20 +1931,13 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
1733
1931
  explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t->Ref()) {
1734
1932
  t->sent_goaway_state = GRPC_CHTTP2_GRACEFUL_GOAWAY;
1735
1933
  grpc_chttp2_goaway_append((1u << 31) - 1, 0, grpc_empty_slice(), &t->qbuf);
1934
+ t->keepalive_timeout =
1935
+ std::min(t->keepalive_timeout, grpc_core::Duration::Seconds(20));
1936
+ t->ping_timeout =
1937
+ std::min(t->ping_timeout, grpc_core::Duration::Seconds(20));
1736
1938
  send_ping_locked(
1737
1939
  t, nullptr, GRPC_CLOSURE_INIT(&on_ping_ack_, OnPingAck, this, nullptr));
1738
1940
  grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1739
- timer_handle_ = t_->event_engine->RunAfter(
1740
- grpc_core::Duration::Seconds(20),
1741
- [self = Ref(DEBUG_LOCATION, "GoawayTimer")]() mutable {
1742
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
1743
- grpc_core::ExecCtx exec_ctx;
1744
- // The ref will be unreffed in the combiner.
1745
- auto* ptr = self.release();
1746
- ptr->t_->combiner->Run(
1747
- GRPC_CLOSURE_INIT(&ptr->on_timer_, OnTimerLocked, ptr, nullptr),
1748
- absl::OkStatus());
1749
- });
1750
1941
  }
1751
1942
 
1752
1943
  void MaybeSendFinalGoawayLocked() {
@@ -1787,26 +1978,12 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
1787
1978
 
1788
1979
  static void OnPingAckLocked(void* arg, grpc_error_handle /* error */) {
1789
1980
  auto* self = static_cast<GracefulGoaway*>(arg);
1790
- if (self->timer_handle_ != TaskHandle::kInvalid) {
1791
- self->t_->event_engine->Cancel(
1792
- std::exchange(self->timer_handle_, TaskHandle::kInvalid));
1793
- }
1794
- self->MaybeSendFinalGoawayLocked();
1795
- self->Unref();
1796
- }
1797
-
1798
- static void OnTimerLocked(void* arg, grpc_error_handle /* error */) {
1799
- auto* self = static_cast<GracefulGoaway*>(arg);
1800
- // Clearing the handle since the timer has fired and the handle is invalid.
1801
- self->timer_handle_ = TaskHandle::kInvalid;
1802
1981
  self->MaybeSendFinalGoawayLocked();
1803
1982
  self->Unref();
1804
1983
  }
1805
1984
 
1806
1985
  const grpc_core::RefCountedPtr<grpc_chttp2_transport> t_;
1807
1986
  grpc_closure on_ping_ack_;
1808
- TaskHandle timer_handle_ = TaskHandle::kInvalid;
1809
- grpc_closure on_timer_;
1810
1987
  };
1811
1988
 
1812
1989
  } // namespace
@@ -1909,14 +2086,13 @@ static void perform_transport_op_locked(void* stream_op,
1909
2086
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
1910
2087
  }
1911
2088
 
1912
- static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) {
1913
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2089
+ void grpc_chttp2_transport::PerformOp(grpc_transport_op* op) {
1914
2090
  if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1915
- gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", t,
2091
+ gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", this,
1916
2092
  grpc_transport_op_string(op).c_str());
1917
2093
  }
1918
- op->handler_private.extra_arg = gt;
1919
- t->Ref().release()->combiner->Run(
2094
+ op->handler_private.extra_arg = this;
2095
+ Ref().release()->combiner->Run(
1920
2096
  GRPC_CLOSURE_INIT(&op->handler_private.closure,
1921
2097
  perform_transport_op_locked, op, nullptr),
1922
2098
  absl::OkStatus());
@@ -2059,8 +2235,8 @@ void grpc_chttp2_maybe_complete_recv_trailing_metadata(grpc_chttp2_transport* t,
2059
2235
  }
2060
2236
  }
2061
2237
 
2062
- static void remove_stream(grpc_chttp2_transport* t, uint32_t id,
2063
- grpc_error_handle error) {
2238
+ static grpc_chttp2_transport::RemovedStreamHandle remove_stream(
2239
+ grpc_chttp2_transport* t, uint32_t id, grpc_error_handle error) {
2064
2240
  grpc_chttp2_stream* s = t->stream_map.extract(id).mapped();
2065
2241
  GPR_DEBUG_ASSERT(s);
2066
2242
  if (t->incoming_stream == s) {
@@ -2083,29 +2259,74 @@ static void remove_stream(grpc_chttp2_transport* t, uint32_t id,
2083
2259
  grpc_chttp2_list_remove_stalled_by_transport(t, s);
2084
2260
 
2085
2261
  maybe_start_some_streams(t);
2262
+
2263
+ if (t->is_client) return grpc_chttp2_transport::RemovedStreamHandle();
2264
+ return grpc_chttp2_transport::RemovedStreamHandle(t->Ref());
2265
+ }
2266
+
2267
+ namespace grpc_core {
2268
+ namespace {
2269
+
2270
+ Duration TarpitDuration(grpc_chttp2_transport* t) {
2271
+ return Duration::Milliseconds(absl::LogUniform<int>(
2272
+ absl::BitGen(), t->min_tarpit_duration_ms, t->max_tarpit_duration_ms));
2273
+ }
2274
+
2275
+ template <typename F>
2276
+ void MaybeTarpit(grpc_chttp2_transport* t, bool tarpit, F fn) {
2277
+ if (!tarpit || !t->allow_tarpit || t->is_client) {
2278
+ fn(t);
2279
+ return;
2280
+ }
2281
+ const auto duration = TarpitDuration(t);
2282
+ t->event_engine->RunAfter(
2283
+ duration, [t = t->Ref(), fn = std::move(fn)]() mutable {
2284
+ ApplicationCallbackExecCtx app_exec_ctx;
2285
+ ExecCtx exec_ctx;
2286
+ t->combiner->Run(
2287
+ NewClosure([t, fn = std::move(fn)](grpc_error_handle) mutable {
2288
+ // TODO(ctiller): this can result in not sending RST_STREAMS if a
2289
+ // request gets tarpit behind a transport close.
2290
+ if (!t->closed_with_error.ok()) return;
2291
+ fn(t.get());
2292
+ }),
2293
+ absl::OkStatus());
2294
+ });
2086
2295
  }
2087
2296
 
2297
+ } // namespace
2298
+ } // namespace grpc_core
2299
+
2088
2300
  void grpc_chttp2_cancel_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
2089
- grpc_error_handle due_to_error) {
2301
+ grpc_error_handle due_to_error, bool tarpit) {
2090
2302
  if (!t->is_client && !s->sent_trailing_metadata &&
2091
- grpc_error_has_clear_grpc_status(due_to_error)) {
2092
- close_from_api(t, s, due_to_error);
2303
+ grpc_error_has_clear_grpc_status(due_to_error) &&
2304
+ !(s->read_closed && s->write_closed)) {
2305
+ close_from_api(t, s, due_to_error, tarpit);
2093
2306
  return;
2094
2307
  }
2095
2308
 
2309
+ if (!due_to_error.ok() && !s->seen_error) {
2310
+ s->seen_error = true;
2311
+ }
2096
2312
  if (!s->read_closed || !s->write_closed) {
2097
2313
  if (s->id != 0) {
2098
2314
  grpc_http2_error_code http_error;
2099
2315
  grpc_error_get_status(due_to_error, s->deadline, nullptr, nullptr,
2100
2316
  &http_error, nullptr);
2101
- grpc_chttp2_add_rst_stream_to_next_write(
2102
- t, s->id, static_cast<uint32_t>(http_error), &s->stats.outgoing);
2103
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM);
2317
+ grpc_core::MaybeTarpit(
2318
+ t, tarpit,
2319
+ [id = s->id, http_error,
2320
+ remove_stream_handle = grpc_chttp2_mark_stream_closed(
2321
+ t, s, 1, 1, due_to_error)](grpc_chttp2_transport* t) {
2322
+ grpc_chttp2_add_rst_stream_to_next_write(
2323
+ t, id, static_cast<uint32_t>(http_error), nullptr);
2324
+ grpc_chttp2_initiate_write(t,
2325
+ GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM);
2326
+ });
2327
+ return;
2104
2328
  }
2105
2329
  }
2106
- if (!due_to_error.ok() && !s->seen_error) {
2107
- s->seen_error = true;
2108
- }
2109
2330
  grpc_chttp2_mark_stream_closed(t, s, 1, 1, due_to_error);
2110
2331
  }
2111
2332
 
@@ -2198,9 +2419,10 @@ void grpc_chttp2_fail_pending_writes(grpc_chttp2_transport* t,
2198
2419
  flush_write_list(t, s, &s->on_flow_controlled_cbs, error);
2199
2420
  }
2200
2421
 
2201
- void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2202
- grpc_chttp2_stream* s, int close_reads,
2203
- int close_writes, grpc_error_handle error) {
2422
+ grpc_chttp2_transport::RemovedStreamHandle grpc_chttp2_mark_stream_closed(
2423
+ grpc_chttp2_transport* t, grpc_chttp2_stream* s, int close_reads,
2424
+ int close_writes, grpc_error_handle error) {
2425
+ grpc_chttp2_transport::RemovedStreamHandle rsh;
2204
2426
  if (grpc_http_trace.enabled()) {
2205
2427
  gpr_log(
2206
2428
  GPR_DEBUG, "MARK_STREAM_CLOSED: t=%p s=%p(id=%d) %s [%s]", t, s, s->id,
@@ -2216,7 +2438,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2216
2438
  grpc_chttp2_fake_status(t, s, overall_error);
2217
2439
  }
2218
2440
  grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
2219
- return;
2441
+ return rsh;
2220
2442
  }
2221
2443
  bool closed_read = false;
2222
2444
  bool became_closed = false;
@@ -2234,7 +2456,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2234
2456
  became_closed = true;
2235
2457
  grpc_error_handle overall_error = removal_error(error, s, "Stream removed");
2236
2458
  if (s->id != 0) {
2237
- remove_stream(t, s->id, overall_error);
2459
+ rsh = remove_stream(t, s->id, overall_error);
2238
2460
  } else {
2239
2461
  // Purge streams waiting on concurrency still waiting for id assignment
2240
2462
  grpc_chttp2_list_remove_waiting_for_concurrency(t, s);
@@ -2258,17 +2480,11 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2258
2480
  grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
2259
2481
  GRPC_CHTTP2_STREAM_UNREF(s, "chttp2");
2260
2482
  }
2483
+ return rsh;
2261
2484
  }
2262
2485
 
2263
2486
  static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
2264
- grpc_error_handle error) {
2265
- grpc_slice hdr;
2266
- grpc_slice status_hdr;
2267
- grpc_slice http_status_hdr;
2268
- grpc_slice content_type_hdr;
2269
- grpc_slice message_pfx;
2270
- uint8_t* p;
2271
- uint32_t len = 0;
2487
+ grpc_error_handle error, bool tarpit) {
2272
2488
  grpc_status_code grpc_status;
2273
2489
  std::string message;
2274
2490
  grpc_error_get_status(error, s->deadline, &grpc_status, &message, nullptr,
@@ -2276,147 +2492,167 @@ static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
2276
2492
 
2277
2493
  GPR_ASSERT(grpc_status >= 0 && (int)grpc_status < 100);
2278
2494
 
2279
- // Hand roll a header block.
2280
- // This is unnecessarily ugly - at some point we should find a more
2281
- // elegant solution.
2282
- // It's complicated by the fact that our send machinery would be dead by
2283
- // the time we got around to sending this, so instead we ignore HPACK
2284
- // compression and just write the uncompressed bytes onto the wire.
2285
- if (!s->sent_initial_metadata) {
2286
- http_status_hdr = GRPC_SLICE_MALLOC(13);
2287
- p = GRPC_SLICE_START_PTR(http_status_hdr);
2288
- *p++ = 0x00;
2289
- *p++ = 7;
2290
- *p++ = ':';
2291
- *p++ = 's';
2292
- *p++ = 't';
2293
- *p++ = 'a';
2294
- *p++ = 't';
2295
- *p++ = 'u';
2296
- *p++ = 's';
2297
- *p++ = 3;
2298
- *p++ = '2';
2299
- *p++ = '0';
2300
- *p++ = '0';
2301
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr));
2302
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(http_status_hdr);
2303
-
2304
- content_type_hdr = GRPC_SLICE_MALLOC(31);
2305
- p = GRPC_SLICE_START_PTR(content_type_hdr);
2306
- *p++ = 0x00;
2307
- *p++ = 12;
2308
- *p++ = 'c';
2309
- *p++ = 'o';
2310
- *p++ = 'n';
2311
- *p++ = 't';
2312
- *p++ = 'e';
2313
- *p++ = 'n';
2314
- *p++ = 't';
2315
- *p++ = '-';
2316
- *p++ = 't';
2317
- *p++ = 'y';
2318
- *p++ = 'p';
2319
- *p++ = 'e';
2320
- *p++ = 16;
2321
- *p++ = 'a';
2322
- *p++ = 'p';
2323
- *p++ = 'p';
2324
- *p++ = 'l';
2325
- *p++ = 'i';
2326
- *p++ = 'c';
2327
- *p++ = 'a';
2328
- *p++ = 't';
2329
- *p++ = 'i';
2330
- *p++ = 'o';
2331
- *p++ = 'n';
2332
- *p++ = '/';
2333
- *p++ = 'g';
2334
- *p++ = 'r';
2335
- *p++ = 'p';
2336
- *p++ = 'c';
2337
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr));
2338
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(content_type_hdr);
2339
- }
2340
-
2341
- status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10));
2342
- p = GRPC_SLICE_START_PTR(status_hdr);
2343
- *p++ = 0x00; // literal header, not indexed
2344
- *p++ = 11; // len(grpc-status)
2345
- *p++ = 'g';
2346
- *p++ = 'r';
2347
- *p++ = 'p';
2348
- *p++ = 'c';
2349
- *p++ = '-';
2350
- *p++ = 's';
2351
- *p++ = 't';
2352
- *p++ = 'a';
2353
- *p++ = 't';
2354
- *p++ = 'u';
2355
- *p++ = 's';
2356
- if (grpc_status < 10) {
2357
- *p++ = 1;
2358
- *p++ = static_cast<uint8_t>('0' + grpc_status);
2359
- } else {
2360
- *p++ = 2;
2361
- *p++ = static_cast<uint8_t>('0' + (grpc_status / 10));
2362
- *p++ = static_cast<uint8_t>('0' + (grpc_status % 10));
2363
- }
2364
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr));
2365
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(status_hdr);
2366
-
2367
- size_t msg_len = message.length();
2368
- GPR_ASSERT(msg_len <= UINT32_MAX);
2369
- grpc_core::VarintWriter<1> msg_len_writer(static_cast<uint32_t>(msg_len));
2370
- message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length());
2371
- p = GRPC_SLICE_START_PTR(message_pfx);
2372
- *p++ = 0x00; // literal header, not indexed
2373
- *p++ = 12; // len(grpc-message)
2374
- *p++ = 'g';
2375
- *p++ = 'r';
2376
- *p++ = 'p';
2377
- *p++ = 'c';
2378
- *p++ = '-';
2379
- *p++ = 'm';
2380
- *p++ = 'e';
2381
- *p++ = 's';
2382
- *p++ = 's';
2383
- *p++ = 'a';
2384
- *p++ = 'g';
2385
- *p++ = 'e';
2386
- msg_len_writer.Write(0, p);
2387
- p += msg_len_writer.length();
2388
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx));
2389
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(message_pfx);
2390
- len += static_cast<uint32_t>(msg_len);
2391
-
2392
- hdr = GRPC_SLICE_MALLOC(9);
2393
- p = GRPC_SLICE_START_PTR(hdr);
2394
- *p++ = static_cast<uint8_t>(len >> 16);
2395
- *p++ = static_cast<uint8_t>(len >> 8);
2396
- *p++ = static_cast<uint8_t>(len);
2397
- *p++ = GRPC_CHTTP2_FRAME_HEADER;
2398
- *p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM | GRPC_CHTTP2_DATA_FLAG_END_HEADERS;
2399
- *p++ = static_cast<uint8_t>(s->id >> 24);
2400
- *p++ = static_cast<uint8_t>(s->id >> 16);
2401
- *p++ = static_cast<uint8_t>(s->id >> 8);
2402
- *p++ = static_cast<uint8_t>(s->id);
2403
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr));
2404
-
2405
- grpc_slice_buffer_add(&t->qbuf, hdr);
2406
- if (!s->sent_initial_metadata) {
2407
- grpc_slice_buffer_add(&t->qbuf, http_status_hdr);
2408
- grpc_slice_buffer_add(&t->qbuf, content_type_hdr);
2409
- }
2410
- grpc_slice_buffer_add(&t->qbuf, status_hdr);
2411
- grpc_slice_buffer_add(&t->qbuf, message_pfx);
2412
- grpc_slice_buffer_add(&t->qbuf,
2413
- grpc_slice_from_cpp_string(std::move(message)));
2414
- grpc_chttp2_reset_ping_clock(t);
2415
- grpc_chttp2_add_rst_stream_to_next_write(t, s->id, GRPC_HTTP2_NO_ERROR,
2416
- &s->stats.outgoing);
2417
-
2418
- grpc_chttp2_mark_stream_closed(t, s, 1, 1, error);
2419
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
2495
+ auto remove_stream_handle = grpc_chttp2_mark_stream_closed(t, s, 1, 1, error);
2496
+ grpc_core::MaybeTarpit(
2497
+ t, tarpit,
2498
+ [error = std::move(error),
2499
+ sent_initial_metadata = s->sent_initial_metadata, id = s->id,
2500
+ grpc_status, message = std::move(message),
2501
+ remove_stream_handle =
2502
+ std::move(remove_stream_handle)](grpc_chttp2_transport* t) mutable {
2503
+ grpc_slice hdr;
2504
+ grpc_slice status_hdr;
2505
+ grpc_slice http_status_hdr;
2506
+ grpc_slice content_type_hdr;
2507
+ grpc_slice message_pfx;
2508
+ uint8_t* p;
2509
+ uint32_t len = 0;
2510
+
2511
+ // Hand roll a header block.
2512
+ // This is unnecessarily ugly - at some point we should find a more
2513
+ // elegant solution.
2514
+ // It's complicated by the fact that our send machinery would be dead
2515
+ // by the time we got around to sending this, so instead we ignore
2516
+ // HPACK compression and just write the uncompressed bytes onto the
2517
+ // wire.
2518
+ if (!sent_initial_metadata) {
2519
+ http_status_hdr = GRPC_SLICE_MALLOC(13);
2520
+ p = GRPC_SLICE_START_PTR(http_status_hdr);
2521
+ *p++ = 0x00;
2522
+ *p++ = 7;
2523
+ *p++ = ':';
2524
+ *p++ = 's';
2525
+ *p++ = 't';
2526
+ *p++ = 'a';
2527
+ *p++ = 't';
2528
+ *p++ = 'u';
2529
+ *p++ = 's';
2530
+ *p++ = 3;
2531
+ *p++ = '2';
2532
+ *p++ = '0';
2533
+ *p++ = '0';
2534
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr));
2535
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(http_status_hdr);
2536
+
2537
+ content_type_hdr = GRPC_SLICE_MALLOC(31);
2538
+ p = GRPC_SLICE_START_PTR(content_type_hdr);
2539
+ *p++ = 0x00;
2540
+ *p++ = 12;
2541
+ *p++ = 'c';
2542
+ *p++ = 'o';
2543
+ *p++ = 'n';
2544
+ *p++ = 't';
2545
+ *p++ = 'e';
2546
+ *p++ = 'n';
2547
+ *p++ = 't';
2548
+ *p++ = '-';
2549
+ *p++ = 't';
2550
+ *p++ = 'y';
2551
+ *p++ = 'p';
2552
+ *p++ = 'e';
2553
+ *p++ = 16;
2554
+ *p++ = 'a';
2555
+ *p++ = 'p';
2556
+ *p++ = 'p';
2557
+ *p++ = 'l';
2558
+ *p++ = 'i';
2559
+ *p++ = 'c';
2560
+ *p++ = 'a';
2561
+ *p++ = 't';
2562
+ *p++ = 'i';
2563
+ *p++ = 'o';
2564
+ *p++ = 'n';
2565
+ *p++ = '/';
2566
+ *p++ = 'g';
2567
+ *p++ = 'r';
2568
+ *p++ = 'p';
2569
+ *p++ = 'c';
2570
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr));
2571
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(content_type_hdr);
2572
+ }
2573
+
2574
+ status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10));
2575
+ p = GRPC_SLICE_START_PTR(status_hdr);
2576
+ *p++ = 0x00; // literal header, not indexed
2577
+ *p++ = 11; // len(grpc-status)
2578
+ *p++ = 'g';
2579
+ *p++ = 'r';
2580
+ *p++ = 'p';
2581
+ *p++ = 'c';
2582
+ *p++ = '-';
2583
+ *p++ = 's';
2584
+ *p++ = 't';
2585
+ *p++ = 'a';
2586
+ *p++ = 't';
2587
+ *p++ = 'u';
2588
+ *p++ = 's';
2589
+ if (grpc_status < 10) {
2590
+ *p++ = 1;
2591
+ *p++ = static_cast<uint8_t>('0' + grpc_status);
2592
+ } else {
2593
+ *p++ = 2;
2594
+ *p++ = static_cast<uint8_t>('0' + (grpc_status / 10));
2595
+ *p++ = static_cast<uint8_t>('0' + (grpc_status % 10));
2596
+ }
2597
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr));
2598
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(status_hdr);
2599
+
2600
+ size_t msg_len = message.length();
2601
+ GPR_ASSERT(msg_len <= UINT32_MAX);
2602
+ grpc_core::VarintWriter<1> msg_len_writer(
2603
+ static_cast<uint32_t>(msg_len));
2604
+ message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length());
2605
+ p = GRPC_SLICE_START_PTR(message_pfx);
2606
+ *p++ = 0x00; // literal header, not indexed
2607
+ *p++ = 12; // len(grpc-message)
2608
+ *p++ = 'g';
2609
+ *p++ = 'r';
2610
+ *p++ = 'p';
2611
+ *p++ = 'c';
2612
+ *p++ = '-';
2613
+ *p++ = 'm';
2614
+ *p++ = 'e';
2615
+ *p++ = 's';
2616
+ *p++ = 's';
2617
+ *p++ = 'a';
2618
+ *p++ = 'g';
2619
+ *p++ = 'e';
2620
+ msg_len_writer.Write(0, p);
2621
+ p += msg_len_writer.length();
2622
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx));
2623
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(message_pfx);
2624
+ len += static_cast<uint32_t>(msg_len);
2625
+
2626
+ hdr = GRPC_SLICE_MALLOC(9);
2627
+ p = GRPC_SLICE_START_PTR(hdr);
2628
+ *p++ = static_cast<uint8_t>(len >> 16);
2629
+ *p++ = static_cast<uint8_t>(len >> 8);
2630
+ *p++ = static_cast<uint8_t>(len);
2631
+ *p++ = GRPC_CHTTP2_FRAME_HEADER;
2632
+ *p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM |
2633
+ GRPC_CHTTP2_DATA_FLAG_END_HEADERS;
2634
+ *p++ = static_cast<uint8_t>(id >> 24);
2635
+ *p++ = static_cast<uint8_t>(id >> 16);
2636
+ *p++ = static_cast<uint8_t>(id >> 8);
2637
+ *p++ = static_cast<uint8_t>(id);
2638
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr));
2639
+
2640
+ grpc_slice_buffer_add(&t->qbuf, hdr);
2641
+ if (!sent_initial_metadata) {
2642
+ grpc_slice_buffer_add(&t->qbuf, http_status_hdr);
2643
+ grpc_slice_buffer_add(&t->qbuf, content_type_hdr);
2644
+ }
2645
+ grpc_slice_buffer_add(&t->qbuf, status_hdr);
2646
+ grpc_slice_buffer_add(&t->qbuf, message_pfx);
2647
+ grpc_slice_buffer_add(&t->qbuf,
2648
+ grpc_slice_from_cpp_string(std::move(message)));
2649
+ grpc_chttp2_reset_ping_clock(t);
2650
+ grpc_chttp2_add_rst_stream_to_next_write(t, id, GRPC_HTTP2_NO_ERROR,
2651
+ nullptr);
2652
+
2653
+ grpc_chttp2_initiate_write(t,
2654
+ GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
2655
+ });
2420
2656
  }
2421
2657
 
2422
2658
  static void end_all_the_calls(grpc_chttp2_transport* t,
@@ -2429,13 +2665,13 @@ static void end_all_the_calls(grpc_chttp2_transport* t,
2429
2665
  error = grpc_error_set_int(error, grpc_core::StatusIntProperty::kRpcStatus,
2430
2666
  GRPC_STATUS_UNAVAILABLE);
2431
2667
  }
2432
- cancel_unstarted_streams(t, error);
2668
+ cancel_unstarted_streams(t, error, false);
2433
2669
  std::vector<grpc_chttp2_stream*> to_cancel;
2434
2670
  for (auto id_stream : t->stream_map) {
2435
2671
  to_cancel.push_back(id_stream.second);
2436
2672
  }
2437
2673
  for (auto s : to_cancel) {
2438
- grpc_chttp2_cancel_stream(t, s, error);
2674
+ grpc_chttp2_cancel_stream(t, s, error, false);
2439
2675
  }
2440
2676
  }
2441
2677
 
@@ -2528,21 +2764,34 @@ static void read_action(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2528
2764
  error);
2529
2765
  }
2530
2766
 
2531
- static void read_action_locked(
2767
+ static void read_action_parse_loop_locked(
2532
2768
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2533
2769
  grpc_error_handle error) {
2534
- grpc_error_handle err = error;
2535
- if (!err.ok()) {
2536
- err = grpc_error_set_int(
2537
- GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
2538
- grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
2539
- }
2540
- std::swap(err, error);
2541
2770
  if (t->closed_with_error.ok()) {
2542
- size_t i = 0;
2543
2771
  grpc_error_handle errors[3] = {error, absl::OkStatus(), absl::OkStatus()};
2544
- for (; i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) {
2545
- errors[1] = grpc_chttp2_perform_read(t.get(), t->read_buffer.slices[i]);
2772
+ size_t requests_started = 0;
2773
+ for (size_t i = 0;
2774
+ i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) {
2775
+ auto r = grpc_chttp2_perform_read(t.get(), t->read_buffer.slices[i],
2776
+ requests_started);
2777
+ if (auto* partial_read_size = absl::get_if<size_t>(&r)) {
2778
+ for (size_t j = 0; j < i; j++) {
2779
+ grpc_core::CSliceUnref(grpc_slice_buffer_take_first(&t->read_buffer));
2780
+ }
2781
+ grpc_slice_buffer_sub_first(
2782
+ &t->read_buffer, *partial_read_size,
2783
+ GRPC_SLICE_LENGTH(t->read_buffer.slices[0]));
2784
+ t->combiner->ForceOffload();
2785
+ auto* tp = t.get();
2786
+ tp->combiner->Run(
2787
+ grpc_core::InitTransportClosure<read_action_parse_loop_locked>(
2788
+ std::move(t), &tp->read_action_locked),
2789
+ std::move(errors[0]));
2790
+ // Early return: we queued to retry later.
2791
+ return;
2792
+ } else {
2793
+ errors[1] = std::move(absl::get<absl::Status>(r));
2794
+ }
2546
2795
  }
2547
2796
  if (errors[1] != absl::OkStatus()) {
2548
2797
  errors[2] = try_http_parsing(t.get());
@@ -2577,7 +2826,6 @@ static void read_action_locked(
2577
2826
  }
2578
2827
 
2579
2828
  close_transport_locked(t.get(), error);
2580
- t->endpoint_reading = 0;
2581
2829
  } else if (t->closed_with_error.ok()) {
2582
2830
  keep_reading = true;
2583
2831
  // Since we have read a byte, reset the keepalive timer
@@ -2601,6 +2849,31 @@ static void read_action_locked(
2601
2849
  }
2602
2850
  }
2603
2851
 
2852
+ static void read_action_locked(
2853
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2854
+ grpc_error_handle error) {
2855
+ // got an incoming read, cancel any pending keepalive timers
2856
+ t->keepalive_incoming_data_wanted = false;
2857
+ if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
2858
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace) ||
2859
+ GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2860
+ gpr_log(GPR_INFO,
2861
+ "%s[%p]: Clear keepalive timer because data was received",
2862
+ t->is_client ? "CLIENT" : "SERVER", t.get());
2863
+ }
2864
+ t->event_engine->Cancel(
2865
+ std::exchange(t->keepalive_ping_timeout_handle, TaskHandle::kInvalid));
2866
+ }
2867
+ grpc_error_handle err = error;
2868
+ if (!err.ok()) {
2869
+ err = grpc_error_set_int(
2870
+ GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
2871
+ grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
2872
+ }
2873
+ std::swap(err, error);
2874
+ read_action_parse_loop_locked(std::move(t), std::move(err));
2875
+ }
2876
+
2604
2877
  static void continue_read_action_locked(
2605
2878
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
2606
2879
  const bool urgent = !t->goaway_error.ok();
@@ -2682,7 +2955,7 @@ static void finish_bdp_ping_locked(
2682
2955
  t->flow_control.bdp_estimator()->CompletePing();
2683
2956
  grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t.get(),
2684
2957
  nullptr);
2685
- GPR_ASSERT(!t->next_bdp_ping_timer_handle.has_value());
2958
+ GPR_ASSERT(t->next_bdp_ping_timer_handle == TaskHandle::kInvalid);
2686
2959
  t->next_bdp_ping_timer_handle =
2687
2960
  t->event_engine->RunAfter(next_ping - grpc_core::Timestamp::Now(), [t] {
2688
2961
  grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
@@ -2702,8 +2975,8 @@ static void next_bdp_ping_timer_expired_locked(
2702
2975
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2703
2976
  GRPC_UNUSED grpc_error_handle error) {
2704
2977
  GPR_DEBUG_ASSERT(error.ok());
2705
- GPR_ASSERT(t->next_bdp_ping_timer_handle.has_value());
2706
- t->next_bdp_ping_timer_handle.reset();
2978
+ GPR_ASSERT(t->next_bdp_ping_timer_handle != TaskHandle::kInvalid);
2979
+ t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
2707
2980
  if (t->flow_control.bdp_estimator()->accumulator() == 0) {
2708
2981
  // Block the bdp ping till we receive more data.
2709
2982
  t->bdp_ping_blocked = true;
@@ -2772,8 +3045,8 @@ static void init_keepalive_ping_locked(
2772
3045
  GRPC_UNUSED grpc_error_handle error) {
2773
3046
  GPR_DEBUG_ASSERT(error.ok());
2774
3047
  GPR_ASSERT(t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING);
2775
- GPR_ASSERT(t->keepalive_ping_timer_handle.has_value());
2776
- t->keepalive_ping_timer_handle.reset();
3048
+ GPR_ASSERT(t->keepalive_ping_timer_handle != TaskHandle::kInvalid);
3049
+ t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
2777
3050
  if (t->destroying || !t->closed_with_error.ok()) {
2778
3051
  t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
2779
3052
  } else {
@@ -2793,39 +3066,6 @@ static void init_keepalive_ping_locked(
2793
3066
  }
2794
3067
  }
2795
3068
 
2796
- static void start_keepalive_ping(
2797
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2798
- grpc_error_handle error) {
2799
- auto* tp = t.get();
2800
- tp->combiner->Run(
2801
- grpc_core::InitTransportClosure<start_keepalive_ping_locked>(
2802
- std::move(t), &tp->start_keepalive_ping_locked),
2803
- error);
2804
- }
2805
-
2806
- static void start_keepalive_ping_locked(
2807
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2808
- grpc_error_handle error) {
2809
- if (!error.ok()) {
2810
- return;
2811
- }
2812
- if (t->channelz_socket != nullptr) {
2813
- t->channelz_socket->RecordKeepaliveSent();
2814
- }
2815
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
2816
- GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2817
- gpr_log(GPR_INFO, "%s: Start keepalive ping",
2818
- std::string(t->peer_string.as_string_view()).c_str());
2819
- }
2820
- t->keepalive_watchdog_timer_handle =
2821
- t->event_engine->RunAfter(t->keepalive_timeout, [t]() mutable {
2822
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2823
- grpc_core::ExecCtx exec_ctx;
2824
- keepalive_watchdog_fired(std::move(t));
2825
- });
2826
- t->keepalive_ping_started = true;
2827
- }
2828
-
2829
3069
  static void finish_keepalive_ping(
2830
3070
  grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2831
3071
  grpc_error_handle error) {
@@ -2846,20 +3086,8 @@ static void finish_keepalive_ping_locked(
2846
3086
  gpr_log(GPR_INFO, "%s: Finish keepalive ping",
2847
3087
  std::string(t->peer_string.as_string_view()).c_str());
2848
3088
  }
2849
- if (!t->keepalive_ping_started) {
2850
- // start_keepalive_ping_locked has not run yet. Reschedule
2851
- // finish_keepalive_ping_locked for it to be run later.
2852
- finish_keepalive_ping(std::move(t), std::move(error));
2853
- return;
2854
- }
2855
- t->keepalive_ping_started = false;
2856
3089
  t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
2857
- if (t->keepalive_watchdog_timer_handle.has_value()) {
2858
- if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
2859
- t->keepalive_watchdog_timer_handle.reset();
2860
- }
2861
- }
2862
- GPR_ASSERT(!t->keepalive_ping_timer_handle.has_value());
3090
+ GPR_ASSERT(t->keepalive_ping_timer_handle == TaskHandle::kInvalid);
2863
3091
  t->keepalive_ping_timer_handle =
2864
3092
  t->event_engine->RunAfter(t->keepalive_time, [t] {
2865
3093
  grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
@@ -2870,56 +3098,22 @@ static void finish_keepalive_ping_locked(
2870
3098
  }
2871
3099
  }
2872
3100
 
2873
- static void keepalive_watchdog_fired(
2874
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
2875
- auto* tp = t.get();
2876
- tp->combiner->Run(
2877
- grpc_core::InitTransportClosure<keepalive_watchdog_fired_locked>(
2878
- std::move(t), &tp->keepalive_watchdog_fired_locked),
2879
- absl::OkStatus());
2880
- }
2881
-
2882
- static void keepalive_watchdog_fired_locked(
2883
- grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2884
- GRPC_UNUSED grpc_error_handle error) {
2885
- GPR_DEBUG_ASSERT(error.ok());
2886
- GPR_ASSERT(t->keepalive_watchdog_timer_handle.has_value());
2887
- t->keepalive_watchdog_timer_handle.reset();
2888
- if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
2889
- gpr_log(GPR_INFO, "%s: Keepalive watchdog fired. Closing transport.",
2890
- std::string(t->peer_string.as_string_view()).c_str());
2891
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
2892
- close_transport_locked(
2893
- t.get(),
2894
- grpc_error_set_int(GRPC_ERROR_CREATE("keepalive watchdog timeout"),
2895
- grpc_core::StatusIntProperty::kRpcStatus,
2896
- GRPC_STATUS_UNAVAILABLE));
2897
- } else {
2898
- // If keepalive_state is not PINGING, we consider it as an error. Maybe the
2899
- // cancellation failed in finish_keepalive_ping_locked. Users have seen
2900
- // other states: https://github.com/grpc/grpc/issues/32085.
2901
- gpr_log(GPR_ERROR, "keepalive_ping_end state error: %d (expect: %d)",
2902
- t->keepalive_state, GRPC_CHTTP2_KEEPALIVE_STATE_PINGING);
2903
- }
2904
- }
2905
-
2906
3101
  static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t) {
2907
- if (t->keepalive_ping_timer_handle.has_value()) {
2908
- if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) {
2909
- // Cancel succeeds, resets the keepalive ping timer. Note that we don't
2910
- // need to Ref or Unref here since we still hold the Ref.
2911
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
2912
- GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2913
- gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.",
2914
- std::string(t->peer_string.as_string_view()).c_str());
2915
- }
2916
- t->keepalive_ping_timer_handle = t->event_engine->RunAfter(
2917
- t->keepalive_time, [t = t->Ref()]() mutable {
2918
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2919
- grpc_core::ExecCtx exec_ctx;
2920
- init_keepalive_ping(std::move(t));
2921
- });
3102
+ if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
3103
+ t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
3104
+ // Cancel succeeds, resets the keepalive ping timer. Note that we don't
3105
+ // need to Ref or Unref here since we still hold the Ref.
3106
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
3107
+ GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
3108
+ gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.",
3109
+ std::string(t->peer_string.as_string_view()).c_str());
2922
3110
  }
3111
+ t->keepalive_ping_timer_handle =
3112
+ t->event_engine->RunAfter(t->keepalive_time, [t = t->Ref()]() mutable {
3113
+ grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
3114
+ grpc_core::ExecCtx exec_ctx;
3115
+ init_keepalive_ping(std::move(t));
3116
+ });
2923
3117
  }
2924
3118
  }
2925
3119
 
@@ -2941,16 +3135,14 @@ static void connectivity_state_set(grpc_chttp2_transport* t,
2941
3135
  // POLLSET STUFF
2942
3136
  //
2943
3137
 
2944
- static void set_pollset(grpc_transport* gt, grpc_stream* /*gs*/,
2945
- grpc_pollset* pollset) {
2946
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2947
- grpc_endpoint_add_to_pollset(t->ep, pollset);
3138
+ void grpc_chttp2_transport::SetPollset(grpc_stream* /*gs*/,
3139
+ grpc_pollset* pollset) {
3140
+ grpc_endpoint_add_to_pollset(ep, pollset);
2948
3141
  }
2949
3142
 
2950
- static void set_pollset_set(grpc_transport* gt, grpc_stream* /*gs*/,
2951
- grpc_pollset_set* pollset_set) {
2952
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2953
- grpc_endpoint_add_to_pollset_set(t->ep, pollset_set);
3143
+ void grpc_chttp2_transport::SetPollsetSet(grpc_stream* /*gs*/,
3144
+ grpc_pollset_set* pollset_set) {
3145
+ grpc_endpoint_add_to_pollset_set(ep, pollset_set);
2954
3146
  }
2955
3147
 
2956
3148
  //
@@ -3038,7 +3230,8 @@ static void destructive_reclaimer_locked(
3038
3230
  t.get(), s,
3039
3231
  grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
3040
3232
  grpc_core::StatusIntProperty::kHttp2Error,
3041
- GRPC_HTTP2_ENHANCE_YOUR_CALM));
3233
+ GRPC_HTTP2_ENHANCE_YOUR_CALM),
3234
+ false);
3042
3235
  if (!t->stream_map.empty()) {
3043
3236
  // Since we cancel one stream per destructive reclamation, if
3044
3237
  // there are more streams left, we can immediately post a new
@@ -3107,41 +3300,36 @@ const char* grpc_chttp2_initiate_write_reason_string(
3107
3300
  GPR_UNREACHABLE_CODE(return "unknown");
3108
3301
  }
3109
3302
 
3110
- static grpc_endpoint* chttp2_get_endpoint(grpc_transport* t) {
3111
- return (reinterpret_cast<grpc_chttp2_transport*>(t))->ep;
3303
+ grpc_endpoint* grpc_chttp2_transport::GetEndpoint() { return ep; }
3304
+
3305
+ size_t grpc_chttp2_transport::SizeOfStream() const {
3306
+ return sizeof(grpc_chttp2_stream);
3112
3307
  }
3113
3308
 
3114
- static const grpc_transport_vtable vtable = {sizeof(grpc_chttp2_stream),
3115
- false,
3116
- "chttp2",
3117
- init_stream,
3118
- nullptr,
3119
- set_pollset,
3120
- set_pollset_set,
3121
- perform_stream_op,
3122
- perform_transport_op,
3123
- destroy_stream,
3124
- destroy_transport,
3125
- chttp2_get_endpoint};
3309
+ bool grpc_chttp2_transport::
3310
+ HackyDisableStreamOpBatchCoalescingInConnectedChannel() const {
3311
+ return false;
3312
+ }
3126
3313
 
3127
- static const grpc_transport_vtable* get_vtable(void) { return &vtable; }
3314
+ absl::string_view grpc_chttp2_transport::GetTransportName() const {
3315
+ return "chttp2";
3316
+ }
3128
3317
 
3129
3318
  grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode>
3130
- grpc_chttp2_transport_get_socket_node(grpc_transport* transport) {
3319
+ grpc_chttp2_transport_get_socket_node(grpc_core::Transport* transport) {
3131
3320
  grpc_chttp2_transport* t =
3132
3321
  reinterpret_cast<grpc_chttp2_transport*>(transport);
3133
3322
  return t->channelz_socket;
3134
3323
  }
3135
3324
 
3136
- grpc_transport* grpc_create_chttp2_transport(
3325
+ grpc_core::Transport* grpc_create_chttp2_transport(
3137
3326
  const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
3138
3327
  bool is_client) {
3139
- auto t = new grpc_chttp2_transport(channel_args, ep, is_client);
3140
- return &t->base;
3328
+ return new grpc_chttp2_transport(channel_args, ep, is_client);
3141
3329
  }
3142
3330
 
3143
3331
  void grpc_chttp2_transport_start_reading(
3144
- grpc_transport* transport, grpc_slice_buffer* read_buffer,
3332
+ grpc_core::Transport* transport, grpc_slice_buffer* read_buffer,
3145
3333
  grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close) {
3146
3334
  auto t = reinterpret_cast<grpc_chttp2_transport*>(transport)->Ref();
3147
3335
  if (read_buffer != nullptr) {