grpc 1.57.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2950) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1468 -1087
  3. data/include/grpc/event_engine/event_engine.h +28 -24
  4. data/include/grpc/event_engine/extensible.h +68 -0
  5. data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
  6. data/include/grpc/event_engine/internal/slice_cast.h +12 -0
  7. data/include/grpc/event_engine/memory_allocator.h +5 -3
  8. data/include/grpc/event_engine/slice.h +5 -0
  9. data/include/grpc/grpc_crl_provider.h +94 -0
  10. data/include/grpc/grpc_security.h +38 -1
  11. data/include/grpc/impl/call.h +29 -0
  12. data/include/grpc/impl/channel_arg_names.h +400 -0
  13. data/include/grpc/impl/grpc_types.h +1 -353
  14. data/include/grpc/impl/slice_type.h +1 -1
  15. data/include/grpc/module.modulemap +3 -0
  16. data/include/grpc/support/port_platform.h +86 -21
  17. data/src/core/client_channel/backend_metric.cc +95 -0
  18. data/src/core/client_channel/backend_metric.h +47 -0
  19. data/src/core/client_channel/backup_poller.cc +178 -0
  20. data/src/core/client_channel/backup_poller.h +37 -0
  21. data/src/core/client_channel/channel_connectivity.cc +265 -0
  22. data/src/core/client_channel/client_channel_channelz.cc +93 -0
  23. data/src/core/client_channel/client_channel_channelz.h +85 -0
  24. data/src/core/client_channel/client_channel_factory.cc +32 -0
  25. data/src/core/client_channel/client_channel_factory.h +46 -0
  26. data/src/core/client_channel/client_channel_filter.cc +3654 -0
  27. data/src/core/client_channel/client_channel_filter.h +636 -0
  28. data/src/core/client_channel/client_channel_internal.h +79 -0
  29. data/src/core/client_channel/client_channel_plugin.cc +55 -0
  30. data/src/core/client_channel/client_channel_service_config.cc +153 -0
  31. data/src/core/client_channel/client_channel_service_config.h +111 -0
  32. data/src/core/client_channel/config_selector.cc +60 -0
  33. data/src/core/client_channel/config_selector.h +125 -0
  34. data/src/core/client_channel/connector.h +87 -0
  35. data/src/core/client_channel/dynamic_filters.cc +174 -0
  36. data/src/core/client_channel/dynamic_filters.h +110 -0
  37. data/src/core/client_channel/global_subchannel_pool.cc +65 -0
  38. data/src/core/client_channel/global_subchannel_pool.h +63 -0
  39. data/src/core/client_channel/http_proxy_mapper.cc +305 -0
  40. data/src/core/client_channel/http_proxy_mapper.h +53 -0
  41. data/src/core/client_channel/local_subchannel_pool.cc +60 -0
  42. data/src/core/client_channel/local_subchannel_pool.h +59 -0
  43. data/src/core/client_channel/retry_filter.cc +160 -0
  44. data/src/core/client_channel/retry_filter.h +122 -0
  45. data/src/core/client_channel/retry_filter_legacy_call_data.cc +2054 -0
  46. data/src/core/client_channel/retry_filter_legacy_call_data.h +443 -0
  47. data/src/core/client_channel/retry_service_config.cc +283 -0
  48. data/src/core/client_channel/retry_service_config.h +105 -0
  49. data/src/core/client_channel/retry_throttle.cc +139 -0
  50. data/src/core/client_channel/retry_throttle.h +92 -0
  51. data/src/core/client_channel/service_config_channel_arg_filter.cc +136 -0
  52. data/src/core/client_channel/subchannel.cc +812 -0
  53. data/src/core/client_channel/subchannel.h +387 -0
  54. data/src/core/client_channel/subchannel_interface_internal.h +41 -0
  55. data/src/core/client_channel/subchannel_pool_interface.cc +66 -0
  56. data/src/core/client_channel/subchannel_pool_interface.h +100 -0
  57. data/src/core/client_channel/subchannel_stream_client.cc +468 -0
  58. data/src/core/client_channel/subchannel_stream_client.h +225 -0
  59. data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +56 -16
  60. data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
  61. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +49 -46
  62. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
  63. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
  64. data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
  65. data/src/core/ext/filters/deadline/deadline_filter.cc +21 -24
  66. data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
  67. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +19 -14
  68. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
  69. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +1 -1
  70. data/src/core/ext/filters/http/client/http_client_filter.cc +30 -39
  71. data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
  72. data/src/core/ext/filters/http/client_authority_filter.cc +23 -25
  73. data/src/core/ext/filters/http/client_authority_filter.h +12 -4
  74. data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
  75. data/src/core/ext/filters/http/message_compress/compression_filter.cc +56 -84
  76. data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
  77. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
  78. data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
  79. data/src/core/ext/filters/http/server/http_server_filter.cc +55 -53
  80. data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
  81. data/src/core/ext/filters/message_size/message_size_filter.cc +80 -109
  82. data/src/core/ext/filters/message_size/message_size_filter.h +36 -24
  83. data/src/core/ext/filters/rbac/rbac_filter.cc +24 -20
  84. data/src/core/ext/filters/rbac/rbac_filter.h +11 -4
  85. data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +4 -7
  86. data/src/core/ext/filters/rbac/rbac_service_config_parser.h +1 -1
  87. data/src/core/ext/filters/server_config_selector/server_config_selector.h +2 -2
  88. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +28 -15
  89. data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +60 -65
  90. data/src/core/ext/filters/stateful_session/stateful_session_filter.h +43 -9
  91. data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +1 -1
  92. data/src/core/ext/gcp/metadata_query.cc +0 -1
  93. data/src/core/ext/transport/chttp2/alpn/alpn.cc +5 -2
  94. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +10 -12
  95. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
  96. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +29 -32
  97. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +1018 -904
  98. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
  99. data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
  100. data/src/core/ext/transport/chttp2/transport/flow_control.cc +56 -88
  101. data/src/core/ext/transport/chttp2/transport/flow_control.h +85 -12
  102. data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
  103. data/src/core/ext/transport/chttp2/transport/frame.h +193 -22
  104. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
  105. data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
  106. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
  107. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
  108. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +22 -18
  109. data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -1
  110. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -3
  111. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
  112. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +34 -82
  113. data/src/core/ext/transport/chttp2/transport/frame_settings.h +5 -8
  114. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
  115. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
  116. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +16 -22
  117. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +12 -3
  118. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
  119. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
  120. data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
  121. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +79 -11
  122. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +17 -8
  123. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +3 -1
  124. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
  125. data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
  126. data/src/core/ext/transport/chttp2/transport/internal.h +220 -162
  127. data/src/core/ext/transport/chttp2/transport/legacy_frame.h +43 -0
  128. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
  129. data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
  130. data/src/core/ext/transport/chttp2/transport/parsing.cc +146 -50
  131. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +90 -0
  132. data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +59 -0
  133. data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
  134. data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
  135. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +120 -0
  136. data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +88 -0
  137. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
  138. data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
  139. data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
  140. data/src/core/ext/transport/chttp2/transport/writing.cc +225 -176
  141. data/src/core/ext/transport/inproc/inproc_transport.cc +168 -1227
  142. data/src/core/ext/transport/inproc/inproc_transport.h +8 -4
  143. data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
  144. data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
  145. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
  146. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
  147. data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
  148. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
  149. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
  150. data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
  151. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
  152. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
  153. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
  154. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
  155. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
  156. data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
  157. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
  158. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
  159. data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
  160. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
  161. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
  162. data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
  163. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
  164. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
  165. data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
  166. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
  167. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
  168. data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
  169. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
  170. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
  171. data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
  172. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
  173. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
  174. data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
  175. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
  176. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
  177. data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
  178. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
  179. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
  180. data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
  181. data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
  182. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
  183. data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
  184. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
  185. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
  186. data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
  187. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3607 -0
  188. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +651 -0
  189. data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +51 -0
  190. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
  191. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
  192. data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
  193. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3934 -0
  194. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +737 -0
  195. data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
  196. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +146 -0
  197. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +57 -0
  198. data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
  199. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +687 -0
  200. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +125 -0
  201. data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
  202. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1829 -0
  203. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +394 -0
  204. data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
  205. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1070 -0
  206. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +227 -0
  207. data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
  208. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
  209. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
  210. data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
  211. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2436 -0
  212. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +578 -0
  213. data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
  214. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
  215. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
  216. data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
  217. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
  218. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
  219. data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
  220. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
  221. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
  222. data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
  223. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
  224. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
  225. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
  226. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
  227. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
  228. data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
  229. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
  230. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
  231. data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
  232. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +166 -0
  233. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +55 -0
  234. data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +30 -0
  235. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
  236. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
  237. data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
  238. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2275 -0
  239. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +483 -0
  240. data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
  241. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
  242. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
  243. data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
  244. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
  245. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
  246. data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
  247. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
  248. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
  249. data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
  250. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +335 -0
  251. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +83 -0
  252. data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +31 -0
  253. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
  254. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
  255. data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
  256. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +504 -0
  257. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +139 -0
  258. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
  259. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
  260. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
  261. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
  262. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
  263. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
  264. data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
  265. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
  266. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
  267. data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
  268. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
  269. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
  270. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
  271. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
  272. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
  273. data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
  274. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
  275. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
  276. data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
  277. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
  278. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
  279. data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
  280. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
  281. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
  282. data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
  283. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
  284. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
  285. data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
  286. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
  287. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
  288. data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
  289. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
  290. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
  291. data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
  292. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +885 -0
  293. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +151 -0
  294. data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
  295. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9754 -0
  296. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1670 -0
  297. data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
  298. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
  299. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
  300. data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
  301. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1545 -0
  302. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +328 -0
  303. data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
  304. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
  305. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
  306. data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
  307. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +119 -0
  308. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +56 -0
  309. data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
  310. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
  311. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
  312. data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
  313. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
  314. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
  315. data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
  316. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
  317. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
  318. data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
  319. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +237 -0
  320. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +65 -0
  321. data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
  322. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
  323. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
  324. data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
  325. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
  326. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
  327. data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
  328. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
  329. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
  330. data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
  331. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
  332. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
  333. data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
  334. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
  335. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
  336. data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
  337. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2709 -0
  338. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +556 -0
  339. data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
  340. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
  341. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
  342. data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
  343. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
  344. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
  345. data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
  346. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
  347. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
  348. data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
  349. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
  350. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
  351. data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
  352. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +463 -0
  353. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +102 -0
  354. data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
  355. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +209 -0
  356. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +75 -0
  357. data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
  358. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3985 -0
  359. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +682 -0
  360. data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
  361. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
  362. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
  363. data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
  364. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
  365. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +67 -0
  366. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
  367. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
  368. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
  369. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
  370. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
  371. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
  372. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
  373. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
  374. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
  375. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
  376. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
  377. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
  378. data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
  379. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
  380. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
  381. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
  382. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1484 -0
  383. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +267 -0
  384. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
  385. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
  386. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
  387. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
  388. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1509 -0
  389. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +270 -0
  390. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
  391. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
  392. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
  393. data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
  394. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
  395. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
  396. data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
  397. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
  398. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
  399. data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
  400. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
  401. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
  402. data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
  403. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
  404. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
  405. data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
  406. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +940 -0
  407. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +188 -0
  408. data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
  409. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
  410. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
  411. data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
  412. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
  413. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
  414. data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
  415. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
  416. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
  417. data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
  418. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
  419. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
  420. data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
  421. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
  422. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
  423. data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
  424. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
  425. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
  426. data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
  427. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
  428. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
  429. data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
  430. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
  431. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
  432. data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
  433. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
  434. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
  435. data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
  436. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
  437. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
  438. data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
  439. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
  440. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
  441. data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
  442. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
  443. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
  444. data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
  445. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +476 -0
  446. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +113 -0
  447. data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +33 -0
  448. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
  449. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
  450. data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
  451. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
  452. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
  453. data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
  454. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
  455. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
  456. data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
  457. data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
  458. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
  459. data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
  460. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
  461. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
  462. data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
  463. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
  464. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
  465. data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
  466. data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
  467. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
  468. data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
  469. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
  470. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
  471. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
  472. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
  473. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
  474. data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
  475. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
  476. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
  477. data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
  478. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
  479. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
  480. data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
  481. data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
  482. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
  483. data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
  484. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
  485. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
  486. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
  487. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
  488. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
  489. data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
  490. data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
  491. data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
  492. data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
  493. data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
  494. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
  495. data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
  496. data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
  497. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
  498. data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
  499. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
  500. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
  501. data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
  502. data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
  503. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
  504. data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
  505. data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
  506. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
  507. data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
  508. data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
  509. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
  510. data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
  511. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
  512. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
  513. data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
  514. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
  515. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
  516. data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
  517. data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
  518. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
  519. data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
  520. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
  521. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
  522. data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
  523. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
  524. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
  525. data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
  526. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
  527. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
  528. data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
  529. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
  530. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
  531. data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
  532. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
  533. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
  534. data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
  535. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
  536. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
  537. data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
  538. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
  539. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
  540. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
  541. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
  542. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
  543. data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
  544. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
  545. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
  546. data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
  547. data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
  548. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
  549. data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
  550. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
  551. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
  552. data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
  553. data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
  554. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
  555. data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
  556. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
  557. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
  558. data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
  559. data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
  560. data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
  561. data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
  562. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
  563. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
  564. data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
  565. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
  566. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
  567. data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
  568. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
  569. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
  570. data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
  571. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
  572. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
  573. data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
  574. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
  575. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
  576. data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
  577. data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
  578. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
  579. data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
  580. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
  581. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
  582. data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
  583. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
  584. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
  585. data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
  586. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
  587. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
  588. data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
  589. data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
  590. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
  591. data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
  592. data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
  593. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
  594. data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
  595. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
  596. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
  597. data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
  598. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
  599. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
  600. data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
  601. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
  602. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
  603. data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
  604. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
  605. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
  606. data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
  607. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +116 -0
  608. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +53 -0
  609. data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
  610. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
  611. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
  612. data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
  613. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
  614. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
  615. data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
  616. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
  617. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
  618. data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
  619. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
  620. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
  621. data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
  622. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
  623. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
  624. data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
  625. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
  626. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
  627. data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
  628. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
  629. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
  630. data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
  631. data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
  632. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
  633. data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
  634. data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
  635. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
  636. data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
  637. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
  638. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
  639. data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
  640. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
  641. data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
  642. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
  643. data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
  644. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
  645. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
  646. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
  647. data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
  648. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
  649. data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
  650. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
  651. data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
  652. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
  653. data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
  654. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
  655. data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
  656. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
  657. data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
  658. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
  659. data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
  660. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
  661. data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
  662. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
  663. data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
  664. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
  665. data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
  666. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
  667. data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
  668. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +444 -0
  669. data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +140 -0
  670. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
  671. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
  672. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +574 -0
  673. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
  674. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +57 -0
  675. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
  676. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +142 -0
  677. data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
  678. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +201 -0
  679. data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
  680. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +139 -0
  681. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
  682. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
  683. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
  684. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +274 -0
  685. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
  686. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
  687. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
  688. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
  689. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
  690. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
  691. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
  692. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
  693. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
  694. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
  695. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
  696. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
  697. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
  698. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +52 -0
  699. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +35 -0
  700. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +53 -0
  701. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
  702. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +314 -0
  703. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
  704. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
  705. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
  706. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
  707. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
  708. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
  709. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
  710. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +75 -0
  711. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +40 -0
  712. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
  713. data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
  714. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +101 -0
  715. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
  716. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
  717. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
  718. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
  719. data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
  720. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
  721. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
  722. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
  723. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
  724. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
  725. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
  726. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
  727. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
  728. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
  729. data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
  730. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
  731. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
  732. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
  733. data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
  734. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
  735. data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
  736. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
  737. data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
  738. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +125 -0
  739. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
  740. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +984 -0
  741. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
  742. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
  743. data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
  744. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +205 -0
  745. data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
  746. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
  747. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
  748. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +60 -0
  749. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
  750. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
  751. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
  752. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
  753. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
  754. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +104 -0
  755. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
  756. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +66 -0
  757. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
  758. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
  759. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
  760. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
  761. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
  762. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
  763. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
  764. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
  765. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
  766. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
  767. data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
  768. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +404 -0
  769. data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
  770. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
  771. data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
  772. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
  773. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
  774. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
  775. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
  776. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
  777. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
  778. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +108 -0
  779. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
  780. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +60 -0
  781. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
  782. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +605 -0
  783. data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
  784. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
  785. data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
  786. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
  787. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
  788. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +216 -0
  789. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
  790. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
  791. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
  792. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +263 -0
  793. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
  794. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
  795. data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
  796. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
  797. data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
  798. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
  799. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
  800. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
  801. data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
  802. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
  803. data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
  804. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +155 -0
  805. data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
  806. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
  807. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
  808. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
  809. data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
  810. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
  811. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
  812. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
  813. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
  814. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
  815. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
  816. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
  817. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
  818. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
  819. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
  820. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
  821. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
  822. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
  823. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
  824. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
  825. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
  826. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
  827. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
  828. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
  829. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
  830. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +81 -0
  831. data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +50 -0
  832. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
  833. data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
  834. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
  835. data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
  836. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
  837. data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
  838. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
  839. data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
  840. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
  841. data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
  842. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
  843. data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
  844. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
  845. data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
  846. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
  847. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
  848. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
  849. data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
  850. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
  851. data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
  852. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
  853. data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
  854. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
  855. data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
  856. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
  857. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
  858. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
  859. data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
  860. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
  861. data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
  862. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
  863. data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
  864. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
  865. data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
  866. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
  867. data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
  868. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
  869. data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
  870. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
  871. data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
  872. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
  873. data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
  874. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
  875. data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
  876. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
  877. data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
  878. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
  879. data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
  880. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
  881. data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
  882. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
  883. data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
  884. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
  885. data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
  886. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
  887. data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
  888. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
  889. data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
  890. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
  891. data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
  892. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
  893. data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
  894. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
  895. data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
  896. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
  897. data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
  898. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
  899. data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
  900. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
  901. data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
  902. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
  903. data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
  904. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
  905. data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
  906. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
  907. data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
  908. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
  909. data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
  910. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
  911. data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
  912. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
  913. data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
  914. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
  915. data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
  916. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
  917. data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
  918. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
  919. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
  920. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
  921. data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
  922. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +44 -0
  923. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
  924. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
  925. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
  926. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
  927. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
  928. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
  929. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
  930. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
  931. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
  932. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
  933. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
  934. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
  935. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
  936. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
  937. data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
  938. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
  939. data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
  940. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
  941. data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
  942. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
  943. data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
  944. data/src/core/ext/xds/certificate_provider_store.cc +2 -1
  945. data/src/core/ext/xds/certificate_provider_store.h +0 -5
  946. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
  947. data/src/core/ext/xds/xds_api.cc +92 -167
  948. data/src/core/ext/xds/xds_api.h +4 -9
  949. data/src/core/ext/xds/xds_bootstrap.h +6 -4
  950. data/src/core/ext/xds/xds_bootstrap_grpc.cc +4 -16
  951. data/src/core/ext/xds/xds_bootstrap_grpc.h +2 -1
  952. data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
  953. data/src/core/ext/xds/xds_certificate_provider.h +44 -111
  954. data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
  955. data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
  956. data/src/core/ext/xds/xds_client.cc +531 -475
  957. data/src/core/ext/xds/xds_client.h +51 -37
  958. data/src/core/ext/xds/xds_client_grpc.cc +57 -16
  959. data/src/core/ext/xds/xds_client_grpc.h +4 -1
  960. data/src/core/ext/xds/xds_client_stats.cc +11 -11
  961. data/src/core/ext/xds/xds_client_stats.h +8 -14
  962. data/src/core/ext/xds/xds_cluster.cc +134 -53
  963. data/src/core/ext/xds/xds_cluster.h +12 -6
  964. data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
  965. data/src/core/ext/xds/xds_common_types.cc +14 -11
  966. data/src/core/ext/xds/xds_endpoint.cc +106 -67
  967. data/src/core/ext/xds/xds_endpoint.h +7 -4
  968. data/src/core/ext/xds/xds_health_status.cc +14 -2
  969. data/src/core/ext/xds/xds_health_status.h +5 -3
  970. data/src/core/ext/xds/xds_http_fault_filter.cc +1 -2
  971. data/src/core/ext/xds/xds_http_fault_filter.h +1 -2
  972. data/src/core/ext/xds/xds_http_filters.cc +1 -5
  973. data/src/core/ext/xds/xds_http_filters.h +2 -4
  974. data/src/core/ext/xds/xds_http_rbac_filter.cc +8 -11
  975. data/src/core/ext/xds/xds_http_rbac_filter.h +1 -2
  976. data/src/core/ext/xds/xds_http_stateful_session_filter.cc +2 -6
  977. data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -2
  978. data/src/core/ext/xds/xds_lb_policy_registry.cc +4 -7
  979. data/src/core/ext/xds/xds_listener.cc +29 -25
  980. data/src/core/ext/xds/xds_listener.h +13 -3
  981. data/src/core/ext/xds/xds_resource_type.h +1 -7
  982. data/src/core/ext/xds/xds_resource_type_impl.h +11 -11
  983. data/src/core/ext/xds/xds_route_config.cc +45 -35
  984. data/src/core/ext/xds/xds_route_config.h +2 -1
  985. data/src/core/ext/xds/xds_routing.cc +2 -2
  986. data/src/core/ext/xds/xds_server_config_fetcher.cc +112 -83
  987. data/src/core/ext/xds/xds_transport.h +3 -0
  988. data/src/core/ext/xds/xds_transport_grpc.cc +65 -56
  989. data/src/core/ext/xds/xds_transport_grpc.h +4 -0
  990. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
  991. data/src/core/lib/avl/avl.h +11 -173
  992. data/src/core/lib/backoff/random_early_detection.cc +4 -2
  993. data/src/core/lib/backoff/random_early_detection.h +2 -4
  994. data/src/core/lib/channel/call_tracer.cc +315 -1
  995. data/src/core/lib/channel/call_tracer.h +63 -4
  996. data/src/core/lib/channel/channel_args.cc +95 -81
  997. data/src/core/lib/channel/channel_args.h +116 -29
  998. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
  999. data/src/core/lib/channel/channel_stack.cc +36 -1
  1000. data/src/core/lib/channel/channel_stack.h +10 -10
  1001. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  1002. data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
  1003. data/src/core/lib/channel/channel_stack_trace.cc +19 -0
  1004. data/src/core/lib/channel/channel_stack_trace.h +24 -0
  1005. data/src/core/lib/channel/channel_trace.cc +1 -1
  1006. data/src/core/lib/channel/channelz_registry.h +4 -2
  1007. data/src/core/lib/channel/connected_channel.cc +152 -93
  1008. data/src/core/lib/channel/context.h +3 -0
  1009. data/src/core/lib/channel/promise_based_filter.cc +23 -11
  1010. data/src/core/lib/channel/promise_based_filter.h +1042 -3
  1011. data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
  1012. data/src/core/lib/channel/status_util.cc +0 -1
  1013. data/src/core/lib/channel/tcp_tracer.h +140 -0
  1014. data/src/core/lib/compression/compression_internal.cc +10 -7
  1015. data/src/core/lib/config/config_vars.cc +0 -1
  1016. data/src/core/lib/config/config_vars.h +1 -1
  1017. data/src/core/lib/config/config_vars_non_generated.cc +0 -2
  1018. data/src/core/lib/config/core_configuration.cc +2 -2
  1019. data/src/core/lib/config/core_configuration.h +8 -7
  1020. data/src/core/lib/debug/stats_data.cc +202 -35
  1021. data/src/core/lib/debug/stats_data.h +102 -0
  1022. data/src/core/lib/event_engine/ares_resolver.cc +794 -0
  1023. data/src/core/lib/event_engine/ares_resolver.h +151 -0
  1024. data/src/core/lib/event_engine/cf_engine/cf_engine.cc +12 -3
  1025. data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -0
  1026. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +9 -2
  1027. data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +3 -0
  1028. data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -0
  1029. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +249 -0
  1030. data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +120 -0
  1031. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
  1032. data/src/core/lib/event_engine/event_engine.cc +0 -2
  1033. data/src/core/lib/event_engine/extensions/can_track_errors.h +40 -0
  1034. data/src/core/lib/event_engine/extensions/supports_fd.h +160 -0
  1035. data/src/core/lib/event_engine/forkable.cc +47 -50
  1036. data/src/core/lib/event_engine/forkable.h +46 -25
  1037. data/src/core/lib/event_engine/grpc_polled_fd.h +92 -0
  1038. data/src/core/lib/event_engine/nameser.h +102 -0
  1039. data/src/core/lib/event_engine/posix.h +11 -122
  1040. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
  1041. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
  1042. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +35 -18
  1043. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +12 -10
  1044. data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
  1045. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
  1046. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
  1047. data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +205 -0
  1048. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
  1049. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
  1050. data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +57 -0
  1051. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +35 -12
  1052. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
  1053. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +112 -28
  1054. data/src/core/lib/event_engine/posix_engine/posix_engine.h +29 -20
  1055. data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +14 -6
  1056. data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +21 -3
  1057. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +11 -5
  1058. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -0
  1059. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
  1060. data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
  1061. data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +2 -0
  1062. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
  1063. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
  1064. data/src/core/lib/event_engine/query_extensions.h +85 -0
  1065. data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
  1066. data/src/core/lib/event_engine/shim.cc +5 -17
  1067. data/src/core/lib/event_engine/shim.h +0 -2
  1068. data/src/core/lib/event_engine/slice_buffer.cc +0 -1
  1069. data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
  1070. data/src/core/lib/event_engine/thread_pool/thread_count.cc +79 -0
  1071. data/src/core/lib/event_engine/thread_pool/thread_count.h +181 -0
  1072. data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +19 -10
  1073. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +209 -120
  1074. data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +24 -61
  1075. data/src/core/lib/event_engine/utils.cc +2 -1
  1076. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +824 -0
  1077. data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
  1078. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +115 -0
  1079. data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
  1080. data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
  1081. data/src/core/lib/event_engine/windows/win_socket.h +19 -7
  1082. data/src/core/lib/event_engine/windows/windows_endpoint.cc +35 -37
  1083. data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
  1084. data/src/core/lib/event_engine/windows/windows_engine.cc +83 -38
  1085. data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
  1086. data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
  1087. data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
  1088. data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
  1089. data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
  1090. data/src/core/lib/experiments/config.cc +46 -3
  1091. data/src/core/lib/experiments/config.h +9 -0
  1092. data/src/core/lib/experiments/experiments.cc +683 -270
  1093. data/src/core/lib/experiments/experiments.h +324 -85
  1094. data/src/core/lib/gpr/alloc.cc +1 -0
  1095. data/src/core/lib/gpr/posix/sync.cc +2 -2
  1096. data/src/core/lib/gpr/posix/time.cc +0 -5
  1097. data/src/core/lib/gpr/windows/sync.cc +2 -2
  1098. data/src/core/lib/gprpp/debug_location.h +15 -0
  1099. data/src/core/lib/gprpp/directory_reader.h +48 -0
  1100. data/src/core/lib/gprpp/down_cast.h +49 -0
  1101. data/src/core/lib/gprpp/dual_ref_counted.h +36 -7
  1102. data/src/core/lib/gprpp/fork.h +1 -1
  1103. data/src/core/lib/gprpp/host_port.cc +0 -2
  1104. data/src/core/lib/gprpp/linux/env.cc +1 -19
  1105. data/src/core/lib/gprpp/load_file.cc +2 -1
  1106. data/src/core/lib/gprpp/load_file.h +2 -1
  1107. data/src/core/lib/gprpp/manual_constructor.h +1 -2
  1108. data/src/core/lib/gprpp/match.h +1 -1
  1109. data/src/core/lib/gprpp/no_destruct.h +1 -1
  1110. data/src/core/lib/gprpp/orphanable.h +27 -0
  1111. data/src/core/lib/gprpp/per_cpu.cc +2 -0
  1112. data/src/core/lib/gprpp/per_cpu.h +36 -7
  1113. data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
  1114. data/src/core/lib/gprpp/posix/stat.cc +0 -1
  1115. data/src/core/lib/gprpp/posix/thd.cc +27 -2
  1116. data/src/core/lib/gprpp/ref_counted.h +66 -23
  1117. data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
  1118. data/src/core/lib/gprpp/ref_counted_string.cc +44 -0
  1119. data/src/core/lib/gprpp/ref_counted_string.h +161 -0
  1120. data/src/core/lib/gprpp/status_helper.cc +1 -3
  1121. data/src/core/lib/gprpp/strerror.cc +0 -2
  1122. data/src/core/lib/gprpp/thd.h +8 -0
  1123. data/src/core/lib/gprpp/time.cc +0 -1
  1124. data/src/core/lib/gprpp/time.h +5 -4
  1125. data/src/core/lib/gprpp/validation_errors.cc +0 -1
  1126. data/src/core/lib/gprpp/windows/directory_reader.cc +81 -0
  1127. data/src/core/lib/gprpp/windows/thd.cc +10 -1
  1128. data/src/core/lib/gprpp/work_serializer.cc +323 -12
  1129. data/src/core/lib/gprpp/work_serializer.h +30 -9
  1130. data/src/core/lib/gprpp/xxhash_inline.h +29 -0
  1131. data/src/core/lib/http/format_request.cc +0 -1
  1132. data/src/core/lib/http/httpcli.cc +0 -2
  1133. data/src/core/lib/http/httpcli_security_connector.cc +1 -0
  1134. data/src/core/lib/iomgr/buffer_list.cc +2 -0
  1135. data/src/core/lib/iomgr/combiner.cc +25 -19
  1136. data/src/core/lib/iomgr/combiner.h +8 -3
  1137. data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +62 -40
  1138. data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
  1139. data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
  1140. data/src/core/lib/iomgr/exec_ctx.cc +12 -0
  1141. data/src/core/lib/iomgr/exec_ctx.h +55 -19
  1142. data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +2 -2
  1143. data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +2 -2
  1144. data/src/core/lib/iomgr/polling_entity.cc +10 -0
  1145. data/src/core/lib/iomgr/polling_entity.h +2 -0
  1146. data/src/core/lib/iomgr/port.h +14 -0
  1147. data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
  1148. data/src/core/lib/iomgr/tcp_client_posix.cc +4 -3
  1149. data/src/core/lib/iomgr/tcp_posix.cc +27 -18
  1150. data/src/core/lib/iomgr/tcp_server_posix.cc +65 -50
  1151. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +12 -0
  1152. data/src/core/lib/iomgr/timer_manager.cc +7 -1
  1153. data/src/core/lib/iomgr/timer_manager.h +2 -0
  1154. data/src/core/lib/json/json_object_loader.h +0 -1
  1155. data/src/core/lib/json/json_reader.cc +0 -1
  1156. data/src/core/lib/json/json_writer.cc +1 -1
  1157. data/src/core/lib/matchers/matchers.cc +0 -1
  1158. data/src/core/lib/promise/activity.cc +17 -3
  1159. data/src/core/lib/promise/activity.h +13 -6
  1160. data/src/core/lib/promise/all_ok.h +80 -0
  1161. data/src/core/lib/promise/arena_promise.h +5 -1
  1162. data/src/core/lib/promise/cancel_callback.h +0 -2
  1163. data/src/core/lib/promise/context.h +45 -8
  1164. data/src/core/lib/promise/detail/basic_seq.h +1 -372
  1165. data/src/core/lib/promise/detail/join_state.h +2077 -0
  1166. data/src/core/lib/promise/detail/promise_like.h +8 -1
  1167. data/src/core/lib/promise/detail/seq_state.h +5801 -0
  1168. data/src/core/lib/promise/detail/status.h +42 -5
  1169. data/src/core/lib/promise/for_each.h +13 -6
  1170. data/src/core/lib/promise/if.h +4 -1
  1171. data/src/core/lib/promise/interceptor_list.h +13 -6
  1172. data/src/core/lib/promise/latch.h +10 -8
  1173. data/src/core/lib/promise/loop.h +9 -6
  1174. data/src/core/lib/promise/map.h +0 -1
  1175. data/src/core/lib/promise/party.cc +45 -33
  1176. data/src/core/lib/promise/party.h +176 -10
  1177. data/src/core/lib/promise/pipe.h +30 -34
  1178. data/src/core/lib/promise/poll.h +43 -19
  1179. data/src/core/lib/promise/prioritized_race.h +0 -1
  1180. data/src/core/lib/promise/promise.h +4 -1
  1181. data/src/core/lib/promise/race.h +0 -1
  1182. data/src/core/lib/promise/seq.h +124 -8
  1183. data/src/core/lib/promise/sleep.cc +1 -1
  1184. data/src/core/lib/promise/sleep.h +5 -10
  1185. data/src/core/lib/promise/status_flag.h +226 -0
  1186. data/src/core/lib/promise/try_join.h +71 -21
  1187. data/src/core/lib/promise/try_seq.h +161 -7
  1188. data/src/core/lib/resource_quota/api.cc +1 -0
  1189. data/src/core/lib/resource_quota/arena.cc +2 -0
  1190. data/src/core/lib/resource_quota/arena.h +44 -10
  1191. data/src/core/lib/resource_quota/memory_quota.cc +132 -25
  1192. data/src/core/lib/resource_quota/memory_quota.h +12 -12
  1193. data/src/core/lib/resource_quota/resource_quota.h +1 -0
  1194. data/src/core/lib/security/authorization/audit_logging.cc +0 -1
  1195. data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -1
  1196. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
  1197. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
  1198. data/src/core/lib/security/authorization/matchers.cc +0 -1
  1199. data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
  1200. data/src/core/lib/security/authorization/rbac_policy.h +1 -1
  1201. data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
  1202. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
  1203. data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
  1204. data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
  1205. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -1
  1206. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
  1207. data/src/core/lib/security/credentials/external/aws_request_signer.cc +8 -2
  1208. data/src/core/lib/security/credentials/external/external_account_credentials.cc +28 -22
  1209. data/src/core/lib/security/credentials/external/external_account_credentials.h +4 -0
  1210. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +9 -11
  1211. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
  1212. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +5 -3
  1213. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
  1214. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +12 -11
  1215. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
  1216. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
  1217. data/src/core/lib/security/credentials/jwt/json_token.cc +17 -0
  1218. data/src/core/lib/security/credentials/jwt/json_token.h +4 -0
  1219. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
  1220. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +43 -2
  1221. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
  1222. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -7
  1223. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
  1224. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
  1225. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +1 -1
  1226. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +116 -10
  1227. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
  1228. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
  1229. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
  1230. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +16 -79
  1231. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
  1232. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
  1233. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +33 -0
  1234. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
  1235. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
  1236. data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
  1237. data/src/core/lib/security/credentials/tls/tls_credentials.cc +26 -1
  1238. data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
  1239. data/src/core/lib/security/credentials/xds/xds_credentials.cc +23 -30
  1240. data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
  1241. data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +1 -0
  1242. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +2 -2
  1243. data/src/core/lib/security/security_connector/load_system_roots_supported.cc +3 -7
  1244. data/src/core/lib/security/security_connector/local/local_security_connector.cc +1 -1
  1245. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -59
  1246. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
  1247. data/src/core/lib/security/security_connector/ssl_utils.cc +35 -19
  1248. data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
  1249. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +9 -20
  1250. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
  1251. data/src/core/lib/security/transport/auth_filters.h +71 -4
  1252. data/src/core/lib/security/transport/client_auth_filter.cc +9 -9
  1253. data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
  1254. data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
  1255. data/src/core/lib/security/transport/security_handshaker.cc +2 -11
  1256. data/src/core/lib/security/transport/security_handshaker.h +0 -6
  1257. data/src/core/lib/security/transport/server_auth_filter.cc +70 -92
  1258. data/src/core/lib/slice/slice.h +11 -0
  1259. data/src/core/lib/slice/slice_buffer.cc +15 -0
  1260. data/src/core/lib/slice/slice_buffer.h +22 -5
  1261. data/src/core/lib/slice/slice_refcount.h +1 -1
  1262. data/src/core/lib/surface/builtins.cc +6 -25
  1263. data/src/core/lib/surface/call.cc +935 -246
  1264. data/src/core/lib/surface/call.h +30 -13
  1265. data/src/core/lib/surface/call_log_batch.cc +0 -2
  1266. data/src/core/lib/surface/call_trace.cc +46 -6
  1267. data/src/core/lib/surface/channel.cc +26 -33
  1268. data/src/core/lib/surface/channel.h +6 -28
  1269. data/src/core/lib/surface/channel_init.cc +441 -14
  1270. data/src/core/lib/surface/channel_init.h +274 -27
  1271. data/src/core/lib/surface/completion_queue.cc +4 -1
  1272. data/src/core/lib/surface/event_string.cc +0 -1
  1273. data/src/core/lib/surface/init.cc +22 -48
  1274. data/src/core/lib/surface/lame_client.cc +8 -1
  1275. data/src/core/lib/surface/server.cc +518 -302
  1276. data/src/core/lib/surface/server.h +68 -44
  1277. data/src/core/lib/surface/version.cc +2 -2
  1278. data/src/core/lib/surface/wait_for_cq_end_op.cc +75 -0
  1279. data/src/core/lib/surface/wait_for_cq_end_op.h +72 -0
  1280. data/src/core/lib/transport/batch_builder.cc +9 -12
  1281. data/src/core/lib/transport/batch_builder.h +2 -4
  1282. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  1283. data/src/core/lib/transport/bdp_estimator.h +2 -2
  1284. data/src/core/lib/transport/call_factory.cc +41 -0
  1285. data/src/core/lib/transport/call_factory.h +56 -0
  1286. data/src/core/lib/transport/call_filters.cc +371 -0
  1287. data/src/core/lib/transport/call_filters.h +1500 -0
  1288. data/src/core/lib/transport/call_final_info.cc +38 -0
  1289. data/src/core/lib/transport/call_final_info.h +54 -0
  1290. data/src/core/lib/transport/call_size_estimator.cc +41 -0
  1291. data/src/core/lib/transport/call_size_estimator.h +52 -0
  1292. data/src/core/lib/transport/call_spine.cc +107 -0
  1293. data/src/core/lib/transport/call_spine.h +429 -0
  1294. data/src/core/lib/transport/connectivity_state.cc +3 -4
  1295. data/src/core/lib/transport/connectivity_state.h +4 -0
  1296. data/src/core/lib/transport/error_utils.cc +0 -2
  1297. data/src/core/lib/transport/handshaker.cc +0 -10
  1298. data/src/core/lib/transport/handshaker.h +0 -7
  1299. data/src/core/lib/transport/message.cc +45 -0
  1300. data/src/core/lib/transport/message.h +61 -0
  1301. data/src/core/lib/transport/metadata.cc +37 -0
  1302. data/src/core/lib/transport/metadata.h +78 -0
  1303. data/src/core/lib/transport/metadata_batch.cc +9 -2
  1304. data/src/core/lib/transport/metadata_batch.h +39 -5
  1305. data/src/core/lib/transport/parsed_metadata.h +2 -4
  1306. data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
  1307. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
  1308. data/src/core/lib/transport/timeout_encoding.h +2 -2
  1309. data/src/core/lib/transport/transport.cc +13 -105
  1310. data/src/core/lib/transport/transport.h +132 -168
  1311. data/src/core/lib/transport/transport_fwd.h +3 -1
  1312. data/src/core/lib/transport/transport_op_string.cc +0 -2
  1313. data/src/core/lib/uri/uri_parser.cc +0 -1
  1314. data/src/core/load_balancing/address_filtering.cc +108 -0
  1315. data/src/core/load_balancing/address_filtering.h +118 -0
  1316. data/src/core/load_balancing/backend_metric_data.h +57 -0
  1317. data/src/core/load_balancing/child_policy_handler.cc +317 -0
  1318. data/src/core/load_balancing/child_policy_handler.h +88 -0
  1319. data/src/core/load_balancing/delegating_helper.h +116 -0
  1320. data/src/core/load_balancing/endpoint_list.cc +187 -0
  1321. data/src/core/load_balancing/endpoint_list.h +220 -0
  1322. data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +83 -0
  1323. data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +46 -0
  1324. data/src/core/load_balancing/grpclb/grpclb.cc +1935 -0
  1325. data/src/core/load_balancing/grpclb/grpclb.h +39 -0
  1326. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +89 -0
  1327. data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +39 -0
  1328. data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +90 -0
  1329. data/src/core/load_balancing/grpclb/grpclb_client_stats.h +81 -0
  1330. data/src/core/load_balancing/grpclb/load_balancer_api.cc +202 -0
  1331. data/src/core/load_balancing/grpclb/load_balancer_api.h +77 -0
  1332. data/src/core/load_balancing/health_check_client.cc +520 -0
  1333. data/src/core/load_balancing/health_check_client.h +52 -0
  1334. data/src/core/load_balancing/health_check_client_internal.h +204 -0
  1335. data/src/core/load_balancing/lb_policy.cc +98 -0
  1336. data/src/core/load_balancing/lb_policy.h +481 -0
  1337. data/src/core/load_balancing/lb_policy_factory.h +49 -0
  1338. data/src/core/load_balancing/lb_policy_registry.cc +142 -0
  1339. data/src/core/load_balancing/lb_policy_registry.h +82 -0
  1340. data/src/core/load_balancing/oob_backend_metric.cc +340 -0
  1341. data/src/core/load_balancing/oob_backend_metric.h +57 -0
  1342. data/src/core/load_balancing/oob_backend_metric_internal.h +119 -0
  1343. data/src/core/load_balancing/outlier_detection/outlier_detection.cc +1208 -0
  1344. data/src/core/load_balancing/outlier_detection/outlier_detection.h +94 -0
  1345. data/src/core/load_balancing/pick_first/pick_first.cc +1232 -0
  1346. data/src/core/load_balancing/pick_first/pick_first.h +36 -0
  1347. data/src/core/load_balancing/priority/priority.cc +900 -0
  1348. data/src/core/load_balancing/ring_hash/ring_hash.cc +878 -0
  1349. data/src/core/load_balancing/ring_hash/ring_hash.h +62 -0
  1350. data/src/core/load_balancing/rls/rls.cc +2477 -0
  1351. data/src/core/load_balancing/round_robin/round_robin.cc +916 -0
  1352. data/src/core/load_balancing/subchannel_interface.h +141 -0
  1353. data/src/core/load_balancing/subchannel_list.h +455 -0
  1354. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +198 -0
  1355. data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +71 -0
  1356. data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +1819 -0
  1357. data/src/core/load_balancing/weighted_target/weighted_target.cc +755 -0
  1358. data/src/core/load_balancing/xds/cds.cc +757 -0
  1359. data/src/core/load_balancing/xds/xds_channel_args.h +37 -0
  1360. data/src/core/load_balancing/xds/xds_cluster_impl.cc +863 -0
  1361. data/src/core/load_balancing/xds/xds_cluster_manager.cc +652 -0
  1362. data/src/core/load_balancing/xds/xds_override_host.cc +1313 -0
  1363. data/src/core/load_balancing/xds/xds_override_host.h +63 -0
  1364. data/src/core/load_balancing/xds/xds_wrr_locality.cc +300 -0
  1365. data/src/core/plugin_registry/grpc_plugin_registry.cc +5 -0
  1366. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
  1367. data/src/core/resolver/binder/binder_resolver.cc +147 -0
  1368. data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +758 -0
  1369. data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
  1370. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +90 -0
  1371. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +206 -0
  1372. data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +818 -0
  1373. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1219 -0
  1374. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +140 -0
  1375. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +29 -0
  1376. data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +35 -0
  1377. data/src/core/resolver/dns/dns_resolver_plugin.cc +68 -0
  1378. data/src/core/resolver/dns/dns_resolver_plugin.h +27 -0
  1379. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +588 -0
  1380. data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
  1381. data/src/core/resolver/dns/event_engine/service_config_helper.cc +97 -0
  1382. data/src/core/resolver/dns/event_engine/service_config_helper.h +32 -0
  1383. data/src/core/resolver/dns/native/dns_resolver.cc +183 -0
  1384. data/src/core/resolver/dns/native/dns_resolver.h +24 -0
  1385. data/src/core/resolver/endpoint_addresses.cc +147 -0
  1386. data/src/core/resolver/endpoint_addresses.h +164 -0
  1387. data/src/core/resolver/fake/fake_resolver.cc +255 -0
  1388. data/src/core/resolver/fake/fake_resolver.h +129 -0
  1389. data/src/core/resolver/google_c2p/google_c2p_resolver.cc +326 -0
  1390. data/src/core/resolver/polling_resolver.cc +272 -0
  1391. data/src/core/resolver/polling_resolver.h +121 -0
  1392. data/src/core/resolver/resolver.cc +37 -0
  1393. data/src/core/resolver/resolver.h +139 -0
  1394. data/src/core/resolver/resolver_factory.h +78 -0
  1395. data/src/core/resolver/resolver_registry.cc +162 -0
  1396. data/src/core/resolver/resolver_registry.h +123 -0
  1397. data/src/core/resolver/server_address.h +35 -0
  1398. data/src/core/resolver/sockaddr/sockaddr_resolver.cc +202 -0
  1399. data/src/core/resolver/xds/xds_dependency_manager.cc +1031 -0
  1400. data/src/core/resolver/xds/xds_dependency_manager.h +277 -0
  1401. data/src/core/resolver/xds/xds_resolver.cc +1135 -0
  1402. data/src/core/resolver/xds/xds_resolver_attributes.h +62 -0
  1403. data/src/core/resolver/xds/xds_resolver_trace.cc +25 -0
  1404. data/src/core/resolver/xds/xds_resolver_trace.h +30 -0
  1405. data/src/core/service_config/service_config.h +89 -0
  1406. data/src/core/service_config/service_config_call_data.h +116 -0
  1407. data/src/core/service_config/service_config_impl.cc +198 -0
  1408. data/src/core/service_config/service_config_impl.h +125 -0
  1409. data/src/core/service_config/service_config_parser.cc +81 -0
  1410. data/src/core/service_config/service_config_parser.h +105 -0
  1411. data/src/core/tsi/alts/crypt/aes_gcm.cc +142 -89
  1412. data/src/core/tsi/alts/crypt/gsec.h +387 -319
  1413. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
  1414. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
  1415. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
  1416. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
  1417. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
  1418. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
  1419. data/src/core/tsi/fake_transport_security.cc +1 -1
  1420. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
  1421. data/src/core/tsi/ssl_transport_security.cc +200 -60
  1422. data/src/core/tsi/ssl_transport_security.h +23 -1
  1423. data/src/ruby/bin/math_pb.rb +1 -1
  1424. data/src/ruby/ext/grpc/extconf.rb +78 -17
  1425. data/src/ruby/ext/grpc/rb_channel.c +11 -5
  1426. data/src/ruby/ext/grpc/rb_channel_args.c +9 -5
  1427. data/src/ruby/ext/grpc/rb_event_thread.c +9 -3
  1428. data/src/ruby/ext/grpc/rb_grpc.c +0 -1
  1429. data/src/ruby/ext/grpc/rb_grpc.h +0 -2
  1430. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +8 -0
  1431. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +12 -0
  1432. data/src/ruby/lib/grpc/generic/active_call.rb +9 -14
  1433. data/src/ruby/lib/grpc/version.rb +1 -1
  1434. data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
  1435. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  1436. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +10 -2
  1437. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
  1438. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  1439. data/src/ruby/pb/test/client.rb +16 -0
  1440. data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
  1441. data/third_party/abseil-cpp/absl/algorithm/algorithm.h +8 -103
  1442. data/third_party/abseil-cpp/absl/algorithm/container.h +60 -73
  1443. data/third_party/abseil-cpp/absl/base/attributes.h +107 -15
  1444. data/third_party/abseil-cpp/absl/base/call_once.h +16 -10
  1445. data/third_party/abseil-cpp/absl/base/casts.h +9 -9
  1446. data/third_party/abseil-cpp/absl/base/config.h +163 -113
  1447. data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +26 -1
  1448. data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +2 -2
  1449. data/third_party/abseil-cpp/absl/base/internal/endian.h +13 -12
  1450. data/third_party/abseil-cpp/absl/base/internal/identity.h +4 -2
  1451. data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +19 -18
  1452. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +51 -40
  1453. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +2 -1
  1454. data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +106 -0
  1455. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +41 -14
  1456. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +26 -4
  1457. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +17 -4
  1458. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +49 -71
  1459. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +18 -11
  1460. data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +11 -11
  1461. data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +23 -32
  1462. data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +13 -6
  1463. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +2 -3
  1464. data/third_party/abseil-cpp/absl/base/log_severity.cc +1 -0
  1465. data/third_party/abseil-cpp/absl/base/log_severity.h +23 -10
  1466. data/third_party/abseil-cpp/absl/base/no_destructor.h +217 -0
  1467. data/third_party/abseil-cpp/absl/base/nullability.h +224 -0
  1468. data/third_party/abseil-cpp/absl/base/optimization.h +1 -0
  1469. data/third_party/abseil-cpp/absl/base/options.h +27 -1
  1470. data/third_party/abseil-cpp/absl/base/policy_checks.h +3 -3
  1471. data/third_party/abseil-cpp/absl/base/prefetch.h +209 -0
  1472. data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -2
  1473. data/third_party/abseil-cpp/absl/container/fixed_array.h +54 -29
  1474. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +8 -4
  1475. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +7 -3
  1476. data/third_party/abseil-cpp/absl/container/inlined_vector.h +167 -79
  1477. data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +5 -3
  1478. data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +3 -21
  1479. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +14 -10
  1480. data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +46 -0
  1481. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +2 -0
  1482. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +2 -12
  1483. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +97 -27
  1484. data/third_party/abseil-cpp/absl/container/internal/layout.h +6 -21
  1485. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +46 -20
  1486. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +204 -46
  1487. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +1058 -418
  1488. data/third_party/abseil-cpp/absl/crc/crc32c.h +8 -1
  1489. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +40 -10
  1490. data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.h +6 -0
  1491. data/third_party/abseil-cpp/absl/crc/internal/crc.cc +4 -35
  1492. data/third_party/abseil-cpp/absl/crc/internal/crc.h +2 -10
  1493. data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +35 -6
  1494. data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +1 -1
  1495. data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.h +4 -4
  1496. data/third_party/abseil-cpp/absl/crc/internal/crc_internal.h +8 -10
  1497. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy.h +6 -3
  1498. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +4 -2
  1499. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +450 -0
  1500. data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +18 -10
  1501. data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +4 -2
  1502. data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +24 -0
  1503. data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +35 -33
  1504. data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +2 -1
  1505. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +92 -32
  1506. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +1 -1
  1507. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +1 -1
  1508. data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +1 -1
  1509. data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +151 -63
  1510. data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +3 -0
  1511. data/third_party/abseil-cpp/absl/flags/commandlineflag.h +1 -1
  1512. data/third_party/abseil-cpp/absl/flags/declare.h +0 -5
  1513. data/third_party/abseil-cpp/absl/flags/flag.h +1 -10
  1514. data/third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc +1 -1
  1515. data/third_party/abseil-cpp/absl/flags/internal/flag.cc +2 -2
  1516. data/third_party/abseil-cpp/absl/flags/internal/flag.h +16 -20
  1517. data/third_party/abseil-cpp/absl/flags/marshalling.cc +53 -3
  1518. data/third_party/abseil-cpp/absl/flags/marshalling.h +5 -0
  1519. data/third_party/abseil-cpp/absl/flags/reflection.cc +2 -1
  1520. data/third_party/abseil-cpp/absl/functional/any_invocable.h +9 -1
  1521. data/third_party/abseil-cpp/absl/functional/bind_front.h +1 -1
  1522. data/third_party/abseil-cpp/absl/functional/function_ref.h +11 -3
  1523. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +39 -26
  1524. data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +19 -9
  1525. data/third_party/abseil-cpp/absl/hash/hash.h +7 -4
  1526. data/third_party/abseil-cpp/absl/hash/internal/hash.h +87 -17
  1527. data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +6 -0
  1528. data/third_party/abseil-cpp/absl/meta/type_traits.h +48 -373
  1529. data/third_party/abseil-cpp/absl/numeric/bits.h +40 -21
  1530. data/third_party/abseil-cpp/absl/numeric/int128.cc +20 -8
  1531. data/third_party/abseil-cpp/absl/numeric/int128.h +36 -39
  1532. data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -3
  1533. data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +47 -30
  1534. data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
  1535. data/third_party/abseil-cpp/absl/random/distributions.h +1 -1
  1536. data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +4 -3
  1537. data/third_party/abseil-cpp/absl/random/internal/generate_real.h +1 -1
  1538. data/third_party/abseil-cpp/absl/random/internal/platform.h +1 -1
  1539. data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +4 -0
  1540. data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +1 -1
  1541. data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +1 -1
  1542. data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +1 -1
  1543. data/third_party/abseil-cpp/absl/status/internal/status_internal.cc +248 -0
  1544. data/third_party/abseil-cpp/absl/status/internal/status_internal.h +59 -14
  1545. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +65 -26
  1546. data/third_party/abseil-cpp/absl/status/status.cc +40 -238
  1547. data/third_party/abseil-cpp/absl/status/status.h +105 -54
  1548. data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +1 -3
  1549. data/third_party/abseil-cpp/absl/status/status_payload_printer.h +3 -2
  1550. data/third_party/abseil-cpp/absl/status/statusor.cc +5 -2
  1551. data/third_party/abseil-cpp/absl/status/statusor.h +65 -11
  1552. data/third_party/abseil-cpp/absl/strings/ascii.cc +128 -8
  1553. data/third_party/abseil-cpp/absl/strings/ascii.h +8 -6
  1554. data/third_party/abseil-cpp/absl/strings/charconv.cc +40 -16
  1555. data/third_party/abseil-cpp/absl/strings/charconv.h +8 -5
  1556. data/third_party/abseil-cpp/absl/strings/charset.h +164 -0
  1557. data/third_party/abseil-cpp/absl/strings/cord.cc +267 -71
  1558. data/third_party/abseil-cpp/absl/strings/cord.h +168 -95
  1559. data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +38 -30
  1560. data/third_party/abseil-cpp/absl/strings/cord_analysis.h +21 -2
  1561. data/third_party/abseil-cpp/absl/strings/cord_buffer.h +2 -5
  1562. data/third_party/abseil-cpp/absl/strings/escaping.cc +15 -36
  1563. data/third_party/abseil-cpp/absl/strings/escaping.h +1 -1
  1564. data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +63 -0
  1565. data/third_party/abseil-cpp/absl/strings/has_ostream_operator.h +42 -0
  1566. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +2 -4
  1567. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +3 -3
  1568. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -7
  1569. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +18 -42
  1570. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +13 -4
  1571. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +8 -0
  1572. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +5 -3
  1573. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +4 -7
  1574. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +8 -0
  1575. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +46 -20
  1576. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +1 -34
  1577. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +25 -29
  1578. data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +23 -0
  1579. data/third_party/abseil-cpp/absl/strings/internal/escaping.h +1 -0
  1580. data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +15 -26
  1581. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +14 -81
  1582. data/third_party/abseil-cpp/absl/strings/internal/memutil.h +4 -112
  1583. data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +1 -1
  1584. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +154 -38
  1585. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +78 -30
  1586. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +17 -1
  1587. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +12 -24
  1588. data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +9 -3
  1589. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +11 -5
  1590. data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +9 -9
  1591. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +5 -4
  1592. data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +56 -6
  1593. data/third_party/abseil-cpp/absl/strings/match.cc +90 -0
  1594. data/third_party/abseil-cpp/absl/strings/match.h +19 -0
  1595. data/third_party/abseil-cpp/absl/strings/numbers.cc +437 -162
  1596. data/third_party/abseil-cpp/absl/strings/numbers.h +193 -40
  1597. data/third_party/abseil-cpp/absl/strings/str_cat.cc +155 -68
  1598. data/third_party/abseil-cpp/absl/strings/str_cat.h +205 -35
  1599. data/third_party/abseil-cpp/absl/strings/str_format.h +36 -23
  1600. data/third_party/abseil-cpp/absl/strings/str_join.h +16 -16
  1601. data/third_party/abseil-cpp/absl/strings/str_replace.cc +12 -3
  1602. data/third_party/abseil-cpp/absl/strings/str_replace.h +8 -5
  1603. data/third_party/abseil-cpp/absl/strings/str_split.cc +17 -12
  1604. data/third_party/abseil-cpp/absl/strings/str_split.h +18 -0
  1605. data/third_party/abseil-cpp/absl/strings/string_view.cc +47 -4
  1606. data/third_party/abseil-cpp/absl/strings/string_view.h +91 -26
  1607. data/third_party/abseil-cpp/absl/strings/strip.h +5 -2
  1608. data/third_party/abseil-cpp/absl/strings/substitute.cc +12 -4
  1609. data/third_party/abseil-cpp/absl/strings/substitute.h +103 -91
  1610. data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +5 -0
  1611. data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +63 -43
  1612. data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc +111 -0
  1613. data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.h +63 -0
  1614. data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -7
  1615. data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc +225 -0
  1616. data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +122 -114
  1617. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +12 -8
  1618. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +10 -1
  1619. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc +167 -0
  1620. data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +60 -0
  1621. data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc +122 -0
  1622. data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.h +65 -0
  1623. data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc +91 -0
  1624. data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h +56 -0
  1625. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +21 -113
  1626. data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc +42 -0
  1627. data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.h +90 -0
  1628. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc +151 -0
  1629. data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +72 -0
  1630. data/third_party/abseil-cpp/absl/synchronization/mutex.cc +612 -652
  1631. data/third_party/abseil-cpp/absl/synchronization/mutex.h +223 -134
  1632. data/third_party/abseil-cpp/absl/time/civil_time.h +26 -0
  1633. data/third_party/abseil-cpp/absl/time/clock.cc +6 -7
  1634. data/third_party/abseil-cpp/absl/time/clock.h +5 -1
  1635. data/third_party/abseil-cpp/absl/time/duration.cc +27 -29
  1636. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +2 -2
  1637. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +1 -0
  1638. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +1 -1
  1639. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +4 -4
  1640. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +8 -6
  1641. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +6 -3
  1642. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +4 -2
  1643. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +4 -0
  1644. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +333 -311
  1645. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +8 -17
  1646. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +51 -33
  1647. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +7 -2
  1648. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +128 -2
  1649. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +1 -1
  1650. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +5 -9
  1651. data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +34 -34
  1652. data/third_party/abseil-cpp/absl/time/time.cc +9 -2
  1653. data/third_party/abseil-cpp/absl/time/time.h +115 -15
  1654. data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +18 -0
  1655. data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +18 -0
  1656. data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -52
  1657. data/third_party/abseil-cpp/absl/types/internal/span.h +2 -2
  1658. data/third_party/abseil-cpp/absl/types/internal/variant.h +5 -5
  1659. data/third_party/abseil-cpp/absl/types/optional.h +16 -13
  1660. data/third_party/abseil-cpp/absl/types/span.h +10 -6
  1661. data/third_party/abseil-cpp/absl/utility/utility.h +11 -93
  1662. data/third_party/boringssl-with-bazel/err_data.c +293 -290
  1663. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +8 -4
  1664. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -9
  1665. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +15 -28
  1666. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +1 -1
  1667. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +19 -1
  1668. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +8 -4
  1669. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +11 -3
  1670. data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +4 -1
  1671. data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +1 -1
  1672. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +3 -3
  1673. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +1 -6
  1674. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +4 -13
  1675. data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +1 -6
  1676. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +27 -4
  1677. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +6 -9
  1678. data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +92 -0
  1679. data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +4 -48
  1680. data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +11 -6
  1681. data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +16 -6
  1682. data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +1 -4
  1683. data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +2 -2
  1684. data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +9 -0
  1685. data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +8 -0
  1686. data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +1 -11
  1687. data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +7 -8
  1688. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +42 -12
  1689. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +1 -1
  1690. data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -22
  1691. data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +9 -9
  1692. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +34 -1
  1693. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +49 -3
  1694. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +30 -42
  1695. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +90 -103
  1696. data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +5 -1
  1697. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +0 -2
  1698. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -1
  1699. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -2
  1700. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.c +0 -1
  1701. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +93 -0
  1702. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +1 -1
  1703. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -1
  1704. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -2
  1705. data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +4 -2
  1706. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +11 -0
  1707. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +4 -0
  1708. data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +1 -2
  1709. data/third_party/boringssl-with-bazel/src/crypto/des/des.c +105 -31
  1710. data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +10 -81
  1711. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +4 -0
  1712. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +5 -0
  1713. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +2 -15
  1714. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +9 -14
  1715. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +4 -6
  1716. data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +1 -9
  1717. data/third_party/boringssl-with-bazel/src/crypto/err/err.c +10 -11
  1718. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +1 -5
  1719. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +2 -5
  1720. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +1 -4
  1721. data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.c +1 -2
  1722. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -3
  1723. data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +2 -2
  1724. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +2 -8
  1725. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +1 -1
  1726. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +26 -17
  1727. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +1 -1
  1728. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +4 -2
  1729. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +26 -5
  1730. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +10 -41
  1731. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +49 -2
  1732. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +26 -0
  1733. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +27 -26
  1734. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -6
  1735. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +1 -8
  1736. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +8 -2
  1737. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +11 -2
  1738. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +11 -24
  1739. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.c +43 -50
  1740. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +37 -8
  1741. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +40 -25
  1742. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +7 -0
  1743. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +4 -0
  1744. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +1 -2
  1745. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +16 -9
  1746. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +7 -6
  1747. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +2 -7
  1748. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +51 -13
  1749. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +17 -0
  1750. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +5 -2
  1751. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +1 -2
  1752. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +1 -3
  1753. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +6 -5
  1754. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +1 -2
  1755. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +39 -16
  1756. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +4 -7
  1757. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +153 -6
  1758. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +87 -7
  1759. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +39 -5
  1760. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +32 -5
  1761. data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +7 -0
  1762. data/third_party/boringssl-with-bazel/src/crypto/internal.h +264 -72
  1763. data/third_party/boringssl-with-bazel/src/crypto/keccak/internal.h +70 -0
  1764. data/third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c +279 -0
  1765. data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +8 -39
  1766. data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +39 -29
  1767. data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +3 -6
  1768. data/third_party/boringssl-with-bazel/src/crypto/mem.c +17 -33
  1769. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +41 -38
  1770. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -3
  1771. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +31 -0
  1772. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +2 -4
  1773. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +3 -3
  1774. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +9 -13
  1775. data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +3 -6
  1776. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +4 -0
  1777. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +4 -0
  1778. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +3 -1
  1779. data/third_party/boringssl-with-bazel/src/crypto/spx/address.c +101 -0
  1780. data/third_party/boringssl-with-bazel/src/crypto/spx/address.h +50 -0
  1781. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.c +133 -0
  1782. data/third_party/boringssl-with-bazel/src/crypto/spx/fors.h +54 -0
  1783. data/third_party/boringssl-with-bazel/src/crypto/spx/internal.h +79 -0
  1784. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.c +150 -0
  1785. data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.h +61 -0
  1786. data/third_party/boringssl-with-bazel/src/crypto/spx/params.h +71 -0
  1787. data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +139 -0
  1788. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c +53 -0
  1789. data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h +44 -0
  1790. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.c +136 -0
  1791. data/third_party/boringssl-with-bazel/src/crypto/spx/thash.h +70 -0
  1792. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.c +135 -0
  1793. data/third_party/boringssl-with-bazel/src/crypto/spx/wots.h +45 -0
  1794. data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +9 -9
  1795. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +10 -22
  1796. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +3 -6
  1797. data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +12 -36
  1798. data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +1 -2
  1799. data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -2
  1800. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +13 -13
  1801. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +22 -35
  1802. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +225 -51
  1803. data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +2 -6
  1804. data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +6 -2
  1805. data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +1 -1
  1806. data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +1 -4
  1807. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +1 -3
  1808. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c +221 -0
  1809. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c +73 -0
  1810. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c +634 -0
  1811. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c +135 -0
  1812. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c +141 -0
  1813. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c +416 -0
  1814. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +477 -0
  1815. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +598 -0
  1816. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c +112 -0
  1817. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c +154 -0
  1818. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c +270 -0
  1819. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c +122 -0
  1820. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +211 -0
  1821. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c +121 -0
  1822. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +342 -0
  1823. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c +555 -0
  1824. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c +81 -0
  1825. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c +142 -0
  1826. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c +150 -0
  1827. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c +224 -0
  1828. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +645 -0
  1829. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c +170 -0
  1830. data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +1357 -0
  1831. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +35 -32
  1832. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +44 -59
  1833. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +1 -3
  1834. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -1
  1835. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +107 -255
  1836. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +32 -20
  1837. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +25 -152
  1838. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -1
  1839. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +330 -944
  1840. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +93 -215
  1841. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +28 -6
  1842. data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
  1843. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +35 -129
  1844. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +7 -8
  1845. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +46 -50
  1846. data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +2 -0
  1847. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -4
  1848. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +6 -6
  1849. data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -21
  1850. data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +5 -6
  1851. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +11 -1
  1852. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +35 -1
  1853. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +14 -5
  1854. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +22 -0
  1855. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +1 -0
  1856. data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +4 -1
  1857. data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +2 -2
  1858. data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -13
  1859. data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +4 -1
  1860. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +40 -20
  1861. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +1 -1
  1862. data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +5 -4
  1863. data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +6 -2
  1864. data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +26 -18
  1865. data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +13 -6
  1866. data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +5 -1
  1867. data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +1 -0
  1868. data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +19 -5
  1869. data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +45 -0
  1870. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +5 -0
  1871. data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +20 -3
  1872. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +36 -36
  1873. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +80 -60
  1874. data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +20 -12
  1875. data/third_party/boringssl-with-bazel/src/include/openssl/target.h +79 -7
  1876. data/third_party/boringssl-with-bazel/src/include/openssl/time.h +3 -22
  1877. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -1
  1878. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2806 -945
  1879. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +38 -1025
  1880. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h +124 -0
  1881. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +1 -2
  1882. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +82 -9
  1883. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +42 -4
  1884. data/third_party/boringssl-with-bazel/src/ssl/internal.h +4 -0
  1885. data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +2 -2
  1886. data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +4 -4
  1887. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +4 -5
  1888. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +11 -1
  1889. data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1
  1890. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +5 -1
  1891. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -1
  1892. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +4 -2
  1893. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +21 -0
  1894. data/third_party/cares/config_linux/ares_config.h +2 -38
  1895. data/third_party/upb/upb/base/descriptor_constants.h +7 -27
  1896. data/third_party/upb/upb/base/internal/log2.h +38 -0
  1897. data/third_party/upb/upb/base/status.c +6 -26
  1898. data/third_party/upb/upb/base/status.h +6 -26
  1899. data/third_party/upb/upb/base/status.hpp +50 -0
  1900. data/third_party/upb/upb/base/string_view.h +11 -28
  1901. data/third_party/upb/upb/generated_code_support.h +33 -0
  1902. data/third_party/upb/upb/hash/common.c +12 -44
  1903. data/third_party/upb/upb/hash/common.h +16 -41
  1904. data/third_party/upb/upb/hash/int_table.h +6 -26
  1905. data/third_party/upb/upb/hash/str_table.h +7 -26
  1906. data/third_party/upb/upb/json/decode.c +31 -28
  1907. data/third_party/upb/upb/json/decode.h +32 -29
  1908. data/third_party/upb/upb/json/encode.c +31 -28
  1909. data/third_party/upb/upb/json/encode.h +35 -32
  1910. data/third_party/upb/upb/lex/atoi.c +6 -26
  1911. data/third_party/upb/upb/lex/atoi.h +8 -26
  1912. data/third_party/upb/upb/lex/round_trip.c +6 -26
  1913. data/third_party/upb/upb/lex/round_trip.h +6 -26
  1914. data/third_party/upb/upb/lex/strtod.c +6 -26
  1915. data/third_party/upb/upb/lex/strtod.h +6 -26
  1916. data/third_party/upb/upb/lex/unicode.c +6 -26
  1917. data/third_party/upb/upb/lex/unicode.h +8 -26
  1918. data/third_party/upb/upb/mem/alloc.c +6 -26
  1919. data/third_party/upb/upb/mem/alloc.h +6 -26
  1920. data/third_party/upb/upb/mem/arena.c +30 -29
  1921. data/third_party/upb/upb/mem/arena.h +16 -44
  1922. data/third_party/upb/upb/mem/arena.hpp +54 -0
  1923. data/third_party/upb/upb/mem/internal/arena.h +94 -0
  1924. data/third_party/upb/upb/message/accessors.c +34 -31
  1925. data/third_party/upb/upb/message/accessors.h +58 -57
  1926. data/third_party/upb/upb/message/array.c +154 -0
  1927. data/third_party/upb/upb/message/array.h +98 -0
  1928. data/third_party/upb/upb/message/internal/accessors.h +367 -0
  1929. data/third_party/upb/upb/message/internal/array.h +138 -0
  1930. data/third_party/upb/upb/message/internal/extension.h +63 -0
  1931. data/third_party/upb/upb/message/internal/map.h +173 -0
  1932. data/third_party/upb/upb/message/internal/map_entry.h +66 -0
  1933. data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
  1934. data/third_party/upb/upb/message/internal/message.h +106 -0
  1935. data/third_party/upb/upb/message/internal/types.h +23 -0
  1936. data/third_party/upb/upb/message/map.c +145 -0
  1937. data/third_party/upb/upb/message/map.h +147 -0
  1938. data/third_party/upb/upb/message/map_gencode_util.h +81 -0
  1939. data/third_party/upb/upb/message/map_sorter.c +170 -0
  1940. data/third_party/upb/upb/message/message.c +8 -34
  1941. data/third_party/upb/upb/message/message.h +10 -27
  1942. data/third_party/upb/upb/message/tagged_ptr.h +69 -0
  1943. data/third_party/upb/upb/message/types.h +15 -0
  1944. data/third_party/upb/upb/message/value.h +46 -0
  1945. data/third_party/upb/upb/mini_descriptor/build_enum.c +130 -0
  1946. data/third_party/upb/upb/mini_descriptor/build_enum.h +42 -0
  1947. data/third_party/upb/upb/mini_descriptor/decode.c +870 -0
  1948. data/third_party/upb/upb/mini_descriptor/decode.h +120 -0
  1949. data/third_party/upb/upb/mini_descriptor/internal/base92.c +26 -0
  1950. data/third_party/upb/upb/mini_descriptor/internal/base92.h +63 -0
  1951. data/third_party/upb/upb/mini_descriptor/internal/decoder.h +53 -0
  1952. data/third_party/upb/upb/mini_descriptor/internal/encode.c +323 -0
  1953. data/third_party/upb/upb/mini_descriptor/internal/encode.h +92 -0
  1954. data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +118 -0
  1955. data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +32 -0
  1956. data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +72 -0
  1957. data/third_party/upb/upb/mini_descriptor/link.c +122 -0
  1958. data/third_party/upb/upb/mini_descriptor/link.h +84 -0
  1959. data/third_party/upb/upb/mini_table/enum.h +38 -0
  1960. data/third_party/upb/upb/mini_table/extension.h +15 -0
  1961. data/third_party/upb/upb/mini_table/extension_registry.c +7 -27
  1962. data/third_party/upb/upb/mini_table/extension_registry.h +9 -28
  1963. data/third_party/upb/upb/mini_table/field.h +98 -0
  1964. data/third_party/upb/upb/mini_table/file.h +15 -0
  1965. data/third_party/upb/upb/mini_table/internal/enum.h +58 -0
  1966. data/third_party/upb/upb/mini_table/internal/extension.h +27 -0
  1967. data/third_party/upb/upb/mini_table/internal/field.h +114 -0
  1968. data/third_party/upb/upb/mini_table/internal/file.h +29 -0
  1969. data/third_party/upb/upb/mini_table/internal/message.c +19 -0
  1970. data/third_party/upb/upb/mini_table/internal/message.h +88 -0
  1971. data/third_party/upb/upb/mini_table/internal/sub.h +18 -0
  1972. data/third_party/upb/upb/mini_table/message.c +77 -0
  1973. data/third_party/upb/upb/mini_table/message.h +85 -0
  1974. data/third_party/upb/upb/mini_table/sub.h +15 -0
  1975. data/third_party/upb/upb/port/atomic.h +8 -26
  1976. data/third_party/upb/upb/port/def.inc +28 -29
  1977. data/third_party/upb/upb/port/undef.inc +8 -26
  1978. data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
  1979. data/third_party/upb/upb/reflection/common.h +11 -27
  1980. data/third_party/upb/upb/reflection/def.h +8 -26
  1981. data/third_party/upb/upb/reflection/def.hpp +26 -31
  1982. data/third_party/upb/upb/reflection/def_pool.c +16 -35
  1983. data/third_party/upb/upb/reflection/def_pool.h +17 -38
  1984. data/third_party/upb/upb/reflection/def_type.c +6 -26
  1985. data/third_party/upb/upb/reflection/def_type.h +6 -27
  1986. data/third_party/upb/upb/reflection/desc_state.c +7 -27
  1987. data/third_party/upb/upb/reflection/enum_def.c +19 -37
  1988. data/third_party/upb/upb/reflection/enum_def.h +13 -33
  1989. data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
  1990. data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
  1991. data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
  1992. data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
  1993. data/third_party/upb/upb/reflection/extension_range.c +9 -28
  1994. data/third_party/upb/upb/reflection/extension_range.h +6 -26
  1995. data/third_party/upb/upb/reflection/field_def.c +70 -52
  1996. data/third_party/upb/upb/reflection/field_def.h +25 -42
  1997. data/third_party/upb/upb/reflection/file_def.c +23 -48
  1998. data/third_party/upb/upb/reflection/file_def.h +10 -30
  1999. data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
  2000. data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
  2001. data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
  2002. data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
  2003. data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
  2004. data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
  2005. data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
  2006. data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
  2007. data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
  2008. data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
  2009. data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
  2010. data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
  2011. data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
  2012. data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
  2013. data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
  2014. data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
  2015. data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
  2016. data/third_party/upb/upb/reflection/message.c +10 -30
  2017. data/third_party/upb/upb/reflection/message.h +27 -40
  2018. data/third_party/upb/upb/reflection/message.hpp +5 -23
  2019. data/third_party/upb/upb/reflection/message_def.c +73 -55
  2020. data/third_party/upb/upb/reflection/message_def.h +25 -43
  2021. data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
  2022. data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
  2023. data/third_party/upb/upb/reflection/method_def.c +10 -29
  2024. data/third_party/upb/upb/reflection/method_def.h +6 -26
  2025. data/third_party/upb/upb/reflection/oneof_def.c +15 -33
  2026. data/third_party/upb/upb/reflection/oneof_def.h +11 -30
  2027. data/third_party/upb/upb/reflection/service_def.c +12 -31
  2028. data/third_party/upb/upb/reflection/service_def.h +6 -26
  2029. data/third_party/upb/upb/text/encode.c +8 -28
  2030. data/third_party/upb/upb/text/encode.h +6 -26
  2031. data/third_party/upb/upb/wire/decode.c +106 -68
  2032. data/third_party/upb/upb/wire/decode.h +50 -26
  2033. data/third_party/upb/upb/wire/decode_fast.c +10 -28
  2034. data/third_party/upb/upb/wire/decode_fast.h +6 -26
  2035. data/third_party/upb/upb/wire/encode.c +52 -46
  2036. data/third_party/upb/upb/wire/encode.h +14 -30
  2037. data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
  2038. data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
  2039. data/third_party/upb/upb/wire/internal/constants.h +27 -0
  2040. data/third_party/upb/upb/wire/internal/decode.h +143 -0
  2041. data/third_party/upb/upb/wire/internal/swap.h +45 -0
  2042. data/third_party/upb/upb/wire/reader.c +6 -26
  2043. data/third_party/upb/upb/wire/reader.h +8 -28
  2044. data/third_party/upb/upb/wire/types.h +6 -26
  2045. data/third_party/zlib/adler32.c +5 -27
  2046. data/third_party/zlib/compress.c +5 -16
  2047. data/third_party/zlib/crc32.c +86 -162
  2048. data/third_party/zlib/deflate.c +233 -336
  2049. data/third_party/zlib/deflate.h +8 -8
  2050. data/third_party/zlib/gzguts.h +11 -12
  2051. data/third_party/zlib/infback.c +7 -23
  2052. data/third_party/zlib/inffast.c +1 -4
  2053. data/third_party/zlib/inffast.h +1 -1
  2054. data/third_party/zlib/inflate.c +30 -99
  2055. data/third_party/zlib/inftrees.c +6 -11
  2056. data/third_party/zlib/inftrees.h +3 -3
  2057. data/third_party/zlib/trees.c +224 -302
  2058. data/third_party/zlib/uncompr.c +4 -12
  2059. data/third_party/zlib/zconf.h +6 -2
  2060. data/third_party/zlib/zlib.h +191 -188
  2061. data/third_party/zlib/zutil.c +16 -44
  2062. data/third_party/zlib/zutil.h +10 -10
  2063. metadata +1160 -904
  2064. data/src/core/ext/filters/client_channel/backend_metric.cc +0 -95
  2065. data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
  2066. data/src/core/ext/filters/client_channel/backup_poller.cc +0 -178
  2067. data/src/core/ext/filters/client_channel/backup_poller.h +0 -37
  2068. data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -265
  2069. data/src/core/ext/filters/client_channel/client_channel.cc +0 -3242
  2070. data/src/core/ext/filters/client_channel/client_channel.h +0 -595
  2071. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -93
  2072. data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
  2073. data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
  2074. data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
  2075. data/src/core/ext/filters/client_channel/client_channel_internal.h +0 -77
  2076. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -42
  2077. data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
  2078. data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
  2079. data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
  2080. data/src/core/ext/filters/client_channel/config_selector.h +0 -125
  2081. data/src/core/ext/filters/client_channel/connector.h +0 -88
  2082. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
  2083. data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -108
  2084. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
  2085. data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
  2086. data/src/core/ext/filters/client_channel/http_proxy.cc +0 -238
  2087. data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
  2088. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -69
  2089. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -115
  2090. data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -57
  2091. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -315
  2092. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -88
  2093. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -85
  2094. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -46
  2095. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1866
  2096. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -39
  2097. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -89
  2098. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -39
  2099. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
  2100. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -81
  2101. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
  2102. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -77
  2103. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +0 -478
  2104. data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +0 -52
  2105. data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +0 -202
  2106. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -333
  2107. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
  2108. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +0 -119
  2109. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1187
  2110. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -101
  2111. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -592
  2112. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +0 -25
  2113. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -892
  2114. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -880
  2115. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -64
  2116. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2456
  2117. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -537
  2118. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -488
  2119. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +0 -198
  2120. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h +0 -71
  2121. data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +0 -1011
  2122. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -747
  2123. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -706
  2124. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -37
  2125. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -750
  2126. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -650
  2127. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1155
  2128. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +0 -780
  2129. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +0 -67
  2130. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -301
  2131. data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
  2132. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
  2133. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -148
  2134. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -758
  2135. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +0 -30
  2136. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -90
  2137. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -115
  2138. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -888
  2139. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1206
  2140. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -136
  2141. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
  2142. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
  2143. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +0 -60
  2144. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +0 -27
  2145. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +0 -559
  2146. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +0 -35
  2147. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +0 -97
  2148. data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +0 -32
  2149. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -184
  2150. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +0 -24
  2151. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -368
  2152. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -110
  2153. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -326
  2154. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -273
  2155. data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -121
  2156. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -202
  2157. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1276
  2158. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -61
  2159. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -160
  2160. data/src/core/ext/filters/client_channel/retry_filter.h +0 -121
  2161. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -2052
  2162. data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +0 -442
  2163. data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -283
  2164. data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
  2165. data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -139
  2166. data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
  2167. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -124
  2168. data/src/core/ext/filters/client_channel/subchannel.cc +0 -774
  2169. data/src/core/ext/filters/client_channel/subchannel.h +0 -372
  2170. data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -41
  2171. data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
  2172. data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
  2173. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -469
  2174. data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -225
  2175. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -152
  2176. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -735
  2177. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -183
  2178. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -835
  2179. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -160
  2180. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -743
  2181. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -535
  2182. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2796
  2183. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -69
  2184. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -256
  2185. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -77
  2186. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -287
  2187. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -59
  2188. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -168
  2189. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -52
  2190. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -128
  2191. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -52
  2192. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -123
  2193. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -153
  2194. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -935
  2195. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -57
  2196. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -122
  2197. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -63
  2198. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -134
  2199. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -60
  2200. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -118
  2201. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -378
  2202. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1772
  2203. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -572
  2204. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3257
  2205. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -128
  2206. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -532
  2207. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -732
  2208. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3926
  2209. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -57
  2210. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -122
  2211. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -126
  2212. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -664
  2213. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -398
  2214. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1849
  2215. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -227
  2216. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1054
  2217. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -58
  2218. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -134
  2219. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -580
  2220. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2448
  2221. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -228
  2222. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1141
  2223. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -54
  2224. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -115
  2225. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -56
  2226. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -122
  2227. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -71
  2228. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -256
  2229. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -381
  2230. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1707
  2231. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -318
  2232. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1951
  2233. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -58
  2234. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -149
  2235. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -484
  2236. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2264
  2237. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -73
  2238. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -245
  2239. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -75
  2240. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -239
  2241. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -79
  2242. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -293
  2243. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -69
  2244. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -260
  2245. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -57
  2246. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -136
  2247. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -141
  2248. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -498
  2249. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -207
  2250. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -875
  2251. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -182
  2252. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -920
  2253. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -53
  2254. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -107
  2255. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -269
  2256. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1600
  2257. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -263
  2258. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1459
  2259. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -89
  2260. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -331
  2261. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -80
  2262. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -204
  2263. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -67
  2264. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -187
  2265. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -222
  2266. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -988
  2267. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -253
  2268. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1197
  2269. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -351
  2270. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1717
  2271. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -136
  2272. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -867
  2273. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1646
  2274. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9598
  2275. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -100
  2276. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -347
  2277. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -328
  2278. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1530
  2279. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -54
  2280. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -123
  2281. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -58
  2282. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -122
  2283. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -76
  2284. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -196
  2285. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -65
  2286. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -205
  2287. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -84
  2288. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -413
  2289. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -55
  2290. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -122
  2291. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -54
  2292. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -107
  2293. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -88
  2294. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -259
  2295. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -36
  2296. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -48
  2297. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -90
  2298. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -261
  2299. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -68
  2300. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -204
  2301. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -558
  2302. data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2710
  2303. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -49
  2304. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -139
  2305. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -119
  2306. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -437
  2307. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -144
  2308. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -664
  2309. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -90
  2310. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -271
  2311. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -104
  2312. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -468
  2313. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -75
  2314. data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -201
  2315. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -682
  2316. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3973
  2317. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -53
  2318. data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -107
  2319. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -70
  2320. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -246
  2321. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -138
  2322. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -499
  2323. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -47
  2324. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -93
  2325. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -71
  2326. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -257
  2327. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -53
  2328. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -107
  2329. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -31
  2330. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -43
  2331. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -265
  2332. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1479
  2333. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -111
  2334. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -369
  2335. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -270
  2336. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1482
  2337. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -75
  2338. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -224
  2339. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -41
  2340. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -78
  2341. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -405
  2342. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2161
  2343. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -87
  2344. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -331
  2345. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -185
  2346. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -923
  2347. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -57
  2348. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -137
  2349. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -89
  2350. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -321
  2351. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -56
  2352. data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -130
  2353. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -108
  2354. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -309
  2355. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -79
  2356. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -266
  2357. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -58
  2358. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -172
  2359. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -57
  2360. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -135
  2361. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -54
  2362. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -115
  2363. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -99
  2364. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -277
  2365. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -46
  2366. data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -117
  2367. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -84
  2368. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -312
  2369. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -73
  2370. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -236
  2371. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -95
  2372. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -354
  2373. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -130
  2374. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -536
  2375. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -142
  2376. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -516
  2377. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -79
  2378. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -234
  2379. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -29
  2380. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -44
  2381. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -49
  2382. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -153
  2383. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -67
  2384. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -168
  2385. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -87
  2386. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -246
  2387. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -78
  2388. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -237
  2389. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -29
  2390. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -48
  2391. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -52
  2392. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -123
  2393. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -60
  2394. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -151
  2395. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -43
  2396. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -63
  2397. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -372
  2398. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1764
  2399. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -402
  2400. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1849
  2401. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -114
  2402. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -507
  2403. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -55
  2404. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -173
  2405. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -49
  2406. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -108
  2407. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1172
  2408. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -5656
  2409. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -49
  2410. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -108
  2411. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -38
  2412. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -78
  2413. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -118
  2414. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -434
  2415. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -49
  2416. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -108
  2417. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -166
  2418. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -525
  2419. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -55
  2420. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -173
  2421. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -109
  2422. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -397
  2423. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -82
  2424. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -246
  2425. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -345
  2426. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1677
  2427. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -72
  2428. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -207
  2429. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -61
  2430. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -154
  2431. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -224
  2432. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -893
  2433. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -95
  2434. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -308
  2435. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -246
  2436. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1349
  2437. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -129
  2438. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -341
  2439. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -64
  2440. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -133
  2441. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -41
  2442. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -63
  2443. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -63
  2444. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -140
  2445. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -60
  2446. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -118
  2447. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -950
  2448. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6544
  2449. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -129
  2450. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -341
  2451. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -64
  2452. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -133
  2453. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -41
  2454. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -63
  2455. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -126
  2456. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -352
  2457. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -60
  2458. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -118
  2459. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -48
  2460. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -93
  2461. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -56
  2462. data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -122
  2463. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -81
  2464. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -241
  2465. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -65
  2466. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -142
  2467. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -55
  2468. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -122
  2469. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -58
  2470. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -151
  2471. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -87
  2472. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -338
  2473. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -62
  2474. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -152
  2475. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -129
  2476. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -360
  2477. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -55
  2478. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -168
  2479. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -53
  2480. data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -107
  2481. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -75
  2482. data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -270
  2483. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -39
  2484. data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -78
  2485. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -78
  2486. data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -289
  2487. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -268
  2488. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1122
  2489. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -160
  2490. data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -740
  2491. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -61
  2492. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -167
  2493. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -82
  2494. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -312
  2495. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -82
  2496. data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -240
  2497. data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -85
  2498. data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -246
  2499. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -54
  2500. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -122
  2501. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  2502. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
  2503. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
  2504. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
  2505. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  2506. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
  2507. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
  2508. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
  2509. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  2510. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
  2511. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  2512. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
  2513. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  2514. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
  2515. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  2516. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
  2517. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  2518. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
  2519. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  2520. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
  2521. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  2522. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
  2523. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  2524. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
  2525. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  2526. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
  2527. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
  2528. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
  2529. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
  2530. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
  2531. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  2532. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
  2533. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
  2534. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
  2535. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  2536. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
  2537. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  2538. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
  2539. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  2540. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
  2541. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
  2542. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
  2543. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  2544. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
  2545. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
  2546. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
  2547. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  2548. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
  2549. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  2550. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
  2551. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  2552. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
  2553. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  2554. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
  2555. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
  2556. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
  2557. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
  2558. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
  2559. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  2560. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
  2561. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
  2562. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
  2563. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
  2564. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
  2565. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  2566. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
  2567. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
  2568. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
  2569. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  2570. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
  2571. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  2572. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
  2573. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  2574. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
  2575. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
  2576. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
  2577. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  2578. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
  2579. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  2580. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
  2581. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
  2582. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
  2583. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  2584. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
  2585. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
  2586. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
  2587. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  2588. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
  2589. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
  2590. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
  2591. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  2592. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
  2593. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
  2594. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
  2595. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
  2596. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
  2597. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
  2598. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
  2599. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
  2600. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
  2601. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  2602. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
  2603. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  2604. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
  2605. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
  2606. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
  2607. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  2608. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
  2609. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  2610. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
  2611. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  2612. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
  2613. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  2614. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
  2615. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
  2616. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
  2617. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  2618. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
  2619. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  2620. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
  2621. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  2622. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
  2623. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  2624. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
  2625. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
  2626. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
  2627. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
  2628. data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
  2629. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  2630. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
  2631. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  2632. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
  2633. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
  2634. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
  2635. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  2636. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
  2637. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
  2638. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
  2639. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
  2640. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
  2641. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
  2642. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
  2643. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
  2644. data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
  2645. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  2646. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
  2647. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
  2648. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
  2649. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  2650. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
  2651. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
  2652. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
  2653. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  2654. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
  2655. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  2656. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
  2657. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
  2658. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
  2659. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  2660. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
  2661. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
  2662. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
  2663. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  2664. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
  2665. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  2666. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
  2667. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
  2668. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
  2669. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
  2670. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
  2671. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  2672. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
  2673. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  2674. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
  2675. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  2676. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
  2677. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  2678. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
  2679. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  2680. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
  2681. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
  2682. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
  2683. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  2684. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
  2685. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  2686. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
  2687. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  2688. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
  2689. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  2690. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
  2691. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  2692. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
  2693. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  2694. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
  2695. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  2696. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
  2697. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  2698. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
  2699. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  2700. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
  2701. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  2702. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
  2703. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  2704. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
  2705. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
  2706. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
  2707. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  2708. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
  2709. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  2710. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
  2711. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  2712. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
  2713. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  2714. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
  2715. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  2716. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
  2717. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  2718. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
  2719. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  2720. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
  2721. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  2722. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
  2723. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -387
  2724. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -171
  2725. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  2726. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
  2727. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  2728. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
  2729. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  2730. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
  2731. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  2732. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
  2733. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  2734. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
  2735. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  2736. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
  2737. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  2738. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
  2739. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  2740. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
  2741. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  2742. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
  2743. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  2744. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
  2745. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  2746. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
  2747. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  2748. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
  2749. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  2750. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
  2751. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  2752. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
  2753. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  2754. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
  2755. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  2756. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
  2757. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  2758. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
  2759. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  2760. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
  2761. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  2762. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
  2763. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  2764. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
  2765. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
  2766. data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
  2767. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  2768. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
  2769. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  2770. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
  2771. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  2772. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
  2773. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  2774. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
  2775. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  2776. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
  2777. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  2778. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
  2779. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
  2780. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
  2781. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
  2782. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
  2783. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
  2784. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
  2785. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
  2786. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
  2787. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  2788. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
  2789. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
  2790. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
  2791. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  2792. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
  2793. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  2794. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
  2795. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
  2796. data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
  2797. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
  2798. data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
  2799. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
  2800. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
  2801. data/src/core/lib/event_engine/memory_allocator.cc +0 -74
  2802. data/src/core/lib/event_engine/thread_pool/original_thread_pool.cc +0 -256
  2803. data/src/core/lib/event_engine/thread_pool/original_thread_pool.h +0 -137
  2804. data/src/core/lib/iomgr/load_file.cc +0 -78
  2805. data/src/core/lib/iomgr/load_file.h +0 -35
  2806. data/src/core/lib/load_balancing/delegating_helper.h +0 -115
  2807. data/src/core/lib/load_balancing/lb_policy.cc +0 -98
  2808. data/src/core/lib/load_balancing/lb_policy.h +0 -477
  2809. data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
  2810. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -143
  2811. data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
  2812. data/src/core/lib/load_balancing/subchannel_interface.h +0 -141
  2813. data/src/core/lib/promise/detail/basic_join.h +0 -197
  2814. data/src/core/lib/promise/detail/switch.h +0 -1455
  2815. data/src/core/lib/resolver/resolver.cc +0 -37
  2816. data/src/core/lib/resolver/resolver.h +0 -138
  2817. data/src/core/lib/resolver/resolver_factory.h +0 -78
  2818. data/src/core/lib/resolver/resolver_registry.cc +0 -164
  2819. data/src/core/lib/resolver/resolver_registry.h +0 -123
  2820. data/src/core/lib/resolver/server_address.cc +0 -89
  2821. data/src/core/lib/resolver/server_address.h +0 -85
  2822. data/src/core/lib/service_config/service_config.h +0 -89
  2823. data/src/core/lib/service_config/service_config_call_data.h +0 -116
  2824. data/src/core/lib/service_config/service_config_impl.cc +0 -198
  2825. data/src/core/lib/service_config/service_config_impl.h +0 -125
  2826. data/src/core/lib/service_config/service_config_parser.cc +0 -81
  2827. data/src/core/lib/service_config/service_config_parser.h +0 -105
  2828. data/src/core/lib/transport/pid_controller.cc +0 -51
  2829. data/src/core/lib/transport/pid_controller.h +0 -116
  2830. data/src/core/lib/transport/transport_impl.h +0 -102
  2831. data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -138
  2832. data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -280
  2833. data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +0 -434
  2834. data/third_party/abseil-cpp/absl/flags/flag.cc +0 -38
  2835. data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +0 -116
  2836. data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -158
  2837. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
  2838. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
  2839. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
  2840. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
  2841. data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_freebsd.c +0 -62
  2842. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm.c +0 -38
  2843. data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_openbsd.c +0 -31
  2844. data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +0 -204
  2845. data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -100
  2846. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -111
  2847. data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -197
  2848. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -221
  2849. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -71
  2850. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -636
  2851. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -135
  2852. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -141
  2853. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -418
  2854. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -477
  2855. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -599
  2856. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -111
  2857. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -154
  2858. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -270
  2859. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -122
  2860. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -213
  2861. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -121
  2862. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -341
  2863. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -555
  2864. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -81
  2865. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -142
  2866. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -150
  2867. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -225
  2868. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -888
  2869. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -171
  2870. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1355
  2871. data/third_party/re2/util/benchmark.h +0 -156
  2872. data/third_party/re2/util/flags.h +0 -26
  2873. data/third_party/re2/util/malloc_counter.h +0 -19
  2874. data/third_party/re2/util/pcre.cc +0 -1025
  2875. data/third_party/re2/util/pcre.h +0 -681
  2876. data/third_party/re2/util/test.h +0 -50
  2877. data/third_party/upb/upb/alloc.h +0 -36
  2878. data/third_party/upb/upb/arena.h +0 -36
  2879. data/third_party/upb/upb/array.h +0 -36
  2880. data/third_party/upb/upb/base/log2.h +0 -57
  2881. data/third_party/upb/upb/collections/array.c +0 -145
  2882. data/third_party/upb/upb/collections/array.h +0 -85
  2883. data/third_party/upb/upb/collections/array_internal.h +0 -135
  2884. data/third_party/upb/upb/collections/map.c +0 -135
  2885. data/third_party/upb/upb/collections/map.h +0 -135
  2886. data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
  2887. data/third_party/upb/upb/collections/map_internal.h +0 -170
  2888. data/third_party/upb/upb/collections/map_sorter.c +0 -166
  2889. data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
  2890. data/third_party/upb/upb/collections/message_value.h +0 -65
  2891. data/third_party/upb/upb/decode.h +0 -36
  2892. data/third_party/upb/upb/def.h +0 -36
  2893. data/third_party/upb/upb/def.hpp +0 -33
  2894. data/third_party/upb/upb/encode.h +0 -36
  2895. data/third_party/upb/upb/extension_registry.h +0 -35
  2896. data/third_party/upb/upb/json_decode.h +0 -36
  2897. data/third_party/upb/upb/json_encode.h +0 -36
  2898. data/third_party/upb/upb/map.h +0 -36
  2899. data/third_party/upb/upb/mem/arena_internal.h +0 -114
  2900. data/third_party/upb/upb/message/accessors_internal.h +0 -325
  2901. data/third_party/upb/upb/message/extension_internal.h +0 -83
  2902. data/third_party/upb/upb/message/internal.h +0 -135
  2903. data/third_party/upb/upb/mini_table/common.c +0 -128
  2904. data/third_party/upb/upb/mini_table/common.h +0 -170
  2905. data/third_party/upb/upb/mini_table/common_internal.h +0 -111
  2906. data/third_party/upb/upb/mini_table/decode.c +0 -1127
  2907. data/third_party/upb/upb/mini_table/decode.h +0 -179
  2908. data/third_party/upb/upb/mini_table/encode.c +0 -300
  2909. data/third_party/upb/upb/mini_table/encode_internal.h +0 -111
  2910. data/third_party/upb/upb/mini_table/encode_internal.hpp +0 -136
  2911. data/third_party/upb/upb/mini_table/enum_internal.h +0 -88
  2912. data/third_party/upb/upb/mini_table/extension_internal.h +0 -47
  2913. data/third_party/upb/upb/mini_table/field_internal.h +0 -192
  2914. data/third_party/upb/upb/mini_table/file_internal.h +0 -47
  2915. data/third_party/upb/upb/mini_table/message_internal.h +0 -136
  2916. data/third_party/upb/upb/mini_table/sub_internal.h +0 -38
  2917. data/third_party/upb/upb/mini_table/types.h +0 -40
  2918. data/third_party/upb/upb/mini_table.h +0 -36
  2919. data/third_party/upb/upb/msg.h +0 -36
  2920. data/third_party/upb/upb/reflection/def_builder.c +0 -357
  2921. data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
  2922. data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
  2923. data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
  2924. data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
  2925. data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
  2926. data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
  2927. data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
  2928. data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
  2929. data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
  2930. data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
  2931. data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
  2932. data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
  2933. data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
  2934. data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
  2935. data/third_party/upb/upb/reflection.h +0 -36
  2936. data/third_party/upb/upb/reflection.hpp +0 -33
  2937. data/third_party/upb/upb/status.h +0 -36
  2938. data/third_party/upb/upb/string_view.h +0 -36
  2939. data/third_party/upb/upb/text_encode.h +0 -36
  2940. data/third_party/upb/upb/upb.h +0 -39
  2941. data/third_party/upb/upb/upb.hpp +0 -107
  2942. data/third_party/upb/upb/wire/common.h +0 -44
  2943. data/third_party/upb/upb/wire/common_internal.h +0 -50
  2944. data/third_party/upb/upb/wire/decode_internal.h +0 -163
  2945. data/third_party/upb/upb/wire/swap_internal.h +0 -63
  2946. data/third_party/zlib/gzclose.c +0 -25
  2947. data/third_party/zlib/gzlib.c +0 -639
  2948. data/third_party/zlib/gzread.c +0 -650
  2949. data/third_party/zlib/gzwrite.c +0 -677
  2950. /data/third_party/boringssl-with-bazel/src/crypto/{x509v3 → x509}/ext_dat.h +0 -0
@@ -20,14 +20,16 @@
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>
32
+ #include <type_traits>
31
33
  #include <utility>
32
34
  #include <vector>
33
35
 
@@ -35,15 +37,18 @@
35
37
  #include "absl/container/flat_hash_map.h"
36
38
  #include "absl/hash/hash.h"
37
39
  #include "absl/meta/type_traits.h"
40
+ #include "absl/random/random.h"
38
41
  #include "absl/status/status.h"
39
42
  #include "absl/strings/cord.h"
40
43
  #include "absl/strings/str_cat.h"
41
44
  #include "absl/strings/str_format.h"
42
45
  #include "absl/strings/string_view.h"
43
46
  #include "absl/types/optional.h"
47
+ #include "absl/types/variant.h"
44
48
 
45
49
  #include <grpc/event_engine/event_engine.h>
46
50
  #include <grpc/grpc.h>
51
+ #include <grpc/impl/channel_arg_names.h>
47
52
  #include <grpc/impl/connectivity_state.h>
48
53
  #include <grpc/slice_buffer.h>
49
54
  #include <grpc/status.h>
@@ -53,7 +58,6 @@
53
58
 
54
59
  #include "src/core/ext/transport/chttp2/transport/context_list_entry.h"
55
60
  #include "src/core/ext/transport/chttp2/transport/flow_control.h"
56
- #include "src/core/ext/transport/chttp2/transport/frame.h"
57
61
  #include "src/core/ext/transport/chttp2/transport/frame_data.h"
58
62
  #include "src/core/ext/transport/chttp2/transport/frame_goaway.h"
59
63
  #include "src/core/ext/transport/chttp2/transport/frame_rst_stream.h"
@@ -61,13 +65,21 @@
61
65
  #include "src/core/ext/transport/chttp2/transport/http2_settings.h"
62
66
  #include "src/core/ext/transport/chttp2/transport/http_trace.h"
63
67
  #include "src/core/ext/transport/chttp2/transport/internal.h"
68
+ #include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
69
+ #include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h"
70
+ #include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h"
71
+ #include "src/core/ext/transport/chttp2/transport/ping_callbacks.h"
72
+ #include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h"
64
73
  #include "src/core/ext/transport/chttp2/transport/varint.h"
74
+ #include "src/core/ext/transport/chttp2/transport/write_size_policy.h"
65
75
  #include "src/core/lib/channel/call_tracer.h"
66
76
  #include "src/core/lib/channel/channel_args.h"
67
77
  #include "src/core/lib/channel/context.h"
78
+ #include "src/core/lib/channel/tcp_tracer.h"
68
79
  #include "src/core/lib/debug/stats.h"
69
80
  #include "src/core/lib/debug/stats_data.h"
70
81
  #include "src/core/lib/experiments/experiments.h"
82
+ #include "src/core/lib/gpr/string.h"
71
83
  #include "src/core/lib/gpr/useful.h"
72
84
  #include "src/core/lib/gprpp/bitset.h"
73
85
  #include "src/core/lib/gprpp/crash.h"
@@ -96,7 +108,6 @@
96
108
  #include "src/core/lib/transport/metadata_batch.h"
97
109
  #include "src/core/lib/transport/status_conversion.h"
98
110
  #include "src/core/lib/transport/transport.h"
99
- #include "src/core/lib/transport/transport_impl.h"
100
111
 
101
112
  #ifdef GRPC_POSIX_SOCKET_TCP
102
113
  #include "src/core/lib/iomgr/ev_posix.h"
@@ -112,6 +123,9 @@
112
123
 
113
124
  #define DEFAULT_MAX_PENDING_INDUCED_FRAMES 10000
114
125
 
126
+ #define GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT \
127
+ "grpc.http2.ping_on_rst_stream_percent"
128
+
115
129
  static grpc_core::Duration g_default_client_keepalive_time =
116
130
  grpc_core::Duration::Infinity();
117
131
  static grpc_core::Duration g_default_client_keepalive_timeout =
@@ -123,10 +137,10 @@ static grpc_core::Duration g_default_server_keepalive_timeout =
123
137
  static bool g_default_client_keepalive_permit_without_calls = false;
124
138
  static bool g_default_server_keepalive_permit_without_calls = false;
125
139
 
126
- static grpc_core::Duration g_default_min_recv_ping_interval_without_data =
127
- grpc_core::Duration::Minutes(5);
128
- static int g_default_max_pings_without_data = 2;
129
- static int g_default_max_ping_strikes = 2;
140
+ // EXPERIMENTAL: control tarpitting in chttp2
141
+ #define GRPC_ARG_HTTP_ALLOW_TARPIT "grpc.http.tarpit"
142
+ #define GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS "grpc.http.tarpit_min_duration_ms"
143
+ #define GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS "grpc.http.tarpit_max_duration_ms"
130
144
 
131
145
  #define MAX_CLIENT_STREAM_ID 0x7fffffffu
132
146
  grpc_core::TraceFlag grpc_keepalive_trace(false, "http_keepalive");
@@ -134,21 +148,23 @@ grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount(false,
134
148
  "chttp2_refcount");
135
149
 
136
150
  // forward declarations of various callbacks that we'll build closures around
137
- static void write_action_begin_locked(void* t, grpc_error_handle error);
138
- static void write_action(void* t, grpc_error_handle error);
139
- static void write_action_end(void* t, grpc_error_handle error);
140
- static void write_action_end_locked(void* t, grpc_error_handle error);
141
-
142
- static void read_action(void* t, grpc_error_handle error);
143
- static void read_action_locked(void* t, grpc_error_handle error);
144
- static void continue_read_action_locked(grpc_chttp2_transport* t);
145
-
146
- // Set a transport level setting, and push it to our peer
147
- static void queue_setting_update(grpc_chttp2_transport* t,
148
- grpc_chttp2_setting_id id, uint32_t value);
151
+ static void write_action_begin_locked(
152
+ grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
153
+ static void write_action(grpc_chttp2_transport* t);
154
+ static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
155
+ grpc_error_handle error);
156
+ static void write_action_end_locked(
157
+ grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
158
+
159
+ static void read_action(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
160
+ grpc_error_handle error);
161
+ static void read_action_locked(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
162
+ grpc_error_handle error);
163
+ static void continue_read_action_locked(
164
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t);
149
165
 
150
166
  static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
151
- grpc_error_handle error);
167
+ grpc_error_handle error, bool tarpit);
152
168
 
153
169
  // Start new streams that have been created if we can
154
170
  static void maybe_start_some_streams(grpc_chttp2_transport* t);
@@ -158,8 +174,10 @@ static void connectivity_state_set(grpc_chttp2_transport* t,
158
174
  const absl::Status& status,
159
175
  const char* reason);
160
176
 
161
- static void benign_reclaimer_locked(void* arg, grpc_error_handle error);
162
- static void destructive_reclaimer_locked(void* arg, grpc_error_handle error);
177
+ static void benign_reclaimer_locked(
178
+ grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
179
+ static void destructive_reclaimer_locked(
180
+ grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
163
181
 
164
182
  static void post_benign_reclaimer(grpc_chttp2_transport* t);
165
183
  static void post_destructive_reclaimer(grpc_chttp2_transport* t);
@@ -169,42 +187,75 @@ static void close_transport_locked(grpc_chttp2_transport* t,
169
187
  static void end_all_the_calls(grpc_chttp2_transport* t,
170
188
  grpc_error_handle error);
171
189
 
172
- static void start_bdp_ping(void* tp, grpc_error_handle error);
173
- static void finish_bdp_ping(void* tp, grpc_error_handle error);
174
- static void start_bdp_ping_locked(void* tp, grpc_error_handle error);
175
- static void finish_bdp_ping_locked(void* tp, grpc_error_handle error);
190
+ static void start_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
191
+ grpc_error_handle error);
192
+ static void finish_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
193
+ grpc_error_handle error);
194
+ static void start_bdp_ping_locked(
195
+ grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
196
+ static void finish_bdp_ping_locked(
197
+ grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
176
198
  static void next_bdp_ping_timer_expired(grpc_chttp2_transport* t);
177
199
  static void next_bdp_ping_timer_expired_locked(
178
- void* tp, GRPC_UNUSED grpc_error_handle error);
200
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> tp,
201
+ GRPC_UNUSED grpc_error_handle error);
179
202
 
180
203
  static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error);
181
204
  static void send_ping_locked(grpc_chttp2_transport* t,
182
205
  grpc_closure* on_initiate, grpc_closure* on_ack);
183
- static void retry_initiate_ping_locked(void* tp,
184
- GRPC_UNUSED grpc_error_handle error);
206
+ static void retry_initiate_ping_locked(
207
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
208
+ GRPC_UNUSED grpc_error_handle error);
185
209
 
186
210
  // keepalive-relevant functions
187
- static void init_keepalive_ping(grpc_chttp2_transport* t);
188
- static void init_keepalive_ping_locked(void* arg,
189
- GRPC_UNUSED grpc_error_handle error);
190
- static void start_keepalive_ping(void* arg, grpc_error_handle error);
191
- static void finish_keepalive_ping(void* arg, grpc_error_handle error);
192
- static void start_keepalive_ping_locked(void* arg, grpc_error_handle error);
193
- static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error);
194
- static void keepalive_watchdog_fired(grpc_chttp2_transport* t);
195
- static void keepalive_watchdog_fired_locked(
196
- void* arg, GRPC_UNUSED grpc_error_handle error);
211
+ static void init_keepalive_ping(
212
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t);
213
+ static void init_keepalive_ping_locked(
214
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
215
+ GRPC_UNUSED grpc_error_handle error);
216
+ static void finish_keepalive_ping(
217
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
218
+ static void finish_keepalive_ping_locked(
219
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
197
220
  static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t);
198
221
 
222
+ static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error,
223
+ bool immediate_disconnect_hint);
224
+
225
+ // Timeout for getting an ack back on settings changes
226
+ #define GRPC_ARG_SETTINGS_TIMEOUT "grpc.http2.settings_timeout"
227
+
199
228
  namespace {
200
- grpc_core::CallTracerInterface* CallTracerIfEnabled(grpc_chttp2_stream* s) {
229
+
230
+ using TaskHandle = ::grpc_event_engine::experimental::EventEngine::TaskHandle;
231
+
232
+ grpc_core::CallTracerInterface* CallTracerIfSampled(grpc_chttp2_stream* s) {
201
233
  if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
202
234
  return nullptr;
203
235
  }
204
- return static_cast<grpc_core::CallTracerInterface*>(
236
+ auto* call_tracer = static_cast<grpc_core::CallTracerInterface*>(
205
237
  static_cast<grpc_call_context_element*>(
206
238
  s->context)[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE]
207
239
  .value);
240
+ if (call_tracer == nullptr || !call_tracer->IsSampled()) {
241
+ return nullptr;
242
+ }
243
+ return call_tracer;
244
+ }
245
+
246
+ std::shared_ptr<grpc_core::TcpTracerInterface> TcpTracerIfSampled(
247
+ grpc_chttp2_stream* s) {
248
+ if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
249
+ return nullptr;
250
+ }
251
+ auto* call_attempt_tracer = static_cast<grpc_core::CallTracerInterface*>(
252
+ static_cast<grpc_call_context_element*>(
253
+ s->context)[GRPC_CONTEXT_CALL_TRACER]
254
+ .value);
255
+ if (call_attempt_tracer == nullptr || !call_attempt_tracer->IsSampled()) {
256
+ return nullptr;
257
+ }
258
+ return call_attempt_tracer->StartNewTcpTrace();
208
259
  }
209
260
 
210
261
  grpc_core::WriteTimestampsCallback g_write_timestamps_callback = nullptr;
@@ -213,6 +264,24 @@ grpc_core::CopyContextFn g_get_copied_context_fn = nullptr;
213
264
 
214
265
  namespace grpc_core {
215
266
 
267
+ namespace {
268
+ // Initialize a grpc_closure \a c to call \a Fn with \a t and \a error. Holds
269
+ // the passed in reference to \a t until it's moved into Fn.
270
+ template <void (*Fn)(RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle)>
271
+ grpc_closure* InitTransportClosure(RefCountedPtr<grpc_chttp2_transport> t,
272
+ grpc_closure* c) {
273
+ GRPC_CLOSURE_INIT(
274
+ c,
275
+ [](void* tp, grpc_error_handle error) {
276
+ Fn(RefCountedPtr<grpc_chttp2_transport>(
277
+ static_cast<grpc_chttp2_transport*>(tp)),
278
+ std::move(error));
279
+ },
280
+ t.release(), nullptr);
281
+ return c;
282
+ }
283
+ } // namespace
284
+
216
285
  namespace {
217
286
  TestOnlyGlobalHttp2TransportInitCallback test_only_init_callback = nullptr;
218
287
  TestOnlyGlobalHttp2TransportDestructCallback test_only_destruct_callback =
@@ -269,6 +338,42 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
269
338
  delete context_list;
270
339
  }
271
340
 
341
+ HttpAnnotation::HttpAnnotation(
342
+ Type type, gpr_timespec time,
343
+ absl::optional<chttp2::TransportFlowControl::Stats> transport_stats,
344
+ absl::optional<chttp2::StreamFlowControl::Stats> stream_stats)
345
+ : CallTracerAnnotationInterface::Annotation(
346
+ CallTracerAnnotationInterface::AnnotationType::kHttpTransport),
347
+ type_(type),
348
+ time_(time),
349
+ transport_stats_(transport_stats),
350
+ stream_stats_(stream_stats) {}
351
+
352
+ std::string HttpAnnotation::ToString() const {
353
+ std::string s = "HttpAnnotation type: ";
354
+ switch (type_) {
355
+ case Type::kStart:
356
+ absl::StrAppend(&s, "Start");
357
+ break;
358
+ case Type::kHeadWritten:
359
+ absl::StrAppend(&s, "HeadWritten");
360
+ break;
361
+ case Type::kEnd:
362
+ absl::StrAppend(&s, "End");
363
+ break;
364
+ default:
365
+ absl::StrAppend(&s, "Unknown");
366
+ }
367
+ absl::StrAppend(&s, " time: ", gpr_format_timespec(time_));
368
+ if (transport_stats_.has_value()) {
369
+ absl::StrAppend(&s, " transport:[", transport_stats_->ToString(), "]");
370
+ }
371
+ if (stream_stats_.has_value()) {
372
+ absl::StrAppend(&s, " stream:[", stream_stats_->ToString(), "]");
373
+ }
374
+ return s;
375
+ }
376
+
272
377
  } // namespace grpc_core
273
378
 
274
379
  //
@@ -278,6 +383,8 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
278
383
  grpc_chttp2_transport::~grpc_chttp2_transport() {
279
384
  size_t i;
280
385
 
386
+ cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
387
+
281
388
  event_engine.reset();
282
389
 
283
390
  if (channelz_socket != nullptr) {
@@ -288,8 +395,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
288
395
 
289
396
  grpc_slice_buffer_destroy(&qbuf);
290
397
 
291
- grpc_slice_buffer_destroy(&outbuf);
292
-
293
398
  grpc_error_handle error = GRPC_ERROR_CREATE("Transport destroyed");
294
399
  // ContextList::Execute follows semantics of a callback function and does not
295
400
  // take a ref on error
@@ -309,8 +414,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
309
414
  GPR_ASSERT(stream_map.empty());
310
415
  GRPC_COMBINER_UNREF(combiner, "chttp2_transport");
311
416
 
312
- cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
313
-
314
417
  while (write_cb_pool) {
315
418
  grpc_chttp2_write_cb* next = write_cb_pool->next;
316
419
  gpr_free(write_cb_pool);
@@ -323,8 +426,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
323
426
  }
324
427
  }
325
428
 
326
- static const grpc_transport_vtable* get_vtable(void);
327
-
328
429
  static void read_channel_args(grpc_chttp2_transport* t,
329
430
  const grpc_core::ChannelArgs& channel_args,
330
431
  bool is_client) {
@@ -346,18 +447,6 @@ static void read_channel_args(grpc_chttp2_transport* t,
346
447
  t->hpack_compressor.SetMaxUsableSize(max_hpack_table_size);
347
448
  }
348
449
 
349
- t->ping_policy.max_pings_without_data =
350
- std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA)
351
- .value_or(g_default_max_pings_without_data));
352
- t->ping_policy.max_ping_strikes =
353
- std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PING_STRIKES)
354
- .value_or(g_default_max_ping_strikes));
355
- t->ping_policy.min_recv_ping_interval_without_data =
356
- std::max(grpc_core::Duration::Zero(),
357
- channel_args
358
- .GetDurationFromIntMillis(
359
- GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS)
360
- .value_or(g_default_min_recv_ping_interval_without_data));
361
450
  t->write_buffer_size =
362
451
  std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE)
363
452
  .value_or(grpc_core::chttp2::kDefaultWindow));
@@ -369,20 +458,35 @@ static void read_channel_args(grpc_chttp2_transport* t,
369
458
  t->keepalive_timeout = std::max(
370
459
  grpc_core::Duration::Zero(),
371
460
  channel_args.GetDurationFromIntMillis(GRPC_ARG_KEEPALIVE_TIMEOUT_MS)
372
- .value_or(t->is_client ? g_default_client_keepalive_timeout
373
- : g_default_server_keepalive_timeout));
374
- if (grpc_core::IsKeepaliveFixEnabled()) {
461
+ .value_or(t->keepalive_time == grpc_core::Duration::Infinity()
462
+ ? grpc_core::Duration::Infinity()
463
+ : (t->is_client ? g_default_client_keepalive_timeout
464
+ : g_default_server_keepalive_timeout)));
465
+ t->ping_timeout = std::max(
466
+ grpc_core::Duration::Zero(),
467
+ channel_args.GetDurationFromIntMillis(GRPC_ARG_PING_TIMEOUT_MS)
468
+ .value_or(t->keepalive_time == grpc_core::Duration::Infinity()
469
+ ? grpc_core::Duration::Infinity()
470
+ : grpc_core::Duration::Minutes(1)));
471
+ if (t->is_client) {
375
472
  t->keepalive_permit_without_calls =
376
473
  channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)
377
- .value_or(t->is_client
474
+ .value_or(grpc_core::IsKeepaliveFixEnabled()
378
475
  ? g_default_client_keepalive_permit_without_calls
379
- : g_default_server_keepalive_permit_without_calls);
476
+ : false);
380
477
  } else {
381
478
  t->keepalive_permit_without_calls =
382
479
  channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)
383
- .value_or(false);
480
+ .value_or(grpc_core::IsKeepaliveServerFixEnabled()
481
+ ? g_default_server_keepalive_permit_without_calls
482
+ : false);
384
483
  }
385
484
 
485
+ t->settings_timeout =
486
+ channel_args.GetDurationFromIntMillis(GRPC_ARG_SETTINGS_TIMEOUT)
487
+ .value_or(std::max(t->keepalive_timeout * 2,
488
+ grpc_core::Duration::Minutes(1)));
489
+
386
490
  // Only send the prefered rx frame size http2 setting if we are instructed
387
491
  // to auto size the buffers allocated at tcp level and we also can adjust
388
492
  // sending frame size.
@@ -391,13 +495,22 @@ static void read_channel_args(grpc_chttp2_transport* t,
391
495
  .GetBool(GRPC_ARG_EXPERIMENTAL_HTTP2_PREFERRED_CRYPTO_FRAME_SIZE)
392
496
  .value_or(false);
393
497
 
498
+ const auto max_requests_per_read =
499
+ channel_args.GetInt("grpc.http2.max_requests_per_read");
500
+ if (max_requests_per_read.has_value()) {
501
+ t->max_requests_per_read =
502
+ grpc_core::Clamp(*max_requests_per_read, 1, 10000);
503
+ } else {
504
+ t->max_requests_per_read = 32;
505
+ }
506
+
394
507
  if (channel_args.GetBool(GRPC_ARG_ENABLE_CHANNELZ)
395
508
  .value_or(GRPC_ENABLE_CHANNELZ_DEFAULT)) {
396
509
  t->channelz_socket =
397
510
  grpc_core::MakeRefCounted<grpc_core::channelz::SocketNode>(
398
511
  std::string(grpc_endpoint_get_local_address(t->ep)),
399
512
  std::string(t->peer_string.as_string_view()),
400
- absl::StrCat(get_vtable()->name, " ",
513
+ absl::StrCat(t->GetTransportName(), " ",
401
514
  t->peer_string.as_string_view()),
402
515
  channel_args
403
516
  .GetObjectRef<grpc_core::channelz::SocketNode::Security>());
@@ -405,6 +518,19 @@ static void read_channel_args(grpc_chttp2_transport* t,
405
518
 
406
519
  t->ack_pings = channel_args.GetBool("grpc.http2.ack_pings").value_or(true);
407
520
 
521
+ t->allow_tarpit =
522
+ channel_args.GetBool(GRPC_ARG_HTTP_ALLOW_TARPIT).value_or(true);
523
+ t->min_tarpit_duration_ms =
524
+ channel_args
525
+ .GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS)
526
+ .value_or(grpc_core::Duration::Milliseconds(100))
527
+ .millis();
528
+ t->max_tarpit_duration_ms =
529
+ channel_args
530
+ .GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS)
531
+ .value_or(grpc_core::Duration::Seconds(1))
532
+ .millis();
533
+
408
534
  const int soft_limit =
409
535
  channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1);
410
536
  if (soft_limit < 0) {
@@ -420,104 +546,77 @@ static void read_channel_args(grpc_chttp2_transport* t,
420
546
  t->max_header_list_size_soft_limit = soft_limit;
421
547
  }
422
548
 
423
- static const struct {
424
- absl::string_view channel_arg_name;
425
- grpc_chttp2_setting_id setting_id;
426
- int default_value;
427
- int min;
428
- int max;
429
- bool availability[2] /* server, client */;
430
- } settings_map[] = {{GRPC_ARG_MAX_CONCURRENT_STREAMS,
431
- GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS,
432
- -1,
433
- 0,
434
- INT32_MAX,
435
- {true, false}},
436
- {GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER,
437
- GRPC_CHTTP2_SETTINGS_HEADER_TABLE_SIZE,
438
- -1,
439
- 0,
440
- INT32_MAX,
441
- {true, true}},
442
- {GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE,
443
- GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE,
444
- -1,
445
- 0,
446
- INT32_MAX,
447
- {true, true}},
448
- {GRPC_ARG_HTTP2_MAX_FRAME_SIZE,
449
- GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE,
450
- -1,
451
- 16384,
452
- 16777215,
453
- {true, true}},
454
- {GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY,
455
- GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA,
456
- 1,
457
- 0,
458
- 1,
459
- {true, true}},
460
- {GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES,
461
- GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE,
462
- -1,
463
- 5,
464
- INT32_MAX,
465
- {true, true}}};
466
-
467
- for (size_t i = 0; i < GPR_ARRAY_SIZE(settings_map); i++) {
468
- const auto& setting = settings_map[i];
469
- if (setting.availability[is_client]) {
470
- const int value = channel_args.GetInt(setting.channel_arg_name)
471
- .value_or(setting.default_value);
472
- if (value >= 0) {
473
- queue_setting_update(t, setting.setting_id,
474
- grpc_core::Clamp(value, setting.min, setting.max));
475
- } else if (setting.setting_id ==
476
- GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE) {
477
- // Set value to 1.25 * soft limit if this is larger than
478
- // `DEFAULT_MAX_HEADER_LIST_SIZE` and
479
- // `GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE` is not set.
480
- const int soft_limit = channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE)
481
- .value_or(setting.default_value);
482
- const int value = (soft_limit >= 0 && soft_limit < (INT_MAX / 1.25))
483
- ? static_cast<int>(soft_limit * 1.25)
484
- : soft_limit;
485
- if (value > DEFAULT_MAX_HEADER_LIST_SIZE) {
486
- queue_setting_update(
487
- t, setting.setting_id,
488
- grpc_core::Clamp(value, setting.min, setting.max));
489
- }
490
- }
491
- } else if (channel_args.Contains(setting.channel_arg_name)) {
492
- gpr_log(GPR_DEBUG, "%s is not available on %s",
493
- std::string(setting.channel_arg_name).c_str(),
494
- is_client ? "clients" : "servers");
549
+ int value;
550
+ if (!is_client) {
551
+ value = channel_args.GetInt(GRPC_ARG_MAX_CONCURRENT_STREAMS).value_or(-1);
552
+ if (value >= 0) {
553
+ t->settings.mutable_local().SetMaxConcurrentStreams(value);
554
+ t->max_concurrent_streams_policy.SetTarget(value);
555
+ }
556
+ } else if (channel_args.Contains(GRPC_ARG_MAX_CONCURRENT_STREAMS)) {
557
+ gpr_log(GPR_DEBUG, "%s is not available on clients",
558
+ GRPC_ARG_MAX_CONCURRENT_STREAMS);
559
+ }
560
+ value =
561
+ channel_args.GetInt(GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER).value_or(-1);
562
+ if (value >= 0) {
563
+ t->settings.mutable_local().SetHeaderTableSize(value);
564
+ }
565
+ value = channel_args.GetInt(GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE).value_or(-1);
566
+ if (value >= 0) {
567
+ t->settings.mutable_local().SetMaxHeaderListSize(value);
568
+ } else {
569
+ // Set value to 1.25 * soft limit if this is larger than
570
+ // `DEFAULT_MAX_HEADER_LIST_SIZE` and
571
+ // `GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE` is not set.
572
+ const int soft_limit =
573
+ channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1);
574
+ const int value = (soft_limit >= 0 && soft_limit < (INT_MAX / 1.25))
575
+ ? static_cast<int>(soft_limit * 1.25)
576
+ : soft_limit;
577
+ if (value > DEFAULT_MAX_HEADER_LIST_SIZE) {
578
+ t->settings.mutable_local().SetMaxHeaderListSize(value);
495
579
  }
496
580
  }
581
+ value = channel_args.GetInt(GRPC_ARG_HTTP2_MAX_FRAME_SIZE).value_or(-1);
582
+ if (value >= 0) {
583
+ t->settings.mutable_local().SetMaxFrameSize(value);
584
+ }
585
+ value =
586
+ channel_args.GetInt(GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES).value_or(-1);
587
+ if (value >= 0) {
588
+ t->settings.mutable_local().SetInitialWindowSize(value);
589
+ }
590
+ value = channel_args.GetInt(GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY).value_or(-1);
591
+ if (value >= 0) {
592
+ t->settings.mutable_local().SetAllowTrueBinaryMetadata(value != 0);
593
+ }
497
594
 
498
595
  if (t->enable_preferred_rx_crypto_frame_advertisement) {
499
- const grpc_chttp2_setting_parameters* sp =
500
- &grpc_chttp2_settings_parameters
501
- [GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE];
502
- queue_setting_update(
503
- t, GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE,
504
- grpc_core::Clamp(INT_MAX, static_cast<int>(sp->min_value),
505
- static_cast<int>(sp->max_value)));
596
+ t->settings.mutable_local().SetPreferredReceiveCryptoMessageSize(INT_MAX);
506
597
  }
598
+
599
+ t->ping_on_rst_stream_percent = grpc_core::Clamp(
600
+ channel_args.GetInt(GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT)
601
+ .value_or(1),
602
+ 0, 100);
603
+
604
+ t->max_concurrent_streams_overload_protection =
605
+ channel_args.GetBool(GRPC_ARG_MAX_CONCURRENT_STREAMS_OVERLOAD_PROTECTION)
606
+ .value_or(true);
507
607
  }
508
608
 
509
609
  static void init_keepalive_pings_if_enabled_locked(
510
- void* arg, GRPC_UNUSED grpc_error_handle error) {
610
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
611
+ GRPC_UNUSED grpc_error_handle error) {
511
612
  GPR_DEBUG_ASSERT(error.ok());
512
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
513
613
  if (t->keepalive_time != grpc_core::Duration::Infinity()) {
514
614
  t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
515
- GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
516
615
  t->keepalive_ping_timer_handle =
517
- t->event_engine->RunAfter(t->keepalive_time, [t] {
616
+ t->event_engine->RunAfter(t->keepalive_time, [t = t->Ref()]() mutable {
518
617
  grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
519
618
  grpc_core::ExecCtx exec_ctx;
520
- init_keepalive_ping(t);
619
+ init_keepalive_ping(std::move(t));
521
620
  });
522
621
  } else {
523
622
  // Use GRPC_CHTTP2_KEEPALIVE_STATE_DISABLED to indicate there are no
@@ -529,76 +628,66 @@ static void init_keepalive_pings_if_enabled_locked(
529
628
  grpc_chttp2_transport::grpc_chttp2_transport(
530
629
  const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
531
630
  bool is_client)
532
- : refs(1, GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount)
533
- ? "chttp2_refcount"
534
- : nullptr),
631
+ : grpc_core::RefCounted<grpc_chttp2_transport,
632
+ grpc_core::NonPolymorphicRefCount>(
633
+ GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount)
634
+ ? "chttp2_refcount"
635
+ : nullptr),
535
636
  ep(ep),
536
637
  peer_string(
537
638
  grpc_core::Slice::FromCopiedString(grpc_endpoint_get_peer(ep))),
538
639
  memory_owner(channel_args.GetObject<grpc_core::ResourceQuota>()
539
640
  ->memory_quota()
540
- ->CreateMemoryOwner(absl::StrCat(
541
- grpc_endpoint_get_peer(ep), ":client_transport"))),
641
+ ->CreateMemoryOwner()),
542
642
  self_reservation(
543
643
  memory_owner.MakeReservation(sizeof(grpc_chttp2_transport))),
544
- combiner(grpc_combiner_create()),
644
+ event_engine(
645
+ channel_args
646
+ .GetObjectRef<grpc_event_engine::experimental::EventEngine>()),
647
+ combiner(grpc_combiner_create(event_engine)),
545
648
  state_tracker(is_client ? "client_transport" : "server_transport",
546
649
  GRPC_CHANNEL_READY),
547
- is_client(is_client),
548
650
  next_stream_id(is_client ? 1 : 2),
651
+ ping_abuse_policy(channel_args),
652
+ ping_rate_policy(channel_args, is_client),
549
653
  flow_control(
550
654
  peer_string.as_string_view(),
551
655
  channel_args.GetBool(GRPC_ARG_HTTP2_BDP_PROBE).value_or(true),
552
656
  &memory_owner),
553
657
  deframe_state(is_client ? GRPC_DTS_FH_0 : GRPC_DTS_CLIENT_PREFIX_0),
554
- event_engine(
555
- channel_args
556
- .GetObjectRef<grpc_event_engine::experimental::EventEngine>()) {
658
+ is_client(is_client) {
557
659
  cl = new grpc_core::ContextList();
558
660
  GPR_ASSERT(strlen(GRPC_CHTTP2_CLIENT_CONNECT_STRING) ==
559
661
  GRPC_CHTTP2_CLIENT_CONNECT_STRLEN);
560
- base.vtable = get_vtable();
561
662
 
562
663
  grpc_slice_buffer_init(&read_buffer);
563
- grpc_slice_buffer_init(&outbuf);
564
664
  if (is_client) {
565
- grpc_slice_buffer_add(&outbuf, grpc_slice_from_copied_string(
566
- GRPC_CHTTP2_CLIENT_CONNECT_STRING));
665
+ grpc_slice_buffer_add(
666
+ outbuf.c_slice_buffer(),
667
+ grpc_slice_from_copied_string(GRPC_CHTTP2_CLIENT_CONNECT_STRING));
567
668
  }
568
669
  grpc_slice_buffer_init(&qbuf);
569
- // copy in initial settings to all setting sets
570
- size_t i;
571
- int j;
572
- for (i = 0; i < GRPC_CHTTP2_NUM_SETTINGS; i++) {
573
- for (j = 0; j < GRPC_NUM_SETTING_SETS; j++) {
574
- settings[j][i] = grpc_chttp2_settings_parameters[i].default_value;
575
- }
576
- }
577
670
  grpc_chttp2_goaway_parser_init(&goaway_parser);
578
671
 
579
672
  // configure http2 the way we like it
580
673
  if (is_client) {
581
- queue_setting_update(this, GRPC_CHTTP2_SETTINGS_ENABLE_PUSH, 0);
582
- queue_setting_update(this, GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, 0);
674
+ settings.mutable_local().SetEnablePush(false);
675
+ settings.mutable_local().SetMaxConcurrentStreams(0);
583
676
  }
584
- queue_setting_update(this, GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE,
585
- DEFAULT_MAX_HEADER_LIST_SIZE);
586
- queue_setting_update(this,
587
- GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA, 1);
677
+ settings.mutable_local().SetMaxHeaderListSize(DEFAULT_MAX_HEADER_LIST_SIZE);
678
+ settings.mutable_local().SetAllowTrueBinaryMetadata(true);
588
679
 
589
680
  read_channel_args(this, channel_args, is_client);
590
681
 
591
- // No pings allowed before receiving a header or data frame.
592
- ping_state.pings_before_data_required = 0;
593
- ping_state.last_ping_sent_time = grpc_core::Timestamp::InfPast();
594
-
595
- ping_recv_state.last_ping_recv_time = grpc_core::Timestamp::InfPast();
596
- ping_recv_state.ping_strikes = 0;
682
+ // Initially allow *UP TO* MAX_CONCURRENT_STREAMS incoming before we start
683
+ // blanket cancelling them.
684
+ num_incoming_streams_before_settings_ack =
685
+ settings.local().max_concurrent_streams();
597
686
 
598
687
  grpc_core::ExecCtx exec_ctx;
599
688
  combiner->Run(
600
- GRPC_CLOSURE_INIT(&init_keepalive_ping_locked,
601
- init_keepalive_pings_if_enabled_locked, this, nullptr),
689
+ grpc_core::InitTransportClosure<init_keepalive_pings_if_enabled_locked>(
690
+ Ref(), &init_keepalive_ping_locked),
602
691
  absl::OkStatus());
603
692
 
604
693
  if (flow_control.bdp_probe()) {
@@ -623,21 +712,20 @@ grpc_chttp2_transport::grpc_chttp2_transport(
623
712
  }
624
713
 
625
714
  static void destroy_transport_locked(void* tp, grpc_error_handle /*error*/) {
626
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
715
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t(
716
+ static_cast<grpc_chttp2_transport*>(tp));
627
717
  t->destroying = 1;
628
718
  close_transport_locked(
629
- t, grpc_error_set_int(GRPC_ERROR_CREATE("Transport destroyed"),
630
- grpc_core::StatusIntProperty::kOccurredDuringWrite,
631
- t->write_state));
719
+ t.get(),
720
+ grpc_error_set_int(GRPC_ERROR_CREATE("Transport destroyed"),
721
+ grpc_core::StatusIntProperty::kOccurredDuringWrite,
722
+ t->write_state));
632
723
  t->memory_owner.Reset();
633
- // Must be the last line.
634
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "destroy");
635
724
  }
636
725
 
637
- static void destroy_transport(grpc_transport* gt) {
638
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
639
- t->combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, t, nullptr),
640
- absl::OkStatus());
726
+ void grpc_chttp2_transport::Orphan() {
727
+ combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, this, nullptr),
728
+ absl::OkStatus());
641
729
  }
642
730
 
643
731
  static void close_transport_locked(grpc_chttp2_transport* t,
@@ -663,39 +751,33 @@ static void close_transport_locked(grpc_chttp2_transport* t,
663
751
  t->closed_with_error = error;
664
752
  connectivity_state_set(t, GRPC_CHANNEL_SHUTDOWN, absl::Status(),
665
753
  "close_transport");
666
- if (t->ping_state.delayed_ping_timer_handle.has_value()) {
667
- if (t->event_engine->Cancel(*t->ping_state.delayed_ping_timer_handle)) {
668
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "retry_initiate_ping_locked");
669
- t->ping_state.delayed_ping_timer_handle.reset();
670
- }
754
+ if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
755
+ t->event_engine->Cancel(std::exchange(t->keepalive_ping_timeout_handle,
756
+ TaskHandle::kInvalid));
671
757
  }
672
- if (t->next_bdp_ping_timer_handle.has_value()) {
673
- if (t->event_engine->Cancel(*t->next_bdp_ping_timer_handle)) {
674
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
675
- t->next_bdp_ping_timer_handle.reset();
676
- }
758
+ if (t->settings_ack_watchdog != TaskHandle::kInvalid) {
759
+ t->event_engine->Cancel(
760
+ std::exchange(t->settings_ack_watchdog, TaskHandle::kInvalid));
761
+ }
762
+ if (t->delayed_ping_timer_handle != TaskHandle::kInvalid &&
763
+ t->event_engine->Cancel(t->delayed_ping_timer_handle)) {
764
+ t->delayed_ping_timer_handle = TaskHandle::kInvalid;
765
+ }
766
+ if (t->next_bdp_ping_timer_handle != TaskHandle::kInvalid &&
767
+ t->event_engine->Cancel(t->next_bdp_ping_timer_handle)) {
768
+ t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
677
769
  }
678
770
  switch (t->keepalive_state) {
679
771
  case GRPC_CHTTP2_KEEPALIVE_STATE_WAITING:
680
- if (t->keepalive_ping_timer_handle.has_value()) {
681
- if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) {
682
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "init keepalive ping");
683
- t->keepalive_ping_timer_handle.reset();
684
- }
772
+ if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
773
+ t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
774
+ t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
685
775
  }
686
776
  break;
687
777
  case GRPC_CHTTP2_KEEPALIVE_STATE_PINGING:
688
- if (t->keepalive_ping_timer_handle.has_value()) {
689
- if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) {
690
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "init keepalive ping");
691
- t->keepalive_ping_timer_handle.reset();
692
- }
693
- }
694
- if (t->keepalive_watchdog_timer_handle.has_value()) {
695
- if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
696
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive watchdog");
697
- t->keepalive_watchdog_timer_handle.reset();
698
- }
778
+ if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
779
+ t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
780
+ t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
699
781
  }
700
782
  break;
701
783
  case GRPC_CHTTP2_KEEPALIVE_STATE_DYING:
@@ -739,24 +821,27 @@ void grpc_chttp2_stream_unref(grpc_chttp2_stream* s) {
739
821
  }
740
822
  #endif
741
823
 
742
- grpc_chttp2_stream::Reffer::Reffer(grpc_chttp2_stream* s) {
743
- // We reserve one 'active stream' that's dropped when the stream is
744
- // read-closed. The others are for Chttp2IncomingByteStreams that are
745
- // actively reading
746
- GRPC_CHTTP2_STREAM_REF(s, "chttp2");
747
- GRPC_CHTTP2_REF_TRANSPORT(s->t, "stream");
748
- }
749
-
750
824
  grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
751
825
  grpc_stream_refcount* refcount,
752
826
  const void* server_data,
753
827
  grpc_core::Arena* arena)
754
- : t(t),
755
- refcount(refcount),
756
- reffer(this),
828
+ : t(t->Ref()),
829
+ refcount([refcount]() {
830
+ // We reserve one 'active stream' that's dropped when the stream is
831
+ // read-closed. The others are for Chttp2IncomingByteStreams that are
832
+ // actively reading
833
+ // We do this here to avoid cache misses.
834
+ #ifndef NDEBUG
835
+ grpc_stream_ref(refcount, "chttp2");
836
+ #else
837
+ grpc_stream_ref(refcount);
838
+ #endif
839
+ return refcount;
840
+ }()),
757
841
  initial_metadata_buffer(arena),
758
842
  trailing_metadata_buffer(arena),
759
843
  flow_control(&t->flow_control) {
844
+ t->streams_allocated.fetch_add(1, std::memory_order_relaxed);
760
845
  if (server_data) {
761
846
  id = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(server_data));
762
847
  if (grpc_http_trace.enabled()) {
@@ -773,8 +858,9 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
773
858
  }
774
859
 
775
860
  grpc_chttp2_stream::~grpc_chttp2_stream() {
776
- grpc_chttp2_list_remove_stalled_by_stream(t, this);
777
- grpc_chttp2_list_remove_stalled_by_transport(t, this);
861
+ t->streams_allocated.fetch_sub(1, std::memory_order_relaxed);
862
+ grpc_chttp2_list_remove_stalled_by_stream(t.get(), this);
863
+ grpc_chttp2_list_remove_stalled_by_transport(t.get(), this);
778
864
 
779
865
  if (t->channelz_socket != nullptr) {
780
866
  if ((t->is_client && eos_received) || (!t->is_client && eos_sent)) {
@@ -805,16 +891,14 @@ grpc_chttp2_stream::~grpc_chttp2_stream() {
805
891
  GPR_ASSERT(recv_message_ready == nullptr);
806
892
  GPR_ASSERT(recv_trailing_metadata_finished == nullptr);
807
893
  grpc_slice_buffer_destroy(&flow_controlled_buffer);
808
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "stream");
809
894
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, destroy_stream_arg, absl::OkStatus());
810
895
  }
811
896
 
812
- static int init_stream(grpc_transport* gt, grpc_stream* gs,
813
- grpc_stream_refcount* refcount, const void* server_data,
814
- grpc_core::Arena* arena) {
815
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
816
- new (gs) grpc_chttp2_stream(t, refcount, server_data, arena);
817
- return 0;
897
+ void grpc_chttp2_transport::InitStream(grpc_stream* gs,
898
+ grpc_stream_refcount* refcount,
899
+ const void* server_data,
900
+ grpc_core::Arena* arena) {
901
+ new (gs) grpc_chttp2_stream(this, refcount, server_data, arena);
818
902
  }
819
903
 
820
904
  static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
@@ -822,13 +906,12 @@ static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
822
906
  s->~grpc_chttp2_stream();
823
907
  }
824
908
 
825
- static void destroy_stream(grpc_transport* gt, grpc_stream* gs,
826
- grpc_closure* then_schedule_closure) {
827
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
909
+ void grpc_chttp2_transport::DestroyStream(grpc_stream* gs,
910
+ grpc_closure* then_schedule_closure) {
828
911
  grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
829
912
 
830
913
  s->destroy_stream_arg = then_schedule_closure;
831
- t->combiner->Run(
914
+ combiner->Run(
832
915
  GRPC_CLOSURE_INIT(&s->destroy_stream, destroy_stream_locked, s, nullptr),
833
916
  absl::OkStatus());
834
917
  }
@@ -841,7 +924,7 @@ grpc_chttp2_stream* grpc_chttp2_parsing_accept_stream(grpc_chttp2_transport* t,
841
924
  grpc_chttp2_stream* accepting = nullptr;
842
925
  GPR_ASSERT(t->accepting_stream == nullptr);
843
926
  t->accepting_stream = &accepting;
844
- t->accept_stream_cb(t->accept_stream_cb_user_data, &t->base,
927
+ t->accept_stream_cb(t->accept_stream_cb_user_data, t,
845
928
  reinterpret_cast<void*>(id));
846
929
  t->accepting_stream = nullptr;
847
930
  return accepting;
@@ -893,7 +976,6 @@ void grpc_chttp2_initiate_write(grpc_chttp2_transport* t,
893
976
  case GRPC_CHTTP2_WRITE_STATE_IDLE:
894
977
  set_write_state(t, GRPC_CHTTP2_WRITE_STATE_WRITING,
895
978
  grpc_chttp2_initiate_write_reason_string(reason));
896
- GRPC_CHTTP2_REF_TRANSPORT(t, "writing");
897
979
  // Note that the 'write_action_begin_locked' closure is being scheduled
898
980
  // on the 'finally_scheduler' of t->combiner. This means that
899
981
  // 'write_action_begin_locked' is called only *after* all the other
@@ -911,8 +993,8 @@ void grpc_chttp2_initiate_write(grpc_chttp2_transport* t,
911
993
  // It does not call the endpoint to write the bytes. That is done by the
912
994
  // 'write_action' (which is scheduled by 'write_action_begin_locked')
913
995
  t->combiner->FinallyRun(
914
- GRPC_CLOSURE_INIT(&t->write_action_begin_locked,
915
- write_action_begin_locked, t, nullptr),
996
+ grpc_core::InitTransportClosure<write_action_begin_locked>(
997
+ t->Ref(), &t->write_action_begin_locked),
916
998
  absl::OkStatus());
917
999
  break;
918
1000
  case GRPC_CHTTP2_WRITE_STATE_WRITING:
@@ -939,22 +1021,22 @@ static const char* begin_writing_desc(bool partial) {
939
1021
  }
940
1022
  }
941
1023
 
942
- static void write_action_begin_locked(void* gt,
943
- grpc_error_handle /*error_ignored*/) {
944
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(gt);
1024
+ static void write_action_begin_locked(
1025
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1026
+ grpc_error_handle /*error_ignored*/) {
945
1027
  GPR_ASSERT(t->write_state != GRPC_CHTTP2_WRITE_STATE_IDLE);
946
1028
  grpc_chttp2_begin_write_result r;
947
1029
  if (!t->closed_with_error.ok()) {
948
1030
  r.writing = false;
949
1031
  } else {
950
- r = grpc_chttp2_begin_write(t);
1032
+ r = grpc_chttp2_begin_write(t.get());
951
1033
  }
952
1034
  if (r.writing) {
953
- set_write_state(t,
1035
+ set_write_state(t.get(),
954
1036
  r.partial ? GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE
955
1037
  : GRPC_CHTTP2_WRITE_STATE_WRITING,
956
1038
  begin_writing_desc(r.partial));
957
- write_action(t, absl::OkStatus());
1039
+ write_action(t.get());
958
1040
  if (t->reading_paused_on_pending_induced_frames) {
959
1041
  GPR_ASSERT(t->num_pending_induced_frames == 0);
960
1042
  // We had paused reading, because we had many induced frames (SETTINGS
@@ -964,18 +1046,17 @@ static void write_action_begin_locked(void* gt,
964
1046
  GPR_INFO,
965
1047
  "transport %p : Resuming reading after being paused due to too "
966
1048
  "many unwritten SETTINGS ACK, PINGS ACK and RST_STREAM frames",
967
- t));
1049
+ t.get()));
968
1050
  t->reading_paused_on_pending_induced_frames = false;
969
- continue_read_action_locked(t);
1051
+ continue_read_action_locked(std::move(t));
970
1052
  }
971
1053
  } else {
972
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_IDLE, "begin writing nothing");
973
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "writing");
1054
+ set_write_state(t.get(), GRPC_CHTTP2_WRITE_STATE_IDLE,
1055
+ "begin writing nothing");
974
1056
  }
975
1057
  }
976
1058
 
977
- static void write_action(void* gt, grpc_error_handle /*error*/) {
978
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(gt);
1059
+ static void write_action(grpc_chttp2_transport* t) {
979
1060
  void* cl = t->cl;
980
1061
  if (!t->cl->empty()) {
981
1062
  // Transfer the ownership of the context list to the endpoint and create and
@@ -991,36 +1072,45 @@ static void write_action(void* gt, grpc_error_handle /*error*/) {
991
1072
  // Choose max_frame_size as the prefered rx crypto frame size indicated by the
992
1073
  // peer.
993
1074
  int max_frame_size =
994
- t->settings
995
- [GRPC_PEER_SETTINGS]
996
- [GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE];
1075
+ t->settings.peer().preferred_receive_crypto_message_size();
997
1076
  // Note: max frame size is 0 if the remote peer does not support adjusting the
998
1077
  // sending frame size.
999
1078
  if (max_frame_size == 0) {
1000
1079
  max_frame_size = INT_MAX;
1001
1080
  }
1002
- grpc_endpoint_write(
1003
- t->ep, &t->outbuf,
1004
- GRPC_CLOSURE_INIT(&t->write_action_end_locked, write_action_end, t,
1005
- grpc_schedule_on_exec_ctx),
1006
- cl, max_frame_size);
1081
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
1082
+ gpr_log(GPR_INFO, "%s[%p]: Write %" PRIdPTR " bytes",
1083
+ t->is_client ? "CLIENT" : "SERVER", t, t->outbuf.Length());
1084
+ }
1085
+ t->write_size_policy.BeginWrite(t->outbuf.Length());
1086
+ grpc_endpoint_write(t->ep, t->outbuf.c_slice_buffer(),
1087
+ grpc_core::InitTransportClosure<write_action_end>(
1088
+ t->Ref(), &t->write_action_end_locked),
1089
+ cl, max_frame_size);
1007
1090
  }
1008
1091
 
1009
- static void write_action_end(void* tp, grpc_error_handle error) {
1010
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
1011
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->write_action_end_locked,
1012
- write_action_end_locked, t, nullptr),
1013
- error);
1092
+ static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1093
+ grpc_error_handle error) {
1094
+ auto* tp = t.get();
1095
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
1096
+ gpr_log(GPR_INFO, "%s[%p]: Finish write",
1097
+ t->is_client ? "CLIENT" : "SERVER", t.get());
1098
+ }
1099
+ tp->combiner->Run(grpc_core::InitTransportClosure<write_action_end_locked>(
1100
+ std::move(t), &tp->write_action_end_locked),
1101
+ error);
1014
1102
  }
1015
1103
 
1016
1104
  // Callback from the grpc_endpoint after bytes have been written by calling
1017
1105
  // sendmsg
1018
- static void write_action_end_locked(void* tp, grpc_error_handle error) {
1019
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
1106
+ static void write_action_end_locked(
1107
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1108
+ grpc_error_handle error) {
1109
+ t->write_size_policy.EndWrite(error.ok());
1020
1110
 
1021
1111
  bool closed = false;
1022
1112
  if (!error.ok()) {
1023
- close_transport_locked(t, error);
1113
+ close_transport_locked(t.get(), error);
1024
1114
  closed = true;
1025
1115
  }
1026
1116
 
@@ -1028,7 +1118,7 @@ static void write_action_end_locked(void* tp, grpc_error_handle error) {
1028
1118
  t->sent_goaway_state = GRPC_CHTTP2_FINAL_GOAWAY_SENT;
1029
1119
  closed = true;
1030
1120
  if (t->stream_map.empty()) {
1031
- close_transport_locked(t, GRPC_ERROR_CREATE("goaway sent"));
1121
+ close_transport_locked(t.get(), GRPC_ERROR_CREATE("goaway sent"));
1032
1122
  }
1033
1123
  }
1034
1124
 
@@ -1036,11 +1126,11 @@ static void write_action_end_locked(void* tp, grpc_error_handle error) {
1036
1126
  case GRPC_CHTTP2_WRITE_STATE_IDLE:
1037
1127
  GPR_UNREACHABLE_CODE(break);
1038
1128
  case GRPC_CHTTP2_WRITE_STATE_WRITING:
1039
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_IDLE, "finish writing");
1129
+ set_write_state(t.get(), GRPC_CHTTP2_WRITE_STATE_IDLE, "finish writing");
1040
1130
  break;
1041
1131
  case GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE:
1042
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_WRITING, "continue writing");
1043
- GRPC_CHTTP2_REF_TRANSPORT(t, "writing");
1132
+ set_write_state(t.get(), GRPC_CHTTP2_WRITE_STATE_WRITING,
1133
+ "continue writing");
1044
1134
  // If the transport is closed, we will retry writing on the endpoint
1045
1135
  // and next write may contain part of the currently serialized frames.
1046
1136
  // So, we should only call the run_after_write callbacks when the next
@@ -1050,42 +1140,24 @@ static void write_action_end_locked(void* tp, grpc_error_handle error) {
1050
1140
  grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &t->run_after_write);
1051
1141
  }
1052
1142
  t->combiner->FinallyRun(
1053
- GRPC_CLOSURE_INIT(&t->write_action_begin_locked,
1054
- write_action_begin_locked, t, nullptr),
1143
+ grpc_core::InitTransportClosure<write_action_begin_locked>(
1144
+ t, &t->write_action_begin_locked),
1055
1145
  absl::OkStatus());
1056
1146
  break;
1057
1147
  }
1058
1148
 
1059
- grpc_chttp2_end_write(t, error);
1060
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "writing");
1061
- }
1062
-
1063
- // Dirties an HTTP2 setting to be sent out next time a writing path occurs.
1064
- // If the change needs to occur immediately, manually initiate a write.
1065
- static void queue_setting_update(grpc_chttp2_transport* t,
1066
- grpc_chttp2_setting_id id, uint32_t value) {
1067
- const grpc_chttp2_setting_parameters* sp =
1068
- &grpc_chttp2_settings_parameters[id];
1069
- uint32_t use_value = grpc_core::Clamp(value, sp->min_value, sp->max_value);
1070
- if (use_value != value) {
1071
- gpr_log(GPR_INFO, "Requested parameter %s clamped from %d to %d", sp->name,
1072
- value, use_value);
1073
- }
1074
- if (use_value != t->settings[GRPC_LOCAL_SETTINGS][id]) {
1075
- t->settings[GRPC_LOCAL_SETTINGS][id] = use_value;
1076
- t->dirtied_local_settings = true;
1077
- }
1149
+ grpc_chttp2_end_write(t.get(), error);
1078
1150
  }
1079
1151
 
1080
1152
  // Cancel out streams that haven't yet started if we have received a GOAWAY
1081
1153
  static void cancel_unstarted_streams(grpc_chttp2_transport* t,
1082
- grpc_error_handle error) {
1154
+ grpc_error_handle error, bool tarpit) {
1083
1155
  grpc_chttp2_stream* s;
1084
1156
  while (grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
1085
1157
  s->trailing_metadata_buffer.Set(
1086
1158
  grpc_core::GrpcStreamNetworkState(),
1087
1159
  grpc_core::GrpcStreamNetworkState::kNotSentOnWire);
1088
- grpc_chttp2_cancel_stream(t, s, error);
1160
+ grpc_chttp2_cancel_stream(t, s, error, tarpit);
1089
1161
  }
1090
1162
  }
1091
1163
 
@@ -1118,7 +1190,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
1118
1190
  grpc_core::StatusToString(t->goaway_error).c_str());
1119
1191
  }
1120
1192
  if (t->is_client) {
1121
- cancel_unstarted_streams(t, t->goaway_error);
1193
+ cancel_unstarted_streams(t, t->goaway_error, false);
1122
1194
  // Cancel all unseen streams
1123
1195
  std::vector<grpc_chttp2_stream*> to_cancel;
1124
1196
  for (auto id_stream : t->stream_map) {
@@ -1130,7 +1202,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
1130
1202
  s->trailing_metadata_buffer.Set(
1131
1203
  grpc_core::GrpcStreamNetworkState(),
1132
1204
  grpc_core::GrpcStreamNetworkState::kNotSeenByServer);
1133
- grpc_chttp2_cancel_stream(s->t, s, s->t->goaway_error);
1205
+ grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error, false);
1134
1206
  }
1135
1207
  }
1136
1208
  absl::Status status = grpc_error_to_absl_status(t->goaway_error);
@@ -1169,15 +1241,13 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
1169
1241
  // maybe cancel out streams that haven't yet started if we have received a
1170
1242
  // GOAWAY
1171
1243
  if (!t->goaway_error.ok()) {
1172
- cancel_unstarted_streams(t, t->goaway_error);
1244
+ cancel_unstarted_streams(t, t->goaway_error, false);
1173
1245
  return;
1174
1246
  }
1175
1247
  // start streams where we have free grpc_chttp2_stream ids and free
1176
1248
  // * concurrency
1177
1249
  while (t->next_stream_id <= MAX_CLIENT_STREAM_ID &&
1178
- t->stream_map.size() <
1179
- t->settings[GRPC_PEER_SETTINGS]
1180
- [GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS] &&
1250
+ t->stream_map.size() < t->settings.peer().max_concurrent_streams() &&
1181
1251
  grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
1182
1252
  // safe since we can't (legally) be parsing this stream yet
1183
1253
  GRPC_CHTTP2_IF_TRACING(gpr_log(
@@ -1211,7 +1281,8 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
1211
1281
  t, s,
1212
1282
  grpc_error_set_int(GRPC_ERROR_CREATE("Stream IDs exhausted"),
1213
1283
  grpc_core::StatusIntProperty::kRpcStatus,
1214
- GRPC_STATUS_UNAVAILABLE));
1284
+ GRPC_STATUS_UNAVAILABLE),
1285
+ false);
1215
1286
  }
1216
1287
  }
1217
1288
  }
@@ -1259,9 +1330,8 @@ void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t,
1259
1330
  write_state_name(t->write_state), whence.file(), whence.line());
1260
1331
  }
1261
1332
 
1262
- auto* tracer = CallTracerIfEnabled(s);
1263
- if (tracer != nullptr) {
1264
- tracer->RecordAnnotation(
1333
+ if (s->call_tracer) {
1334
+ s->call_tracer->RecordAnnotation(
1265
1335
  absl::StrFormat("on_complete: s=%p %p desc=%s err=%s", s, closure, desc,
1266
1336
  grpc_core::StatusToString(error).c_str()));
1267
1337
  }
@@ -1319,10 +1389,12 @@ static void perform_stream_op_locked(void* stream_op,
1319
1389
  grpc_chttp2_stream* s =
1320
1390
  static_cast<grpc_chttp2_stream*>(op->handler_private.extra_arg);
1321
1391
  grpc_transport_stream_op_batch_payload* op_payload = op->payload;
1322
- grpc_chttp2_transport* t = s->t;
1392
+ grpc_chttp2_transport* t = s->t.get();
1323
1393
 
1324
1394
  s->context = op->payload->context;
1325
1395
  s->traced = op->is_traced;
1396
+ s->call_tracer = CallTracerIfSampled(s);
1397
+ s->tcp_tracer = TcpTracerIfSampled(s);
1326
1398
  if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1327
1399
  gpr_log(GPR_INFO,
1328
1400
  "perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s,
@@ -1338,9 +1410,8 @@ static void perform_stream_op_locked(void* stream_op,
1338
1410
  }
1339
1411
  }
1340
1412
 
1341
- auto* tracer = CallTracerIfEnabled(s);
1342
- if (tracer != nullptr) {
1343
- tracer->RecordAnnotation(absl::StrFormat(
1413
+ if (s->call_tracer) {
1414
+ s->call_tracer->RecordAnnotation(absl::StrFormat(
1344
1415
  "perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s, op,
1345
1416
  grpc_transport_stream_op_batch_string(op, true).c_str(),
1346
1417
  op->on_complete));
@@ -1356,10 +1427,16 @@ static void perform_stream_op_locked(void* stream_op,
1356
1427
  }
1357
1428
 
1358
1429
  if (op->cancel_stream) {
1359
- grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error);
1430
+ grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error,
1431
+ op_payload->cancel_stream.tarpit);
1360
1432
  }
1361
1433
 
1362
1434
  if (op->send_initial_metadata) {
1435
+ if (s->call_tracer) {
1436
+ s->call_tracer->RecordAnnotation(grpc_core::HttpAnnotation(
1437
+ grpc_core::HttpAnnotation::Type::kStart, gpr_now(GPR_CLOCK_REALTIME),
1438
+ s->t->flow_control.stats(), s->flow_control.stats()));
1439
+ }
1363
1440
  if (t->is_client && t->channelz_socket != nullptr) {
1364
1441
  t->channelz_socket->RecordStreamStartedFromLocal();
1365
1442
  }
@@ -1394,7 +1471,8 @@ static void perform_stream_op_locked(void* stream_op,
1394
1471
  GRPC_ERROR_CREATE_REFERENCING("Transport closed",
1395
1472
  &t->closed_with_error, 1),
1396
1473
  grpc_core::StatusIntProperty::kRpcStatus,
1397
- GRPC_STATUS_UNAVAILABLE));
1474
+ GRPC_STATUS_UNAVAILABLE),
1475
+ false);
1398
1476
  }
1399
1477
  } else {
1400
1478
  GPR_ASSERT(s->id != 0);
@@ -1441,6 +1519,11 @@ static void perform_stream_op_locked(void* stream_op,
1441
1519
  frame_hdr[3] = static_cast<uint8_t>(len >> 8);
1442
1520
  frame_hdr[4] = static_cast<uint8_t>(len);
1443
1521
 
1522
+ if (grpc_core::IsHttp2StatsFixEnabled()) {
1523
+ s->stats.outgoing.framing_bytes += GRPC_HEADER_SIZE_IN_BYTES;
1524
+ s->stats.outgoing.data_bytes +=
1525
+ op_payload->send_message.send_message->Length();
1526
+ }
1444
1527
  s->next_message_end_offset =
1445
1528
  s->flow_controlled_bytes_written +
1446
1529
  static_cast<int64_t>(s->flow_controlled_buffer.length) +
@@ -1567,12 +1650,11 @@ static void perform_stream_op_locked(void* stream_op,
1567
1650
  GRPC_CHTTP2_STREAM_UNREF(s, "perform_stream_op");
1568
1651
  }
1569
1652
 
1570
- static void perform_stream_op(grpc_transport* gt, grpc_stream* gs,
1571
- grpc_transport_stream_op_batch* op) {
1572
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
1653
+ void grpc_chttp2_transport::PerformStreamOp(
1654
+ grpc_stream* gs, grpc_transport_stream_op_batch* op) {
1573
1655
  grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
1574
1656
 
1575
- if (!t->is_client) {
1657
+ if (!is_client) {
1576
1658
  if (op->send_initial_metadata) {
1577
1659
  GPR_ASSERT(!op->payload->send_initial_metadata.send_initial_metadata
1578
1660
  ->get(grpc_core::GrpcTimeoutMetadata())
@@ -1592,9 +1674,9 @@ static void perform_stream_op(grpc_transport* gt, grpc_stream* gs,
1592
1674
 
1593
1675
  GRPC_CHTTP2_STREAM_REF(s, "perform_stream_op");
1594
1676
  op->handler_private.extra_arg = gs;
1595
- t->combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
1596
- perform_stream_op_locked, op, nullptr),
1597
- absl::OkStatus());
1677
+ combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
1678
+ perform_stream_op_locked, op, nullptr),
1679
+ absl::OkStatus());
1598
1680
  }
1599
1681
 
1600
1682
  static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
@@ -1602,14 +1684,38 @@ static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
1602
1684
  grpc_core::StatusToString(error).c_str()));
1603
1685
  // callback remaining pings: they're not allowed to call into the transport,
1604
1686
  // and maybe they hold resources that need to be freed
1605
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1606
- GPR_ASSERT(!error.ok());
1607
- for (size_t j = 0; j < GRPC_CHTTP2_PCL_COUNT; j++) {
1608
- grpc_closure_list_fail_all(&pq->lists[j], error);
1609
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &pq->lists[j]);
1610
- }
1687
+ t->ping_callbacks.CancelAll(t->event_engine.get());
1611
1688
  }
1612
1689
 
1690
+ namespace {
1691
+ class PingClosureWrapper {
1692
+ public:
1693
+ explicit PingClosureWrapper(grpc_closure* closure) : closure_(closure) {}
1694
+ PingClosureWrapper(const PingClosureWrapper&) = delete;
1695
+ PingClosureWrapper& operator=(const PingClosureWrapper&) = delete;
1696
+ PingClosureWrapper(PingClosureWrapper&& other) noexcept
1697
+ : closure_(other.Take()) {}
1698
+ PingClosureWrapper& operator=(PingClosureWrapper&& other) noexcept {
1699
+ std::swap(closure_, other.closure_);
1700
+ return *this;
1701
+ }
1702
+ ~PingClosureWrapper() {
1703
+ if (closure_ != nullptr) {
1704
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure_, absl::CancelledError());
1705
+ }
1706
+ }
1707
+
1708
+ void operator()() {
1709
+ grpc_core::ExecCtx::Run(DEBUG_LOCATION, Take(), absl::OkStatus());
1710
+ }
1711
+
1712
+ private:
1713
+ grpc_closure* Take() { return std::exchange(closure_, nullptr); }
1714
+
1715
+ grpc_closure* closure_ = nullptr;
1716
+ };
1717
+ } // namespace
1718
+
1613
1719
  static void send_ping_locked(grpc_chttp2_transport* t,
1614
1720
  grpc_closure* on_initiate, grpc_closure* on_ack) {
1615
1721
  if (!t->closed_with_error.ok()) {
@@ -1617,82 +1723,119 @@ static void send_ping_locked(grpc_chttp2_transport* t,
1617
1723
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_ack, t->closed_with_error);
1618
1724
  return;
1619
1725
  }
1620
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1621
- grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_INITIATE], on_initiate,
1622
- absl::OkStatus());
1623
- grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_NEXT], on_ack,
1624
- absl::OkStatus());
1726
+ t->ping_callbacks.OnPing(PingClosureWrapper(on_initiate),
1727
+ PingClosureWrapper(on_ack));
1625
1728
  }
1626
1729
 
1627
1730
  // Specialized form of send_ping_locked for keepalive ping. If there is already
1628
1731
  // a ping in progress, the keepalive ping would piggyback onto that ping,
1629
1732
  // instead of waiting for that ping to complete and then starting a new ping.
1630
- static void send_keepalive_ping_locked(grpc_chttp2_transport* t) {
1733
+ static void send_keepalive_ping_locked(
1734
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1631
1735
  if (!t->closed_with_error.ok()) {
1632
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
1633
- start_keepalive_ping_locked, t, nullptr),
1634
- t->closed_with_error);
1635
1736
  t->combiner->Run(
1636
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
1637
- finish_keepalive_ping_locked, t, nullptr),
1737
+ grpc_core::InitTransportClosure<finish_keepalive_ping_locked>(
1738
+ t->Ref(), &t->finish_keepalive_ping_locked),
1638
1739
  t->closed_with_error);
1639
1740
  return;
1640
1741
  }
1641
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1642
- if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_INFLIGHT])) {
1643
- // There is a ping in flight. Add yourself to the inflight closure list.
1644
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
1645
- start_keepalive_ping_locked, t, nullptr),
1646
- t->closed_with_error);
1647
- grpc_closure_list_append(
1648
- &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT],
1649
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
1650
- finish_keepalive_ping, t, grpc_schedule_on_exec_ctx),
1651
- absl::OkStatus());
1652
- return;
1653
- }
1654
- grpc_closure_list_append(
1655
- &pq->lists[GRPC_CHTTP2_PCL_INITIATE],
1656
- GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked, start_keepalive_ping,
1657
- t, grpc_schedule_on_exec_ctx),
1658
- absl::OkStatus());
1659
- grpc_closure_list_append(
1660
- &pq->lists[GRPC_CHTTP2_PCL_NEXT],
1661
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked, finish_keepalive_ping,
1662
- t, grpc_schedule_on_exec_ctx),
1663
- absl::OkStatus());
1742
+ t->ping_callbacks.OnPingAck(
1743
+ PingClosureWrapper(grpc_core::InitTransportClosure<finish_keepalive_ping>(
1744
+ t->Ref(), &t->finish_keepalive_ping_locked)));
1664
1745
  }
1665
1746
 
1666
- void grpc_chttp2_retry_initiate_ping(grpc_chttp2_transport* t) {
1667
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->retry_initiate_ping_locked,
1668
- retry_initiate_ping_locked, t, nullptr),
1669
- absl::OkStatus());
1747
+ void grpc_chttp2_retry_initiate_ping(
1748
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1749
+ auto tp = t.get();
1750
+ tp->combiner->Run(grpc_core::InitTransportClosure<retry_initiate_ping_locked>(
1751
+ std::move(t), &tp->retry_initiate_ping_locked),
1752
+ absl::OkStatus());
1670
1753
  }
1671
1754
 
1672
- static void retry_initiate_ping_locked(void* tp,
1673
- GRPC_UNUSED grpc_error_handle error) {
1755
+ static void retry_initiate_ping_locked(
1756
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
1757
+ GRPC_UNUSED grpc_error_handle error) {
1674
1758
  GPR_DEBUG_ASSERT(error.ok());
1675
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
1676
- GPR_ASSERT(t->ping_state.delayed_ping_timer_handle.has_value());
1677
- t->ping_state.delayed_ping_timer_handle.reset();
1678
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING);
1679
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "retry_initiate_ping_locked");
1759
+ GPR_ASSERT(t->delayed_ping_timer_handle != TaskHandle::kInvalid);
1760
+ t->delayed_ping_timer_handle = TaskHandle::kInvalid;
1761
+ grpc_chttp2_initiate_write(t.get(),
1762
+ GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING);
1680
1763
  }
1681
1764
 
1682
1765
  void grpc_chttp2_ack_ping(grpc_chttp2_transport* t, uint64_t id) {
1683
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1684
- if (pq->inflight_id != id) {
1766
+ if (!t->ping_callbacks.AckPing(id, t->event_engine.get())) {
1685
1767
  gpr_log(GPR_DEBUG, "Unknown ping response from %s: %" PRIx64,
1686
1768
  std::string(t->peer_string.as_string_view()).c_str(), id);
1687
1769
  return;
1688
1770
  }
1689
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION,
1690
- &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT]);
1691
- if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_NEXT])) {
1771
+ if (t->ping_callbacks.ping_requested()) {
1692
1772
  grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CONTINUE_PINGS);
1693
1773
  }
1694
1774
  }
1695
1775
 
1776
+ void grpc_chttp2_keepalive_timeout(
1777
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1778
+ t->combiner->Run(
1779
+ grpc_core::NewClosure([t](grpc_error_handle) {
1780
+ gpr_log(GPR_INFO, "%s: Keepalive timeout. Closing transport.",
1781
+ std::string(t->peer_string.as_string_view()).c_str());
1782
+ send_goaway(
1783
+ t.get(),
1784
+ grpc_error_set_int(GRPC_ERROR_CREATE("keepalive_timeout"),
1785
+ grpc_core::StatusIntProperty::kHttp2Error,
1786
+ GRPC_HTTP2_ENHANCE_YOUR_CALM),
1787
+ /*immediate_disconnect_hint=*/true);
1788
+ close_transport_locked(
1789
+ t.get(),
1790
+ grpc_error_set_int(GRPC_ERROR_CREATE("keepalive timeout"),
1791
+ grpc_core::StatusIntProperty::kRpcStatus,
1792
+ GRPC_STATUS_UNAVAILABLE));
1793
+ }),
1794
+ absl::OkStatus());
1795
+ }
1796
+
1797
+ void grpc_chttp2_ping_timeout(
1798
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1799
+ t->combiner->Run(
1800
+ grpc_core::NewClosure([t](grpc_error_handle) {
1801
+ gpr_log(GPR_INFO, "%s: Ping timeout. Closing transport.",
1802
+ std::string(t->peer_string.as_string_view()).c_str());
1803
+ send_goaway(
1804
+ t.get(),
1805
+ grpc_error_set_int(GRPC_ERROR_CREATE("ping_timeout"),
1806
+ grpc_core::StatusIntProperty::kHttp2Error,
1807
+ GRPC_HTTP2_ENHANCE_YOUR_CALM),
1808
+ /*immediate_disconnect_hint=*/true);
1809
+ close_transport_locked(
1810
+ t.get(),
1811
+ grpc_error_set_int(GRPC_ERROR_CREATE("ping timeout"),
1812
+ grpc_core::StatusIntProperty::kRpcStatus,
1813
+ GRPC_STATUS_UNAVAILABLE));
1814
+ }),
1815
+ absl::OkStatus());
1816
+ }
1817
+
1818
+ void grpc_chttp2_settings_timeout(
1819
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
1820
+ t->combiner->Run(
1821
+ grpc_core::NewClosure([t](grpc_error_handle) {
1822
+ gpr_log(GPR_INFO, "%s: Settings timeout. Closing transport.",
1823
+ std::string(t->peer_string.as_string_view()).c_str());
1824
+ send_goaway(
1825
+ t.get(),
1826
+ grpc_error_set_int(GRPC_ERROR_CREATE("settings_timeout"),
1827
+ grpc_core::StatusIntProperty::kHttp2Error,
1828
+ GRPC_HTTP2_SETTINGS_TIMEOUT),
1829
+ /*immediate_disconnect_hint=*/true);
1830
+ close_transport_locked(
1831
+ t.get(),
1832
+ grpc_error_set_int(GRPC_ERROR_CREATE("settings timeout"),
1833
+ grpc_core::StatusIntProperty::kRpcStatus,
1834
+ GRPC_STATUS_UNAVAILABLE));
1835
+ }),
1836
+ absl::OkStatus());
1837
+ }
1838
+
1696
1839
  namespace {
1697
1840
 
1698
1841
  // Fire and forget (deletes itself on completion). Does a graceful shutdown by
@@ -1706,31 +1849,19 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
1706
1849
  public:
1707
1850
  static void Start(grpc_chttp2_transport* t) { new GracefulGoaway(t); }
1708
1851
 
1709
- ~GracefulGoaway() override {
1710
- GRPC_CHTTP2_UNREF_TRANSPORT(t_, "graceful goaway");
1711
- }
1712
-
1713
1852
  private:
1714
1853
  using TaskHandle = ::grpc_event_engine::experimental::EventEngine::TaskHandle;
1715
1854
 
1716
- explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t) {
1855
+ explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t->Ref()) {
1717
1856
  t->sent_goaway_state = GRPC_CHTTP2_GRACEFUL_GOAWAY;
1718
- GRPC_CHTTP2_REF_TRANSPORT(t_, "graceful goaway");
1719
1857
  grpc_chttp2_goaway_append((1u << 31) - 1, 0, grpc_empty_slice(), &t->qbuf);
1858
+ t->keepalive_timeout =
1859
+ std::min(t->keepalive_timeout, grpc_core::Duration::Seconds(20));
1860
+ t->ping_timeout =
1861
+ std::min(t->ping_timeout, grpc_core::Duration::Seconds(20));
1720
1862
  send_ping_locked(
1721
1863
  t, nullptr, GRPC_CLOSURE_INIT(&on_ping_ack_, OnPingAck, this, nullptr));
1722
1864
  grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1723
- timer_handle_ = t_->event_engine->RunAfter(
1724
- grpc_core::Duration::Seconds(20),
1725
- [self = Ref(DEBUG_LOCATION, "GoawayTimer")]() mutable {
1726
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
1727
- grpc_core::ExecCtx exec_ctx;
1728
- // The ref will be unreffed in the combiner.
1729
- auto* ptr = self.release();
1730
- ptr->t_->combiner->Run(
1731
- GRPC_CLOSURE_INIT(&ptr->on_timer_, OnTimerLocked, ptr, nullptr),
1732
- absl::OkStatus());
1733
- });
1734
1865
  }
1735
1866
 
1736
1867
  void MaybeSendFinalGoawayLocked() {
@@ -1743,7 +1874,7 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
1743
1874
  gpr_log(GPR_INFO,
1744
1875
  "transport:%p %s peer:%s Transport already shutting down. "
1745
1876
  "Graceful GOAWAY abandoned.",
1746
- t_, t_->is_client ? "CLIENT" : "SERVER",
1877
+ t_.get(), t_->is_client ? "CLIENT" : "SERVER",
1747
1878
  std::string(t_->peer_string.as_string_view()).c_str()));
1748
1879
  return;
1749
1880
  }
@@ -1752,13 +1883,14 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
1752
1883
  gpr_log(GPR_INFO,
1753
1884
  "transport:%p %s peer:%s Graceful shutdown: Ping received. "
1754
1885
  "Sending final GOAWAY with stream_id:%d",
1755
- t_, t_->is_client ? "CLIENT" : "SERVER",
1886
+ t_.get(), t_->is_client ? "CLIENT" : "SERVER",
1756
1887
  std::string(t_->peer_string.as_string_view()).c_str(),
1757
1888
  t_->last_new_stream_id));
1758
1889
  t_->sent_goaway_state = GRPC_CHTTP2_FINAL_GOAWAY_SEND_SCHEDULED;
1759
1890
  grpc_chttp2_goaway_append(t_->last_new_stream_id, 0, grpc_empty_slice(),
1760
1891
  &t_->qbuf);
1761
- grpc_chttp2_initiate_write(t_, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1892
+ grpc_chttp2_initiate_write(t_.get(),
1893
+ GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1762
1894
  }
1763
1895
 
1764
1896
  static void OnPingAck(void* arg, grpc_error_handle /* error */) {
@@ -1770,26 +1902,12 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
1770
1902
 
1771
1903
  static void OnPingAckLocked(void* arg, grpc_error_handle /* error */) {
1772
1904
  auto* self = static_cast<GracefulGoaway*>(arg);
1773
- if (self->timer_handle_ != TaskHandle::kInvalid) {
1774
- self->t_->event_engine->Cancel(
1775
- std::exchange(self->timer_handle_, TaskHandle::kInvalid));
1776
- }
1777
1905
  self->MaybeSendFinalGoawayLocked();
1778
1906
  self->Unref();
1779
1907
  }
1780
1908
 
1781
- static void OnTimerLocked(void* arg, grpc_error_handle /* error */) {
1782
- auto* self = static_cast<GracefulGoaway*>(arg);
1783
- // Clearing the handle since the timer has fired and the handle is invalid.
1784
- self->timer_handle_ = TaskHandle::kInvalid;
1785
- self->MaybeSendFinalGoawayLocked();
1786
- self->Unref();
1787
- }
1788
-
1789
- grpc_chttp2_transport* t_;
1909
+ const grpc_core::RefCountedPtr<grpc_chttp2_transport> t_;
1790
1910
  grpc_closure on_ping_ack_;
1791
- TaskHandle timer_handle_ = TaskHandle::kInvalid;
1792
- grpc_closure on_timer_;
1793
1911
  };
1794
1912
 
1795
1913
  } // namespace
@@ -1825,44 +1943,40 @@ static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error,
1825
1943
  grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1826
1944
  }
1827
1945
 
1828
- void grpc_chttp2_add_ping_strike(grpc_chttp2_transport* t) {
1829
- if (++t->ping_recv_state.ping_strikes > t->ping_policy.max_ping_strikes &&
1830
- t->ping_policy.max_ping_strikes != 0) {
1831
- send_goaway(t,
1832
- grpc_error_set_int(GRPC_ERROR_CREATE("too_many_pings"),
1833
- grpc_core::StatusIntProperty::kHttp2Error,
1834
- GRPC_HTTP2_ENHANCE_YOUR_CALM),
1835
- /*immediate_disconnect_hint=*/true);
1836
- // The transport will be closed after the write is done
1837
- close_transport_locked(
1838
- t, grpc_error_set_int(GRPC_ERROR_CREATE("Too many pings"),
1839
- grpc_core::StatusIntProperty::kRpcStatus,
1840
- GRPC_STATUS_UNAVAILABLE));
1841
- }
1946
+ void grpc_chttp2_exceeded_ping_strikes(grpc_chttp2_transport* t) {
1947
+ send_goaway(t,
1948
+ grpc_error_set_int(GRPC_ERROR_CREATE("too_many_pings"),
1949
+ grpc_core::StatusIntProperty::kHttp2Error,
1950
+ GRPC_HTTP2_ENHANCE_YOUR_CALM),
1951
+ /*immediate_disconnect_hint=*/true);
1952
+ // The transport will be closed after the write is done
1953
+ close_transport_locked(
1954
+ t, grpc_error_set_int(GRPC_ERROR_CREATE("Too many pings"),
1955
+ grpc_core::StatusIntProperty::kRpcStatus,
1956
+ GRPC_STATUS_UNAVAILABLE));
1842
1957
  }
1843
1958
 
1844
1959
  void grpc_chttp2_reset_ping_clock(grpc_chttp2_transport* t) {
1845
1960
  if (!t->is_client) {
1846
- t->ping_recv_state.last_ping_recv_time = grpc_core::Timestamp::InfPast();
1847
- t->ping_recv_state.ping_strikes = 0;
1961
+ t->ping_abuse_policy.ResetPingStrikes();
1848
1962
  }
1849
- t->ping_state.pings_before_data_required =
1850
- t->ping_policy.max_pings_without_data;
1963
+ t->ping_rate_policy.ResetPingsBeforeDataRequired();
1851
1964
  }
1852
1965
 
1853
1966
  static void perform_transport_op_locked(void* stream_op,
1854
1967
  grpc_error_handle /*error_ignored*/) {
1855
1968
  grpc_transport_op* op = static_cast<grpc_transport_op*>(stream_op);
1856
- grpc_chttp2_transport* t =
1857
- static_cast<grpc_chttp2_transport*>(op->handler_private.extra_arg);
1969
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t(
1970
+ static_cast<grpc_chttp2_transport*>(op->handler_private.extra_arg));
1858
1971
 
1859
1972
  if (!op->goaway_error.ok()) {
1860
- send_goaway(t, op->goaway_error, /*immediate_disconnect_hint=*/false);
1973
+ send_goaway(t.get(), op->goaway_error, /*immediate_disconnect_hint=*/false);
1861
1974
  }
1862
1975
 
1863
1976
  if (op->set_accept_stream) {
1864
1977
  t->accept_stream_cb = op->set_accept_stream_fn;
1865
1978
  t->accept_stream_cb_user_data = op->set_accept_stream_user_data;
1979
+ t->registered_method_matcher_cb = op->set_registered_method_matcher_fn;
1866
1980
  }
1867
1981
 
1868
1982
  if (op->bind_pollset) {
@@ -1874,8 +1988,9 @@ static void perform_transport_op_locked(void* stream_op,
1874
1988
  }
1875
1989
 
1876
1990
  if (op->send_ping.on_initiate != nullptr || op->send_ping.on_ack != nullptr) {
1877
- send_ping_locked(t, op->send_ping.on_initiate, op->send_ping.on_ack);
1878
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_APPLICATION_PING);
1991
+ send_ping_locked(t.get(), op->send_ping.on_initiate, op->send_ping.on_ack);
1992
+ grpc_chttp2_initiate_write(t.get(),
1993
+ GRPC_CHTTP2_INITIATE_WRITE_APPLICATION_PING);
1879
1994
  }
1880
1995
 
1881
1996
  if (op->start_connectivity_watch != nullptr) {
@@ -1887,27 +2002,24 @@ static void perform_transport_op_locked(void* stream_op,
1887
2002
  }
1888
2003
 
1889
2004
  if (!op->disconnect_with_error.ok()) {
1890
- send_goaway(t, op->disconnect_with_error,
2005
+ send_goaway(t.get(), op->disconnect_with_error,
1891
2006
  /*immediate_disconnect_hint=*/true);
1892
- close_transport_locked(t, op->disconnect_with_error);
2007
+ close_transport_locked(t.get(), op->disconnect_with_error);
1893
2008
  }
1894
2009
 
1895
2010
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
1896
-
1897
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "transport_op");
1898
2011
  }
1899
2012
 
1900
- static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) {
1901
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2013
+ void grpc_chttp2_transport::PerformOp(grpc_transport_op* op) {
1902
2014
  if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1903
- gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", t,
2015
+ gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", this,
1904
2016
  grpc_transport_op_string(op).c_str());
1905
2017
  }
1906
- op->handler_private.extra_arg = gt;
1907
- GRPC_CHTTP2_REF_TRANSPORT(t, "transport_op");
1908
- t->combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
1909
- perform_transport_op_locked, op, nullptr),
1910
- absl::OkStatus());
2018
+ op->handler_private.extra_arg = this;
2019
+ Ref().release()->combiner->Run(
2020
+ GRPC_CLOSURE_INIT(&op->handler_private.closure,
2021
+ perform_transport_op_locked, op, nullptr),
2022
+ absl::OkStatus());
1911
2023
  }
1912
2024
 
1913
2025
  //
@@ -1933,6 +2045,10 @@ void grpc_chttp2_maybe_complete_recv_initial_metadata(grpc_chttp2_transport* t,
1933
2045
  *s->trailing_metadata_available = true;
1934
2046
  s->trailing_metadata_available = nullptr;
1935
2047
  }
2048
+ if (t->registered_method_matcher_cb != nullptr) {
2049
+ t->registered_method_matcher_cb(t->accept_stream_cb_user_data,
2050
+ s->recv_initial_metadata);
2051
+ }
1936
2052
  null_then_sched_closure(&s->recv_initial_metadata_ready);
1937
2053
  }
1938
2054
  }
@@ -2043,8 +2159,8 @@ void grpc_chttp2_maybe_complete_recv_trailing_metadata(grpc_chttp2_transport* t,
2043
2159
  }
2044
2160
  }
2045
2161
 
2046
- static void remove_stream(grpc_chttp2_transport* t, uint32_t id,
2047
- grpc_error_handle error) {
2162
+ static grpc_chttp2_transport::RemovedStreamHandle remove_stream(
2163
+ grpc_chttp2_transport* t, uint32_t id, grpc_error_handle error) {
2048
2164
  grpc_chttp2_stream* s = t->stream_map.extract(id).mapped();
2049
2165
  GPR_DEBUG_ASSERT(s);
2050
2166
  if (t->incoming_stream == s) {
@@ -2067,29 +2183,74 @@ static void remove_stream(grpc_chttp2_transport* t, uint32_t id,
2067
2183
  grpc_chttp2_list_remove_stalled_by_transport(t, s);
2068
2184
 
2069
2185
  maybe_start_some_streams(t);
2186
+
2187
+ if (t->is_client) return grpc_chttp2_transport::RemovedStreamHandle();
2188
+ return grpc_chttp2_transport::RemovedStreamHandle(t->Ref());
2070
2189
  }
2071
2190
 
2191
+ namespace grpc_core {
2192
+ namespace {
2193
+
2194
+ Duration TarpitDuration(grpc_chttp2_transport* t) {
2195
+ return Duration::Milliseconds(absl::LogUniform<int>(
2196
+ absl::BitGen(), t->min_tarpit_duration_ms, t->max_tarpit_duration_ms));
2197
+ }
2198
+
2199
+ template <typename F>
2200
+ void MaybeTarpit(grpc_chttp2_transport* t, bool tarpit, F fn) {
2201
+ if (!tarpit || !t->allow_tarpit || t->is_client) {
2202
+ fn(t);
2203
+ return;
2204
+ }
2205
+ const auto duration = TarpitDuration(t);
2206
+ t->event_engine->RunAfter(
2207
+ duration, [t = t->Ref(), fn = std::move(fn)]() mutable {
2208
+ ApplicationCallbackExecCtx app_exec_ctx;
2209
+ ExecCtx exec_ctx;
2210
+ t->combiner->Run(
2211
+ NewClosure([t, fn = std::move(fn)](grpc_error_handle) mutable {
2212
+ // TODO(ctiller): this can result in not sending RST_STREAMS if a
2213
+ // request gets tarpit behind a transport close.
2214
+ if (!t->closed_with_error.ok()) return;
2215
+ fn(t.get());
2216
+ }),
2217
+ absl::OkStatus());
2218
+ });
2219
+ }
2220
+
2221
+ } // namespace
2222
+ } // namespace grpc_core
2223
+
2072
2224
  void grpc_chttp2_cancel_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
2073
- grpc_error_handle due_to_error) {
2225
+ grpc_error_handle due_to_error, bool tarpit) {
2074
2226
  if (!t->is_client && !s->sent_trailing_metadata &&
2075
- grpc_error_has_clear_grpc_status(due_to_error)) {
2076
- close_from_api(t, s, due_to_error);
2227
+ grpc_error_has_clear_grpc_status(due_to_error) &&
2228
+ !(s->read_closed && s->write_closed)) {
2229
+ close_from_api(t, s, due_to_error, tarpit);
2077
2230
  return;
2078
2231
  }
2079
2232
 
2233
+ if (!due_to_error.ok() && !s->seen_error) {
2234
+ s->seen_error = true;
2235
+ }
2080
2236
  if (!s->read_closed || !s->write_closed) {
2081
2237
  if (s->id != 0) {
2082
2238
  grpc_http2_error_code http_error;
2083
2239
  grpc_error_get_status(due_to_error, s->deadline, nullptr, nullptr,
2084
2240
  &http_error, nullptr);
2085
- grpc_chttp2_add_rst_stream_to_next_write(
2086
- t, s->id, static_cast<uint32_t>(http_error), &s->stats.outgoing);
2087
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM);
2241
+ grpc_core::MaybeTarpit(
2242
+ t, tarpit,
2243
+ [id = s->id, http_error,
2244
+ remove_stream_handle = grpc_chttp2_mark_stream_closed(
2245
+ t, s, 1, 1, due_to_error)](grpc_chttp2_transport* t) {
2246
+ grpc_chttp2_add_rst_stream_to_next_write(
2247
+ t, id, static_cast<uint32_t>(http_error), nullptr);
2248
+ grpc_chttp2_initiate_write(t,
2249
+ GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM);
2250
+ });
2251
+ return;
2088
2252
  }
2089
2253
  }
2090
- if (!due_to_error.ok() && !s->seen_error) {
2091
- s->seen_error = true;
2092
- }
2093
2254
  grpc_chttp2_mark_stream_closed(t, s, 1, 1, due_to_error);
2094
2255
  }
2095
2256
 
@@ -2182,9 +2343,10 @@ void grpc_chttp2_fail_pending_writes(grpc_chttp2_transport* t,
2182
2343
  flush_write_list(t, s, &s->on_flow_controlled_cbs, error);
2183
2344
  }
2184
2345
 
2185
- void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2186
- grpc_chttp2_stream* s, int close_reads,
2187
- int close_writes, grpc_error_handle error) {
2346
+ grpc_chttp2_transport::RemovedStreamHandle grpc_chttp2_mark_stream_closed(
2347
+ grpc_chttp2_transport* t, grpc_chttp2_stream* s, int close_reads,
2348
+ int close_writes, grpc_error_handle error) {
2349
+ grpc_chttp2_transport::RemovedStreamHandle rsh;
2188
2350
  if (grpc_http_trace.enabled()) {
2189
2351
  gpr_log(
2190
2352
  GPR_DEBUG, "MARK_STREAM_CLOSED: t=%p s=%p(id=%d) %s [%s]", t, s, s->id,
@@ -2200,7 +2362,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2200
2362
  grpc_chttp2_fake_status(t, s, overall_error);
2201
2363
  }
2202
2364
  grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
2203
- return;
2365
+ return rsh;
2204
2366
  }
2205
2367
  bool closed_read = false;
2206
2368
  bool became_closed = false;
@@ -2218,7 +2380,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2218
2380
  became_closed = true;
2219
2381
  grpc_error_handle overall_error = removal_error(error, s, "Stream removed");
2220
2382
  if (s->id != 0) {
2221
- remove_stream(t, s->id, overall_error);
2383
+ rsh = remove_stream(t, s->id, overall_error);
2222
2384
  } else {
2223
2385
  // Purge streams waiting on concurrency still waiting for id assignment
2224
2386
  grpc_chttp2_list_remove_waiting_for_concurrency(t, s);
@@ -2242,17 +2404,11 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2242
2404
  grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
2243
2405
  GRPC_CHTTP2_STREAM_UNREF(s, "chttp2");
2244
2406
  }
2407
+ return rsh;
2245
2408
  }
2246
2409
 
2247
2410
  static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
2248
- grpc_error_handle error) {
2249
- grpc_slice hdr;
2250
- grpc_slice status_hdr;
2251
- grpc_slice http_status_hdr;
2252
- grpc_slice content_type_hdr;
2253
- grpc_slice message_pfx;
2254
- uint8_t* p;
2255
- uint32_t len = 0;
2411
+ grpc_error_handle error, bool tarpit) {
2256
2412
  grpc_status_code grpc_status;
2257
2413
  std::string message;
2258
2414
  grpc_error_get_status(error, s->deadline, &grpc_status, &message, nullptr,
@@ -2260,147 +2416,167 @@ static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
2260
2416
 
2261
2417
  GPR_ASSERT(grpc_status >= 0 && (int)grpc_status < 100);
2262
2418
 
2263
- // Hand roll a header block.
2264
- // This is unnecessarily ugly - at some point we should find a more
2265
- // elegant solution.
2266
- // It's complicated by the fact that our send machinery would be dead by
2267
- // the time we got around to sending this, so instead we ignore HPACK
2268
- // compression and just write the uncompressed bytes onto the wire.
2269
- if (!s->sent_initial_metadata) {
2270
- http_status_hdr = GRPC_SLICE_MALLOC(13);
2271
- p = GRPC_SLICE_START_PTR(http_status_hdr);
2272
- *p++ = 0x00;
2273
- *p++ = 7;
2274
- *p++ = ':';
2275
- *p++ = 's';
2276
- *p++ = 't';
2277
- *p++ = 'a';
2278
- *p++ = 't';
2279
- *p++ = 'u';
2280
- *p++ = 's';
2281
- *p++ = 3;
2282
- *p++ = '2';
2283
- *p++ = '0';
2284
- *p++ = '0';
2285
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr));
2286
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(http_status_hdr);
2287
-
2288
- content_type_hdr = GRPC_SLICE_MALLOC(31);
2289
- p = GRPC_SLICE_START_PTR(content_type_hdr);
2290
- *p++ = 0x00;
2291
- *p++ = 12;
2292
- *p++ = 'c';
2293
- *p++ = 'o';
2294
- *p++ = 'n';
2295
- *p++ = 't';
2296
- *p++ = 'e';
2297
- *p++ = 'n';
2298
- *p++ = 't';
2299
- *p++ = '-';
2300
- *p++ = 't';
2301
- *p++ = 'y';
2302
- *p++ = 'p';
2303
- *p++ = 'e';
2304
- *p++ = 16;
2305
- *p++ = 'a';
2306
- *p++ = 'p';
2307
- *p++ = 'p';
2308
- *p++ = 'l';
2309
- *p++ = 'i';
2310
- *p++ = 'c';
2311
- *p++ = 'a';
2312
- *p++ = 't';
2313
- *p++ = 'i';
2314
- *p++ = 'o';
2315
- *p++ = 'n';
2316
- *p++ = '/';
2317
- *p++ = 'g';
2318
- *p++ = 'r';
2319
- *p++ = 'p';
2320
- *p++ = 'c';
2321
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr));
2322
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(content_type_hdr);
2323
- }
2324
-
2325
- status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10));
2326
- p = GRPC_SLICE_START_PTR(status_hdr);
2327
- *p++ = 0x00; // literal header, not indexed
2328
- *p++ = 11; // len(grpc-status)
2329
- *p++ = 'g';
2330
- *p++ = 'r';
2331
- *p++ = 'p';
2332
- *p++ = 'c';
2333
- *p++ = '-';
2334
- *p++ = 's';
2335
- *p++ = 't';
2336
- *p++ = 'a';
2337
- *p++ = 't';
2338
- *p++ = 'u';
2339
- *p++ = 's';
2340
- if (grpc_status < 10) {
2341
- *p++ = 1;
2342
- *p++ = static_cast<uint8_t>('0' + grpc_status);
2343
- } else {
2344
- *p++ = 2;
2345
- *p++ = static_cast<uint8_t>('0' + (grpc_status / 10));
2346
- *p++ = static_cast<uint8_t>('0' + (grpc_status % 10));
2347
- }
2348
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr));
2349
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(status_hdr);
2350
-
2351
- size_t msg_len = message.length();
2352
- GPR_ASSERT(msg_len <= UINT32_MAX);
2353
- grpc_core::VarintWriter<1> msg_len_writer(static_cast<uint32_t>(msg_len));
2354
- message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length());
2355
- p = GRPC_SLICE_START_PTR(message_pfx);
2356
- *p++ = 0x00; // literal header, not indexed
2357
- *p++ = 12; // len(grpc-message)
2358
- *p++ = 'g';
2359
- *p++ = 'r';
2360
- *p++ = 'p';
2361
- *p++ = 'c';
2362
- *p++ = '-';
2363
- *p++ = 'm';
2364
- *p++ = 'e';
2365
- *p++ = 's';
2366
- *p++ = 's';
2367
- *p++ = 'a';
2368
- *p++ = 'g';
2369
- *p++ = 'e';
2370
- msg_len_writer.Write(0, p);
2371
- p += msg_len_writer.length();
2372
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx));
2373
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(message_pfx);
2374
- len += static_cast<uint32_t>(msg_len);
2375
-
2376
- hdr = GRPC_SLICE_MALLOC(9);
2377
- p = GRPC_SLICE_START_PTR(hdr);
2378
- *p++ = static_cast<uint8_t>(len >> 16);
2379
- *p++ = static_cast<uint8_t>(len >> 8);
2380
- *p++ = static_cast<uint8_t>(len);
2381
- *p++ = GRPC_CHTTP2_FRAME_HEADER;
2382
- *p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM | GRPC_CHTTP2_DATA_FLAG_END_HEADERS;
2383
- *p++ = static_cast<uint8_t>(s->id >> 24);
2384
- *p++ = static_cast<uint8_t>(s->id >> 16);
2385
- *p++ = static_cast<uint8_t>(s->id >> 8);
2386
- *p++ = static_cast<uint8_t>(s->id);
2387
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr));
2388
-
2389
- grpc_slice_buffer_add(&t->qbuf, hdr);
2390
- if (!s->sent_initial_metadata) {
2391
- grpc_slice_buffer_add(&t->qbuf, http_status_hdr);
2392
- grpc_slice_buffer_add(&t->qbuf, content_type_hdr);
2393
- }
2394
- grpc_slice_buffer_add(&t->qbuf, status_hdr);
2395
- grpc_slice_buffer_add(&t->qbuf, message_pfx);
2396
- grpc_slice_buffer_add(&t->qbuf,
2397
- grpc_slice_from_cpp_string(std::move(message)));
2398
- grpc_chttp2_reset_ping_clock(t);
2399
- grpc_chttp2_add_rst_stream_to_next_write(t, s->id, GRPC_HTTP2_NO_ERROR,
2400
- &s->stats.outgoing);
2401
-
2402
- grpc_chttp2_mark_stream_closed(t, s, 1, 1, error);
2403
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
2419
+ auto remove_stream_handle = grpc_chttp2_mark_stream_closed(t, s, 1, 1, error);
2420
+ grpc_core::MaybeTarpit(
2421
+ t, tarpit,
2422
+ [error = std::move(error),
2423
+ sent_initial_metadata = s->sent_initial_metadata, id = s->id,
2424
+ grpc_status, message = std::move(message),
2425
+ remove_stream_handle =
2426
+ std::move(remove_stream_handle)](grpc_chttp2_transport* t) mutable {
2427
+ grpc_slice hdr;
2428
+ grpc_slice status_hdr;
2429
+ grpc_slice http_status_hdr;
2430
+ grpc_slice content_type_hdr;
2431
+ grpc_slice message_pfx;
2432
+ uint8_t* p;
2433
+ uint32_t len = 0;
2434
+
2435
+ // Hand roll a header block.
2436
+ // This is unnecessarily ugly - at some point we should find a more
2437
+ // elegant solution.
2438
+ // It's complicated by the fact that our send machinery would be dead
2439
+ // by the time we got around to sending this, so instead we ignore
2440
+ // HPACK compression and just write the uncompressed bytes onto the
2441
+ // wire.
2442
+ if (!sent_initial_metadata) {
2443
+ http_status_hdr = GRPC_SLICE_MALLOC(13);
2444
+ p = GRPC_SLICE_START_PTR(http_status_hdr);
2445
+ *p++ = 0x00;
2446
+ *p++ = 7;
2447
+ *p++ = ':';
2448
+ *p++ = 's';
2449
+ *p++ = 't';
2450
+ *p++ = 'a';
2451
+ *p++ = 't';
2452
+ *p++ = 'u';
2453
+ *p++ = 's';
2454
+ *p++ = 3;
2455
+ *p++ = '2';
2456
+ *p++ = '0';
2457
+ *p++ = '0';
2458
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr));
2459
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(http_status_hdr);
2460
+
2461
+ content_type_hdr = GRPC_SLICE_MALLOC(31);
2462
+ p = GRPC_SLICE_START_PTR(content_type_hdr);
2463
+ *p++ = 0x00;
2464
+ *p++ = 12;
2465
+ *p++ = 'c';
2466
+ *p++ = 'o';
2467
+ *p++ = 'n';
2468
+ *p++ = 't';
2469
+ *p++ = 'e';
2470
+ *p++ = 'n';
2471
+ *p++ = 't';
2472
+ *p++ = '-';
2473
+ *p++ = 't';
2474
+ *p++ = 'y';
2475
+ *p++ = 'p';
2476
+ *p++ = 'e';
2477
+ *p++ = 16;
2478
+ *p++ = 'a';
2479
+ *p++ = 'p';
2480
+ *p++ = 'p';
2481
+ *p++ = 'l';
2482
+ *p++ = 'i';
2483
+ *p++ = 'c';
2484
+ *p++ = 'a';
2485
+ *p++ = 't';
2486
+ *p++ = 'i';
2487
+ *p++ = 'o';
2488
+ *p++ = 'n';
2489
+ *p++ = '/';
2490
+ *p++ = 'g';
2491
+ *p++ = 'r';
2492
+ *p++ = 'p';
2493
+ *p++ = 'c';
2494
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr));
2495
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(content_type_hdr);
2496
+ }
2497
+
2498
+ status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10));
2499
+ p = GRPC_SLICE_START_PTR(status_hdr);
2500
+ *p++ = 0x00; // literal header, not indexed
2501
+ *p++ = 11; // len(grpc-status)
2502
+ *p++ = 'g';
2503
+ *p++ = 'r';
2504
+ *p++ = 'p';
2505
+ *p++ = 'c';
2506
+ *p++ = '-';
2507
+ *p++ = 's';
2508
+ *p++ = 't';
2509
+ *p++ = 'a';
2510
+ *p++ = 't';
2511
+ *p++ = 'u';
2512
+ *p++ = 's';
2513
+ if (grpc_status < 10) {
2514
+ *p++ = 1;
2515
+ *p++ = static_cast<uint8_t>('0' + grpc_status);
2516
+ } else {
2517
+ *p++ = 2;
2518
+ *p++ = static_cast<uint8_t>('0' + (grpc_status / 10));
2519
+ *p++ = static_cast<uint8_t>('0' + (grpc_status % 10));
2520
+ }
2521
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr));
2522
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(status_hdr);
2523
+
2524
+ size_t msg_len = message.length();
2525
+ GPR_ASSERT(msg_len <= UINT32_MAX);
2526
+ grpc_core::VarintWriter<1> msg_len_writer(
2527
+ static_cast<uint32_t>(msg_len));
2528
+ message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length());
2529
+ p = GRPC_SLICE_START_PTR(message_pfx);
2530
+ *p++ = 0x00; // literal header, not indexed
2531
+ *p++ = 12; // len(grpc-message)
2532
+ *p++ = 'g';
2533
+ *p++ = 'r';
2534
+ *p++ = 'p';
2535
+ *p++ = 'c';
2536
+ *p++ = '-';
2537
+ *p++ = 'm';
2538
+ *p++ = 'e';
2539
+ *p++ = 's';
2540
+ *p++ = 's';
2541
+ *p++ = 'a';
2542
+ *p++ = 'g';
2543
+ *p++ = 'e';
2544
+ msg_len_writer.Write(0, p);
2545
+ p += msg_len_writer.length();
2546
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx));
2547
+ len += static_cast<uint32_t> GRPC_SLICE_LENGTH(message_pfx);
2548
+ len += static_cast<uint32_t>(msg_len);
2549
+
2550
+ hdr = GRPC_SLICE_MALLOC(9);
2551
+ p = GRPC_SLICE_START_PTR(hdr);
2552
+ *p++ = static_cast<uint8_t>(len >> 16);
2553
+ *p++ = static_cast<uint8_t>(len >> 8);
2554
+ *p++ = static_cast<uint8_t>(len);
2555
+ *p++ = GRPC_CHTTP2_FRAME_HEADER;
2556
+ *p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM |
2557
+ GRPC_CHTTP2_DATA_FLAG_END_HEADERS;
2558
+ *p++ = static_cast<uint8_t>(id >> 24);
2559
+ *p++ = static_cast<uint8_t>(id >> 16);
2560
+ *p++ = static_cast<uint8_t>(id >> 8);
2561
+ *p++ = static_cast<uint8_t>(id);
2562
+ GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr));
2563
+
2564
+ grpc_slice_buffer_add(&t->qbuf, hdr);
2565
+ if (!sent_initial_metadata) {
2566
+ grpc_slice_buffer_add(&t->qbuf, http_status_hdr);
2567
+ grpc_slice_buffer_add(&t->qbuf, content_type_hdr);
2568
+ }
2569
+ grpc_slice_buffer_add(&t->qbuf, status_hdr);
2570
+ grpc_slice_buffer_add(&t->qbuf, message_pfx);
2571
+ grpc_slice_buffer_add(&t->qbuf,
2572
+ grpc_slice_from_cpp_string(std::move(message)));
2573
+ grpc_chttp2_reset_ping_clock(t);
2574
+ grpc_chttp2_add_rst_stream_to_next_write(t, id, GRPC_HTTP2_NO_ERROR,
2575
+ nullptr);
2576
+
2577
+ grpc_chttp2_initiate_write(t,
2578
+ GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
2579
+ });
2404
2580
  }
2405
2581
 
2406
2582
  static void end_all_the_calls(grpc_chttp2_transport* t,
@@ -2413,13 +2589,13 @@ static void end_all_the_calls(grpc_chttp2_transport* t,
2413
2589
  error = grpc_error_set_int(error, grpc_core::StatusIntProperty::kRpcStatus,
2414
2590
  GRPC_STATUS_UNAVAILABLE);
2415
2591
  }
2416
- cancel_unstarted_streams(t, error);
2592
+ cancel_unstarted_streams(t, error, false);
2417
2593
  std::vector<grpc_chttp2_stream*> to_cancel;
2418
2594
  for (auto id_stream : t->stream_map) {
2419
2595
  to_cancel.push_back(id_stream.second);
2420
2596
  }
2421
2597
  for (auto s : to_cancel) {
2422
- grpc_chttp2_cancel_stream(t, s, error);
2598
+ grpc_chttp2_cancel_stream(t, s, error, false);
2423
2599
  }
2424
2600
  }
2425
2601
 
@@ -2456,21 +2632,19 @@ void grpc_chttp2_act_on_flowctl_action(
2456
2632
  GRPC_CHTTP2_INITIATE_WRITE_TRANSPORT_FLOW_CONTROL, []() {});
2457
2633
  WithUrgency(t, action.send_initial_window_update(),
2458
2634
  GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
2459
- queue_setting_update(t,
2460
- GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE,
2461
- action.initial_window_size());
2462
- });
2463
- WithUrgency(t, action.send_max_frame_size_update(),
2464
- GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
2465
- queue_setting_update(t, GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE,
2466
- action.max_frame_size());
2635
+ t->settings.mutable_local().SetInitialWindowSize(
2636
+ action.initial_window_size());
2467
2637
  });
2638
+ WithUrgency(
2639
+ t, action.send_max_frame_size_update(),
2640
+ GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
2641
+ t->settings.mutable_local().SetMaxFrameSize(action.max_frame_size());
2642
+ });
2468
2643
  if (t->enable_preferred_rx_crypto_frame_advertisement) {
2469
2644
  WithUrgency(
2470
2645
  t, action.preferred_rx_crypto_frame_size_update(),
2471
2646
  GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
2472
- queue_setting_update(
2473
- t, GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE,
2647
+ t->settings.mutable_local().SetPreferredReceiveCryptoMessageSize(
2474
2648
  action.preferred_rx_crypto_frame_size());
2475
2649
  });
2476
2650
  }
@@ -2504,31 +2678,45 @@ static grpc_error_handle try_http_parsing(grpc_chttp2_transport* t) {
2504
2678
  return error;
2505
2679
  }
2506
2680
 
2507
- static void read_action(void* tp, grpc_error_handle error) {
2508
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2509
- t->combiner->Run(
2510
- GRPC_CLOSURE_INIT(&t->read_action_locked, read_action_locked, t, nullptr),
2511
- error);
2681
+ static void read_action(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2682
+ grpc_error_handle error) {
2683
+ auto* tp = t.get();
2684
+ tp->combiner->Run(grpc_core::InitTransportClosure<read_action_locked>(
2685
+ std::move(t), &tp->read_action_locked),
2686
+ error);
2512
2687
  }
2513
2688
 
2514
- static void read_action_locked(void* tp, grpc_error_handle error) {
2515
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2516
-
2517
- grpc_error_handle err = error;
2518
- if (!err.ok()) {
2519
- err = grpc_error_set_int(
2520
- GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
2521
- grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
2522
- }
2523
- std::swap(err, error);
2689
+ static void read_action_parse_loop_locked(
2690
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2691
+ grpc_error_handle error) {
2524
2692
  if (t->closed_with_error.ok()) {
2525
- size_t i = 0;
2526
2693
  grpc_error_handle errors[3] = {error, absl::OkStatus(), absl::OkStatus()};
2527
- for (; i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) {
2528
- errors[1] = grpc_chttp2_perform_read(t, t->read_buffer.slices[i]);
2694
+ size_t requests_started = 0;
2695
+ for (size_t i = 0;
2696
+ i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) {
2697
+ auto r = grpc_chttp2_perform_read(t.get(), t->read_buffer.slices[i],
2698
+ requests_started);
2699
+ if (auto* partial_read_size = absl::get_if<size_t>(&r)) {
2700
+ for (size_t j = 0; j < i; j++) {
2701
+ grpc_core::CSliceUnref(grpc_slice_buffer_take_first(&t->read_buffer));
2702
+ }
2703
+ grpc_slice_buffer_sub_first(
2704
+ &t->read_buffer, *partial_read_size,
2705
+ GRPC_SLICE_LENGTH(t->read_buffer.slices[0]));
2706
+ t->combiner->ForceOffload();
2707
+ auto* tp = t.get();
2708
+ tp->combiner->Run(
2709
+ grpc_core::InitTransportClosure<read_action_parse_loop_locked>(
2710
+ std::move(t), &tp->read_action_locked),
2711
+ std::move(errors[0]));
2712
+ // Early return: we queued to retry later.
2713
+ return;
2714
+ } else {
2715
+ errors[1] = std::move(absl::get<absl::Status>(r));
2716
+ }
2529
2717
  }
2530
2718
  if (errors[1] != absl::OkStatus()) {
2531
- errors[2] = try_http_parsing(t);
2719
+ errors[2] = try_http_parsing(t.get());
2532
2720
  error = GRPC_ERROR_CREATE_REFERENCING("Failed parsing HTTP/2", errors,
2533
2721
  GPR_ARRAY_SIZE(errors));
2534
2722
  }
@@ -2536,10 +2724,11 @@ static void read_action_locked(void* tp, grpc_error_handle error) {
2536
2724
  if (t->initial_window_update != 0) {
2537
2725
  if (t->initial_window_update > 0) {
2538
2726
  grpc_chttp2_stream* s;
2539
- while (grpc_chttp2_list_pop_stalled_by_stream(t, &s)) {
2540
- grpc_chttp2_mark_stream_writable(t, s);
2727
+ while (grpc_chttp2_list_pop_stalled_by_stream(t.get(), &s)) {
2728
+ grpc_chttp2_mark_stream_writable(t.get(), s);
2541
2729
  grpc_chttp2_initiate_write(
2542
- t, GRPC_CHTTP2_INITIATE_WRITE_FLOW_CONTROL_UNSTALLED_BY_SETTING);
2730
+ t.get(),
2731
+ GRPC_CHTTP2_INITIATE_WRITE_FLOW_CONTROL_UNSTALLED_BY_SETTING);
2543
2732
  }
2544
2733
  }
2545
2734
  t->initial_window_update = 0;
@@ -2558,13 +2747,12 @@ static void read_action_locked(void* tp, grpc_error_handle error) {
2558
2747
  error = grpc_error_add_child(error, t->goaway_error);
2559
2748
  }
2560
2749
 
2561
- close_transport_locked(t, error);
2562
- t->endpoint_reading = 0;
2750
+ close_transport_locked(t.get(), error);
2563
2751
  } else if (t->closed_with_error.ok()) {
2564
2752
  keep_reading = true;
2565
2753
  // Since we have read a byte, reset the keepalive timer
2566
2754
  if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING) {
2567
- maybe_reset_keepalive_ping_timer_locked(t);
2755
+ maybe_reset_keepalive_ping_timer_locked(t.get());
2568
2756
  }
2569
2757
  }
2570
2758
  grpc_slice_buffer_reset_and_unref(&t->read_buffer);
@@ -2576,45 +2764,73 @@ static void read_action_locked(void* tp, grpc_error_handle error) {
2576
2764
  gpr_log(GPR_INFO,
2577
2765
  "transport %p : Pausing reading due to too "
2578
2766
  "many unwritten SETTINGS ACK and RST_STREAM frames",
2579
- t));
2767
+ t.get()));
2580
2768
  } else {
2581
- continue_read_action_locked(t);
2769
+ continue_read_action_locked(std::move(t));
2582
2770
  }
2583
- } else {
2584
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "reading_action");
2585
2771
  }
2586
2772
  }
2587
2773
 
2588
- static void continue_read_action_locked(grpc_chttp2_transport* t) {
2774
+ static void read_action_locked(
2775
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2776
+ grpc_error_handle error) {
2777
+ // got an incoming read, cancel any pending keepalive timers
2778
+ t->keepalive_incoming_data_wanted = false;
2779
+ if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
2780
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace) ||
2781
+ GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2782
+ gpr_log(GPR_INFO,
2783
+ "%s[%p]: Clear keepalive timer because data was received",
2784
+ t->is_client ? "CLIENT" : "SERVER", t.get());
2785
+ }
2786
+ t->event_engine->Cancel(
2787
+ std::exchange(t->keepalive_ping_timeout_handle, TaskHandle::kInvalid));
2788
+ }
2789
+ grpc_error_handle err = error;
2790
+ if (!err.ok()) {
2791
+ err = grpc_error_set_int(
2792
+ GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
2793
+ grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
2794
+ }
2795
+ std::swap(err, error);
2796
+ read_action_parse_loop_locked(std::move(t), std::move(err));
2797
+ }
2798
+
2799
+ static void continue_read_action_locked(
2800
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
2589
2801
  const bool urgent = !t->goaway_error.ok();
2590
- GRPC_CLOSURE_INIT(&t->read_action_locked, read_action, t,
2591
- grpc_schedule_on_exec_ctx);
2592
- grpc_endpoint_read(t->ep, &t->read_buffer, &t->read_action_locked, urgent,
2593
- grpc_chttp2_min_read_progress_size(t));
2802
+ auto* tp = t.get();
2803
+ grpc_endpoint_read(tp->ep, &tp->read_buffer,
2804
+ grpc_core::InitTransportClosure<read_action>(
2805
+ std::move(t), &tp->read_action_locked),
2806
+ urgent, grpc_chttp2_min_read_progress_size(tp));
2594
2807
  }
2595
2808
 
2596
2809
  // t is reffed prior to calling the first time, and once the callback chain
2597
2810
  // that kicks off finishes, it's unreffed
2598
- void schedule_bdp_ping_locked(grpc_chttp2_transport* t) {
2599
- t->flow_control.bdp_estimator()->SchedulePing();
2600
- send_ping_locked(
2601
- t,
2602
- GRPC_CLOSURE_INIT(&t->start_bdp_ping_locked, start_bdp_ping, t,
2603
- grpc_schedule_on_exec_ctx),
2604
- GRPC_CLOSURE_INIT(&t->finish_bdp_ping_locked, finish_bdp_ping, t,
2605
- grpc_schedule_on_exec_ctx));
2606
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_BDP_PING);
2607
- }
2608
-
2609
- static void start_bdp_ping(void* tp, grpc_error_handle error) {
2610
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2611
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_bdp_ping_locked,
2612
- start_bdp_ping_locked, t, nullptr),
2613
- error);
2614
- }
2615
-
2616
- static void start_bdp_ping_locked(void* tp, grpc_error_handle error) {
2617
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2811
+ void schedule_bdp_ping_locked(
2812
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
2813
+ auto* tp = t.get();
2814
+ tp->flow_control.bdp_estimator()->SchedulePing();
2815
+ send_ping_locked(tp,
2816
+ grpc_core::InitTransportClosure<start_bdp_ping>(
2817
+ tp->Ref(), &tp->start_bdp_ping_locked),
2818
+ grpc_core::InitTransportClosure<finish_bdp_ping>(
2819
+ std::move(t), &tp->finish_bdp_ping_locked));
2820
+ grpc_chttp2_initiate_write(tp, GRPC_CHTTP2_INITIATE_WRITE_BDP_PING);
2821
+ }
2822
+
2823
+ static void start_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2824
+ grpc_error_handle error) {
2825
+ grpc_chttp2_transport* tp = t.get();
2826
+ tp->combiner->Run(grpc_core::InitTransportClosure<start_bdp_ping_locked>(
2827
+ std::move(t), &tp->start_bdp_ping_locked),
2828
+ error);
2829
+ }
2830
+
2831
+ static void start_bdp_ping_locked(
2832
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2833
+ grpc_error_handle error) {
2618
2834
  if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
2619
2835
  gpr_log(GPR_INFO, "%s: Start BDP ping err=%s",
2620
2836
  std::string(t->peer_string.as_string_view()).c_str(),
@@ -2625,71 +2841,69 @@ static void start_bdp_ping_locked(void* tp, grpc_error_handle error) {
2625
2841
  }
2626
2842
  // Reset the keepalive ping timer
2627
2843
  if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING) {
2628
- maybe_reset_keepalive_ping_timer_locked(t);
2844
+ maybe_reset_keepalive_ping_timer_locked(t.get());
2629
2845
  }
2630
2846
  t->flow_control.bdp_estimator()->StartPing();
2631
2847
  t->bdp_ping_started = true;
2632
2848
  }
2633
2849
 
2634
- static void finish_bdp_ping(void* tp, grpc_error_handle error) {
2635
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2636
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->finish_bdp_ping_locked,
2637
- finish_bdp_ping_locked, t, nullptr),
2638
- error);
2850
+ static void finish_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2851
+ grpc_error_handle error) {
2852
+ grpc_chttp2_transport* tp = t.get();
2853
+ tp->combiner->Run(grpc_core::InitTransportClosure<finish_bdp_ping_locked>(
2854
+ std::move(t), &tp->finish_bdp_ping_locked),
2855
+ error);
2639
2856
  }
2640
2857
 
2641
- static void finish_bdp_ping_locked(void* tp, grpc_error_handle error) {
2642
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2858
+ static void finish_bdp_ping_locked(
2859
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2860
+ grpc_error_handle error) {
2643
2861
  if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
2644
2862
  gpr_log(GPR_INFO, "%s: Complete BDP ping err=%s",
2645
2863
  std::string(t->peer_string.as_string_view()).c_str(),
2646
2864
  grpc_core::StatusToString(error).c_str());
2647
2865
  }
2648
2866
  if (!error.ok() || !t->closed_with_error.ok()) {
2649
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
2650
2867
  return;
2651
2868
  }
2652
2869
  if (!t->bdp_ping_started) {
2653
2870
  // start_bdp_ping_locked has not been run yet. Schedule
2654
2871
  // finish_bdp_ping_locked to be run later.
2655
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->finish_bdp_ping_locked,
2656
- finish_bdp_ping_locked, t, nullptr),
2657
- error);
2872
+ finish_bdp_ping(std::move(t), std::move(error));
2658
2873
  return;
2659
2874
  }
2660
2875
  t->bdp_ping_started = false;
2661
2876
  grpc_core::Timestamp next_ping =
2662
2877
  t->flow_control.bdp_estimator()->CompletePing();
2663
- grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t,
2878
+ grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t.get(),
2664
2879
  nullptr);
2665
- GPR_ASSERT(!t->next_bdp_ping_timer_handle.has_value());
2880
+ GPR_ASSERT(t->next_bdp_ping_timer_handle == TaskHandle::kInvalid);
2666
2881
  t->next_bdp_ping_timer_handle =
2667
2882
  t->event_engine->RunAfter(next_ping - grpc_core::Timestamp::Now(), [t] {
2668
2883
  grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2669
2884
  grpc_core::ExecCtx exec_ctx;
2670
- next_bdp_ping_timer_expired(t);
2885
+ next_bdp_ping_timer_expired(t.get());
2671
2886
  });
2672
2887
  }
2673
2888
 
2674
2889
  static void next_bdp_ping_timer_expired(grpc_chttp2_transport* t) {
2675
2890
  t->combiner->Run(
2676
- GRPC_CLOSURE_INIT(&t->next_bdp_ping_timer_expired_locked,
2677
- next_bdp_ping_timer_expired_locked, t, nullptr),
2891
+ grpc_core::InitTransportClosure<next_bdp_ping_timer_expired_locked>(
2892
+ t->Ref(), &t->next_bdp_ping_timer_expired_locked),
2678
2893
  absl::OkStatus());
2679
2894
  }
2680
2895
 
2681
2896
  static void next_bdp_ping_timer_expired_locked(
2682
- void* tp, GRPC_UNUSED grpc_error_handle error) {
2897
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2898
+ GRPC_UNUSED grpc_error_handle error) {
2683
2899
  GPR_DEBUG_ASSERT(error.ok());
2684
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2685
- GPR_ASSERT(t->next_bdp_ping_timer_handle.has_value());
2686
- t->next_bdp_ping_timer_handle.reset();
2900
+ GPR_ASSERT(t->next_bdp_ping_timer_handle != TaskHandle::kInvalid);
2901
+ t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
2687
2902
  if (t->flow_control.bdp_estimator()->accumulator() == 0) {
2688
2903
  // Block the bdp ping till we receive more data.
2689
2904
  t->bdp_ping_blocked = true;
2690
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
2691
2905
  } else {
2692
- schedule_bdp_ping_locked(t);
2906
+ schedule_bdp_ping_locked(std::move(t));
2693
2907
  }
2694
2908
  }
2695
2909
 
@@ -2736,45 +2950,34 @@ void grpc_chttp2_config_default_keepalive_args(
2736
2950
  keepalive_permit_without_calls;
2737
2951
  }
2738
2952
 
2739
- g_default_max_ping_strikes =
2740
- std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PING_STRIKES)
2741
- .value_or(g_default_max_ping_strikes));
2742
-
2743
- g_default_max_pings_without_data =
2744
- std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA)
2745
- .value_or(g_default_max_pings_without_data));
2746
-
2747
- g_default_min_recv_ping_interval_without_data =
2748
- std::max(grpc_core::Duration::Zero(),
2749
- channel_args
2750
- .GetDurationFromIntMillis(
2751
- GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS)
2752
- .value_or(g_default_min_recv_ping_interval_without_data));
2953
+ grpc_core::Chttp2PingAbusePolicy::SetDefaults(channel_args);
2954
+ grpc_core::Chttp2PingRatePolicy::SetDefaults(channel_args);
2753
2955
  }
2754
2956
 
2755
- static void init_keepalive_ping(grpc_chttp2_transport* t) {
2756
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->init_keepalive_ping_locked,
2757
- init_keepalive_ping_locked, t, nullptr),
2758
- absl::OkStatus());
2957
+ static void init_keepalive_ping(
2958
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
2959
+ auto* tp = t.get();
2960
+ tp->combiner->Run(grpc_core::InitTransportClosure<init_keepalive_ping_locked>(
2961
+ std::move(t), &tp->init_keepalive_ping_locked),
2962
+ absl::OkStatus());
2759
2963
  }
2760
2964
 
2761
- static void init_keepalive_ping_locked(void* arg,
2762
- GRPC_UNUSED grpc_error_handle error) {
2965
+ static void init_keepalive_ping_locked(
2966
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2967
+ GRPC_UNUSED grpc_error_handle error) {
2763
2968
  GPR_DEBUG_ASSERT(error.ok());
2764
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2765
2969
  GPR_ASSERT(t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING);
2766
- GPR_ASSERT(t->keepalive_ping_timer_handle.has_value());
2767
- t->keepalive_ping_timer_handle.reset();
2970
+ GPR_ASSERT(t->keepalive_ping_timer_handle != TaskHandle::kInvalid);
2971
+ t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
2768
2972
  if (t->destroying || !t->closed_with_error.ok()) {
2769
2973
  t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
2770
2974
  } else {
2771
2975
  if (t->keepalive_permit_without_calls || !t->stream_map.empty()) {
2772
2976
  t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_PINGING;
2773
- GRPC_CHTTP2_REF_TRANSPORT(t, "keepalive ping end");
2774
2977
  send_keepalive_ping_locked(t);
2775
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_KEEPALIVE_PING);
2978
+ grpc_chttp2_initiate_write(t.get(),
2979
+ GRPC_CHTTP2_INITIATE_WRITE_KEEPALIVE_PING);
2776
2980
  } else {
2777
- GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
2778
2981
  t->keepalive_ping_timer_handle =
2779
2982
  t->event_engine->RunAfter(t->keepalive_time, [t] {
2780
2983
  grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
@@ -2783,48 +2986,21 @@ static void init_keepalive_ping_locked(void* arg,
2783
2986
  });
2784
2987
  }
2785
2988
  }
2786
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "init keepalive ping");
2787
- }
2788
-
2789
- static void start_keepalive_ping(void* arg, grpc_error_handle error) {
2790
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2791
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
2792
- start_keepalive_ping_locked, t, nullptr),
2793
- error);
2794
- }
2795
-
2796
- static void start_keepalive_ping_locked(void* arg, grpc_error_handle error) {
2797
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2798
- if (!error.ok()) {
2799
- return;
2800
- }
2801
- if (t->channelz_socket != nullptr) {
2802
- t->channelz_socket->RecordKeepaliveSent();
2803
- }
2804
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
2805
- GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2806
- gpr_log(GPR_INFO, "%s: Start keepalive ping",
2807
- std::string(t->peer_string.as_string_view()).c_str());
2808
- }
2809
- GRPC_CHTTP2_REF_TRANSPORT(t, "keepalive watchdog");
2810
- t->keepalive_watchdog_timer_handle =
2811
- t->event_engine->RunAfter(t->keepalive_timeout, [t] {
2812
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2813
- grpc_core::ExecCtx exec_ctx;
2814
- keepalive_watchdog_fired(t);
2815
- });
2816
- t->keepalive_ping_started = true;
2817
2989
  }
2818
2990
 
2819
- static void finish_keepalive_ping(void* arg, grpc_error_handle error) {
2820
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2821
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
2822
- finish_keepalive_ping_locked, t, nullptr),
2823
- error);
2991
+ static void finish_keepalive_ping(
2992
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
2993
+ grpc_error_handle error) {
2994
+ auto* tp = t.get();
2995
+ tp->combiner->Run(
2996
+ grpc_core::InitTransportClosure<finish_keepalive_ping_locked>(
2997
+ std::move(t), &tp->finish_keepalive_ping_locked),
2998
+ error);
2824
2999
  }
2825
3000
 
2826
- static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error) {
2827
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
3001
+ static void finish_keepalive_ping_locked(
3002
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
3003
+ grpc_error_handle error) {
2828
3004
  if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
2829
3005
  if (error.ok()) {
2830
3006
  if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
@@ -2832,25 +3008,8 @@ static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error) {
2832
3008
  gpr_log(GPR_INFO, "%s: Finish keepalive ping",
2833
3009
  std::string(t->peer_string.as_string_view()).c_str());
2834
3010
  }
2835
- if (!t->keepalive_ping_started) {
2836
- // start_keepalive_ping_locked has not run yet. Reschedule
2837
- // finish_keepalive_ping_locked for it to be run later.
2838
- t->combiner->Run(
2839
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
2840
- finish_keepalive_ping_locked, t, nullptr),
2841
- error);
2842
- return;
2843
- }
2844
- t->keepalive_ping_started = false;
2845
3011
  t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
2846
- if (t->keepalive_watchdog_timer_handle.has_value()) {
2847
- if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
2848
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive watchdog");
2849
- t->keepalive_watchdog_timer_handle.reset();
2850
- }
2851
- }
2852
- GPR_ASSERT(!t->keepalive_ping_timer_handle.has_value());
2853
- GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
3012
+ GPR_ASSERT(t->keepalive_ping_timer_handle == TaskHandle::kInvalid);
2854
3013
  t->keepalive_ping_timer_handle =
2855
3014
  t->event_engine->RunAfter(t->keepalive_time, [t] {
2856
3015
  grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
@@ -2859,57 +3018,24 @@ static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error) {
2859
3018
  });
2860
3019
  }
2861
3020
  }
2862
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive ping end");
2863
- }
2864
-
2865
- static void keepalive_watchdog_fired(grpc_chttp2_transport* t) {
2866
- t->combiner->Run(
2867
- GRPC_CLOSURE_INIT(&t->keepalive_watchdog_fired_locked,
2868
- keepalive_watchdog_fired_locked, t, nullptr),
2869
- absl::OkStatus());
2870
- }
2871
-
2872
- static void keepalive_watchdog_fired_locked(
2873
- void* arg, GRPC_UNUSED grpc_error_handle error) {
2874
- GPR_DEBUG_ASSERT(error.ok());
2875
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2876
- GPR_ASSERT(t->keepalive_watchdog_timer_handle.has_value());
2877
- t->keepalive_watchdog_timer_handle.reset();
2878
- if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
2879
- gpr_log(GPR_INFO, "%s: Keepalive watchdog fired. Closing transport.",
2880
- std::string(t->peer_string.as_string_view()).c_str());
2881
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
2882
- close_transport_locked(
2883
- t, grpc_error_set_int(GRPC_ERROR_CREATE("keepalive watchdog timeout"),
2884
- grpc_core::StatusIntProperty::kRpcStatus,
2885
- GRPC_STATUS_UNAVAILABLE));
2886
- } else {
2887
- // If keepalive_state is not PINGING, we consider it as an error. Maybe the
2888
- // cancellation failed in finish_keepalive_ping_locked. Users have seen
2889
- // other states: https://github.com/grpc/grpc/issues/32085.
2890
- gpr_log(GPR_ERROR, "keepalive_ping_end state error: %d (expect: %d)",
2891
- t->keepalive_state, GRPC_CHTTP2_KEEPALIVE_STATE_PINGING);
2892
- }
2893
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive watchdog");
2894
3021
  }
2895
3022
 
2896
3023
  static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t) {
2897
- if (t->keepalive_ping_timer_handle.has_value()) {
2898
- if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) {
2899
- // Cancel succeeds, resets the keepalive ping timer. Note that we don't
2900
- // need to Ref or Unref here since we still hold the Ref.
2901
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
2902
- GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2903
- gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.",
2904
- std::string(t->peer_string.as_string_view()).c_str());
2905
- }
2906
- t->keepalive_ping_timer_handle =
2907
- t->event_engine->RunAfter(t->keepalive_time, [t] {
2908
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2909
- grpc_core::ExecCtx exec_ctx;
2910
- init_keepalive_ping(t);
2911
- });
3024
+ if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
3025
+ t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
3026
+ // Cancel succeeds, resets the keepalive ping timer. Note that we don't
3027
+ // need to Ref or Unref here since we still hold the Ref.
3028
+ if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
3029
+ GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
3030
+ gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.",
3031
+ std::string(t->peer_string.as_string_view()).c_str());
2912
3032
  }
3033
+ t->keepalive_ping_timer_handle =
3034
+ t->event_engine->RunAfter(t->keepalive_time, [t = t->Ref()]() mutable {
3035
+ grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
3036
+ grpc_core::ExecCtx exec_ctx;
3037
+ init_keepalive_ping(std::move(t));
3038
+ });
2913
3039
  }
2914
3040
  }
2915
3041
 
@@ -2931,16 +3057,14 @@ static void connectivity_state_set(grpc_chttp2_transport* t,
2931
3057
  // POLLSET STUFF
2932
3058
  //
2933
3059
 
2934
- static void set_pollset(grpc_transport* gt, grpc_stream* /*gs*/,
2935
- grpc_pollset* pollset) {
2936
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2937
- grpc_endpoint_add_to_pollset(t->ep, pollset);
3060
+ void grpc_chttp2_transport::SetPollset(grpc_stream* /*gs*/,
3061
+ grpc_pollset* pollset) {
3062
+ grpc_endpoint_add_to_pollset(ep, pollset);
2938
3063
  }
2939
3064
 
2940
- static void set_pollset_set(grpc_transport* gt, grpc_stream* /*gs*/,
2941
- grpc_pollset_set* pollset_set) {
2942
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2943
- grpc_endpoint_add_to_pollset_set(t->ep, pollset_set);
3065
+ void grpc_chttp2_transport::SetPollsetSet(grpc_stream* /*gs*/,
3066
+ grpc_pollset_set* pollset_set) {
3067
+ grpc_endpoint_add_to_pollset_set(ep, pollset_set);
2944
3068
  }
2945
3069
 
2946
3070
  //
@@ -2950,18 +3074,17 @@ static void set_pollset_set(grpc_transport* gt, grpc_stream* /*gs*/,
2950
3074
  static void post_benign_reclaimer(grpc_chttp2_transport* t) {
2951
3075
  if (!t->benign_reclaimer_registered) {
2952
3076
  t->benign_reclaimer_registered = true;
2953
- GRPC_CHTTP2_REF_TRANSPORT(t, "benign_reclaimer");
2954
3077
  t->memory_owner.PostReclaimer(
2955
3078
  grpc_core::ReclamationPass::kBenign,
2956
- [t](absl::optional<grpc_core::ReclamationSweep> sweep) {
3079
+ [t = t->Ref()](
3080
+ absl::optional<grpc_core::ReclamationSweep> sweep) mutable {
2957
3081
  if (sweep.has_value()) {
2958
- GRPC_CLOSURE_INIT(&t->benign_reclaimer_locked,
2959
- benign_reclaimer_locked, t,
2960
- grpc_schedule_on_exec_ctx);
2961
- t->active_reclamation = std::move(*sweep);
2962
- t->combiner->Run(&t->benign_reclaimer_locked, absl::OkStatus());
2963
- } else {
2964
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "benign_reclaimer");
3082
+ auto* tp = t.get();
3083
+ tp->active_reclamation = std::move(*sweep);
3084
+ tp->combiner->Run(
3085
+ grpc_core::InitTransportClosure<benign_reclaimer_locked>(
3086
+ std::move(t), &tp->benign_reclaimer_locked),
3087
+ absl::OkStatus());
2965
3088
  }
2966
3089
  });
2967
3090
  }
@@ -2970,26 +3093,25 @@ static void post_benign_reclaimer(grpc_chttp2_transport* t) {
2970
3093
  static void post_destructive_reclaimer(grpc_chttp2_transport* t) {
2971
3094
  if (!t->destructive_reclaimer_registered) {
2972
3095
  t->destructive_reclaimer_registered = true;
2973
- GRPC_CHTTP2_REF_TRANSPORT(t, "destructive_reclaimer");
2974
3096
  t->memory_owner.PostReclaimer(
2975
3097
  grpc_core::ReclamationPass::kDestructive,
2976
- [t](absl::optional<grpc_core::ReclamationSweep> sweep) {
3098
+ [t = t->Ref()](
3099
+ absl::optional<grpc_core::ReclamationSweep> sweep) mutable {
2977
3100
  if (sweep.has_value()) {
2978
- GRPC_CLOSURE_INIT(&t->destructive_reclaimer_locked,
2979
- destructive_reclaimer_locked, t,
2980
- grpc_schedule_on_exec_ctx);
2981
- t->active_reclamation = std::move(*sweep);
2982
- t->combiner->Run(&t->destructive_reclaimer_locked,
2983
- absl::OkStatus());
2984
- } else {
2985
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "destructive_reclaimer");
3101
+ auto* tp = t.get();
3102
+ tp->active_reclamation = std::move(*sweep);
3103
+ tp->combiner->Run(
3104
+ grpc_core::InitTransportClosure<destructive_reclaimer_locked>(
3105
+ std::move(t), &tp->destructive_reclaimer_locked),
3106
+ absl::OkStatus());
2986
3107
  }
2987
3108
  });
2988
3109
  }
2989
3110
  }
2990
3111
 
2991
- static void benign_reclaimer_locked(void* arg, grpc_error_handle error) {
2992
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
3112
+ static void benign_reclaimer_locked(
3113
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
3114
+ grpc_error_handle error) {
2993
3115
  if (error.ok() && t->stream_map.empty()) {
2994
3116
  // Channel with no active streams: send a goaway to try and make it
2995
3117
  // disconnect cleanly
@@ -2997,7 +3119,7 @@ static void benign_reclaimer_locked(void* arg, grpc_error_handle error) {
2997
3119
  gpr_log(GPR_INFO, "HTTP2: %s - send goaway to free memory",
2998
3120
  std::string(t->peer_string.as_string_view()).c_str());
2999
3121
  }
3000
- send_goaway(t,
3122
+ send_goaway(t.get(),
3001
3123
  grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
3002
3124
  grpc_core::StatusIntProperty::kHttp2Error,
3003
3125
  GRPC_HTTP2_ENHANCE_YOUR_CALM),
@@ -3013,11 +3135,11 @@ static void benign_reclaimer_locked(void* arg, grpc_error_handle error) {
3013
3135
  if (error != absl::CancelledError()) {
3014
3136
  t->active_reclamation.Finish();
3015
3137
  }
3016
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "benign_reclaimer");
3017
3138
  }
3018
3139
 
3019
- static void destructive_reclaimer_locked(void* arg, grpc_error_handle error) {
3020
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
3140
+ static void destructive_reclaimer_locked(
3141
+ grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
3142
+ grpc_error_handle error) {
3021
3143
  t->destructive_reclaimer_registered = false;
3022
3144
  if (error.ok() && !t->stream_map.empty()) {
3023
3145
  // As stream_map is a hash map, this selects effectively a random stream.
@@ -3027,22 +3149,22 @@ static void destructive_reclaimer_locked(void* arg, grpc_error_handle error) {
3027
3149
  std::string(t->peer_string.as_string_view()).c_str(), s->id);
3028
3150
  }
3029
3151
  grpc_chttp2_cancel_stream(
3030
- t, s,
3152
+ t.get(), s,
3031
3153
  grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
3032
3154
  grpc_core::StatusIntProperty::kHttp2Error,
3033
- GRPC_HTTP2_ENHANCE_YOUR_CALM));
3155
+ GRPC_HTTP2_ENHANCE_YOUR_CALM),
3156
+ false);
3034
3157
  if (!t->stream_map.empty()) {
3035
3158
  // Since we cancel one stream per destructive reclamation, if
3036
3159
  // there are more streams left, we can immediately post a new
3037
3160
  // reclaimer in case the resource quota needs to free more
3038
3161
  // memory
3039
- post_destructive_reclaimer(t);
3162
+ post_destructive_reclaimer(t.get());
3040
3163
  }
3041
3164
  }
3042
3165
  if (error != absl::CancelledError()) {
3043
3166
  t->active_reclamation.Finish();
3044
3167
  }
3045
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "destructive_reclaimer");
3046
3168
  }
3047
3169
 
3048
3170
  //
@@ -3100,53 +3222,46 @@ const char* grpc_chttp2_initiate_write_reason_string(
3100
3222
  GPR_UNREACHABLE_CODE(return "unknown");
3101
3223
  }
3102
3224
 
3103
- static grpc_endpoint* chttp2_get_endpoint(grpc_transport* t) {
3104
- return (reinterpret_cast<grpc_chttp2_transport*>(t))->ep;
3225
+ grpc_endpoint* grpc_chttp2_transport::GetEndpoint() { return ep; }
3226
+
3227
+ size_t grpc_chttp2_transport::SizeOfStream() const {
3228
+ return sizeof(grpc_chttp2_stream);
3105
3229
  }
3106
3230
 
3107
- static const grpc_transport_vtable vtable = {sizeof(grpc_chttp2_stream),
3108
- false,
3109
- "chttp2",
3110
- init_stream,
3111
- nullptr,
3112
- set_pollset,
3113
- set_pollset_set,
3114
- perform_stream_op,
3115
- perform_transport_op,
3116
- destroy_stream,
3117
- destroy_transport,
3118
- chttp2_get_endpoint};
3231
+ bool grpc_chttp2_transport::
3232
+ HackyDisableStreamOpBatchCoalescingInConnectedChannel() const {
3233
+ return false;
3234
+ }
3119
3235
 
3120
- static const grpc_transport_vtable* get_vtable(void) { return &vtable; }
3236
+ absl::string_view grpc_chttp2_transport::GetTransportName() const {
3237
+ return "chttp2";
3238
+ }
3121
3239
 
3122
3240
  grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode>
3123
- grpc_chttp2_transport_get_socket_node(grpc_transport* transport) {
3241
+ grpc_chttp2_transport_get_socket_node(grpc_core::Transport* transport) {
3124
3242
  grpc_chttp2_transport* t =
3125
3243
  reinterpret_cast<grpc_chttp2_transport*>(transport);
3126
3244
  return t->channelz_socket;
3127
3245
  }
3128
3246
 
3129
- grpc_transport* grpc_create_chttp2_transport(
3247
+ grpc_core::Transport* grpc_create_chttp2_transport(
3130
3248
  const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
3131
3249
  bool is_client) {
3132
- auto t = new grpc_chttp2_transport(channel_args, ep, is_client);
3133
- return &t->base;
3250
+ return new grpc_chttp2_transport(channel_args, ep, is_client);
3134
3251
  }
3135
3252
 
3136
3253
  void grpc_chttp2_transport_start_reading(
3137
- grpc_transport* transport, grpc_slice_buffer* read_buffer,
3254
+ grpc_core::Transport* transport, grpc_slice_buffer* read_buffer,
3138
3255
  grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close) {
3139
- grpc_chttp2_transport* t =
3140
- reinterpret_cast<grpc_chttp2_transport*>(transport);
3141
- GRPC_CHTTP2_REF_TRANSPORT(
3142
- t, "reading_action"); // matches unref inside reading_action
3256
+ auto t = reinterpret_cast<grpc_chttp2_transport*>(transport)->Ref();
3143
3257
  if (read_buffer != nullptr) {
3144
3258
  grpc_slice_buffer_move_into(read_buffer, &t->read_buffer);
3145
3259
  gpr_free(read_buffer);
3146
3260
  }
3147
- t->combiner->Run(
3148
- grpc_core::NewClosure([t, notify_on_receive_settings,
3149
- notify_on_close](grpc_error_handle) {
3261
+ auto* tp = t.get();
3262
+ tp->combiner->Run(
3263
+ grpc_core::NewClosure([t = std::move(t), notify_on_receive_settings,
3264
+ notify_on_close](grpc_error_handle) mutable {
3150
3265
  if (!t->closed_with_error.ok()) {
3151
3266
  if (notify_on_receive_settings != nullptr) {
3152
3267
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, notify_on_receive_settings,
@@ -3156,12 +3271,11 @@ void grpc_chttp2_transport_start_reading(
3156
3271
  grpc_core::ExecCtx::Run(DEBUG_LOCATION, notify_on_close,
3157
3272
  t->closed_with_error);
3158
3273
  }
3159
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "reading_action");
3160
3274
  return;
3161
3275
  }
3162
3276
  t->notify_on_receive_settings = notify_on_receive_settings;
3163
3277
  t->notify_on_close = notify_on_close;
3164
- read_action_locked(t, absl::OkStatus());
3278
+ read_action_locked(std::move(t), absl::OkStatus());
3165
3279
  }),
3166
3280
  absl::OkStatus());
3167
3281
  }