grpc 1.51.0-x86_64-linux → 1.52.0-x86_64-linux

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

Potentially problematic release.


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

Files changed (2604) hide show
  1. checksums.yaml +4 -4
  2. data/grpc_c.32-msvcrt.ruby +0 -0
  3. data/grpc_c.64-msvcrt.ruby +0 -0
  4. data/grpc_c.64-ucrt.ruby +0 -0
  5. data/src/ruby/ext/grpc/{ext-export-truffleruby.clang → ext-export-truffleruby-with-ruby-abi-version.clang} +0 -0
  6. data/src/ruby/ext/grpc/{ext-export-truffleruby.gcc → ext-export-truffleruby-with-ruby-abi-version.gcc} +0 -0
  7. data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.clang +2 -0
  8. data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.gcc +7 -0
  9. data/src/ruby/ext/grpc/ext-export.clang +0 -1
  10. data/src/ruby/ext/grpc/ext-export.gcc +1 -2
  11. data/src/ruby/ext/grpc/extconf.rb +47 -2
  12. data/src/ruby/ext/grpc/rb_call.c +1 -0
  13. data/src/ruby/ext/grpc/rb_channel.c +1 -0
  14. data/src/ruby/ext/grpc/rb_channel_args.c +1 -0
  15. data/src/ruby/ext/grpc/rb_compression_options.c +1 -1
  16. data/src/ruby/ext/grpc/rb_grpc.c +1 -0
  17. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +38 -36
  18. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +59 -56
  19. data/src/ruby/lib/grpc/2.6/grpc_c.so +0 -0
  20. data/src/ruby/lib/grpc/2.7/grpc_c.so +0 -0
  21. data/src/ruby/lib/grpc/3.0/grpc_c.so +0 -0
  22. data/src/ruby/lib/grpc/3.1/grpc_c.so +0 -0
  23. data/src/ruby/lib/grpc/{grpc_c.so → 3.2/grpc_c.so} +0 -0
  24. data/src/ruby/lib/grpc/generic/bidi_call.rb +2 -0
  25. data/src/ruby/lib/grpc/version.rb +1 -1
  26. data/src/ruby/spec/client_server_spec.rb +20 -8
  27. metadata +25 -2597
  28. data/.yardopts +0 -1
  29. data/Makefile +0 -3258
  30. data/include/grpc/byte_buffer.h +0 -27
  31. data/include/grpc/byte_buffer_reader.h +0 -26
  32. data/include/grpc/census.h +0 -40
  33. data/include/grpc/compression.h +0 -75
  34. data/include/grpc/event_engine/README.md +0 -38
  35. data/include/grpc/event_engine/endpoint_config.h +0 -49
  36. data/include/grpc/event_engine/event_engine.h +0 -453
  37. data/include/grpc/event_engine/internal/memory_allocator_impl.h +0 -68
  38. data/include/grpc/event_engine/memory_allocator.h +0 -211
  39. data/include/grpc/event_engine/memory_request.h +0 -57
  40. data/include/grpc/event_engine/port.h +0 -39
  41. data/include/grpc/event_engine/slice.h +0 -286
  42. data/include/grpc/event_engine/slice_buffer.h +0 -135
  43. data/include/grpc/fork.h +0 -26
  44. data/include/grpc/grpc.h +0 -595
  45. data/include/grpc/grpc_cronet.h +0 -38
  46. data/include/grpc/grpc_posix.h +0 -63
  47. data/include/grpc/grpc_security.h +0 -1270
  48. data/include/grpc/grpc_security_constants.h +0 -152
  49. data/include/grpc/impl/codegen/README.md +0 -22
  50. data/include/grpc/impl/codegen/atm.h +0 -97
  51. data/include/grpc/impl/codegen/atm_gcc_atomic.h +0 -84
  52. data/include/grpc/impl/codegen/atm_gcc_sync.h +0 -85
  53. data/include/grpc/impl/codegen/atm_windows.h +0 -132
  54. data/include/grpc/impl/codegen/byte_buffer.h +0 -103
  55. data/include/grpc/impl/codegen/byte_buffer_reader.h +0 -44
  56. data/include/grpc/impl/codegen/compression_types.h +0 -109
  57. data/include/grpc/impl/codegen/connectivity_state.h +0 -47
  58. data/include/grpc/impl/codegen/fork.h +0 -50
  59. data/include/grpc/impl/codegen/gpr_slice.h +0 -71
  60. data/include/grpc/impl/codegen/gpr_types.h +0 -62
  61. data/include/grpc/impl/codegen/grpc_types.h +0 -814
  62. data/include/grpc/impl/codegen/log.h +0 -112
  63. data/include/grpc/impl/codegen/port_platform.h +0 -779
  64. data/include/grpc/impl/codegen/propagation_bits.h +0 -54
  65. data/include/grpc/impl/codegen/slice.h +0 -132
  66. data/include/grpc/impl/codegen/status.h +0 -156
  67. data/include/grpc/impl/codegen/sync.h +0 -68
  68. data/include/grpc/impl/codegen/sync_abseil.h +0 -38
  69. data/include/grpc/impl/codegen/sync_custom.h +0 -40
  70. data/include/grpc/impl/codegen/sync_generic.h +0 -51
  71. data/include/grpc/impl/codegen/sync_posix.h +0 -54
  72. data/include/grpc/impl/codegen/sync_windows.h +0 -42
  73. data/include/grpc/load_reporting.h +0 -48
  74. data/include/grpc/module.modulemap +0 -64
  75. data/include/grpc/slice.h +0 -161
  76. data/include/grpc/slice_buffer.h +0 -84
  77. data/include/grpc/status.h +0 -26
  78. data/include/grpc/support/alloc.h +0 -52
  79. data/include/grpc/support/atm.h +0 -26
  80. data/include/grpc/support/atm_gcc_atomic.h +0 -26
  81. data/include/grpc/support/atm_gcc_sync.h +0 -26
  82. data/include/grpc/support/atm_windows.h +0 -26
  83. data/include/grpc/support/cpu.h +0 -44
  84. data/include/grpc/support/log.h +0 -26
  85. data/include/grpc/support/log_windows.h +0 -38
  86. data/include/grpc/support/port_platform.h +0 -24
  87. data/include/grpc/support/string_util.h +0 -51
  88. data/include/grpc/support/sync.h +0 -282
  89. data/include/grpc/support/sync_abseil.h +0 -26
  90. data/include/grpc/support/sync_custom.h +0 -26
  91. data/include/grpc/support/sync_generic.h +0 -26
  92. data/include/grpc/support/sync_posix.h +0 -26
  93. data/include/grpc/support/sync_windows.h +0 -26
  94. data/include/grpc/support/thd_id.h +0 -44
  95. data/include/grpc/support/time.h +0 -92
  96. data/include/grpc/support/workaround_list.h +0 -31
  97. data/src/core/ext/filters/census/grpc_context.cc +0 -42
  98. data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -315
  99. data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -142
  100. data/src/core/ext/filters/channel_idle/idle_filter_state.cc +0 -96
  101. data/src/core/ext/filters/channel_idle/idle_filter_state.h +0 -68
  102. data/src/core/ext/filters/client_channel/backend_metric.cc +0 -84
  103. data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
  104. data/src/core/ext/filters/client_channel/backup_poller.cc +0 -187
  105. data/src/core/ext/filters/client_channel/backup_poller.h +0 -40
  106. data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -244
  107. data/src/core/ext/filters/client_channel/client_channel.cc +0 -3188
  108. data/src/core/ext/filters/client_channel/client_channel.h +0 -626
  109. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -92
  110. data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
  111. data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
  112. data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
  113. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -42
  114. data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
  115. data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
  116. data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
  117. data/src/core/ext/filters/client_channel/config_selector.h +0 -155
  118. data/src/core/ext/filters/client_channel/connector.h +0 -84
  119. data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
  120. data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -108
  121. data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
  122. data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
  123. data/src/core/ext/filters/client_channel/health/health_check_client.cc +0 -175
  124. data/src/core/ext/filters/client_channel/health/health_check_client.h +0 -43
  125. data/src/core/ext/filters/client_channel/http_proxy.cc +0 -200
  126. data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
  127. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -100
  128. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -103
  129. data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -49
  130. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -325
  131. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -89
  132. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -150
  133. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -30
  134. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1933
  135. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -40
  136. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -88
  137. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -41
  138. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
  139. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -82
  140. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
  141. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -76
  142. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -415
  143. data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
  144. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1152
  145. data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -94
  146. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -543
  147. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -957
  148. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -889
  149. data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -47
  150. data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2512
  151. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -529
  152. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -439
  153. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -793
  154. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -762
  155. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.cc +0 -42
  156. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.h +0 -64
  157. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -29
  158. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -806
  159. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -732
  160. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1214
  161. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -364
  162. data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
  163. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
  164. data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -149
  165. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -868
  166. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -91
  167. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -115
  168. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -882
  169. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1204
  170. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -137
  171. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
  172. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
  173. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.cc +0 -30
  174. data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.h +0 -30
  175. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -201
  176. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -368
  177. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -110
  178. data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -472
  179. data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -258
  180. data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -123
  181. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -190
  182. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1147
  183. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -30
  184. data/src/core/ext/filters/client_channel/retry_filter.cc +0 -2661
  185. data/src/core/ext/filters/client_channel/retry_filter.h +0 -31
  186. data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -282
  187. data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
  188. data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -141
  189. data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
  190. data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -174
  191. data/src/core/ext/filters/client_channel/subchannel.cc +0 -974
  192. data/src/core/ext/filters/client_channel/subchannel.h +0 -435
  193. data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -38
  194. data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
  195. data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
  196. data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -470
  197. data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -222
  198. data/src/core/ext/filters/deadline/deadline_filter.cc +0 -400
  199. data/src/core/ext/filters/deadline/deadline_filter.h +0 -93
  200. data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +0 -279
  201. data/src/core/ext/filters/fault_injection/fault_injection_filter.h +0 -71
  202. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +0 -118
  203. data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +0 -112
  204. data/src/core/ext/filters/http/client/http_client_filter.cc +0 -159
  205. data/src/core/ext/filters/http/client/http_client_filter.h +0 -61
  206. data/src/core/ext/filters/http/client_authority_filter.cc +0 -90
  207. data/src/core/ext/filters/http/client_authority_filter.h +0 -56
  208. data/src/core/ext/filters/http/http_filters_plugin.cc +0 -97
  209. data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +0 -332
  210. data/src/core/ext/filters/http/message_compress/message_compress_filter.h +0 -52
  211. data/src/core/ext/filters/http/message_compress/message_decompress_filter.cc +0 -322
  212. data/src/core/ext/filters/http/message_compress/message_decompress_filter.h +0 -32
  213. data/src/core/ext/filters/http/server/http_server_filter.cc +0 -161
  214. data/src/core/ext/filters/http/server/http_server_filter.h +0 -63
  215. data/src/core/ext/filters/message_size/message_size_filter.cc +0 -373
  216. data/src/core/ext/filters/message_size/message_size_filter.h +0 -90
  217. data/src/core/ext/filters/rbac/rbac_filter.cc +0 -174
  218. data/src/core/ext/filters/rbac/rbac_filter.h +0 -84
  219. data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +0 -819
  220. data/src/core/ext/filters/rbac/rbac_service_config_parser.h +0 -86
  221. data/src/core/ext/filters/server_config_selector/server_config_selector.cc +0 -62
  222. data/src/core/ext/filters/server_config_selector/server_config_selector.h +0 -85
  223. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +0 -160
  224. data/src/core/ext/filters/server_config_selector/server_config_selector_filter.h +0 -33
  225. data/src/core/ext/transport/chttp2/alpn/alpn.cc +0 -45
  226. data/src/core/ext/transport/chttp2/alpn/alpn.h +0 -36
  227. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +0 -434
  228. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +0 -77
  229. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +0 -1094
  230. data/src/core/ext/transport/chttp2/server/chttp2_server.h +0 -47
  231. data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +0 -252
  232. data/src/core/ext/transport/chttp2/transport/bin_decoder.h +0 -58
  233. data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +0 -232
  234. data/src/core/ext/transport/chttp2/transport/bin_encoder.h +0 -42
  235. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +0 -2963
  236. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +0 -77
  237. data/src/core/ext/transport/chttp2/transport/context_list.cc +0 -71
  238. data/src/core/ext/transport/chttp2/transport/context_list.h +0 -54
  239. data/src/core/ext/transport/chttp2/transport/decode_huff.cc +0 -287
  240. data/src/core/ext/transport/chttp2/transport/decode_huff.h +0 -1018
  241. data/src/core/ext/transport/chttp2/transport/flow_control.cc +0 -442
  242. data/src/core/ext/transport/chttp2/transport/flow_control.h +0 -386
  243. data/src/core/ext/transport/chttp2/transport/frame.h +0 -43
  244. data/src/core/ext/transport/chttp2/transport/frame_data.cc +0 -156
  245. data/src/core/ext/transport/chttp2/transport/frame_data.h +0 -60
  246. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -190
  247. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +0 -65
  248. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +0 -137
  249. data/src/core/ext/transport/chttp2/transport/frame_ping.h +0 -49
  250. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +0 -130
  251. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +0 -54
  252. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +0 -241
  253. data/src/core/ext/transport/chttp2/transport/frame_settings.h +0 -66
  254. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +0 -122
  255. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +0 -46
  256. data/src/core/ext/transport/chttp2/transport/hpack_constants.h +0 -47
  257. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +0 -667
  258. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +0 -236
  259. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +0 -89
  260. data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +0 -80
  261. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +0 -1382
  262. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +0 -142
  263. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +0 -247
  264. data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +0 -137
  265. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +0 -62
  266. data/src/core/ext/transport/chttp2/transport/http2_settings.h +0 -60
  267. data/src/core/ext/transport/chttp2/transport/huffsyms.cc +0 -92
  268. data/src/core/ext/transport/chttp2/transport/huffsyms.h +0 -32
  269. data/src/core/ext/transport/chttp2/transport/internal.h +0 -803
  270. data/src/core/ext/transport/chttp2/transport/parsing.cc +0 -730
  271. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +0 -216
  272. data/src/core/ext/transport/chttp2/transport/stream_map.cc +0 -177
  273. data/src/core/ext/transport/chttp2/transport/stream_map.h +0 -68
  274. data/src/core/ext/transport/chttp2/transport/varint.cc +0 -61
  275. data/src/core/ext/transport/chttp2/transport/varint.h +0 -76
  276. data/src/core/ext/transport/chttp2/transport/writing.cc +0 -683
  277. data/src/core/ext/transport/inproc/inproc_plugin.cc +0 -23
  278. data/src/core/ext/transport/inproc/inproc_transport.cc +0 -1274
  279. data/src/core/ext/transport/inproc/inproc_transport.h +0 -34
  280. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -117
  281. data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -502
  282. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -121
  283. data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -569
  284. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -125
  285. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -516
  286. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -352
  287. data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -1768
  288. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -56
  289. data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -159
  290. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -64
  291. data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -189
  292. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -46
  293. data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -128
  294. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -43
  295. data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -106
  296. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -43
  297. data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -101
  298. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -106
  299. data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -613
  300. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -48
  301. data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -107
  302. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -60
  303. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -81
  304. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -53
  305. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -103
  306. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -270
  307. data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1300
  308. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -413
  309. data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -2251
  310. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -95
  311. data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -394
  312. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -544
  313. data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3066
  314. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -48
  315. data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -107
  316. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -89
  317. data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -549
  318. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -299
  319. data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1437
  320. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -145
  321. data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -664
  322. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -49
  323. data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -120
  324. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -421
  325. data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -1891
  326. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -163
  327. data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -806
  328. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -47
  329. data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -104
  330. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -47
  331. data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -107
  332. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -58
  333. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -159
  334. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -269
  335. data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1329
  336. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -220
  337. data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1255
  338. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -49
  339. data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -126
  340. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -323
  341. data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -1759
  342. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -40
  343. data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -88
  344. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -60
  345. data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -177
  346. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -47
  347. data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -148
  348. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -56
  349. data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -182
  350. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -48
  351. data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -122
  352. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -106
  353. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -360
  354. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -144
  355. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -647
  356. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -129
  357. data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -588
  358. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -46
  359. data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -98
  360. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -189
  361. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1041
  362. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -186
  363. data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -969
  364. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -63
  365. data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -238
  366. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -59
  367. data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -186
  368. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -53
  369. data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -140
  370. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -165
  371. data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -748
  372. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -174
  373. data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -757
  374. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -221
  375. data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1094
  376. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -86
  377. data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -402
  378. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1096
  379. data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -6440
  380. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -79
  381. data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -267
  382. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -241
  383. data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1191
  384. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -44
  385. data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -92
  386. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -49
  387. data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -107
  388. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -63
  389. data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -175
  390. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -52
  391. data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -138
  392. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -63
  393. data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -254
  394. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -46
  395. data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -98
  396. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -47
  397. data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -98
  398. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -69
  399. data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -221
  400. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -33
  401. data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -43
  402. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -71
  403. data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -226
  404. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -54
  405. data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -150
  406. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -42
  407. data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -89
  408. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -96
  409. data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -395
  410. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -94
  411. data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -445
  412. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -71
  413. data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -237
  414. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -55
  415. data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -172
  416. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -471
  417. data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -2731
  418. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -52
  419. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -168
  420. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -46
  421. data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -98
  422. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -28
  423. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -38
  424. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -177
  425. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -932
  426. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -88
  427. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -320
  428. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -191
  429. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1063
  430. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -62
  431. data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -168
  432. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -38
  433. data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -74
  434. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -280
  435. data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -1375
  436. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -68
  437. data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -218
  438. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -138
  439. data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -651
  440. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -48
  441. data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -116
  442. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -76
  443. data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -265
  444. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -74
  445. data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -230
  446. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -62
  447. data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -196
  448. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -49
  449. data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -121
  450. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -48
  451. data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -117
  452. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -47
  453. data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -104
  454. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -80
  455. data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -246
  456. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -67
  457. data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -226
  458. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -60
  459. data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -178
  460. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -78
  461. data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -306
  462. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -107
  463. data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -457
  464. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -107
  465. data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -439
  466. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -66
  467. data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -213
  468. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -26
  469. data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -39
  470. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -42
  471. data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -143
  472. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -54
  473. data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -147
  474. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -66
  475. data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -208
  476. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -63
  477. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -202
  478. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -26
  479. data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -41
  480. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -43
  481. data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -101
  482. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -51
  483. data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -131
  484. data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -40
  485. data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -53
  486. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -271
  487. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1280
  488. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -283
  489. data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1386
  490. data/src/core/ext/upb-generated/google/api/http.upb.c +0 -81
  491. data/src/core/ext/upb-generated/google/api/http.upb.h +0 -343
  492. data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -46
  493. data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -115
  494. data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -40
  495. data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -92
  496. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -578
  497. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -3217
  498. data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -40
  499. data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -92
  500. data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -35
  501. data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -74
  502. data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -95
  503. data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -329
  504. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -40
  505. data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -92
  506. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -127
  507. data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -475
  508. data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -46
  509. data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -115
  510. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -84
  511. data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -335
  512. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -63
  513. data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -188
  514. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -240
  515. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1173
  516. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -57
  517. data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -182
  518. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -50
  519. data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -139
  520. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -161
  521. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -705
  522. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -70
  523. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -216
  524. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -175
  525. data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -792
  526. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -110
  527. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -290
  528. data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -55
  529. data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -112
  530. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -38
  531. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -46
  532. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -54
  533. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -119
  534. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -53
  535. data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -103
  536. data/src/core/ext/upb-generated/validate/validate.upb.c +0 -560
  537. data/src/core/ext/upb-generated/validate/validate.upb.h +0 -4105
  538. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -110
  539. data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -290
  540. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -55
  541. data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -112
  542. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -38
  543. data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -46
  544. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -105
  545. data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -306
  546. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -53
  547. data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -103
  548. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -41
  549. data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -83
  550. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -66
  551. data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -208
  552. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -56
  553. data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -119
  554. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -46
  555. data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -107
  556. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -49
  557. data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -131
  558. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -68
  559. data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -248
  560. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -49
  561. data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -125
  562. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -73
  563. data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -191
  564. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -47
  565. data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -113
  566. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -207
  567. data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -914
  568. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -52
  569. data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -151
  570. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -65
  571. data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -226
  572. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -46
  573. data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -107
  574. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
  575. data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -55
  576. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -127
  577. data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -50
  578. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
  579. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -55
  580. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -256
  581. data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -115
  582. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
  583. data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -40
  584. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
  585. data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -40
  586. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
  587. data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -35
  588. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
  589. data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -35
  590. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
  591. data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -35
  592. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
  593. data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -40
  594. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
  595. data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -35
  596. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
  597. data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -30
  598. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
  599. data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -35
  600. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -222
  601. data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -105
  602. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -397
  603. data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -120
  604. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
  605. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -45
  606. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -559
  607. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -155
  608. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
  609. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -35
  610. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
  611. data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -35
  612. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
  613. data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -105
  614. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -112
  615. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -65
  616. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
  617. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -35
  618. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -270
  619. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -150
  620. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
  621. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -65
  622. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
  623. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -35
  624. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
  625. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -35
  626. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
  627. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -40
  628. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -235
  629. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -100
  630. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -228
  631. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -75
  632. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
  633. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -35
  634. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -300
  635. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -110
  636. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -41
  637. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -35
  638. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
  639. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -40
  640. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -57
  641. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -35
  642. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
  643. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -35
  644. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
  645. data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -35
  646. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
  647. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -50
  648. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -128
  649. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -60
  650. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
  651. data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -55
  652. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
  653. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -35
  654. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -220
  655. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -65
  656. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
  657. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -65
  658. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -88
  659. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -35
  660. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
  661. data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -40
  662. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -69
  663. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -35
  664. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
  665. data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -70
  666. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -134
  667. data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -75
  668. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -194
  669. data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -75
  670. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -112
  671. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -40
  672. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -939
  673. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -305
  674. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
  675. data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -45
  676. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
  677. data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -90
  678. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -54
  679. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -35
  680. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
  681. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -35
  682. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
  683. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -40
  684. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
  685. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -35
  686. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
  687. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -35
  688. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -47
  689. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -35
  690. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
  691. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -35
  692. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
  693. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -40
  694. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
  695. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -30
  696. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
  697. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -40
  698. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -77
  699. data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -35
  700. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
  701. data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -35
  702. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
  703. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -55
  704. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -117
  705. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -45
  706. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
  707. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -40
  708. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -78
  709. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -35
  710. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -562
  711. data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -130
  712. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
  713. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -30
  714. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -213
  715. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -65
  716. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
  717. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -45
  718. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -254
  719. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -65
  720. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
  721. data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -40
  722. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
  723. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -35
  724. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -197
  725. data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -100
  726. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
  727. data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -40
  728. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -153
  729. data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -55
  730. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
  731. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -35
  732. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
  733. data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -50
  734. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -52
  735. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -50
  736. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
  737. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -40
  738. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
  739. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -35
  740. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
  741. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -35
  742. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
  743. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -35
  744. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
  745. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -45
  746. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
  747. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -40
  748. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
  749. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -40
  750. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
  751. data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -45
  752. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
  753. data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -65
  754. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
  755. data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -55
  756. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
  757. data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -45
  758. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
  759. data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -30
  760. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
  761. data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -35
  762. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
  763. data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -40
  764. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
  765. data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -45
  766. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
  767. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -40
  768. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -38
  769. data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -30
  770. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
  771. data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -35
  772. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
  773. data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -35
  774. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
  775. data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -30
  776. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
  777. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -95
  778. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
  779. data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -100
  780. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
  781. data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -45
  782. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
  783. data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -35
  784. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
  785. data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -35
  786. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -331
  787. data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -165
  788. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
  789. data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -35
  790. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
  791. data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -35
  792. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
  793. data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -50
  794. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
  795. data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -35
  796. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
  797. data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -75
  798. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
  799. data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -35
  800. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
  801. data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -50
  802. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
  803. data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -75
  804. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
  805. data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -45
  806. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
  807. data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -35
  808. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
  809. data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -30
  810. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
  811. data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -35
  812. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
  813. data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -35
  814. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
  815. data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -145
  816. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
  817. data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -45
  818. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
  819. data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -35
  820. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
  821. data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -30
  822. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
  823. data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -50
  824. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
  825. data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -35
  826. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
  827. data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -35
  828. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
  829. data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -40
  830. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
  831. data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -40
  832. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
  833. data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -35
  834. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
  835. data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -35
  836. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
  837. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -40
  838. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
  839. data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -35
  840. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
  841. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -80
  842. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
  843. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -40
  844. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
  845. data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -40
  846. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -40
  847. data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -35
  848. data/src/core/ext/xds/certificate_provider_store.cc +0 -159
  849. data/src/core/ext/xds/certificate_provider_store.h +0 -138
  850. data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -150
  851. data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +0 -77
  852. data/src/core/ext/xds/upb_utils.h +0 -45
  853. data/src/core/ext/xds/xds_api.cc +0 -646
  854. data/src/core/ext/xds/xds_api.h +0 -192
  855. data/src/core/ext/xds/xds_bootstrap.cc +0 -38
  856. data/src/core/ext/xds/xds_bootstrap.h +0 -88
  857. data/src/core/ext/xds/xds_bootstrap_grpc.cc +0 -361
  858. data/src/core/ext/xds/xds_bootstrap_grpc.h +0 -184
  859. data/src/core/ext/xds/xds_certificate_provider.cc +0 -416
  860. data/src/core/ext/xds/xds_certificate_provider.h +0 -183
  861. data/src/core/ext/xds/xds_channel_args.h +0 -32
  862. data/src/core/ext/xds/xds_channel_stack_modifier.cc +0 -119
  863. data/src/core/ext/xds/xds_channel_stack_modifier.h +0 -65
  864. data/src/core/ext/xds/xds_client.cc +0 -2032
  865. data/src/core/ext/xds/xds_client.h +0 -341
  866. data/src/core/ext/xds/xds_client_grpc.cc +0 -210
  867. data/src/core/ext/xds/xds_client_grpc.h +0 -79
  868. data/src/core/ext/xds/xds_client_stats.cc +0 -159
  869. data/src/core/ext/xds/xds_client_stats.h +0 -242
  870. data/src/core/ext/xds/xds_cluster.cc +0 -659
  871. data/src/core/ext/xds/xds_cluster.h +0 -116
  872. data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +0 -152
  873. data/src/core/ext/xds/xds_cluster_specifier_plugin.h +0 -92
  874. data/src/core/ext/xds/xds_common_types.cc +0 -501
  875. data/src/core/ext/xds/xds_common_types.h +0 -108
  876. data/src/core/ext/xds/xds_endpoint.cc +0 -468
  877. data/src/core/ext/xds/xds_endpoint.h +0 -139
  878. data/src/core/ext/xds/xds_http_fault_filter.cc +0 -235
  879. data/src/core/ext/xds/xds_http_fault_filter.h +0 -58
  880. data/src/core/ext/xds/xds_http_filters.cc +0 -116
  881. data/src/core/ext/xds/xds_http_filters.h +0 -181
  882. data/src/core/ext/xds/xds_http_rbac_filter.cc +0 -505
  883. data/src/core/ext/xds/xds_http_rbac_filter.h +0 -58
  884. data/src/core/ext/xds/xds_lb_policy_registry.cc +0 -243
  885. data/src/core/ext/xds/xds_lb_policy_registry.h +0 -71
  886. data/src/core/ext/xds/xds_listener.cc +0 -1144
  887. data/src/core/ext/xds/xds_listener.h +0 -224
  888. data/src/core/ext/xds/xds_resource_type.h +0 -104
  889. data/src/core/ext/xds/xds_resource_type_impl.h +0 -86
  890. data/src/core/ext/xds/xds_route_config.cc +0 -1166
  891. data/src/core/ext/xds/xds_route_config.h +0 -241
  892. data/src/core/ext/xds/xds_routing.cc +0 -264
  893. data/src/core/ext/xds/xds_routing.h +0 -106
  894. data/src/core/ext/xds/xds_server_config_fetcher.cc +0 -1375
  895. data/src/core/ext/xds/xds_transport.h +0 -86
  896. data/src/core/ext/xds/xds_transport_grpc.cc +0 -356
  897. data/src/core/ext/xds/xds_transport_grpc.h +0 -135
  898. data/src/core/lib/address_utils/parse_address.cc +0 -340
  899. data/src/core/lib/address_utils/parse_address.h +0 -86
  900. data/src/core/lib/address_utils/sockaddr_utils.cc +0 -443
  901. data/src/core/lib/address_utils/sockaddr_utils.h +0 -100
  902. data/src/core/lib/avl/avl.h +0 -482
  903. data/src/core/lib/backoff/backoff.cc +0 -47
  904. data/src/core/lib/backoff/backoff.h +0 -89
  905. data/src/core/lib/channel/call_finalization.h +0 -88
  906. data/src/core/lib/channel/call_tracer.h +0 -94
  907. data/src/core/lib/channel/channel_args.cc +0 -626
  908. data/src/core/lib/channel/channel_args.h +0 -544
  909. data/src/core/lib/channel/channel_args_preconditioning.cc +0 -43
  910. data/src/core/lib/channel/channel_args_preconditioning.h +0 -62
  911. data/src/core/lib/channel/channel_fwd.h +0 -26
  912. data/src/core/lib/channel/channel_stack.cc +0 -314
  913. data/src/core/lib/channel/channel_stack.h +0 -394
  914. data/src/core/lib/channel/channel_stack_builder.cc +0 -51
  915. data/src/core/lib/channel/channel_stack_builder.h +0 -120
  916. data/src/core/lib/channel/channel_stack_builder_impl.cc +0 -113
  917. data/src/core/lib/channel/channel_stack_builder_impl.h +0 -48
  918. data/src/core/lib/channel/channel_trace.cc +0 -183
  919. data/src/core/lib/channel/channel_trace.h +0 -138
  920. data/src/core/lib/channel/channelz.cc +0 -583
  921. data/src/core/lib/channel/channelz.h +0 -374
  922. data/src/core/lib/channel/channelz_registry.cc +0 -277
  923. data/src/core/lib/channel/channelz_registry.h +0 -100
  924. data/src/core/lib/channel/connected_channel.cc +0 -901
  925. data/src/core/lib/channel/connected_channel.h +0 -32
  926. data/src/core/lib/channel/context.h +0 -63
  927. data/src/core/lib/channel/promise_based_filter.cc +0 -2126
  928. data/src/core/lib/channel/promise_based_filter.h +0 -848
  929. data/src/core/lib/channel/status_util.cc +0 -138
  930. data/src/core/lib/channel/status_util.h +0 -74
  931. data/src/core/lib/compression/compression.cc +0 -96
  932. data/src/core/lib/compression/compression_internal.cc +0 -249
  933. data/src/core/lib/compression/compression_internal.h +0 -93
  934. data/src/core/lib/compression/message_compress.cc +0 -194
  935. data/src/core/lib/compression/message_compress.h +0 -39
  936. data/src/core/lib/config/core_configuration.cc +0 -111
  937. data/src/core/lib/config/core_configuration.h +0 -243
  938. data/src/core/lib/debug/event_log.cc +0 -88
  939. data/src/core/lib/debug/event_log.h +0 -81
  940. data/src/core/lib/debug/histogram_view.cc +0 -69
  941. data/src/core/lib/debug/histogram_view.h +0 -37
  942. data/src/core/lib/debug/stats.cc +0 -68
  943. data/src/core/lib/debug/stats.h +0 -64
  944. data/src/core/lib/debug/stats_data.cc +0 -341
  945. data/src/core/lib/debug/stats_data.h +0 -292
  946. data/src/core/lib/debug/trace.cc +0 -153
  947. data/src/core/lib/debug/trace.h +0 -133
  948. data/src/core/lib/event_engine/channel_args_endpoint_config.cc +0 -40
  949. data/src/core/lib/event_engine/channel_args_endpoint_config.h +0 -49
  950. data/src/core/lib/event_engine/common_closures.h +0 -71
  951. data/src/core/lib/event_engine/default_event_engine.cc +0 -94
  952. data/src/core/lib/event_engine/default_event_engine.h +0 -49
  953. data/src/core/lib/event_engine/default_event_engine_factory.cc +0 -48
  954. data/src/core/lib/event_engine/default_event_engine_factory.h +0 -33
  955. data/src/core/lib/event_engine/executor/executor.h +0 -38
  956. data/src/core/lib/event_engine/forkable.cc +0 -101
  957. data/src/core/lib/event_engine/forkable.h +0 -61
  958. data/src/core/lib/event_engine/handle_containers.h +0 -67
  959. data/src/core/lib/event_engine/memory_allocator.cc +0 -74
  960. data/src/core/lib/event_engine/poller.h +0 -62
  961. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +0 -618
  962. data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +0 -129
  963. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +0 -901
  964. data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +0 -97
  965. data/src/core/lib/event_engine/posix_engine/event_poller.h +0 -111
  966. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +0 -74
  967. data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +0 -33
  968. data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -77
  969. data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +0 -179
  970. data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +0 -267
  971. data/src/core/lib/event_engine/posix_engine/lockfree_event.h +0 -73
  972. data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +0 -1270
  973. data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +0 -682
  974. data/src/core/lib/event_engine/posix_engine/posix_engine.cc +0 -577
  975. data/src/core/lib/event_engine/posix_engine/posix_engine.h +0 -245
  976. data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +0 -80
  977. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +0 -1081
  978. data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +0 -361
  979. data/src/core/lib/event_engine/posix_engine/timer.cc +0 -311
  980. data/src/core/lib/event_engine/posix_engine/timer.h +0 -194
  981. data/src/core/lib/event_engine/posix_engine/timer_heap.cc +0 -107
  982. data/src/core/lib/event_engine/posix_engine/timer_heap.h +0 -56
  983. data/src/core/lib/event_engine/posix_engine/timer_manager.cc +0 -174
  984. data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -114
  985. data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +0 -301
  986. data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +0 -179
  987. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -126
  988. data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +0 -45
  989. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -151
  990. data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +0 -45
  991. data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h +0 -76
  992. data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +0 -67
  993. data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h +0 -37
  994. data/src/core/lib/event_engine/resolved_address.cc +0 -41
  995. data/src/core/lib/event_engine/slice.cc +0 -103
  996. data/src/core/lib/event_engine/slice_buffer.cc +0 -50
  997. data/src/core/lib/event_engine/socket_notifier.h +0 -55
  998. data/src/core/lib/event_engine/thread_pool.cc +0 -276
  999. data/src/core/lib/event_engine/thread_pool.h +0 -137
  1000. data/src/core/lib/event_engine/time_util.cc +0 -30
  1001. data/src/core/lib/event_engine/time_util.h +0 -32
  1002. data/src/core/lib/event_engine/trace.cc +0 -18
  1003. data/src/core/lib/event_engine/trace.h +0 -30
  1004. data/src/core/lib/event_engine/utils.cc +0 -44
  1005. data/src/core/lib/event_engine/utils.h +0 -36
  1006. data/src/core/lib/event_engine/windows/iocp.cc +0 -155
  1007. data/src/core/lib/event_engine/windows/iocp.h +0 -69
  1008. data/src/core/lib/event_engine/windows/win_socket.cc +0 -196
  1009. data/src/core/lib/event_engine/windows/win_socket.h +0 -120
  1010. data/src/core/lib/event_engine/windows/windows_engine.cc +0 -165
  1011. data/src/core/lib/event_engine/windows/windows_engine.h +0 -124
  1012. data/src/core/lib/experiments/config.cc +0 -146
  1013. data/src/core/lib/experiments/config.h +0 -43
  1014. data/src/core/lib/experiments/experiments.cc +0 -86
  1015. data/src/core/lib/experiments/experiments.h +0 -63
  1016. data/src/core/lib/gpr/alloc.cc +0 -68
  1017. data/src/core/lib/gpr/alloc.h +0 -28
  1018. data/src/core/lib/gpr/atm.cc +0 -35
  1019. data/src/core/lib/gpr/cpu_iphone.cc +0 -44
  1020. data/src/core/lib/gpr/cpu_linux.cc +0 -86
  1021. data/src/core/lib/gpr/cpu_posix.cc +0 -83
  1022. data/src/core/lib/gpr/cpu_windows.cc +0 -33
  1023. data/src/core/lib/gpr/log.cc +0 -145
  1024. data/src/core/lib/gpr/log_android.cc +0 -77
  1025. data/src/core/lib/gpr/log_linux.cc +0 -113
  1026. data/src/core/lib/gpr/log_posix.cc +0 -110
  1027. data/src/core/lib/gpr/log_windows.cc +0 -115
  1028. data/src/core/lib/gpr/spinlock.h +0 -53
  1029. data/src/core/lib/gpr/string.cc +0 -343
  1030. data/src/core/lib/gpr/string.h +0 -112
  1031. data/src/core/lib/gpr/string_posix.cc +0 -72
  1032. data/src/core/lib/gpr/string_util_windows.cc +0 -55
  1033. data/src/core/lib/gpr/string_windows.cc +0 -69
  1034. data/src/core/lib/gpr/sync.cc +0 -124
  1035. data/src/core/lib/gpr/sync_abseil.cc +0 -100
  1036. data/src/core/lib/gpr/sync_posix.cc +0 -157
  1037. data/src/core/lib/gpr/sync_windows.cc +0 -120
  1038. data/src/core/lib/gpr/time.cc +0 -267
  1039. data/src/core/lib/gpr/time_posix.cc +0 -177
  1040. data/src/core/lib/gpr/time_precise.cc +0 -168
  1041. data/src/core/lib/gpr/time_precise.h +0 -70
  1042. data/src/core/lib/gpr/time_windows.cc +0 -102
  1043. data/src/core/lib/gpr/tmpfile.h +0 -32
  1044. data/src/core/lib/gpr/tmpfile_msys.cc +0 -58
  1045. data/src/core/lib/gpr/tmpfile_posix.cc +0 -70
  1046. data/src/core/lib/gpr/tmpfile_windows.cc +0 -67
  1047. data/src/core/lib/gpr/useful.h +0 -171
  1048. data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
  1049. data/src/core/lib/gprpp/atomic_utils.h +0 -47
  1050. data/src/core/lib/gprpp/bitset.h +0 -201
  1051. data/src/core/lib/gprpp/chunked_vector.h +0 -257
  1052. data/src/core/lib/gprpp/construct_destruct.h +0 -40
  1053. data/src/core/lib/gprpp/cpp_impl_of.h +0 -49
  1054. data/src/core/lib/gprpp/debug_location.h +0 -87
  1055. data/src/core/lib/gprpp/dual_ref_counted.h +0 -327
  1056. data/src/core/lib/gprpp/env.h +0 -53
  1057. data/src/core/lib/gprpp/env_linux.cc +0 -80
  1058. data/src/core/lib/gprpp/env_posix.cc +0 -47
  1059. data/src/core/lib/gprpp/env_windows.cc +0 -56
  1060. data/src/core/lib/gprpp/examine_stack.cc +0 -43
  1061. data/src/core/lib/gprpp/examine_stack.h +0 -45
  1062. data/src/core/lib/gprpp/fork.cc +0 -233
  1063. data/src/core/lib/gprpp/fork.h +0 -95
  1064. data/src/core/lib/gprpp/global_config.h +0 -93
  1065. data/src/core/lib/gprpp/global_config_custom.h +0 -29
  1066. data/src/core/lib/gprpp/global_config_env.cc +0 -139
  1067. data/src/core/lib/gprpp/global_config_env.h +0 -133
  1068. data/src/core/lib/gprpp/global_config_generic.h +0 -40
  1069. data/src/core/lib/gprpp/host_port.cc +0 -114
  1070. data/src/core/lib/gprpp/host_port.h +0 -56
  1071. data/src/core/lib/gprpp/load_file.cc +0 -75
  1072. data/src/core/lib/gprpp/load_file.h +0 -33
  1073. data/src/core/lib/gprpp/manual_constructor.h +0 -146
  1074. data/src/core/lib/gprpp/match.h +0 -75
  1075. data/src/core/lib/gprpp/memory.h +0 -53
  1076. data/src/core/lib/gprpp/mpscq.cc +0 -108
  1077. data/src/core/lib/gprpp/mpscq.h +0 -99
  1078. data/src/core/lib/gprpp/no_destruct.h +0 -94
  1079. data/src/core/lib/gprpp/notification.h +0 -67
  1080. data/src/core/lib/gprpp/orphanable.h +0 -122
  1081. data/src/core/lib/gprpp/overload.h +0 -59
  1082. data/src/core/lib/gprpp/packed_table.h +0 -40
  1083. data/src/core/lib/gprpp/per_cpu.h +0 -46
  1084. data/src/core/lib/gprpp/ref_counted.h +0 -349
  1085. data/src/core/lib/gprpp/ref_counted_ptr.h +0 -337
  1086. data/src/core/lib/gprpp/single_set_ptr.h +0 -87
  1087. data/src/core/lib/gprpp/sorted_pack.h +0 -98
  1088. data/src/core/lib/gprpp/stat.h +0 -36
  1089. data/src/core/lib/gprpp/stat_posix.cc +0 -55
  1090. data/src/core/lib/gprpp/stat_windows.cc +0 -49
  1091. data/src/core/lib/gprpp/status_helper.cc +0 -454
  1092. data/src/core/lib/gprpp/status_helper.h +0 -189
  1093. data/src/core/lib/gprpp/strerror.cc +0 -41
  1094. data/src/core/lib/gprpp/strerror.h +0 -29
  1095. data/src/core/lib/gprpp/sync.h +0 -200
  1096. data/src/core/lib/gprpp/table.h +0 -451
  1097. data/src/core/lib/gprpp/tchar.cc +0 -49
  1098. data/src/core/lib/gprpp/tchar.h +0 -33
  1099. data/src/core/lib/gprpp/thd.h +0 -171
  1100. data/src/core/lib/gprpp/thd_posix.cc +0 -211
  1101. data/src/core/lib/gprpp/thd_windows.cc +0 -172
  1102. data/src/core/lib/gprpp/time.cc +0 -234
  1103. data/src/core/lib/gprpp/time.h +0 -367
  1104. data/src/core/lib/gprpp/time_averaged_stats.cc +0 -60
  1105. data/src/core/lib/gprpp/time_averaged_stats.h +0 -79
  1106. data/src/core/lib/gprpp/time_util.cc +0 -81
  1107. data/src/core/lib/gprpp/time_util.h +0 -42
  1108. data/src/core/lib/gprpp/unique_type_name.h +0 -104
  1109. data/src/core/lib/gprpp/validation_errors.cc +0 -61
  1110. data/src/core/lib/gprpp/validation_errors.h +0 -127
  1111. data/src/core/lib/gprpp/work_serializer.cc +0 -247
  1112. data/src/core/lib/gprpp/work_serializer.h +0 -86
  1113. data/src/core/lib/handshaker/proxy_mapper.h +0 -53
  1114. data/src/core/lib/handshaker/proxy_mapper_registry.cc +0 -71
  1115. data/src/core/lib/handshaker/proxy_mapper_registry.h +0 -75
  1116. data/src/core/lib/http/format_request.cc +0 -137
  1117. data/src/core/lib/http/format_request.h +0 -38
  1118. data/src/core/lib/http/httpcli.cc +0 -393
  1119. data/src/core/lib/http/httpcli.h +0 -272
  1120. data/src/core/lib/http/httpcli_security_connector.cc +0 -213
  1121. data/src/core/lib/http/httpcli_ssl_credentials.h +0 -39
  1122. data/src/core/lib/http/parser.cc +0 -451
  1123. data/src/core/lib/http/parser.h +0 -130
  1124. data/src/core/lib/iomgr/block_annotate.h +0 -57
  1125. data/src/core/lib/iomgr/buffer_list.cc +0 -296
  1126. data/src/core/lib/iomgr/buffer_list.h +0 -179
  1127. data/src/core/lib/iomgr/call_combiner.cc +0 -258
  1128. data/src/core/lib/iomgr/call_combiner.h +0 -214
  1129. data/src/core/lib/iomgr/cfstream_handle.cc +0 -207
  1130. data/src/core/lib/iomgr/cfstream_handle.h +0 -90
  1131. data/src/core/lib/iomgr/closure.h +0 -310
  1132. data/src/core/lib/iomgr/combiner.cc +0 -330
  1133. data/src/core/lib/iomgr/combiner.h +0 -89
  1134. data/src/core/lib/iomgr/dualstack_socket_posix.cc +0 -48
  1135. data/src/core/lib/iomgr/dynamic_annotations.h +0 -67
  1136. data/src/core/lib/iomgr/endpoint.cc +0 -67
  1137. data/src/core/lib/iomgr/endpoint.h +0 -109
  1138. data/src/core/lib/iomgr/endpoint_cfstream.cc +0 -376
  1139. data/src/core/lib/iomgr/endpoint_cfstream.h +0 -49
  1140. data/src/core/lib/iomgr/endpoint_pair.h +0 -34
  1141. data/src/core/lib/iomgr/endpoint_pair_posix.cc +0 -81
  1142. data/src/core/lib/iomgr/endpoint_pair_windows.cc +0 -86
  1143. data/src/core/lib/iomgr/error.cc +0 -202
  1144. data/src/core/lib/iomgr/error.h +0 -169
  1145. data/src/core/lib/iomgr/error_cfstream.cc +0 -54
  1146. data/src/core/lib/iomgr/error_cfstream.h +0 -31
  1147. data/src/core/lib/iomgr/ev_apple.cc +0 -360
  1148. data/src/core/lib/iomgr/ev_apple.h +0 -43
  1149. data/src/core/lib/iomgr/ev_epoll1_linux.cc +0 -1368
  1150. data/src/core/lib/iomgr/ev_epoll1_linux.h +0 -31
  1151. data/src/core/lib/iomgr/ev_poll_posix.cc +0 -1444
  1152. data/src/core/lib/iomgr/ev_poll_posix.h +0 -29
  1153. data/src/core/lib/iomgr/ev_posix.cc +0 -375
  1154. data/src/core/lib/iomgr/ev_posix.h +0 -209
  1155. data/src/core/lib/iomgr/ev_windows.cc +0 -30
  1156. data/src/core/lib/iomgr/exec_ctx.cc +0 -132
  1157. data/src/core/lib/iomgr/exec_ctx.h +0 -333
  1158. data/src/core/lib/iomgr/executor.cc +0 -450
  1159. data/src/core/lib/iomgr/executor.h +0 -119
  1160. data/src/core/lib/iomgr/fork_posix.cc +0 -120
  1161. data/src/core/lib/iomgr/fork_windows.cc +0 -41
  1162. data/src/core/lib/iomgr/gethostname.h +0 -26
  1163. data/src/core/lib/iomgr/gethostname_fallback.cc +0 -30
  1164. data/src/core/lib/iomgr/gethostname_host_name_max.cc +0 -40
  1165. data/src/core/lib/iomgr/gethostname_sysconf.cc +0 -40
  1166. data/src/core/lib/iomgr/grpc_if_nametoindex.h +0 -30
  1167. data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +0 -42
  1168. data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +0 -38
  1169. data/src/core/lib/iomgr/internal_errqueue.cc +0 -61
  1170. data/src/core/lib/iomgr/internal_errqueue.h +0 -186
  1171. data/src/core/lib/iomgr/iocp_windows.cc +0 -158
  1172. data/src/core/lib/iomgr/iocp_windows.h +0 -48
  1173. data/src/core/lib/iomgr/iomgr.cc +0 -200
  1174. data/src/core/lib/iomgr/iomgr.h +0 -60
  1175. data/src/core/lib/iomgr/iomgr_fwd.h +0 -26
  1176. data/src/core/lib/iomgr/iomgr_internal.cc +0 -53
  1177. data/src/core/lib/iomgr/iomgr_internal.h +0 -74
  1178. data/src/core/lib/iomgr/iomgr_posix.cc +0 -91
  1179. data/src/core/lib/iomgr/iomgr_posix_cfstream.cc +0 -202
  1180. data/src/core/lib/iomgr/iomgr_windows.cc +0 -106
  1181. data/src/core/lib/iomgr/load_file.cc +0 -77
  1182. data/src/core/lib/iomgr/load_file.h +0 -35
  1183. data/src/core/lib/iomgr/lockfree_event.cc +0 -261
  1184. data/src/core/lib/iomgr/lockfree_event.h +0 -72
  1185. data/src/core/lib/iomgr/nameser.h +0 -106
  1186. data/src/core/lib/iomgr/polling_entity.cc +0 -96
  1187. data/src/core/lib/iomgr/polling_entity.h +0 -74
  1188. data/src/core/lib/iomgr/pollset.cc +0 -56
  1189. data/src/core/lib/iomgr/pollset.h +0 -99
  1190. data/src/core/lib/iomgr/pollset_set.cc +0 -55
  1191. data/src/core/lib/iomgr/pollset_set.h +0 -53
  1192. data/src/core/lib/iomgr/pollset_set_windows.cc +0 -52
  1193. data/src/core/lib/iomgr/pollset_set_windows.h +0 -26
  1194. data/src/core/lib/iomgr/pollset_windows.cc +0 -243
  1195. data/src/core/lib/iomgr/pollset_windows.h +0 -70
  1196. data/src/core/lib/iomgr/port.h +0 -238
  1197. data/src/core/lib/iomgr/python_util.h +0 -47
  1198. data/src/core/lib/iomgr/resolve_address.cc +0 -49
  1199. data/src/core/lib/iomgr/resolve_address.h +0 -116
  1200. data/src/core/lib/iomgr/resolve_address_impl.h +0 -59
  1201. data/src/core/lib/iomgr/resolve_address_posix.cc +0 -204
  1202. data/src/core/lib/iomgr/resolve_address_posix.h +0 -63
  1203. data/src/core/lib/iomgr/resolve_address_windows.cc +0 -196
  1204. data/src/core/lib/iomgr/resolve_address_windows.h +0 -63
  1205. data/src/core/lib/iomgr/resolved_address.h +0 -39
  1206. data/src/core/lib/iomgr/sockaddr.h +0 -32
  1207. data/src/core/lib/iomgr/sockaddr_posix.h +0 -57
  1208. data/src/core/lib/iomgr/sockaddr_utils_posix.cc +0 -63
  1209. data/src/core/lib/iomgr/sockaddr_windows.h +0 -57
  1210. data/src/core/lib/iomgr/socket_factory_posix.cc +0 -95
  1211. data/src/core/lib/iomgr/socket_factory_posix.h +0 -69
  1212. data/src/core/lib/iomgr/socket_mutator.cc +0 -97
  1213. data/src/core/lib/iomgr/socket_mutator.h +0 -84
  1214. data/src/core/lib/iomgr/socket_utils.h +0 -47
  1215. data/src/core/lib/iomgr/socket_utils_common_posix.cc +0 -478
  1216. data/src/core/lib/iomgr/socket_utils_linux.cc +0 -42
  1217. data/src/core/lib/iomgr/socket_utils_posix.cc +0 -141
  1218. data/src/core/lib/iomgr/socket_utils_posix.h +0 -255
  1219. data/src/core/lib/iomgr/socket_utils_windows.cc +0 -47
  1220. data/src/core/lib/iomgr/socket_windows.cc +0 -202
  1221. data/src/core/lib/iomgr/socket_windows.h +0 -125
  1222. data/src/core/lib/iomgr/tcp_client.cc +0 -40
  1223. data/src/core/lib/iomgr/tcp_client.h +0 -66
  1224. data/src/core/lib/iomgr/tcp_client_cfstream.cc +0 -207
  1225. data/src/core/lib/iomgr/tcp_client_posix.cc +0 -469
  1226. data/src/core/lib/iomgr/tcp_client_posix.h +0 -72
  1227. data/src/core/lib/iomgr/tcp_client_windows.cc +0 -239
  1228. data/src/core/lib/iomgr/tcp_posix.cc +0 -2059
  1229. data/src/core/lib/iomgr/tcp_posix.h +0 -67
  1230. data/src/core/lib/iomgr/tcp_server.cc +0 -78
  1231. data/src/core/lib/iomgr/tcp_server.h +0 -150
  1232. data/src/core/lib/iomgr/tcp_server_posix.cc +0 -653
  1233. data/src/core/lib/iomgr/tcp_server_utils_posix.h +0 -129
  1234. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +0 -224
  1235. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +0 -178
  1236. data/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc +0 -36
  1237. data/src/core/lib/iomgr/tcp_server_windows.cc +0 -565
  1238. data/src/core/lib/iomgr/tcp_windows.cc +0 -527
  1239. data/src/core/lib/iomgr/tcp_windows.h +0 -52
  1240. data/src/core/lib/iomgr/timer.cc +0 -46
  1241. data/src/core/lib/iomgr/timer.h +0 -136
  1242. data/src/core/lib/iomgr/timer_generic.cc +0 -729
  1243. data/src/core/lib/iomgr/timer_generic.h +0 -40
  1244. data/src/core/lib/iomgr/timer_heap.cc +0 -134
  1245. data/src/core/lib/iomgr/timer_heap.h +0 -43
  1246. data/src/core/lib/iomgr/timer_manager.cc +0 -363
  1247. data/src/core/lib/iomgr/timer_manager.h +0 -41
  1248. data/src/core/lib/iomgr/unix_sockets_posix.cc +0 -94
  1249. data/src/core/lib/iomgr/unix_sockets_posix.h +0 -46
  1250. data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +0 -53
  1251. data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +0 -81
  1252. data/src/core/lib/iomgr/wakeup_fd_nospecial.cc +0 -39
  1253. data/src/core/lib/iomgr/wakeup_fd_pipe.cc +0 -101
  1254. data/src/core/lib/iomgr/wakeup_fd_pipe.h +0 -28
  1255. data/src/core/lib/iomgr/wakeup_fd_posix.cc +0 -73
  1256. data/src/core/lib/iomgr/wakeup_fd_posix.h +0 -96
  1257. data/src/core/lib/json/json.h +0 -246
  1258. data/src/core/lib/json/json_args.h +0 -34
  1259. data/src/core/lib/json/json_channel_args.h +0 -42
  1260. data/src/core/lib/json/json_object_loader.cc +0 -207
  1261. data/src/core/lib/json/json_object_loader.h +0 -620
  1262. data/src/core/lib/json/json_reader.cc +0 -929
  1263. data/src/core/lib/json/json_util.cc +0 -106
  1264. data/src/core/lib/json/json_util.h +0 -163
  1265. data/src/core/lib/json/json_writer.cc +0 -340
  1266. data/src/core/lib/load_balancing/lb_policy.cc +0 -93
  1267. data/src/core/lib/load_balancing/lb_policy.h +0 -439
  1268. data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
  1269. data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -141
  1270. data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
  1271. data/src/core/lib/load_balancing/subchannel_interface.h +0 -133
  1272. data/src/core/lib/matchers/matchers.cc +0 -329
  1273. data/src/core/lib/matchers/matchers.h +0 -162
  1274. data/src/core/lib/promise/activity.cc +0 -134
  1275. data/src/core/lib/promise/activity.h +0 -604
  1276. data/src/core/lib/promise/arena_promise.h +0 -230
  1277. data/src/core/lib/promise/context.h +0 -92
  1278. data/src/core/lib/promise/detail/basic_seq.h +0 -497
  1279. data/src/core/lib/promise/detail/promise_factory.h +0 -235
  1280. data/src/core/lib/promise/detail/promise_like.h +0 -85
  1281. data/src/core/lib/promise/detail/status.h +0 -78
  1282. data/src/core/lib/promise/detail/switch.h +0 -1455
  1283. data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +0 -50
  1284. data/src/core/lib/promise/for_each.h +0 -129
  1285. data/src/core/lib/promise/intra_activity_waiter.h +0 -49
  1286. data/src/core/lib/promise/latch.h +0 -103
  1287. data/src/core/lib/promise/loop.h +0 -138
  1288. data/src/core/lib/promise/map.h +0 -87
  1289. data/src/core/lib/promise/map_pipe.h +0 -87
  1290. data/src/core/lib/promise/pipe.cc +0 -19
  1291. data/src/core/lib/promise/pipe.h +0 -505
  1292. data/src/core/lib/promise/poll.h +0 -79
  1293. data/src/core/lib/promise/promise.h +0 -96
  1294. data/src/core/lib/promise/race.h +0 -83
  1295. data/src/core/lib/promise/seq.h +0 -106
  1296. data/src/core/lib/promise/sleep.cc +0 -90
  1297. data/src/core/lib/promise/sleep.h +0 -84
  1298. data/src/core/lib/promise/try_concurrently.h +0 -341
  1299. data/src/core/lib/promise/try_seq.h +0 -174
  1300. data/src/core/lib/resolver/resolver.cc +0 -37
  1301. data/src/core/lib/resolver/resolver.h +0 -138
  1302. data/src/core/lib/resolver/resolver_factory.h +0 -77
  1303. data/src/core/lib/resolver/resolver_registry.cc +0 -149
  1304. data/src/core/lib/resolver/resolver_registry.h +0 -123
  1305. data/src/core/lib/resolver/server_address.cc +0 -181
  1306. data/src/core/lib/resolver/server_address.h +0 -145
  1307. data/src/core/lib/resource_quota/api.cc +0 -104
  1308. data/src/core/lib/resource_quota/api.h +0 -49
  1309. data/src/core/lib/resource_quota/arena.cc +0 -138
  1310. data/src/core/lib/resource_quota/arena.h +0 -252
  1311. data/src/core/lib/resource_quota/memory_quota.cc +0 -603
  1312. data/src/core/lib/resource_quota/memory_quota.h +0 -530
  1313. data/src/core/lib/resource_quota/periodic_update.cc +0 -78
  1314. data/src/core/lib/resource_quota/periodic_update.h +0 -71
  1315. data/src/core/lib/resource_quota/resource_quota.cc +0 -33
  1316. data/src/core/lib/resource_quota/resource_quota.h +0 -74
  1317. data/src/core/lib/resource_quota/thread_quota.cc +0 -45
  1318. data/src/core/lib/resource_quota/thread_quota.h +0 -61
  1319. data/src/core/lib/resource_quota/trace.cc +0 -19
  1320. data/src/core/lib/resource_quota/trace.h +0 -24
  1321. data/src/core/lib/security/authorization/authorization_engine.h +0 -44
  1322. data/src/core/lib/security/authorization/authorization_policy_provider.h +0 -47
  1323. data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +0 -50
  1324. data/src/core/lib/security/authorization/evaluate_args.cc +0 -221
  1325. data/src/core/lib/security/authorization/evaluate_args.h +0 -95
  1326. data/src/core/lib/security/authorization/grpc_authorization_engine.cc +0 -64
  1327. data/src/core/lib/security/authorization/grpc_authorization_engine.h +0 -69
  1328. data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +0 -122
  1329. data/src/core/lib/security/authorization/grpc_server_authz_filter.h +0 -61
  1330. data/src/core/lib/security/authorization/matchers.cc +0 -241
  1331. data/src/core/lib/security/authorization/matchers.h +0 -218
  1332. data/src/core/lib/security/authorization/rbac_policy.cc +0 -445
  1333. data/src/core/lib/security/authorization/rbac_policy.h +0 -178
  1334. data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +0 -66
  1335. data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +0 -60
  1336. data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +0 -70
  1337. data/src/core/lib/security/context/security_context.cc +0 -330
  1338. data/src/core/lib/security/context/security_context.h +0 -181
  1339. data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -119
  1340. data/src/core/lib/security/credentials/alts/alts_credentials.h +0 -123
  1341. data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +0 -72
  1342. data/src/core/lib/security/credentials/alts/check_gcp_environment.h +0 -57
  1343. data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +0 -68
  1344. data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +0 -33
  1345. data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +0 -102
  1346. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +0 -125
  1347. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +0 -46
  1348. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +0 -75
  1349. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +0 -56
  1350. data/src/core/lib/security/credentials/call_creds_util.cc +0 -97
  1351. data/src/core/lib/security/credentials/call_creds_util.h +0 -43
  1352. data/src/core/lib/security/credentials/channel_creds_registry.h +0 -103
  1353. data/src/core/lib/security/credentials/channel_creds_registry_init.cc +0 -80
  1354. data/src/core/lib/security/credentials/composite/composite_credentials.cc +0 -171
  1355. data/src/core/lib/security/credentials/composite/composite_credentials.h +0 -132
  1356. data/src/core/lib/security/credentials/credentials.cc +0 -159
  1357. data/src/core/lib/security/credentials/credentials.h +0 -298
  1358. data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +0 -546
  1359. data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +0 -100
  1360. data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -224
  1361. data/src/core/lib/security/credentials/external/aws_request_signer.h +0 -72
  1362. data/src/core/lib/security/credentials/external/external_account_credentials.cc +0 -561
  1363. data/src/core/lib/security/credentials/external/external_account_credentials.h +0 -129
  1364. data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +0 -138
  1365. data/src/core/lib/security/credentials/external/file_external_account_credentials.h +0 -55
  1366. data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +0 -242
  1367. data/src/core/lib/security/credentials/external/url_external_account_credentials.h +0 -71
  1368. data/src/core/lib/security/credentials/fake/fake_credentials.cc +0 -113
  1369. data/src/core/lib/security/credentials/fake/fake_credentials.h +0 -96
  1370. data/src/core/lib/security/credentials/google_default/credentials_generic.cc +0 -40
  1371. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +0 -503
  1372. data/src/core/lib/security/credentials/google_default/google_default_credentials.h +0 -100
  1373. data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -83
  1374. data/src/core/lib/security/credentials/iam/iam_credentials.h +0 -65
  1375. data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -73
  1376. data/src/core/lib/security/credentials/insecure/insecure_credentials.h +0 -61
  1377. data/src/core/lib/security/credentials/jwt/json_token.cc +0 -297
  1378. data/src/core/lib/security/credentials/jwt/json_token.h +0 -76
  1379. data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +0 -183
  1380. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -107
  1381. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +0 -957
  1382. data/src/core/lib/security/credentials/jwt/jwt_verifier.h +0 -124
  1383. data/src/core/lib/security/credentials/local/local_credentials.cc +0 -71
  1384. data/src/core/lib/security/credentials/local/local_credentials.h +0 -77
  1385. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +0 -745
  1386. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -220
  1387. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +0 -215
  1388. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +0 -125
  1389. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +0 -381
  1390. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +0 -131
  1391. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -340
  1392. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +0 -216
  1393. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -472
  1394. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -206
  1395. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +0 -241
  1396. data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +0 -168
  1397. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +0 -122
  1398. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +0 -117
  1399. data/src/core/lib/security/credentials/tls/tls_credentials.cc +0 -150
  1400. data/src/core/lib/security/credentials/tls/tls_credentials.h +0 -71
  1401. data/src/core/lib/security/credentials/tls/tls_utils.cc +0 -127
  1402. data/src/core/lib/security/credentials/tls/tls_utils.h +0 -51
  1403. data/src/core/lib/security/credentials/xds/xds_credentials.cc +0 -236
  1404. data/src/core/lib/security/credentials/xds/xds_credentials.h +0 -114
  1405. data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +0 -312
  1406. data/src/core/lib/security/security_connector/alts/alts_security_connector.h +0 -79
  1407. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +0 -315
  1408. data/src/core/lib/security/security_connector/fake/fake_security_connector.h +0 -43
  1409. data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +0 -120
  1410. data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +0 -104
  1411. data/src/core/lib/security/security_connector/load_system_roots.h +0 -33
  1412. data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +0 -35
  1413. data/src/core/lib/security/security_connector/load_system_roots_supported.cc +0 -175
  1414. data/src/core/lib/security/security_connector/load_system_roots_supported.h +0 -46
  1415. data/src/core/lib/security/security_connector/local/local_security_connector.cc +0 -306
  1416. data/src/core/lib/security/security_connector/local/local_security_connector.h +0 -63
  1417. data/src/core/lib/security/security_connector/security_connector.cc +0 -127
  1418. data/src/core/lib/security/security_connector/security_connector.h +0 -201
  1419. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +0 -458
  1420. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +0 -83
  1421. data/src/core/lib/security/security_connector/ssl_utils.cc +0 -625
  1422. data/src/core/lib/security/security_connector/ssl_utils.h +0 -187
  1423. data/src/core/lib/security/security_connector/ssl_utils_config.cc +0 -32
  1424. data/src/core/lib/security/security_connector/ssl_utils_config.h +0 -30
  1425. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +0 -828
  1426. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +0 -286
  1427. data/src/core/lib/security/transport/auth_filters.h +0 -76
  1428. data/src/core/lib/security/transport/client_auth_filter.cc +0 -227
  1429. data/src/core/lib/security/transport/secure_endpoint.cc +0 -566
  1430. data/src/core/lib/security/transport/secure_endpoint.h +0 -43
  1431. data/src/core/lib/security/transport/security_handshaker.cc +0 -673
  1432. data/src/core/lib/security/transport/security_handshaker.h +0 -51
  1433. data/src/core/lib/security/transport/server_auth_filter.cc +0 -360
  1434. data/src/core/lib/security/transport/tsi_error.cc +0 -31
  1435. data/src/core/lib/security/transport/tsi_error.h +0 -30
  1436. data/src/core/lib/security/util/json_util.cc +0 -70
  1437. data/src/core/lib/security/util/json_util.h +0 -43
  1438. data/src/core/lib/service_config/service_config.h +0 -89
  1439. data/src/core/lib/service_config/service_config_call_data.h +0 -76
  1440. data/src/core/lib/service_config/service_config_impl.cc +0 -191
  1441. data/src/core/lib/service_config/service_config_impl.h +0 -125
  1442. data/src/core/lib/service_config/service_config_parser.cc +0 -81
  1443. data/src/core/lib/service_config/service_config_parser.h +0 -105
  1444. data/src/core/lib/slice/b64.cc +0 -239
  1445. data/src/core/lib/slice/b64.h +0 -52
  1446. data/src/core/lib/slice/percent_encoding.cc +0 -150
  1447. data/src/core/lib/slice/percent_encoding.h +0 -54
  1448. data/src/core/lib/slice/slice.cc +0 -502
  1449. data/src/core/lib/slice/slice.h +0 -402
  1450. data/src/core/lib/slice/slice_buffer.cc +0 -472
  1451. data/src/core/lib/slice/slice_buffer.h +0 -137
  1452. data/src/core/lib/slice/slice_internal.h +0 -97
  1453. data/src/core/lib/slice/slice_refcount.h +0 -60
  1454. data/src/core/lib/slice/slice_string_helpers.cc +0 -28
  1455. data/src/core/lib/slice/slice_string_helpers.h +0 -31
  1456. data/src/core/lib/surface/api_trace.cc +0 -25
  1457. data/src/core/lib/surface/api_trace.h +0 -53
  1458. data/src/core/lib/surface/builtins.cc +0 -54
  1459. data/src/core/lib/surface/builtins.h +0 -26
  1460. data/src/core/lib/surface/byte_buffer.cc +0 -97
  1461. data/src/core/lib/surface/byte_buffer_reader.cc +0 -101
  1462. data/src/core/lib/surface/call.cc +0 -3043
  1463. data/src/core/lib/surface/call.h +0 -179
  1464. data/src/core/lib/surface/call_details.cc +0 -41
  1465. data/src/core/lib/surface/call_log_batch.cc +0 -117
  1466. data/src/core/lib/surface/call_test_only.h +0 -46
  1467. data/src/core/lib/surface/call_trace.cc +0 -113
  1468. data/src/core/lib/surface/call_trace.h +0 -30
  1469. data/src/core/lib/surface/channel.cc +0 -437
  1470. data/src/core/lib/surface/channel.h +0 -214
  1471. data/src/core/lib/surface/channel_init.cc +0 -55
  1472. data/src/core/lib/surface/channel_init.h +0 -84
  1473. data/src/core/lib/surface/channel_ping.cc +0 -69
  1474. data/src/core/lib/surface/channel_stack_type.cc +0 -61
  1475. data/src/core/lib/surface/channel_stack_type.h +0 -47
  1476. data/src/core/lib/surface/completion_queue.cc +0 -1411
  1477. data/src/core/lib/surface/completion_queue.h +0 -100
  1478. data/src/core/lib/surface/completion_queue_factory.cc +0 -94
  1479. data/src/core/lib/surface/completion_queue_factory.h +0 -37
  1480. data/src/core/lib/surface/event_string.cc +0 -56
  1481. data/src/core/lib/surface/event_string.h +0 -31
  1482. data/src/core/lib/surface/init.cc +0 -229
  1483. data/src/core/lib/surface/init.h +0 -25
  1484. data/src/core/lib/surface/init_internally.cc +0 -24
  1485. data/src/core/lib/surface/init_internally.h +0 -36
  1486. data/src/core/lib/surface/lame_client.cc +0 -154
  1487. data/src/core/lib/surface/lame_client.h +0 -71
  1488. data/src/core/lib/surface/metadata_array.cc +0 -38
  1489. data/src/core/lib/surface/server.cc +0 -1555
  1490. data/src/core/lib/surface/server.h +0 -525
  1491. data/src/core/lib/surface/validate_metadata.cc +0 -122
  1492. data/src/core/lib/surface/validate_metadata.h +0 -48
  1493. data/src/core/lib/surface/version.cc +0 -28
  1494. data/src/core/lib/transport/bdp_estimator.cc +0 -86
  1495. data/src/core/lib/transport/bdp_estimator.h +0 -94
  1496. data/src/core/lib/transport/connectivity_state.cc +0 -189
  1497. data/src/core/lib/transport/connectivity_state.h +0 -144
  1498. data/src/core/lib/transport/error_utils.cc +0 -171
  1499. data/src/core/lib/transport/error_utils.h +0 -63
  1500. data/src/core/lib/transport/handshaker.cc +0 -225
  1501. data/src/core/lib/transport/handshaker.h +0 -167
  1502. data/src/core/lib/transport/handshaker_factory.h +0 -74
  1503. data/src/core/lib/transport/handshaker_registry.cc +0 -61
  1504. data/src/core/lib/transport/handshaker_registry.h +0 -69
  1505. data/src/core/lib/transport/http2_errors.h +0 -41
  1506. data/src/core/lib/transport/http_connect_handshaker.cc +0 -400
  1507. data/src/core/lib/transport/http_connect_handshaker.h +0 -42
  1508. data/src/core/lib/transport/metadata_batch.cc +0 -291
  1509. data/src/core/lib/transport/metadata_batch.h +0 -1326
  1510. data/src/core/lib/transport/parsed_metadata.cc +0 -35
  1511. data/src/core/lib/transport/parsed_metadata.h +0 -409
  1512. data/src/core/lib/transport/pid_controller.cc +0 -51
  1513. data/src/core/lib/transport/pid_controller.h +0 -116
  1514. data/src/core/lib/transport/status_conversion.cc +0 -92
  1515. data/src/core/lib/transport/status_conversion.h +0 -38
  1516. data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -246
  1517. data/src/core/lib/transport/tcp_connect_handshaker.h +0 -39
  1518. data/src/core/lib/transport/timeout_encoding.cc +0 -284
  1519. data/src/core/lib/transport/timeout_encoding.h +0 -72
  1520. data/src/core/lib/transport/transport.cc +0 -285
  1521. data/src/core/lib/transport/transport.h +0 -590
  1522. data/src/core/lib/transport/transport_fwd.h +0 -20
  1523. data/src/core/lib/transport/transport_impl.h +0 -95
  1524. data/src/core/lib/transport/transport_op_string.cc +0 -147
  1525. data/src/core/lib/uri/uri_parser.cc +0 -373
  1526. data/src/core/lib/uri/uri_parser.h +0 -101
  1527. data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -113
  1528. data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -61
  1529. data/src/core/tsi/alts/crypt/aes_gcm.cc +0 -690
  1530. data/src/core/tsi/alts/crypt/gsec.cc +0 -190
  1531. data/src/core/tsi/alts/crypt/gsec.h +0 -459
  1532. data/src/core/tsi/alts/frame_protector/alts_counter.cc +0 -118
  1533. data/src/core/tsi/alts/frame_protector/alts_counter.h +0 -98
  1534. data/src/core/tsi/alts/frame_protector/alts_crypter.cc +0 -66
  1535. data/src/core/tsi/alts/frame_protector/alts_crypter.h +0 -255
  1536. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +0 -408
  1537. data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +0 -55
  1538. data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc +0 -114
  1539. data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h +0 -114
  1540. data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +0 -105
  1541. data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +0 -103
  1542. data/src/core/tsi/alts/frame_protector/frame_handler.cc +0 -219
  1543. data/src/core/tsi/alts/frame_protector/frame_handler.h +0 -236
  1544. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +0 -927
  1545. data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +0 -160
  1546. data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +0 -91
  1547. data/src/core/tsi/alts/handshaker/alts_shared_resource.h +0 -73
  1548. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +0 -720
  1549. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +0 -104
  1550. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h +0 -89
  1551. data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +0 -65
  1552. data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +0 -53
  1553. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +0 -223
  1554. data/src/core/tsi/alts/handshaker/transport_security_common_api.h +0 -171
  1555. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +0 -226
  1556. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +0 -54
  1557. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +0 -145
  1558. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +0 -49
  1559. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h +0 -91
  1560. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +0 -174
  1561. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h +0 -99
  1562. data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +0 -478
  1563. data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +0 -199
  1564. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +0 -315
  1565. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +0 -57
  1566. data/src/core/tsi/fake_transport_security.cc +0 -844
  1567. data/src/core/tsi/fake_transport_security.h +0 -53
  1568. data/src/core/tsi/local_transport_security.cc +0 -174
  1569. data/src/core/tsi/local_transport_security.h +0 -47
  1570. data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +0 -145
  1571. data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +0 -81
  1572. data/src/core/tsi/ssl/session_cache/ssl_session.h +0 -71
  1573. data/src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc +0 -59
  1574. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +0 -179
  1575. data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +0 -99
  1576. data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +0 -81
  1577. data/src/core/tsi/ssl_transport_security.cc +0 -2441
  1578. data/src/core/tsi/ssl_transport_security.h +0 -405
  1579. data/src/core/tsi/ssl_types.h +0 -42
  1580. data/src/core/tsi/transport_security.cc +0 -396
  1581. data/src/core/tsi/transport_security.h +0 -143
  1582. data/src/core/tsi/transport_security_grpc.cc +0 -74
  1583. data/src/core/tsi/transport_security_grpc.h +0 -83
  1584. data/src/core/tsi/transport_security_interface.h +0 -521
  1585. data/third_party/abseil-cpp/absl/algorithm/algorithm.h +0 -159
  1586. data/third_party/abseil-cpp/absl/algorithm/container.h +0 -1774
  1587. data/third_party/abseil-cpp/absl/base/attributes.h +0 -762
  1588. data/third_party/abseil-cpp/absl/base/call_once.h +0 -219
  1589. data/third_party/abseil-cpp/absl/base/casts.h +0 -180
  1590. data/third_party/abseil-cpp/absl/base/config.h +0 -913
  1591. data/third_party/abseil-cpp/absl/base/const_init.h +0 -76
  1592. data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +0 -471
  1593. data/third_party/abseil-cpp/absl/base/internal/atomic_hook.h +0 -200
  1594. data/third_party/abseil-cpp/absl/base/internal/cycleclock.cc +0 -77
  1595. data/third_party/abseil-cpp/absl/base/internal/cycleclock.h +0 -159
  1596. data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +0 -169
  1597. data/third_party/abseil-cpp/absl/base/internal/dynamic_annotations.h +0 -398
  1598. data/third_party/abseil-cpp/absl/base/internal/endian.h +0 -282
  1599. data/third_party/abseil-cpp/absl/base/internal/errno_saver.h +0 -43
  1600. data/third_party/abseil-cpp/absl/base/internal/fast_type_id.h +0 -50
  1601. data/third_party/abseil-cpp/absl/base/internal/hide_ptr.h +0 -51
  1602. data/third_party/abseil-cpp/absl/base/internal/identity.h +0 -37
  1603. data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +0 -107
  1604. data/third_party/abseil-cpp/absl/base/internal/invoke.h +0 -241
  1605. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +0 -620
  1606. data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +0 -126
  1607. data/third_party/abseil-cpp/absl/base/internal/low_level_scheduling.h +0 -134
  1608. data/third_party/abseil-cpp/absl/base/internal/per_thread_tls.h +0 -52
  1609. data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -138
  1610. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +0 -249
  1611. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +0 -196
  1612. data/third_party/abseil-cpp/absl/base/internal/scheduling_mode.h +0 -58
  1613. data/third_party/abseil-cpp/absl/base/internal/spinlock.cc +0 -232
  1614. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +0 -256
  1615. data/third_party/abseil-cpp/absl/base/internal/spinlock_akaros.inc +0 -35
  1616. data/third_party/abseil-cpp/absl/base/internal/spinlock_linux.inc +0 -71
  1617. data/third_party/abseil-cpp/absl/base/internal/spinlock_posix.inc +0 -46
  1618. data/third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc +0 -81
  1619. data/third_party/abseil-cpp/absl/base/internal/spinlock_wait.h +0 -95
  1620. data/third_party/abseil-cpp/absl/base/internal/spinlock_win32.inc +0 -37
  1621. data/third_party/abseil-cpp/absl/base/internal/strerror.cc +0 -88
  1622. data/third_party/abseil-cpp/absl/base/internal/strerror.h +0 -39
  1623. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +0 -507
  1624. data/third_party/abseil-cpp/absl/base/internal/sysinfo.h +0 -74
  1625. data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -271
  1626. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +0 -156
  1627. data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +0 -265
  1628. data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +0 -212
  1629. data/third_party/abseil-cpp/absl/base/internal/throw_delegate.h +0 -75
  1630. data/third_party/abseil-cpp/absl/base/internal/tsan_mutex_interface.h +0 -68
  1631. data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +0 -82
  1632. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +0 -153
  1633. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.h +0 -133
  1634. data/third_party/abseil-cpp/absl/base/log_severity.cc +0 -55
  1635. data/third_party/abseil-cpp/absl/base/log_severity.h +0 -172
  1636. data/third_party/abseil-cpp/absl/base/macros.h +0 -158
  1637. data/third_party/abseil-cpp/absl/base/optimization.h +0 -252
  1638. data/third_party/abseil-cpp/absl/base/options.h +0 -238
  1639. data/third_party/abseil-cpp/absl/base/policy_checks.h +0 -111
  1640. data/third_party/abseil-cpp/absl/base/port.h +0 -25
  1641. data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -335
  1642. data/third_party/abseil-cpp/absl/cleanup/cleanup.h +0 -140
  1643. data/third_party/abseil-cpp/absl/cleanup/internal/cleanup.h +0 -100
  1644. data/third_party/abseil-cpp/absl/container/fixed_array.h +0 -529
  1645. data/third_party/abseil-cpp/absl/container/flat_hash_map.h +0 -613
  1646. data/third_party/abseil-cpp/absl/container/flat_hash_set.h +0 -510
  1647. data/third_party/abseil-cpp/absl/container/inlined_vector.h +0 -866
  1648. data/third_party/abseil-cpp/absl/container/internal/common.h +0 -207
  1649. data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +0 -290
  1650. data/third_party/abseil-cpp/absl/container/internal/container_memory.h +0 -442
  1651. data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +0 -163
  1652. data/third_party/abseil-cpp/absl/container/internal/hash_policy_traits.h +0 -208
  1653. data/third_party/abseil-cpp/absl/container/internal/hashtable_debug_hooks.h +0 -85
  1654. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +0 -238
  1655. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +0 -299
  1656. data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc +0 -31
  1657. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +0 -953
  1658. data/third_party/abseil-cpp/absl/container/internal/layout.h +0 -743
  1659. data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +0 -198
  1660. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +0 -71
  1661. data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +0 -2365
  1662. data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +0 -96
  1663. data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.h +0 -32
  1664. data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +0 -1959
  1665. data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +0 -71
  1666. data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc +0 -387
  1667. data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +0 -139
  1668. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +0 -204
  1669. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_arm-inl.inc +0 -139
  1670. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h +0 -88
  1671. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_emscripten-inl.inc +0 -110
  1672. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_generic-inl.inc +0 -108
  1673. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +0 -258
  1674. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_riscv-inl.inc +0 -236
  1675. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_unimplemented-inl.inc +0 -24
  1676. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_win32-inl.inc +0 -93
  1677. data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +0 -369
  1678. data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +0 -153
  1679. data/third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc +0 -204
  1680. data/third_party/abseil-cpp/absl/debugging/internal/vdso_support.h +0 -158
  1681. data/third_party/abseil-cpp/absl/debugging/stacktrace.cc +0 -142
  1682. data/third_party/abseil-cpp/absl/debugging/stacktrace.h +0 -231
  1683. data/third_party/abseil-cpp/absl/debugging/symbolize.cc +0 -43
  1684. data/third_party/abseil-cpp/absl/debugging/symbolize.h +0 -99
  1685. data/third_party/abseil-cpp/absl/debugging/symbolize_darwin.inc +0 -101
  1686. data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +0 -1613
  1687. data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +0 -72
  1688. data/third_party/abseil-cpp/absl/debugging/symbolize_unimplemented.inc +0 -40
  1689. data/third_party/abseil-cpp/absl/debugging/symbolize_win32.inc +0 -81
  1690. data/third_party/abseil-cpp/absl/functional/any_invocable.h +0 -313
  1691. data/third_party/abseil-cpp/absl/functional/bind_front.h +0 -193
  1692. data/third_party/abseil-cpp/absl/functional/function_ref.h +0 -143
  1693. data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +0 -857
  1694. data/third_party/abseil-cpp/absl/functional/internal/front_binder.h +0 -95
  1695. data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +0 -106
  1696. data/third_party/abseil-cpp/absl/hash/hash.h +0 -421
  1697. data/third_party/abseil-cpp/absl/hash/internal/city.cc +0 -349
  1698. data/third_party/abseil-cpp/absl/hash/internal/city.h +0 -78
  1699. data/third_party/abseil-cpp/absl/hash/internal/hash.cc +0 -69
  1700. data/third_party/abseil-cpp/absl/hash/internal/hash.h +0 -1291
  1701. data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +0 -123
  1702. data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.h +0 -50
  1703. data/third_party/abseil-cpp/absl/memory/memory.h +0 -699
  1704. data/third_party/abseil-cpp/absl/meta/type_traits.h +0 -797
  1705. data/third_party/abseil-cpp/absl/numeric/bits.h +0 -178
  1706. data/third_party/abseil-cpp/absl/numeric/int128.cc +0 -385
  1707. data/third_party/abseil-cpp/absl/numeric/int128.h +0 -1165
  1708. data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -296
  1709. data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +0 -311
  1710. data/third_party/abseil-cpp/absl/numeric/internal/bits.h +0 -358
  1711. data/third_party/abseil-cpp/absl/numeric/internal/representation.h +0 -55
  1712. data/third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc +0 -93
  1713. data/third_party/abseil-cpp/absl/profiling/internal/exponential_biased.h +0 -130
  1714. data/third_party/abseil-cpp/absl/profiling/internal/sample_recorder.h +0 -245
  1715. data/third_party/abseil-cpp/absl/random/bernoulli_distribution.h +0 -200
  1716. data/third_party/abseil-cpp/absl/random/beta_distribution.h +0 -427
  1717. data/third_party/abseil-cpp/absl/random/discrete_distribution.cc +0 -98
  1718. data/third_party/abseil-cpp/absl/random/discrete_distribution.h +0 -247
  1719. data/third_party/abseil-cpp/absl/random/distributions.h +0 -452
  1720. data/third_party/abseil-cpp/absl/random/exponential_distribution.h +0 -165
  1721. data/third_party/abseil-cpp/absl/random/gaussian_distribution.cc +0 -104
  1722. data/third_party/abseil-cpp/absl/random/gaussian_distribution.h +0 -275
  1723. data/third_party/abseil-cpp/absl/random/internal/distribution_caller.h +0 -95
  1724. data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +0 -269
  1725. data/third_party/abseil-cpp/absl/random/internal/fastmath.h +0 -57
  1726. data/third_party/abseil-cpp/absl/random/internal/generate_real.h +0 -144
  1727. data/third_party/abseil-cpp/absl/random/internal/iostream_state_saver.h +0 -245
  1728. data/third_party/abseil-cpp/absl/random/internal/nonsecure_base.h +0 -161
  1729. data/third_party/abseil-cpp/absl/random/internal/pcg_engine.h +0 -308
  1730. data/third_party/abseil-cpp/absl/random/internal/platform.h +0 -171
  1731. data/third_party/abseil-cpp/absl/random/internal/pool_urbg.cc +0 -253
  1732. data/third_party/abseil-cpp/absl/random/internal/pool_urbg.h +0 -131
  1733. data/third_party/abseil-cpp/absl/random/internal/randen.cc +0 -91
  1734. data/third_party/abseil-cpp/absl/random/internal/randen.h +0 -96
  1735. data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +0 -225
  1736. data/third_party/abseil-cpp/absl/random/internal/randen_detect.h +0 -33
  1737. data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +0 -264
  1738. data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +0 -526
  1739. data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.h +0 -50
  1740. data/third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc +0 -462
  1741. data/third_party/abseil-cpp/absl/random/internal/randen_slow.cc +0 -471
  1742. data/third_party/abseil-cpp/absl/random/internal/randen_slow.h +0 -40
  1743. data/third_party/abseil-cpp/absl/random/internal/randen_traits.h +0 -88
  1744. data/third_party/abseil-cpp/absl/random/internal/salted_seed_seq.h +0 -165
  1745. data/third_party/abseil-cpp/absl/random/internal/seed_material.cc +0 -267
  1746. data/third_party/abseil-cpp/absl/random/internal/seed_material.h +0 -104
  1747. data/third_party/abseil-cpp/absl/random/internal/traits.h +0 -149
  1748. data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +0 -244
  1749. data/third_party/abseil-cpp/absl/random/internal/wide_multiply.h +0 -96
  1750. data/third_party/abseil-cpp/absl/random/log_uniform_int_distribution.h +0 -256
  1751. data/third_party/abseil-cpp/absl/random/poisson_distribution.h +0 -261
  1752. data/third_party/abseil-cpp/absl/random/random.h +0 -189
  1753. data/third_party/abseil-cpp/absl/random/seed_gen_exception.cc +0 -46
  1754. data/third_party/abseil-cpp/absl/random/seed_gen_exception.h +0 -55
  1755. data/third_party/abseil-cpp/absl/random/seed_sequences.cc +0 -29
  1756. data/third_party/abseil-cpp/absl/random/seed_sequences.h +0 -111
  1757. data/third_party/abseil-cpp/absl/random/uniform_int_distribution.h +0 -275
  1758. data/third_party/abseil-cpp/absl/random/uniform_real_distribution.h +0 -202
  1759. data/third_party/abseil-cpp/absl/random/zipf_distribution.h +0 -272
  1760. data/third_party/abseil-cpp/absl/status/internal/status_internal.h +0 -86
  1761. data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +0 -396
  1762. data/third_party/abseil-cpp/absl/status/status.cc +0 -616
  1763. data/third_party/abseil-cpp/absl/status/status.h +0 -892
  1764. data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +0 -38
  1765. data/third_party/abseil-cpp/absl/status/status_payload_printer.h +0 -51
  1766. data/third_party/abseil-cpp/absl/status/statusor.cc +0 -103
  1767. data/third_party/abseil-cpp/absl/status/statusor.h +0 -776
  1768. data/third_party/abseil-cpp/absl/strings/ascii.cc +0 -200
  1769. data/third_party/abseil-cpp/absl/strings/ascii.h +0 -242
  1770. data/third_party/abseil-cpp/absl/strings/charconv.cc +0 -984
  1771. data/third_party/abseil-cpp/absl/strings/charconv.h +0 -120
  1772. data/third_party/abseil-cpp/absl/strings/cord.cc +0 -1328
  1773. data/third_party/abseil-cpp/absl/strings/cord.h +0 -1642
  1774. data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +0 -188
  1775. data/third_party/abseil-cpp/absl/strings/cord_analysis.h +0 -44
  1776. data/third_party/abseil-cpp/absl/strings/cord_buffer.cc +0 -30
  1777. data/third_party/abseil-cpp/absl/strings/cord_buffer.h +0 -572
  1778. data/third_party/abseil-cpp/absl/strings/escaping.cc +0 -949
  1779. data/third_party/abseil-cpp/absl/strings/escaping.h +0 -164
  1780. data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -156
  1781. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +0 -359
  1782. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +0 -423
  1783. data/third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc +0 -504
  1784. data/third_party/abseil-cpp/absl/strings/internal/charconv_parse.h +0 -99
  1785. data/third_party/abseil-cpp/absl/strings/internal/cord_data_edge.h +0 -63
  1786. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -77
  1787. data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +0 -655
  1788. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +0 -1228
  1789. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +0 -924
  1790. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc +0 -187
  1791. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.h +0 -267
  1792. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc +0 -69
  1793. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.h +0 -212
  1794. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +0 -62
  1795. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +0 -50
  1796. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc +0 -54
  1797. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.h +0 -102
  1798. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +0 -187
  1799. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
  1800. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
  1801. data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
  1802. data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc +0 -96
  1803. data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.h +0 -85
  1804. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +0 -139
  1805. data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +0 -131
  1806. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +0 -418
  1807. data/third_party/abseil-cpp/absl/strings/internal/cordz_info.h +0 -298
  1808. data/third_party/abseil-cpp/absl/strings/internal/cordz_statistics.h +0 -88
  1809. data/third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h +0 -71
  1810. data/third_party/abseil-cpp/absl/strings/internal/cordz_update_tracker.h +0 -123
  1811. data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +0 -181
  1812. data/third_party/abseil-cpp/absl/strings/internal/escaping.h +0 -58
  1813. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +0 -112
  1814. data/third_party/abseil-cpp/absl/strings/internal/memutil.h +0 -148
  1815. data/third_party/abseil-cpp/absl/strings/internal/ostringstream.cc +0 -36
  1816. data/third_party/abseil-cpp/absl/strings/internal/ostringstream.h +0 -89
  1817. data/third_party/abseil-cpp/absl/strings/internal/resize_uninitialized.h +0 -119
  1818. data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +0 -248
  1819. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +0 -488
  1820. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +0 -526
  1821. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +0 -258
  1822. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +0 -248
  1823. data/third_party/abseil-cpp/absl/strings/internal/str_format/checker.h +0 -338
  1824. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc +0 -74
  1825. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +0 -448
  1826. data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +0 -1423
  1827. data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.h +0 -37
  1828. data/third_party/abseil-cpp/absl/strings/internal/str_format/output.cc +0 -72
  1829. data/third_party/abseil-cpp/absl/strings/internal/str_format/output.h +0 -97
  1830. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc +0 -339
  1831. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +0 -359
  1832. data/third_party/abseil-cpp/absl/strings/internal/str_join_internal.h +0 -317
  1833. data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +0 -430
  1834. data/third_party/abseil-cpp/absl/strings/internal/string_constant.h +0 -72
  1835. data/third_party/abseil-cpp/absl/strings/internal/utf8.cc +0 -53
  1836. data/third_party/abseil-cpp/absl/strings/internal/utf8.h +0 -50
  1837. data/third_party/abseil-cpp/absl/strings/match.cc +0 -43
  1838. data/third_party/abseil-cpp/absl/strings/match.h +0 -100
  1839. data/third_party/abseil-cpp/absl/strings/numbers.cc +0 -1093
  1840. data/third_party/abseil-cpp/absl/strings/numbers.h +0 -303
  1841. data/third_party/abseil-cpp/absl/strings/str_cat.cc +0 -246
  1842. data/third_party/abseil-cpp/absl/strings/str_cat.h +0 -415
  1843. data/third_party/abseil-cpp/absl/strings/str_format.h +0 -812
  1844. data/third_party/abseil-cpp/absl/strings/str_join.h +0 -287
  1845. data/third_party/abseil-cpp/absl/strings/str_replace.cc +0 -82
  1846. data/third_party/abseil-cpp/absl/strings/str_replace.h +0 -219
  1847. data/third_party/abseil-cpp/absl/strings/str_split.cc +0 -139
  1848. data/third_party/abseil-cpp/absl/strings/str_split.h +0 -547
  1849. data/third_party/abseil-cpp/absl/strings/string_view.cc +0 -219
  1850. data/third_party/abseil-cpp/absl/strings/string_view.h +0 -711
  1851. data/third_party/abseil-cpp/absl/strings/strip.h +0 -93
  1852. data/third_party/abseil-cpp/absl/strings/substitute.cc +0 -172
  1853. data/third_party/abseil-cpp/absl/strings/substitute.h +0 -729
  1854. data/third_party/abseil-cpp/absl/synchronization/barrier.cc +0 -52
  1855. data/third_party/abseil-cpp/absl/synchronization/barrier.h +0 -79
  1856. data/third_party/abseil-cpp/absl/synchronization/blocking_counter.cc +0 -67
  1857. data/third_party/abseil-cpp/absl/synchronization/blocking_counter.h +0 -101
  1858. data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +0 -143
  1859. data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.h +0 -56
  1860. data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +0 -154
  1861. data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +0 -698
  1862. data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.h +0 -141
  1863. data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +0 -156
  1864. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +0 -102
  1865. data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +0 -110
  1866. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
  1867. data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +0 -161
  1868. data/third_party/abseil-cpp/absl/synchronization/mutex.cc +0 -2786
  1869. data/third_party/abseil-cpp/absl/synchronization/mutex.h +0 -1090
  1870. data/third_party/abseil-cpp/absl/synchronization/notification.cc +0 -78
  1871. data/third_party/abseil-cpp/absl/synchronization/notification.h +0 -124
  1872. data/third_party/abseil-cpp/absl/time/civil_time.cc +0 -173
  1873. data/third_party/abseil-cpp/absl/time/civil_time.h +0 -538
  1874. data/third_party/abseil-cpp/absl/time/clock.cc +0 -585
  1875. data/third_party/abseil-cpp/absl/time/clock.h +0 -74
  1876. data/third_party/abseil-cpp/absl/time/duration.cc +0 -955
  1877. data/third_party/abseil-cpp/absl/time/format.cc +0 -160
  1878. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h +0 -332
  1879. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +0 -632
  1880. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +0 -459
  1881. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/zone_info_source.h +0 -102
  1882. data/third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc +0 -94
  1883. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +0 -140
  1884. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.h +0 -52
  1885. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +0 -1029
  1886. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +0 -45
  1887. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +0 -77
  1888. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +0 -113
  1889. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +0 -93
  1890. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +0 -1027
  1891. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +0 -137
  1892. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +0 -315
  1893. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +0 -55
  1894. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +0 -236
  1895. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc +0 -159
  1896. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +0 -132
  1897. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +0 -122
  1898. data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +0 -115
  1899. data/third_party/abseil-cpp/absl/time/internal/get_current_time_chrono.inc +0 -31
  1900. data/third_party/abseil-cpp/absl/time/internal/get_current_time_posix.inc +0 -24
  1901. data/third_party/abseil-cpp/absl/time/time.cc +0 -500
  1902. data/third_party/abseil-cpp/absl/time/time.h +0 -1620
  1903. data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +0 -48
  1904. data/third_party/abseil-cpp/absl/types/bad_optional_access.h +0 -78
  1905. data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +0 -64
  1906. data/third_party/abseil-cpp/absl/types/bad_variant_access.h +0 -82
  1907. data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -404
  1908. data/third_party/abseil-cpp/absl/types/internal/span.h +0 -128
  1909. data/third_party/abseil-cpp/absl/types/internal/variant.h +0 -1646
  1910. data/third_party/abseil-cpp/absl/types/optional.h +0 -779
  1911. data/third_party/abseil-cpp/absl/types/span.h +0 -727
  1912. data/third_party/abseil-cpp/absl/types/variant.h +0 -866
  1913. data/third_party/abseil-cpp/absl/utility/utility.h +0 -350
  1914. data/third_party/address_sorting/address_sorting.c +0 -375
  1915. data/third_party/address_sorting/address_sorting_internal.h +0 -70
  1916. data/third_party/address_sorting/address_sorting_posix.c +0 -98
  1917. data/third_party/address_sorting/address_sorting_windows.c +0 -95
  1918. data/third_party/address_sorting/include/address_sorting/address_sorting.h +0 -115
  1919. data/third_party/boringssl-with-bazel/err_data.c +0 -1493
  1920. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bitstr.c +0 -284
  1921. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bool.c +0 -122
  1922. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_d2i_fp.c +0 -91
  1923. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_dup.c +0 -87
  1924. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_enum.c +0 -195
  1925. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +0 -266
  1926. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_i2d_fp.c +0 -88
  1927. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_int.c +0 -420
  1928. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +0 -298
  1929. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_object.c +0 -299
  1930. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_octet.c +0 -77
  1931. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_print.c +0 -83
  1932. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +0 -650
  1933. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.c +0 -266
  1934. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +0 -212
  1935. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +0 -163
  1936. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +0 -264
  1937. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utf8.c +0 -236
  1938. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +0 -452
  1939. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_par.c +0 -80
  1940. data/third_party/boringssl-with-bazel/src/crypto/asn1/asn_pack.c +0 -101
  1941. data/third_party/boringssl-with-bazel/src/crypto/asn1/charmap.h +0 -15
  1942. data/third_party/boringssl-with-bazel/src/crypto/asn1/f_int.c +0 -102
  1943. data/third_party/boringssl-with-bazel/src/crypto/asn1/f_string.c +0 -91
  1944. data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +0 -224
  1945. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +0 -969
  1946. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +0 -710
  1947. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_fre.c +0 -233
  1948. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +0 -332
  1949. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_typ.c +0 -131
  1950. data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_utl.c +0 -281
  1951. data/third_party/boringssl-with-bazel/src/crypto/asn1/time_support.c +0 -206
  1952. data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +0 -482
  1953. data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +0 -702
  1954. data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +0 -324
  1955. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +0 -541
  1956. data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +0 -275
  1957. data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +0 -311
  1958. data/third_party/boringssl-with-bazel/src/crypto/bio/hexdump.c +0 -192
  1959. data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +0 -111
  1960. data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +0 -483
  1961. data/third_party/boringssl-with-bazel/src/crypto/bio/printf.c +0 -115
  1962. data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +0 -192
  1963. data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +0 -122
  1964. data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c +0 -156
  1965. data/third_party/boringssl-with-bazel/src/crypto/bn_extra/bn_asn1.c +0 -57
  1966. data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +0 -470
  1967. data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +0 -172
  1968. data/third_party/boringssl-with-bazel/src/crypto/bytestring/asn1_compat.c +0 -52
  1969. data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +0 -266
  1970. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +0 -728
  1971. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +0 -711
  1972. data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -96
  1973. data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +0 -155
  1974. data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +0 -175
  1975. data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +0 -45
  1976. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/cipher_extra.c +0 -127
  1977. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/derive_key.c +0 -152
  1978. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesccm.c +0 -447
  1979. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesctrhmac.c +0 -283
  1980. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +0 -891
  1981. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_chacha20poly1305.c +0 -343
  1982. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_null.c +0 -85
  1983. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc2.c +0 -462
  1984. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc4.c +0 -87
  1985. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_tls.c +0 -601
  1986. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +0 -226
  1987. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +0 -338
  1988. data/third_party/boringssl-with-bazel/src/crypto/cmac/cmac.c +0 -278
  1989. data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +0 -821
  1990. data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +0 -127
  1991. data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +0 -31
  1992. data/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-fuchsia.c +0 -55
  1993. data/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-linux.c +0 -62
  1994. data/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-win.c +0 -41
  1995. data/third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.c +0 -229
  1996. data/third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.h +0 -201
  1997. data/third_party/boringssl-with-bazel/src/crypto/cpu-arm.c +0 -38
  1998. data/third_party/boringssl-with-bazel/src/crypto/cpu-intel.c +0 -291
  1999. data/third_party/boringssl-with-bazel/src/crypto/cpu-ppc64le.c +0 -38
  2000. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +0 -226
  2001. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +0 -2159
  2002. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +0 -7872
  2003. data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +0 -146
  2004. data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +0 -539
  2005. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +0 -160
  2006. data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +0 -272
  2007. data/third_party/boringssl-with-bazel/src/crypto/digest_extra/digest_extra.c +0 -268
  2008. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +0 -967
  2009. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c +0 -390
  2010. data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +0 -34
  2011. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +0 -559
  2012. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +0 -95
  2013. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +0 -385
  2014. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +0 -56
  2015. data/third_party/boringssl-with-bazel/src/crypto/ecdh_extra/ecdh_extra.c +0 -124
  2016. data/third_party/boringssl-with-bazel/src/crypto/ecdsa_extra/ecdsa_asn1.c +0 -267
  2017. data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +0 -99
  2018. data/third_party/boringssl-with-bazel/src/crypto/err/err.c +0 -857
  2019. data/third_party/boringssl-with-bazel/src/crypto/err/internal.h +0 -58
  2020. data/third_party/boringssl-with-bazel/src/crypto/evp/digestsign.c +0 -231
  2021. data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +0 -456
  2022. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_asn1.c +0 -547
  2023. data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +0 -484
  2024. data/third_party/boringssl-with-bazel/src/crypto/evp/internal.h +0 -269
  2025. data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.c +0 -277
  2026. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +0 -286
  2027. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +0 -255
  2028. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519.c +0 -104
  2029. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519_asn1.c +0 -221
  2030. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +0 -648
  2031. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa_asn1.c +0 -194
  2032. data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519.c +0 -110
  2033. data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519_asn1.c +0 -248
  2034. data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.c +0 -146
  2035. data/third_party/boringssl-with-bazel/src/crypto/evp/print.c +0 -489
  2036. data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +0 -211
  2037. data/third_party/boringssl-with-bazel/src/crypto/evp/sign.c +0 -151
  2038. data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +0 -261
  2039. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes.c +0 -108
  2040. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes_nohw.c +0 -1282
  2041. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/internal.h +0 -238
  2042. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/key_wrap.c +0 -236
  2043. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/mode_wrappers.c +0 -122
  2044. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +0 -266
  2045. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +0 -316
  2046. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/asm/x86_64-gcc.c +0 -541
  2047. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +0 -438
  2048. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +0 -230
  2049. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/cmp.c +0 -200
  2050. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +0 -236
  2051. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +0 -902
  2052. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div_extra.c +0 -87
  2053. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +0 -1288
  2054. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +0 -378
  2055. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd_extra.c +0 -326
  2056. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +0 -711
  2057. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +0 -715
  2058. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/jacobi.c +0 -146
  2059. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +0 -502
  2060. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +0 -186
  2061. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +0 -749
  2062. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +0 -1064
  2063. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +0 -341
  2064. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.c +0 -226
  2065. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.h +0 -104
  2066. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/shift.c +0 -364
  2067. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/sqrt.c +0 -498
  2068. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/aead.c +0 -284
  2069. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +0 -648
  2070. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +0 -1473
  2071. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_des.c +0 -237
  2072. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/internal.h +0 -128
  2073. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/delocate.h +0 -89
  2074. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/des/des.c +0 -784
  2075. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/des/internal.h +0 -238
  2076. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +0 -217
  2077. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +0 -456
  2078. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +0 -282
  2079. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digests.c +0 -304
  2080. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/internal.h +0 -112
  2081. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/md32_common.h +0 -195
  2082. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +0 -1268
  2083. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +0 -472
  2084. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +0 -524
  2085. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +0 -100
  2086. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +0 -772
  2087. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +0 -328
  2088. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +0 -1180
  2089. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64-table.h +0 -9497
  2090. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64.c +0 -633
  2091. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64.h +0 -153
  2092. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +0 -740
  2093. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256_table.h +0 -297
  2094. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +0 -175
  2095. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +0 -357
  2096. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +0 -270
  2097. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/util.c +0 -255
  2098. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +0 -270
  2099. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.c +0 -122
  2100. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +0 -338
  2101. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/internal.h +0 -39
  2102. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.c +0 -32
  2103. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hmac/hmac.c +0 -228
  2104. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md4/md4.c +0 -240
  2105. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md5/internal.h +0 -37
  2106. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md5/md5.c +0 -284
  2107. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cbc.c +0 -178
  2108. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cfb.c +0 -203
  2109. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ctr.c +0 -201
  2110. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm.c +0 -733
  2111. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm_nohw.c +0 -304
  2112. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/internal.h +0 -420
  2113. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ofb.c +0 -97
  2114. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/polyval.c +0 -91
  2115. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/ctrdrbg.c +0 -202
  2116. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +0 -137
  2117. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +0 -49
  2118. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/getrandom_fillin.h +0 -64
  2119. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +0 -184
  2120. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +0 -457
  2121. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +0 -401
  2122. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +0 -243
  2123. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +0 -131
  2124. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/padding.c +0 -695
  2125. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +0 -935
  2126. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +0 -1416
  2127. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +0 -79
  2128. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +0 -874
  2129. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +0 -53
  2130. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1-altivec.c +0 -361
  2131. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +0 -357
  2132. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +0 -321
  2133. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +0 -508
  2134. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/internal.h +0 -39
  2135. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +0 -165
  2136. data/third_party/boringssl-with-bazel/src/crypto/hkdf/hkdf.c +0 -112
  2137. data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +0 -618
  2138. data/third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c +0 -2198
  2139. data/third_party/boringssl-with-bazel/src/crypto/hrss/internal.h +0 -68
  2140. data/third_party/boringssl-with-bazel/src/crypto/internal.h +0 -959
  2141. data/third_party/boringssl-with-bazel/src/crypto/lhash/internal.h +0 -253
  2142. data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +0 -353
  2143. data/third_party/boringssl-with-bazel/src/crypto/mem.c +0 -410
  2144. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +0 -553
  2145. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -11585
  2146. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_xref.c +0 -122
  2147. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_all.c +0 -252
  2148. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +0 -358
  2149. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +0 -769
  2150. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_oth.c +0 -87
  2151. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.c +0 -255
  2152. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.c +0 -214
  2153. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_x509.c +0 -65
  2154. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_xaux.c +0 -65
  2155. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/internal.h +0 -58
  2156. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7.c +0 -193
  2157. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +0 -526
  2158. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +0 -137
  2159. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.c +0 -316
  2160. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +0 -530
  2161. data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +0 -1383
  2162. data/third_party/boringssl-with-bazel/src/crypto/poly1305/internal.h +0 -41
  2163. data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305.c +0 -321
  2164. data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_arm.c +0 -307
  2165. data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_vec.c +0 -860
  2166. data/third_party/boringssl-with-bazel/src/crypto/pool/internal.h +0 -49
  2167. data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +0 -257
  2168. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +0 -56
  2169. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +0 -46
  2170. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/fuchsia.c +0 -34
  2171. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/passive.c +0 -34
  2172. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/rand_extra.c +0 -74
  2173. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +0 -73
  2174. data/third_party/boringssl-with-bazel/src/crypto/rc4/rc4.c +0 -98
  2175. data/third_party/boringssl-with-bazel/src/crypto/refcount_c11.c +0 -67
  2176. data/third_party/boringssl-with-bazel/src/crypto/refcount_lock.c +0 -53
  2177. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_asn1.c +0 -324
  2178. data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_print.c +0 -22
  2179. data/third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c +0 -82
  2180. data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +0 -425
  2181. data/third_party/boringssl-with-bazel/src/crypto/thread.c +0 -110
  2182. data/third_party/boringssl-with-bazel/src/crypto/thread_none.c +0 -59
  2183. data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +0 -182
  2184. data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +0 -260
  2185. data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +0 -318
  2186. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +0 -1399
  2187. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +0 -858
  2188. data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +0 -766
  2189. data/third_party/boringssl-with-bazel/src/crypto/x509/a_digest.c +0 -96
  2190. data/third_party/boringssl-with-bazel/src/crypto/x509/a_sign.c +0 -128
  2191. data/third_party/boringssl-with-bazel/src/crypto/x509/a_verify.c +0 -118
  2192. data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +0 -163
  2193. data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -826
  2194. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +0 -459
  2195. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +0 -277
  2196. data/third_party/boringssl-with-bazel/src/crypto/x509/i2d_pr.c +0 -83
  2197. data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +0 -404
  2198. data/third_party/boringssl-with-bazel/src/crypto/x509/name_print.c +0 -246
  2199. data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +0 -400
  2200. data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +0 -130
  2201. data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +0 -246
  2202. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +0 -365
  2203. data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.c +0 -116
  2204. data/third_party/boringssl-with-bazel/src/crypto/x509/x509.c +0 -90
  2205. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +0 -358
  2206. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +0 -461
  2207. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +0 -106
  2208. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_def.c +0 -103
  2209. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -212
  2210. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +0 -830
  2211. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_obj.c +0 -199
  2212. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +0 -304
  2213. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_set.c +0 -240
  2214. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +0 -331
  2215. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_txt.c +0 -204
  2216. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -281
  2217. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +0 -2456
  2218. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +0 -651
  2219. data/third_party/boringssl-with-bazel/src/crypto/x509/x509cset.c +0 -284
  2220. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +0 -388
  2221. data/third_party/boringssl-with-bazel/src/crypto/x509/x509rset.c +0 -84
  2222. data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +0 -137
  2223. data/third_party/boringssl-with-bazel/src/crypto/x509/x_algor.c +0 -153
  2224. data/third_party/boringssl-with-bazel/src/crypto/x509/x_all.c +0 -386
  2225. data/third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c +0 -98
  2226. data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +0 -565
  2227. data/third_party/boringssl-with-bazel/src/crypto/x509/x_exten.c +0 -77
  2228. data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -98
  2229. data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +0 -544
  2230. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -106
  2231. data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +0 -217
  2232. data/third_party/boringssl-with-bazel/src/crypto/x509/x_req.c +0 -106
  2233. data/third_party/boringssl-with-bazel/src/crypto/x509/x_sig.c +0 -94
  2234. data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +0 -80
  2235. data/third_party/boringssl-with-bazel/src/crypto/x509/x_val.c +0 -71
  2236. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +0 -394
  2237. data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +0 -201
  2238. data/third_party/boringssl-with-bazel/src/crypto/x509v3/ext_dat.h +0 -138
  2239. data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -289
  2240. data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_cache.c +0 -287
  2241. data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_data.c +0 -132
  2242. data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_lib.c +0 -155
  2243. data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_map.c +0 -131
  2244. data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_node.c +0 -189
  2245. data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_tree.c +0 -843
  2246. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -226
  2247. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -72
  2248. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -640
  2249. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -133
  2250. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -144
  2251. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -468
  2252. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -500
  2253. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -563
  2254. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -106
  2255. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -148
  2256. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -266
  2257. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -121
  2258. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -218
  2259. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -91
  2260. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -379
  2261. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -558
  2262. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -68
  2263. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pci.c +0 -289
  2264. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcia.c +0 -57
  2265. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -139
  2266. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -154
  2267. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -230
  2268. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -929
  2269. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -156
  2270. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1437
  2271. data/third_party/boringssl-with-bazel/src/include/openssl/aead.h +0 -480
  2272. data/third_party/boringssl-with-bazel/src/include/openssl/aes.h +0 -207
  2273. data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -240
  2274. data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +0 -2039
  2275. data/third_party/boringssl-with-bazel/src/include/openssl/asn1_mac.h +0 -18
  2276. data/third_party/boringssl-with-bazel/src/include/openssl/asn1t.h +0 -718
  2277. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +0 -627
  2278. data/third_party/boringssl-with-bazel/src/include/openssl/base64.h +0 -198
  2279. data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +0 -939
  2280. data/third_party/boringssl-with-bazel/src/include/openssl/blake2.h +0 -62
  2281. data/third_party/boringssl-with-bazel/src/include/openssl/blowfish.h +0 -93
  2282. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +0 -1057
  2283. data/third_party/boringssl-with-bazel/src/include/openssl/buf.h +0 -137
  2284. data/third_party/boringssl-with-bazel/src/include/openssl/buffer.h +0 -18
  2285. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +0 -586
  2286. data/third_party/boringssl-with-bazel/src/include/openssl/cast.h +0 -96
  2287. data/third_party/boringssl-with-bazel/src/include/openssl/chacha.h +0 -41
  2288. data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +0 -673
  2289. data/third_party/boringssl-with-bazel/src/include/openssl/cmac.h +0 -91
  2290. data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +0 -183
  2291. data/third_party/boringssl-with-bazel/src/include/openssl/cpu.h +0 -202
  2292. data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +0 -169
  2293. data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +0 -201
  2294. data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -183
  2295. data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +0 -353
  2296. data/third_party/boringssl-with-bazel/src/include/openssl/digest.h +0 -348
  2297. data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +0 -443
  2298. data/third_party/boringssl-with-bazel/src/include/openssl/dtls1.h +0 -16
  2299. data/third_party/boringssl-with-bazel/src/include/openssl/e_os2.h +0 -18
  2300. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +0 -442
  2301. data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +0 -357
  2302. data/third_party/boringssl-with-bazel/src/include/openssl/ecdh.h +0 -118
  2303. data/third_party/boringssl-with-bazel/src/include/openssl/ecdsa.h +0 -236
  2304. data/third_party/boringssl-with-bazel/src/include/openssl/engine.h +0 -109
  2305. data/third_party/boringssl-with-bazel/src/include/openssl/err.h +0 -466
  2306. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +0 -1083
  2307. data/third_party/boringssl-with-bazel/src/include/openssl/evp_errors.h +0 -99
  2308. data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +0 -203
  2309. data/third_party/boringssl-with-bazel/src/include/openssl/hkdf.h +0 -68
  2310. data/third_party/boringssl-with-bazel/src/include/openssl/hmac.h +0 -186
  2311. data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +0 -350
  2312. data/third_party/boringssl-with-bazel/src/include/openssl/hrss.h +0 -102
  2313. data/third_party/boringssl-with-bazel/src/include/openssl/is_boringssl.h +0 -16
  2314. data/third_party/boringssl-with-bazel/src/include/openssl/lhash.h +0 -81
  2315. data/third_party/boringssl-with-bazel/src/include/openssl/md4.h +0 -108
  2316. data/third_party/boringssl-with-bazel/src/include/openssl/md5.h +0 -109
  2317. data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +0 -184
  2318. data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +0 -4259
  2319. data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +0 -256
  2320. data/third_party/boringssl-with-bazel/src/include/openssl/obj_mac.h +0 -18
  2321. data/third_party/boringssl-with-bazel/src/include/openssl/objects.h +0 -18
  2322. data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +0 -70
  2323. data/third_party/boringssl-with-bazel/src/include/openssl/opensslv.h +0 -18
  2324. data/third_party/boringssl-with-bazel/src/include/openssl/ossl_typ.h +0 -18
  2325. data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +0 -483
  2326. data/third_party/boringssl-with-bazel/src/include/openssl/pkcs12.h +0 -18
  2327. data/third_party/boringssl-with-bazel/src/include/openssl/pkcs7.h +0 -239
  2328. data/third_party/boringssl-with-bazel/src/include/openssl/pkcs8.h +0 -282
  2329. data/third_party/boringssl-with-bazel/src/include/openssl/poly1305.h +0 -49
  2330. data/third_party/boringssl-with-bazel/src/include/openssl/pool.h +0 -108
  2331. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +0 -114
  2332. data/third_party/boringssl-with-bazel/src/include/openssl/rc4.h +0 -96
  2333. data/third_party/boringssl-with-bazel/src/include/openssl/ripemd.h +0 -108
  2334. data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +0 -855
  2335. data/third_party/boringssl-with-bazel/src/include/openssl/safestack.h +0 -16
  2336. data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +0 -294
  2337. data/third_party/boringssl-with-bazel/src/include/openssl/siphash.h +0 -37
  2338. data/third_party/boringssl-with-bazel/src/include/openssl/span.h +0 -222
  2339. data/third_party/boringssl-with-bazel/src/include/openssl/srtp.h +0 -18
  2340. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +0 -5624
  2341. data/third_party/boringssl-with-bazel/src/include/openssl/ssl3.h +0 -333
  2342. data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +0 -542
  2343. data/third_party/boringssl-with-bazel/src/include/openssl/thread.h +0 -191
  2344. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +0 -647
  2345. data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +0 -310
  2346. data/third_party/boringssl-with-bazel/src/include/openssl/type_check.h +0 -90
  2347. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +0 -2419
  2348. data/third_party/boringssl-with-bazel/src/include/openssl/x509_vfy.h +0 -18
  2349. data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +0 -1021
  2350. data/third_party/boringssl-with-bazel/src/ssl/bio_ssl.cc +0 -192
  2351. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +0 -835
  2352. data/third_party/boringssl-with-bazel/src/ssl/d1_lib.cc +0 -268
  2353. data/third_party/boringssl-with-bazel/src/ssl/d1_pkt.cc +0 -273
  2354. data/third_party/boringssl-with-bazel/src/ssl/d1_srtp.cc +0 -232
  2355. data/third_party/boringssl-with-bazel/src/ssl/dtls_method.cc +0 -200
  2356. data/third_party/boringssl-with-bazel/src/ssl/dtls_record.cc +0 -353
  2357. data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +0 -1084
  2358. data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +0 -4325
  2359. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +0 -986
  2360. data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +0 -758
  2361. data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +0 -1986
  2362. data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +0 -1956
  2363. data/third_party/boringssl-with-bazel/src/ssl/internal.h +0 -3953
  2364. data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +0 -730
  2365. data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +0 -219
  2366. data/third_party/boringssl-with-bazel/src/ssl/s3_pkt.cc +0 -453
  2367. data/third_party/boringssl-with-bazel/src/ssl/ssl_aead_ctx.cc +0 -432
  2368. data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +0 -896
  2369. data/third_party/boringssl-with-bazel/src/ssl/ssl_buffer.cc +0 -306
  2370. data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +0 -1014
  2371. data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +0 -1717
  2372. data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +0 -585
  2373. data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +0 -400
  2374. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +0 -3072
  2375. data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +0 -837
  2376. data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +0 -1342
  2377. data/third_party/boringssl-with-bazel/src/ssl/ssl_stat.cc +0 -233
  2378. data/third_party/boringssl-with-bazel/src/ssl/ssl_transcript.cc +0 -272
  2379. data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +0 -402
  2380. data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1363
  2381. data/third_party/boringssl-with-bazel/src/ssl/t1_enc.cc +0 -384
  2382. data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +0 -733
  2383. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +0 -1122
  2384. data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +0 -582
  2385. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +0 -1349
  2386. data/third_party/boringssl-with-bazel/src/ssl/tls_method.cc +0 -319
  2387. data/third_party/boringssl-with-bazel/src/ssl/tls_record.cc +0 -705
  2388. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_32.h +0 -981
  2389. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64.h +0 -619
  2390. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_32.h +0 -3147
  2391. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +0 -1226
  2392. data/third_party/cares/ares_build.h +0 -223
  2393. data/third_party/cares/cares/include/ares.h +0 -742
  2394. data/third_party/cares/cares/include/ares_dns.h +0 -112
  2395. data/third_party/cares/cares/include/ares_rules.h +0 -125
  2396. data/third_party/cares/cares/include/ares_version.h +0 -24
  2397. data/third_party/cares/cares/src/lib/ares__close_sockets.c +0 -61
  2398. data/third_party/cares/cares/src/lib/ares__get_hostent.c +0 -260
  2399. data/third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c +0 -260
  2400. data/third_party/cares/cares/src/lib/ares__read_line.c +0 -73
  2401. data/third_party/cares/cares/src/lib/ares__readaddrinfo.c +0 -264
  2402. data/third_party/cares/cares/src/lib/ares__sortaddrinfo.c +0 -499
  2403. data/third_party/cares/cares/src/lib/ares__timeval.c +0 -111
  2404. data/third_party/cares/cares/src/lib/ares_android.c +0 -444
  2405. data/third_party/cares/cares/src/lib/ares_android.h +0 -27
  2406. data/third_party/cares/cares/src/lib/ares_cancel.c +0 -63
  2407. data/third_party/cares/cares/src/lib/ares_create_query.c +0 -197
  2408. data/third_party/cares/cares/src/lib/ares_data.c +0 -240
  2409. data/third_party/cares/cares/src/lib/ares_data.h +0 -74
  2410. data/third_party/cares/cares/src/lib/ares_destroy.c +0 -113
  2411. data/third_party/cares/cares/src/lib/ares_expand_name.c +0 -300
  2412. data/third_party/cares/cares/src/lib/ares_expand_string.c +0 -67
  2413. data/third_party/cares/cares/src/lib/ares_fds.c +0 -59
  2414. data/third_party/cares/cares/src/lib/ares_free_hostent.c +0 -43
  2415. data/third_party/cares/cares/src/lib/ares_free_string.c +0 -25
  2416. data/third_party/cares/cares/src/lib/ares_freeaddrinfo.c +0 -59
  2417. data/third_party/cares/cares/src/lib/ares_getaddrinfo.c +0 -772
  2418. data/third_party/cares/cares/src/lib/ares_getenv.c +0 -28
  2419. data/third_party/cares/cares/src/lib/ares_getenv.h +0 -26
  2420. data/third_party/cares/cares/src/lib/ares_gethostbyaddr.c +0 -287
  2421. data/third_party/cares/cares/src/lib/ares_gethostbyname.c +0 -534
  2422. data/third_party/cares/cares/src/lib/ares_getnameinfo.c +0 -447
  2423. data/third_party/cares/cares/src/lib/ares_getsock.c +0 -66
  2424. data/third_party/cares/cares/src/lib/ares_inet_net_pton.h +0 -25
  2425. data/third_party/cares/cares/src/lib/ares_init.c +0 -2654
  2426. data/third_party/cares/cares/src/lib/ares_iphlpapi.h +0 -221
  2427. data/third_party/cares/cares/src/lib/ares_ipv6.h +0 -85
  2428. data/third_party/cares/cares/src/lib/ares_library_init.c +0 -200
  2429. data/third_party/cares/cares/src/lib/ares_library_init.h +0 -43
  2430. data/third_party/cares/cares/src/lib/ares_llist.c +0 -63
  2431. data/third_party/cares/cares/src/lib/ares_llist.h +0 -39
  2432. data/third_party/cares/cares/src/lib/ares_mkquery.c +0 -24
  2433. data/third_party/cares/cares/src/lib/ares_nameser.h +0 -482
  2434. data/third_party/cares/cares/src/lib/ares_nowarn.c +0 -260
  2435. data/third_party/cares/cares/src/lib/ares_nowarn.h +0 -61
  2436. data/third_party/cares/cares/src/lib/ares_options.c +0 -406
  2437. data/third_party/cares/cares/src/lib/ares_parse_a_reply.c +0 -209
  2438. data/third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c +0 -212
  2439. data/third_party/cares/cares/src/lib/ares_parse_caa_reply.c +0 -199
  2440. data/third_party/cares/cares/src/lib/ares_parse_mx_reply.c +0 -164
  2441. data/third_party/cares/cares/src/lib/ares_parse_naptr_reply.c +0 -183
  2442. data/third_party/cares/cares/src/lib/ares_parse_ns_reply.c +0 -177
  2443. data/third_party/cares/cares/src/lib/ares_parse_ptr_reply.c +0 -228
  2444. data/third_party/cares/cares/src/lib/ares_parse_soa_reply.c +0 -179
  2445. data/third_party/cares/cares/src/lib/ares_parse_srv_reply.c +0 -168
  2446. data/third_party/cares/cares/src/lib/ares_parse_txt_reply.c +0 -214
  2447. data/third_party/cares/cares/src/lib/ares_platform.c +0 -11042
  2448. data/third_party/cares/cares/src/lib/ares_platform.h +0 -43
  2449. data/third_party/cares/cares/src/lib/ares_private.h +0 -423
  2450. data/third_party/cares/cares/src/lib/ares_process.c +0 -1548
  2451. data/third_party/cares/cares/src/lib/ares_query.c +0 -180
  2452. data/third_party/cares/cares/src/lib/ares_search.c +0 -321
  2453. data/third_party/cares/cares/src/lib/ares_send.c +0 -131
  2454. data/third_party/cares/cares/src/lib/ares_setup.h +0 -220
  2455. data/third_party/cares/cares/src/lib/ares_strcasecmp.c +0 -66
  2456. data/third_party/cares/cares/src/lib/ares_strcasecmp.h +0 -30
  2457. data/third_party/cares/cares/src/lib/ares_strdup.c +0 -49
  2458. data/third_party/cares/cares/src/lib/ares_strdup.h +0 -24
  2459. data/third_party/cares/cares/src/lib/ares_strerror.c +0 -56
  2460. data/third_party/cares/cares/src/lib/ares_strsplit.c +0 -178
  2461. data/third_party/cares/cares/src/lib/ares_strsplit.h +0 -43
  2462. data/third_party/cares/cares/src/lib/ares_timeout.c +0 -88
  2463. data/third_party/cares/cares/src/lib/ares_version.c +0 -11
  2464. data/third_party/cares/cares/src/lib/ares_writev.c +0 -79
  2465. data/third_party/cares/cares/src/lib/ares_writev.h +0 -36
  2466. data/third_party/cares/cares/src/lib/bitncmp.c +0 -59
  2467. data/third_party/cares/cares/src/lib/bitncmp.h +0 -26
  2468. data/third_party/cares/cares/src/lib/config-dos.h +0 -115
  2469. data/third_party/cares/cares/src/lib/config-win32.h +0 -351
  2470. data/third_party/cares/cares/src/lib/inet_net_pton.c +0 -444
  2471. data/third_party/cares/cares/src/lib/inet_ntop.c +0 -201
  2472. data/third_party/cares/cares/src/lib/setup_once.h +0 -554
  2473. data/third_party/cares/cares/src/lib/windows_port.c +0 -22
  2474. data/third_party/cares/config_darwin/ares_config.h +0 -428
  2475. data/third_party/cares/config_freebsd/ares_config.h +0 -505
  2476. data/third_party/cares/config_linux/ares_config.h +0 -461
  2477. data/third_party/cares/config_openbsd/ares_config.h +0 -505
  2478. data/third_party/re2/re2/bitmap256.h +0 -117
  2479. data/third_party/re2/re2/bitstate.cc +0 -385
  2480. data/third_party/re2/re2/compile.cc +0 -1261
  2481. data/third_party/re2/re2/dfa.cc +0 -2118
  2482. data/third_party/re2/re2/filtered_re2.cc +0 -137
  2483. data/third_party/re2/re2/filtered_re2.h +0 -114
  2484. data/third_party/re2/re2/mimics_pcre.cc +0 -197
  2485. data/third_party/re2/re2/nfa.cc +0 -713
  2486. data/third_party/re2/re2/onepass.cc +0 -623
  2487. data/third_party/re2/re2/parse.cc +0 -2483
  2488. data/third_party/re2/re2/perl_groups.cc +0 -119
  2489. data/third_party/re2/re2/pod_array.h +0 -55
  2490. data/third_party/re2/re2/prefilter.cc +0 -711
  2491. data/third_party/re2/re2/prefilter.h +0 -108
  2492. data/third_party/re2/re2/prefilter_tree.cc +0 -407
  2493. data/third_party/re2/re2/prefilter_tree.h +0 -139
  2494. data/third_party/re2/re2/prog.cc +0 -1166
  2495. data/third_party/re2/re2/prog.h +0 -455
  2496. data/third_party/re2/re2/re2.cc +0 -1331
  2497. data/third_party/re2/re2/re2.h +0 -1017
  2498. data/third_party/re2/re2/regexp.cc +0 -987
  2499. data/third_party/re2/re2/regexp.h +0 -665
  2500. data/third_party/re2/re2/set.cc +0 -176
  2501. data/third_party/re2/re2/set.h +0 -85
  2502. data/third_party/re2/re2/simplify.cc +0 -665
  2503. data/third_party/re2/re2/sparse_array.h +0 -392
  2504. data/third_party/re2/re2/sparse_set.h +0 -264
  2505. data/third_party/re2/re2/stringpiece.cc +0 -65
  2506. data/third_party/re2/re2/stringpiece.h +0 -210
  2507. data/third_party/re2/re2/tostring.cc +0 -351
  2508. data/third_party/re2/re2/unicode_casefold.cc +0 -582
  2509. data/third_party/re2/re2/unicode_casefold.h +0 -78
  2510. data/third_party/re2/re2/unicode_groups.cc +0 -6269
  2511. data/third_party/re2/re2/unicode_groups.h +0 -67
  2512. data/third_party/re2/re2/walker-inl.h +0 -246
  2513. data/third_party/re2/util/benchmark.h +0 -156
  2514. data/third_party/re2/util/flags.h +0 -26
  2515. data/third_party/re2/util/logging.h +0 -109
  2516. data/third_party/re2/util/malloc_counter.h +0 -19
  2517. data/third_party/re2/util/mix.h +0 -41
  2518. data/third_party/re2/util/mutex.h +0 -148
  2519. data/third_party/re2/util/pcre.cc +0 -1025
  2520. data/third_party/re2/util/pcre.h +0 -681
  2521. data/third_party/re2/util/rune.cc +0 -260
  2522. data/third_party/re2/util/strutil.cc +0 -149
  2523. data/third_party/re2/util/strutil.h +0 -21
  2524. data/third_party/re2/util/test.h +0 -50
  2525. data/third_party/re2/util/utf.h +0 -44
  2526. data/third_party/re2/util/util.h +0 -42
  2527. data/third_party/upb/third_party/utf8_range/naive.c +0 -92
  2528. data/third_party/upb/third_party/utf8_range/range2-neon.c +0 -157
  2529. data/third_party/upb/third_party/utf8_range/range2-sse.c +0 -170
  2530. data/third_party/upb/third_party/utf8_range/utf8_range.h +0 -9
  2531. data/third_party/upb/upb/arena.c +0 -277
  2532. data/third_party/upb/upb/arena.h +0 -225
  2533. data/third_party/upb/upb/array.c +0 -114
  2534. data/third_party/upb/upb/array.h +0 -83
  2535. data/third_party/upb/upb/collections.h +0 -36
  2536. data/third_party/upb/upb/decode.c +0 -1221
  2537. data/third_party/upb/upb/decode.h +0 -95
  2538. data/third_party/upb/upb/decode_fast.c +0 -1055
  2539. data/third_party/upb/upb/decode_fast.h +0 -153
  2540. data/third_party/upb/upb/def.c +0 -3269
  2541. data/third_party/upb/upb/def.h +0 -416
  2542. data/third_party/upb/upb/def.hpp +0 -441
  2543. data/third_party/upb/upb/encode.c +0 -613
  2544. data/third_party/upb/upb/encode.h +0 -81
  2545. data/third_party/upb/upb/extension_registry.c +0 -93
  2546. data/third_party/upb/upb/extension_registry.h +0 -84
  2547. data/third_party/upb/upb/internal/decode.h +0 -211
  2548. data/third_party/upb/upb/internal/table.h +0 -385
  2549. data/third_party/upb/upb/internal/upb.h +0 -68
  2550. data/third_party/upb/upb/internal/vsnprintf_compat.h +0 -52
  2551. data/third_party/upb/upb/json_decode.c +0 -1512
  2552. data/third_party/upb/upb/json_decode.h +0 -47
  2553. data/third_party/upb/upb/json_encode.c +0 -780
  2554. data/third_party/upb/upb/json_encode.h +0 -65
  2555. data/third_party/upb/upb/map.c +0 -108
  2556. data/third_party/upb/upb/map.h +0 -117
  2557. data/third_party/upb/upb/message_value.h +0 -66
  2558. data/third_party/upb/upb/mini_table.c +0 -1147
  2559. data/third_party/upb/upb/mini_table.h +0 -189
  2560. data/third_party/upb/upb/mini_table.hpp +0 -112
  2561. data/third_party/upb/upb/msg.c +0 -368
  2562. data/third_party/upb/upb/msg.h +0 -71
  2563. data/third_party/upb/upb/msg_internal.h +0 -837
  2564. data/third_party/upb/upb/port_def.inc +0 -262
  2565. data/third_party/upb/upb/port_undef.inc +0 -63
  2566. data/third_party/upb/upb/reflection.c +0 -323
  2567. data/third_party/upb/upb/reflection.h +0 -110
  2568. data/third_party/upb/upb/reflection.hpp +0 -37
  2569. data/third_party/upb/upb/status.c +0 -86
  2570. data/third_party/upb/upb/status.h +0 -66
  2571. data/third_party/upb/upb/table.c +0 -926
  2572. data/third_party/upb/upb/table_internal.h +0 -36
  2573. data/third_party/upb/upb/text_encode.c +0 -473
  2574. data/third_party/upb/upb/text_encode.h +0 -64
  2575. data/third_party/upb/upb/upb.c +0 -76
  2576. data/third_party/upb/upb/upb.h +0 -184
  2577. data/third_party/upb/upb/upb.hpp +0 -115
  2578. data/third_party/xxhash/xxhash.h +0 -5580
  2579. data/third_party/zlib/adler32.c +0 -186
  2580. data/third_party/zlib/compress.c +0 -86
  2581. data/third_party/zlib/crc32.c +0 -1125
  2582. data/third_party/zlib/crc32.h +0 -9446
  2583. data/third_party/zlib/deflate.c +0 -2217
  2584. data/third_party/zlib/deflate.h +0 -346
  2585. data/third_party/zlib/gzclose.c +0 -25
  2586. data/third_party/zlib/gzguts.h +0 -219
  2587. data/third_party/zlib/gzlib.c +0 -639
  2588. data/third_party/zlib/gzread.c +0 -650
  2589. data/third_party/zlib/gzwrite.c +0 -677
  2590. data/third_party/zlib/infback.c +0 -644
  2591. data/third_party/zlib/inffast.c +0 -323
  2592. data/third_party/zlib/inffast.h +0 -11
  2593. data/third_party/zlib/inffixed.h +0 -94
  2594. data/third_party/zlib/inflate.c +0 -1595
  2595. data/third_party/zlib/inflate.h +0 -126
  2596. data/third_party/zlib/inftrees.c +0 -304
  2597. data/third_party/zlib/inftrees.h +0 -62
  2598. data/third_party/zlib/trees.c +0 -1181
  2599. data/third_party/zlib/trees.h +0 -128
  2600. data/third_party/zlib/uncompr.c +0 -93
  2601. data/third_party/zlib/zconf.h +0 -547
  2602. data/third_party/zlib/zlib.h +0 -1935
  2603. data/third_party/zlib/zutil.c +0 -327
  2604. data/third_party/zlib/zutil.h +0 -275
@@ -1,2963 +0,0 @@
1
- //
2
- // Copyright 2018 gRPC authors.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- //
16
-
17
- #include <grpc/support/port_platform.h>
18
-
19
- #include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
20
-
21
- #include <inttypes.h>
22
- #include <limits.h>
23
- #include <stdio.h>
24
- #include <stdlib.h>
25
- #include <string.h>
26
-
27
- #include <algorithm>
28
- #include <memory>
29
- #include <new>
30
- #include <string>
31
- #include <utility>
32
-
33
- #include "absl/base/attributes.h"
34
- #include "absl/status/status.h"
35
- #include "absl/strings/cord.h"
36
- #include "absl/strings/str_cat.h"
37
- #include "absl/strings/str_format.h"
38
- #include "absl/strings/string_view.h"
39
- #include "absl/types/optional.h"
40
- #include "absl/types/variant.h"
41
-
42
- #include <grpc/impl/codegen/connectivity_state.h>
43
- #include <grpc/impl/codegen/grpc_types.h>
44
- #include <grpc/slice_buffer.h>
45
- #include <grpc/status.h>
46
- #include <grpc/support/alloc.h>
47
- #include <grpc/support/atm.h>
48
- #include <grpc/support/log.h>
49
-
50
- #include "src/core/ext/transport/chttp2/transport/context_list.h"
51
- #include "src/core/ext/transport/chttp2/transport/flow_control.h"
52
- #include "src/core/ext/transport/chttp2/transport/frame.h"
53
- #include "src/core/ext/transport/chttp2/transport/frame_data.h"
54
- #include "src/core/ext/transport/chttp2/transport/frame_goaway.h"
55
- #include "src/core/ext/transport/chttp2/transport/frame_rst_stream.h"
56
- #include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
57
- #include "src/core/ext/transport/chttp2/transport/http2_settings.h"
58
- #include "src/core/ext/transport/chttp2/transport/internal.h"
59
- #include "src/core/ext/transport/chttp2/transport/stream_map.h"
60
- #include "src/core/ext/transport/chttp2/transport/varint.h"
61
- #include "src/core/lib/channel/channel_args.h"
62
- #include "src/core/lib/debug/stats.h"
63
- #include "src/core/lib/debug/stats_data.h"
64
- #include "src/core/lib/experiments/experiments.h"
65
- #include "src/core/lib/gpr/useful.h"
66
- #include "src/core/lib/gprpp/bitset.h"
67
- #include "src/core/lib/gprpp/debug_location.h"
68
- #include "src/core/lib/gprpp/ref_counted.h"
69
- #include "src/core/lib/gprpp/status_helper.h"
70
- #include "src/core/lib/gprpp/time.h"
71
- #include "src/core/lib/http/parser.h"
72
- #include "src/core/lib/iomgr/combiner.h"
73
- #include "src/core/lib/iomgr/error.h"
74
- #include "src/core/lib/iomgr/exec_ctx.h"
75
- #include "src/core/lib/iomgr/iomgr_fwd.h"
76
- #include "src/core/lib/iomgr/timer.h"
77
- #include "src/core/lib/promise/poll.h"
78
- #include "src/core/lib/resource_quota/arena.h"
79
- #include "src/core/lib/resource_quota/memory_quota.h"
80
- #include "src/core/lib/resource_quota/resource_quota.h"
81
- #include "src/core/lib/resource_quota/trace.h"
82
- #include "src/core/lib/slice/slice.h"
83
- #include "src/core/lib/slice/slice_buffer.h"
84
- #include "src/core/lib/slice/slice_internal.h"
85
- #include "src/core/lib/transport/bdp_estimator.h"
86
- #include "src/core/lib/transport/connectivity_state.h"
87
- #include "src/core/lib/transport/error_utils.h"
88
- #include "src/core/lib/transport/http2_errors.h"
89
- #include "src/core/lib/transport/metadata_batch.h"
90
- #include "src/core/lib/transport/status_conversion.h"
91
- #include "src/core/lib/transport/transport.h"
92
- #include "src/core/lib/transport/transport_impl.h"
93
-
94
- #define DEFAULT_CONNECTION_WINDOW_TARGET (1024 * 1024)
95
- #define MAX_WINDOW 0x7fffffffu
96
- #define MAX_WRITE_BUFFER_SIZE (64 * 1024 * 1024)
97
- #define DEFAULT_MAX_HEADER_LIST_SIZE (8 * 1024)
98
-
99
- #define DEFAULT_CLIENT_KEEPALIVE_TIME_MS INT_MAX
100
- #define DEFAULT_CLIENT_KEEPALIVE_TIMEOUT_MS 20000 /* 20 seconds */
101
- #define DEFAULT_SERVER_KEEPALIVE_TIME_MS 7200000 /* 2 hours */
102
- #define DEFAULT_SERVER_KEEPALIVE_TIMEOUT_MS 20000 /* 20 seconds */
103
- #define DEFAULT_KEEPALIVE_PERMIT_WITHOUT_CALLS false
104
- #define KEEPALIVE_TIME_BACKOFF_MULTIPLIER 2
105
-
106
- #define DEFAULT_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS 300000 /* 5 minutes */
107
- #define DEFAULT_MAX_PINGS_BETWEEN_DATA 2
108
- #define DEFAULT_MAX_PING_STRIKES 2
109
-
110
- #define DEFAULT_MAX_PENDING_INDUCED_FRAMES 10000
111
-
112
- static int g_default_client_keepalive_time_ms =
113
- DEFAULT_CLIENT_KEEPALIVE_TIME_MS;
114
- static int g_default_client_keepalive_timeout_ms =
115
- DEFAULT_CLIENT_KEEPALIVE_TIMEOUT_MS;
116
- static int g_default_server_keepalive_time_ms =
117
- DEFAULT_SERVER_KEEPALIVE_TIME_MS;
118
- static int g_default_server_keepalive_timeout_ms =
119
- DEFAULT_SERVER_KEEPALIVE_TIMEOUT_MS;
120
- static bool g_default_client_keepalive_permit_without_calls =
121
- DEFAULT_KEEPALIVE_PERMIT_WITHOUT_CALLS;
122
- static bool g_default_server_keepalive_permit_without_calls =
123
- DEFAULT_KEEPALIVE_PERMIT_WITHOUT_CALLS;
124
-
125
- static int g_default_min_recv_ping_interval_without_data_ms =
126
- DEFAULT_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS;
127
- static int g_default_max_pings_without_data = DEFAULT_MAX_PINGS_BETWEEN_DATA;
128
- static int g_default_max_ping_strikes = DEFAULT_MAX_PING_STRIKES;
129
-
130
- #define MAX_CLIENT_STREAM_ID 0x7fffffffu
131
- grpc_core::TraceFlag grpc_http_trace(false, "http");
132
- grpc_core::TraceFlag grpc_keepalive_trace(false, "http_keepalive");
133
- grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount(false,
134
- "chttp2_refcount");
135
-
136
- // 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);
149
-
150
- static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
151
- grpc_error_handle error);
152
-
153
- // Start new streams that have been created if we can
154
- static void maybe_start_some_streams(grpc_chttp2_transport* t);
155
-
156
- static void connectivity_state_set(grpc_chttp2_transport* t,
157
- grpc_connectivity_state state,
158
- const absl::Status& status,
159
- const char* reason);
160
-
161
- static void benign_reclaimer_locked(void* arg, grpc_error_handle error);
162
- static void destructive_reclaimer_locked(void* arg, grpc_error_handle error);
163
-
164
- static void post_benign_reclaimer(grpc_chttp2_transport* t);
165
- static void post_destructive_reclaimer(grpc_chttp2_transport* t);
166
-
167
- static void close_transport_locked(grpc_chttp2_transport* t,
168
- grpc_error_handle error);
169
- static void end_all_the_calls(grpc_chttp2_transport* t,
170
- grpc_error_handle error);
171
-
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);
176
- static void next_bdp_ping_timer_expired(void* tp, grpc_error_handle error);
177
- static void next_bdp_ping_timer_expired_locked(void* tp,
178
- grpc_error_handle error);
179
-
180
- static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error);
181
- static void send_ping_locked(grpc_chttp2_transport* t,
182
- grpc_closure* on_initiate, grpc_closure* on_ack);
183
- static void retry_initiate_ping_locked(void* tp, grpc_error_handle error);
184
-
185
- // keepalive-relevant functions
186
- static void init_keepalive_ping(void* arg, grpc_error_handle error);
187
- static void init_keepalive_ping_locked(void* arg, grpc_error_handle error);
188
- static void start_keepalive_ping(void* arg, grpc_error_handle error);
189
- static void finish_keepalive_ping(void* arg, grpc_error_handle error);
190
- static void start_keepalive_ping_locked(void* arg, grpc_error_handle error);
191
- static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error);
192
- static void keepalive_watchdog_fired(void* arg, grpc_error_handle error);
193
- static void keepalive_watchdog_fired_locked(void* arg, grpc_error_handle error);
194
-
195
- namespace grpc_core {
196
-
197
- namespace {
198
- TestOnlyGlobalHttp2TransportInitCallback test_only_init_callback = nullptr;
199
- TestOnlyGlobalHttp2TransportDestructCallback test_only_destruct_callback =
200
- nullptr;
201
- bool test_only_disable_transient_failure_state_notification = false;
202
- } // namespace
203
-
204
- void TestOnlySetGlobalHttp2TransportInitCallback(
205
- TestOnlyGlobalHttp2TransportInitCallback callback) {
206
- test_only_init_callback = callback;
207
- }
208
-
209
- void TestOnlySetGlobalHttp2TransportDestructCallback(
210
- TestOnlyGlobalHttp2TransportDestructCallback callback) {
211
- test_only_destruct_callback = callback;
212
- }
213
-
214
- void TestOnlyGlobalHttp2TransportDisableTransientFailureStateNotification(
215
- bool disable) {
216
- test_only_disable_transient_failure_state_notification = disable;
217
- }
218
-
219
- } // namespace grpc_core
220
-
221
- //
222
- // CONSTRUCTION/DESTRUCTION/REFCOUNTING
223
- //
224
-
225
- grpc_chttp2_transport::~grpc_chttp2_transport() {
226
- size_t i;
227
-
228
- if (channelz_socket != nullptr) {
229
- channelz_socket.reset();
230
- }
231
-
232
- grpc_endpoint_destroy(ep);
233
-
234
- grpc_slice_buffer_destroy(&qbuf);
235
-
236
- grpc_slice_buffer_destroy(&outbuf);
237
-
238
- grpc_error_handle error = GRPC_ERROR_CREATE("Transport destroyed");
239
- // ContextList::Execute follows semantics of a callback function and does not
240
- // take a ref on error
241
- grpc_core::ContextList::Execute(cl, nullptr, error);
242
- cl = nullptr;
243
-
244
- grpc_slice_buffer_destroy(&read_buffer);
245
- grpc_chttp2_goaway_parser_destroy(&goaway_parser);
246
-
247
- for (i = 0; i < STREAM_LIST_COUNT; i++) {
248
- GPR_ASSERT(lists[i].head == nullptr);
249
- GPR_ASSERT(lists[i].tail == nullptr);
250
- }
251
-
252
- GPR_ASSERT(grpc_chttp2_stream_map_size(&stream_map) == 0);
253
-
254
- grpc_chttp2_stream_map_destroy(&stream_map);
255
-
256
- GRPC_COMBINER_UNREF(combiner, "chttp2_transport");
257
-
258
- cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
259
-
260
- while (write_cb_pool) {
261
- grpc_chttp2_write_cb* next = write_cb_pool->next;
262
- gpr_free(write_cb_pool);
263
- write_cb_pool = next;
264
- }
265
-
266
- gpr_free(ping_acks);
267
- if (grpc_core::test_only_destruct_callback != nullptr) {
268
- grpc_core::test_only_destruct_callback();
269
- }
270
- }
271
-
272
- static const grpc_transport_vtable* get_vtable(void);
273
-
274
- static void read_channel_args(grpc_chttp2_transport* t,
275
- const grpc_core::ChannelArgs& channel_args,
276
- bool is_client) {
277
- const int initial_sequence_number =
278
- channel_args.GetInt(GRPC_ARG_HTTP2_INITIAL_SEQUENCE_NUMBER).value_or(-1);
279
- if (initial_sequence_number > 0) {
280
- if ((t->next_stream_id & 1) != (initial_sequence_number & 1)) {
281
- gpr_log(GPR_ERROR, "%s: low bit must be %d on %s",
282
- GRPC_ARG_HTTP2_INITIAL_SEQUENCE_NUMBER, t->next_stream_id & 1,
283
- is_client ? "client" : "server");
284
- } else {
285
- t->next_stream_id = static_cast<uint32_t>(initial_sequence_number);
286
- }
287
- }
288
-
289
- const int max_hpack_table_size =
290
- channel_args.GetInt(GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_ENCODER).value_or(-1);
291
- if (max_hpack_table_size >= 0) {
292
- t->hpack_compressor.SetMaxUsableSize(max_hpack_table_size);
293
- }
294
-
295
- t->ping_policy.max_pings_without_data =
296
- std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA)
297
- .value_or(g_default_max_pings_without_data));
298
- t->ping_policy.max_ping_strikes =
299
- std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PING_STRIKES)
300
- .value_or(g_default_max_ping_strikes));
301
- t->ping_policy.min_recv_ping_interval_without_data =
302
- std::max(grpc_core::Duration::Zero(),
303
- channel_args
304
- .GetDurationFromIntMillis(
305
- GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS)
306
- .value_or(grpc_core::Duration::Milliseconds(
307
- g_default_min_recv_ping_interval_without_data_ms)));
308
- t->write_buffer_size =
309
- std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE)
310
- .value_or(grpc_core::chttp2::kDefaultWindow));
311
- t->keepalive_time =
312
- std::max(grpc_core::Duration::Milliseconds(1),
313
- channel_args.GetDurationFromIntMillis(GRPC_ARG_KEEPALIVE_TIME_MS)
314
- .value_or(grpc_core::Duration::Milliseconds(
315
- t->is_client ? g_default_client_keepalive_time_ms
316
- : g_default_server_keepalive_time_ms)));
317
- t->keepalive_timeout = std::max(
318
- grpc_core::Duration::Zero(),
319
- channel_args.GetDurationFromIntMillis(GRPC_ARG_KEEPALIVE_TIMEOUT_MS)
320
- .value_or(grpc_core::Duration::Milliseconds(
321
- t->is_client ? g_default_client_keepalive_timeout_ms
322
- : g_default_server_keepalive_timeout_ms)));
323
- t->keepalive_permit_without_calls =
324
- channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)
325
- .value_or(false);
326
-
327
- if (channel_args.GetBool(GRPC_ARG_ENABLE_CHANNELZ)
328
- .value_or(GRPC_ENABLE_CHANNELZ_DEFAULT)) {
329
- t->channelz_socket =
330
- grpc_core::MakeRefCounted<grpc_core::channelz::SocketNode>(
331
- std::string(grpc_endpoint_get_local_address(t->ep)), t->peer_string,
332
- absl::StrFormat("%s %s", get_vtable()->name, t->peer_string),
333
- channel_args
334
- .GetObjectRef<grpc_core::channelz::SocketNode::Security>());
335
- }
336
-
337
- static const struct {
338
- absl::string_view channel_arg_name;
339
- grpc_chttp2_setting_id setting_id;
340
- int default_value;
341
- int min;
342
- int max;
343
- bool availability[2] /* server, client */;
344
- } settings_map[] = {{GRPC_ARG_MAX_CONCURRENT_STREAMS,
345
- GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS,
346
- -1,
347
- 0,
348
- INT32_MAX,
349
- {true, false}},
350
- {GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER,
351
- GRPC_CHTTP2_SETTINGS_HEADER_TABLE_SIZE,
352
- -1,
353
- 0,
354
- INT32_MAX,
355
- {true, true}},
356
- {GRPC_ARG_MAX_METADATA_SIZE,
357
- GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE,
358
- -1,
359
- 0,
360
- INT32_MAX,
361
- {true, true}},
362
- {GRPC_ARG_HTTP2_MAX_FRAME_SIZE,
363
- GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE,
364
- -1,
365
- 16384,
366
- 16777215,
367
- {true, true}},
368
- {GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY,
369
- GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA,
370
- 1,
371
- 0,
372
- 1,
373
- {true, true}},
374
- {GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES,
375
- GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE,
376
- -1,
377
- 5,
378
- INT32_MAX,
379
- {true, true}}};
380
-
381
- for (size_t i = 0; i < GPR_ARRAY_SIZE(settings_map); i++) {
382
- const auto& setting = settings_map[i];
383
- if (setting.availability[is_client]) {
384
- const int value = channel_args.GetInt(setting.channel_arg_name)
385
- .value_or(setting.default_value);
386
- if (value >= 0) {
387
- queue_setting_update(t, setting.setting_id,
388
- grpc_core::Clamp(value, setting.min, setting.max));
389
- }
390
- } else if (channel_args.Contains(setting.channel_arg_name)) {
391
- gpr_log(GPR_DEBUG, "%s is not available on %s",
392
- std::string(setting.channel_arg_name).c_str(),
393
- is_client ? "clients" : "servers");
394
- }
395
- }
396
- }
397
-
398
- static void init_transport_keepalive_settings(grpc_chttp2_transport* t) {
399
- if (t->is_client) {
400
- t->keepalive_time = g_default_client_keepalive_time_ms == INT_MAX
401
- ? grpc_core::Duration::Infinity()
402
- : grpc_core::Duration::Milliseconds(
403
- g_default_client_keepalive_time_ms);
404
- t->keepalive_timeout = g_default_client_keepalive_timeout_ms == INT_MAX
405
- ? grpc_core::Duration::Infinity()
406
- : grpc_core::Duration::Milliseconds(
407
- g_default_client_keepalive_timeout_ms);
408
- t->keepalive_permit_without_calls =
409
- g_default_client_keepalive_permit_without_calls;
410
- } else {
411
- t->keepalive_time = g_default_server_keepalive_time_ms == INT_MAX
412
- ? grpc_core::Duration::Infinity()
413
- : grpc_core::Duration::Milliseconds(
414
- g_default_server_keepalive_time_ms);
415
- t->keepalive_timeout = g_default_server_keepalive_timeout_ms == INT_MAX
416
- ? grpc_core::Duration::Infinity()
417
- : grpc_core::Duration::Milliseconds(
418
- g_default_server_keepalive_timeout_ms);
419
- t->keepalive_permit_without_calls =
420
- g_default_server_keepalive_permit_without_calls;
421
- }
422
- }
423
-
424
- static void configure_transport_ping_policy(grpc_chttp2_transport* t) {
425
- t->ping_policy.max_pings_without_data = g_default_max_pings_without_data;
426
- t->ping_policy.max_ping_strikes = g_default_max_ping_strikes;
427
- t->ping_policy.min_recv_ping_interval_without_data =
428
- grpc_core::Duration::Milliseconds(
429
- g_default_min_recv_ping_interval_without_data_ms);
430
- }
431
-
432
- static void init_keepalive_pings_if_enabled(grpc_chttp2_transport* t) {
433
- if (t->keepalive_time != grpc_core::Duration::Infinity()) {
434
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
435
- GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
436
- GRPC_CLOSURE_INIT(&t->init_keepalive_ping_locked, init_keepalive_ping, t,
437
- grpc_schedule_on_exec_ctx);
438
- grpc_timer_init(&t->keepalive_ping_timer,
439
- grpc_core::Timestamp::Now() + t->keepalive_time,
440
- &t->init_keepalive_ping_locked);
441
- } else {
442
- // Use GRPC_CHTTP2_KEEPALIVE_STATE_DISABLED to indicate there are no
443
- // inflight keeaplive timers
444
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DISABLED;
445
- }
446
- }
447
-
448
- grpc_chttp2_transport::grpc_chttp2_transport(
449
- const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
450
- bool is_client)
451
- : refs(1, GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount)
452
- ? "chttp2_refcount"
453
- : nullptr),
454
- ep(ep),
455
- peer_string(grpc_endpoint_get_peer(ep)),
456
- memory_owner(channel_args.GetObject<grpc_core::ResourceQuota>()
457
- ->memory_quota()
458
- ->CreateMemoryOwner(absl::StrCat(
459
- grpc_endpoint_get_peer(ep), ":client_transport"))),
460
- self_reservation(
461
- memory_owner.MakeReservation(sizeof(grpc_chttp2_transport))),
462
- combiner(grpc_combiner_create()),
463
- state_tracker(is_client ? "client_transport" : "server_transport",
464
- GRPC_CHANNEL_READY),
465
- is_client(is_client),
466
- next_stream_id(is_client ? 1 : 2),
467
- flow_control(
468
- peer_string.c_str(),
469
- channel_args.GetBool(GRPC_ARG_HTTP2_BDP_PROBE).value_or(true),
470
- &memory_owner),
471
- deframe_state(is_client ? GRPC_DTS_FH_0 : GRPC_DTS_CLIENT_PREFIX_0) {
472
- GPR_ASSERT(strlen(GRPC_CHTTP2_CLIENT_CONNECT_STRING) ==
473
- GRPC_CHTTP2_CLIENT_CONNECT_STRLEN);
474
- base.vtable = get_vtable();
475
- // 8 is a random stab in the dark as to a good initial size: it's small enough
476
- // that it shouldn't waste memory for infrequently used connections, yet
477
- // large enough that the exponential growth should happen nicely when it's
478
- // needed.
479
- // TODO(ctiller): tune this
480
- grpc_chttp2_stream_map_init(&stream_map, 8);
481
-
482
- grpc_slice_buffer_init(&read_buffer);
483
- grpc_slice_buffer_init(&outbuf);
484
- if (is_client) {
485
- grpc_slice_buffer_add(&outbuf, grpc_slice_from_copied_string(
486
- GRPC_CHTTP2_CLIENT_CONNECT_STRING));
487
- }
488
- grpc_slice_buffer_init(&qbuf);
489
- // copy in initial settings to all setting sets
490
- size_t i;
491
- int j;
492
- for (i = 0; i < GRPC_CHTTP2_NUM_SETTINGS; i++) {
493
- for (j = 0; j < GRPC_NUM_SETTING_SETS; j++) {
494
- settings[j][i] = grpc_chttp2_settings_parameters[i].default_value;
495
- }
496
- }
497
- grpc_chttp2_goaway_parser_init(&goaway_parser);
498
-
499
- // configure http2 the way we like it
500
- if (is_client) {
501
- queue_setting_update(this, GRPC_CHTTP2_SETTINGS_ENABLE_PUSH, 0);
502
- queue_setting_update(this, GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, 0);
503
- }
504
- queue_setting_update(this, GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE,
505
- DEFAULT_MAX_HEADER_LIST_SIZE);
506
- queue_setting_update(this,
507
- GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA, 1);
508
-
509
- configure_transport_ping_policy(this);
510
- init_transport_keepalive_settings(this);
511
-
512
- read_channel_args(this, channel_args, is_client);
513
-
514
- // No pings allowed before receiving a header or data frame.
515
- ping_state.pings_before_data_required = 0;
516
- ping_state.is_delayed_ping_timer_set = false;
517
- ping_state.last_ping_sent_time = grpc_core::Timestamp::InfPast();
518
-
519
- ping_recv_state.last_ping_recv_time = grpc_core::Timestamp::InfPast();
520
- ping_recv_state.ping_strikes = 0;
521
-
522
- init_keepalive_pings_if_enabled(this);
523
-
524
- if (flow_control.bdp_probe()) {
525
- bdp_ping_blocked = true;
526
- grpc_chttp2_act_on_flowctl_action(flow_control.PeriodicUpdate(), this,
527
- nullptr);
528
- }
529
-
530
- grpc_chttp2_initiate_write(this, GRPC_CHTTP2_INITIATE_WRITE_INITIAL_WRITE);
531
- post_benign_reclaimer(this);
532
- if (grpc_core::test_only_init_callback != nullptr) {
533
- grpc_core::test_only_init_callback();
534
- }
535
- }
536
-
537
- static void destroy_transport_locked(void* tp, grpc_error_handle /*error*/) {
538
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
539
- t->destroying = 1;
540
- close_transport_locked(
541
- t, grpc_error_set_int(GRPC_ERROR_CREATE("Transport destroyed"),
542
- grpc_core::StatusIntProperty::kOccurredDuringWrite,
543
- t->write_state));
544
- t->memory_owner.Reset();
545
- // Must be the last line.
546
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "destroy");
547
- }
548
-
549
- static void destroy_transport(grpc_transport* gt) {
550
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
551
- t->combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, t, nullptr),
552
- absl::OkStatus());
553
- }
554
-
555
- static void close_transport_locked(grpc_chttp2_transport* t,
556
- grpc_error_handle error) {
557
- end_all_the_calls(t, error);
558
- cancel_pings(t, error);
559
- if (t->closed_with_error.ok()) {
560
- if (!grpc_error_has_clear_grpc_status(error)) {
561
- error =
562
- grpc_error_set_int(error, grpc_core::StatusIntProperty::kRpcStatus,
563
- GRPC_STATUS_UNAVAILABLE);
564
- }
565
- if (t->write_state != GRPC_CHTTP2_WRITE_STATE_IDLE) {
566
- if (t->close_transport_on_writes_finished.ok()) {
567
- t->close_transport_on_writes_finished =
568
- GRPC_ERROR_CREATE("Delayed close due to in-progress write");
569
- }
570
- t->close_transport_on_writes_finished =
571
- grpc_error_add_child(t->close_transport_on_writes_finished, error);
572
- return;
573
- }
574
- GPR_ASSERT(!error.ok());
575
- t->closed_with_error = error;
576
- connectivity_state_set(t, GRPC_CHANNEL_SHUTDOWN, absl::Status(),
577
- "close_transport");
578
- if (t->ping_state.is_delayed_ping_timer_set) {
579
- grpc_timer_cancel(&t->ping_state.delayed_ping_timer);
580
- }
581
- if (t->have_next_bdp_ping_timer) {
582
- grpc_timer_cancel(&t->next_bdp_ping_timer);
583
- }
584
- switch (t->keepalive_state) {
585
- case GRPC_CHTTP2_KEEPALIVE_STATE_WAITING:
586
- grpc_timer_cancel(&t->keepalive_ping_timer);
587
- break;
588
- case GRPC_CHTTP2_KEEPALIVE_STATE_PINGING:
589
- grpc_timer_cancel(&t->keepalive_ping_timer);
590
- grpc_timer_cancel(&t->keepalive_watchdog_timer);
591
- break;
592
- case GRPC_CHTTP2_KEEPALIVE_STATE_DYING:
593
- case GRPC_CHTTP2_KEEPALIVE_STATE_DISABLED:
594
- // keepalive timers are not set in these two states
595
- break;
596
- }
597
-
598
- // flush writable stream list to avoid dangling references
599
- grpc_chttp2_stream* s;
600
- while (grpc_chttp2_list_pop_writable_stream(t, &s)) {
601
- GRPC_CHTTP2_STREAM_UNREF(s, "chttp2_writing:close");
602
- }
603
- GPR_ASSERT(t->write_state == GRPC_CHTTP2_WRITE_STATE_IDLE);
604
- grpc_endpoint_shutdown(t->ep, error);
605
- }
606
- if (t->notify_on_receive_settings != nullptr) {
607
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, t->notify_on_receive_settings,
608
- error);
609
- t->notify_on_receive_settings = nullptr;
610
- }
611
- if (t->notify_on_close != nullptr) {
612
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, t->notify_on_close, error);
613
- t->notify_on_close = nullptr;
614
- }
615
- }
616
-
617
- #ifndef NDEBUG
618
- void grpc_chttp2_stream_ref(grpc_chttp2_stream* s, const char* reason) {
619
- grpc_stream_ref(s->refcount, reason);
620
- }
621
- void grpc_chttp2_stream_unref(grpc_chttp2_stream* s, const char* reason) {
622
- grpc_stream_unref(s->refcount, reason);
623
- }
624
- #else
625
- void grpc_chttp2_stream_ref(grpc_chttp2_stream* s) {
626
- grpc_stream_ref(s->refcount);
627
- }
628
- void grpc_chttp2_stream_unref(grpc_chttp2_stream* s) {
629
- grpc_stream_unref(s->refcount);
630
- }
631
- #endif
632
-
633
- grpc_chttp2_stream::Reffer::Reffer(grpc_chttp2_stream* s) {
634
- // We reserve one 'active stream' that's dropped when the stream is
635
- // read-closed. The others are for Chttp2IncomingByteStreams that are
636
- // actively reading
637
- GRPC_CHTTP2_STREAM_REF(s, "chttp2");
638
- GRPC_CHTTP2_REF_TRANSPORT(s->t, "stream");
639
- }
640
-
641
- grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
642
- grpc_stream_refcount* refcount,
643
- const void* server_data,
644
- grpc_core::Arena* arena)
645
- : t(t),
646
- refcount(refcount),
647
- reffer(this),
648
- initial_metadata_buffer(arena),
649
- trailing_metadata_buffer(arena),
650
- flow_control(&t->flow_control) {
651
- if (server_data) {
652
- id = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(server_data));
653
- *t->accepting_stream = this;
654
- grpc_chttp2_stream_map_add(&t->stream_map, id, this);
655
- post_destructive_reclaimer(t);
656
- }
657
-
658
- grpc_slice_buffer_init(&frame_storage);
659
- grpc_slice_buffer_init(&flow_controlled_buffer);
660
- }
661
-
662
- grpc_chttp2_stream::~grpc_chttp2_stream() {
663
- grpc_chttp2_list_remove_stalled_by_stream(t, this);
664
- grpc_chttp2_list_remove_stalled_by_transport(t, this);
665
-
666
- if (t->channelz_socket != nullptr) {
667
- if ((t->is_client && eos_received) || (!t->is_client && eos_sent)) {
668
- t->channelz_socket->RecordStreamSucceeded();
669
- } else {
670
- t->channelz_socket->RecordStreamFailed();
671
- }
672
- }
673
-
674
- GPR_ASSERT((write_closed && read_closed) || id == 0);
675
- if (id != 0) {
676
- GPR_ASSERT(grpc_chttp2_stream_map_find(&t->stream_map, id) == nullptr);
677
- }
678
-
679
- grpc_slice_buffer_destroy(&frame_storage);
680
-
681
- for (int i = 0; i < STREAM_LIST_COUNT; i++) {
682
- if (GPR_UNLIKELY(included.is_set(i))) {
683
- gpr_log(GPR_ERROR, "%s stream %d still included in list %d",
684
- t->is_client ? "client" : "server", id, i);
685
- abort();
686
- }
687
- }
688
-
689
- GPR_ASSERT(send_initial_metadata_finished == nullptr);
690
- GPR_ASSERT(send_trailing_metadata_finished == nullptr);
691
- GPR_ASSERT(recv_initial_metadata_ready == nullptr);
692
- GPR_ASSERT(recv_message_ready == nullptr);
693
- GPR_ASSERT(recv_trailing_metadata_finished == nullptr);
694
- grpc_slice_buffer_destroy(&flow_controlled_buffer);
695
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "stream");
696
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, destroy_stream_arg, absl::OkStatus());
697
- }
698
-
699
- static int init_stream(grpc_transport* gt, grpc_stream* gs,
700
- grpc_stream_refcount* refcount, const void* server_data,
701
- grpc_core::Arena* arena) {
702
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
703
- new (gs) grpc_chttp2_stream(t, refcount, server_data, arena);
704
- return 0;
705
- }
706
-
707
- static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
708
- grpc_chttp2_stream* s = static_cast<grpc_chttp2_stream*>(sp);
709
- s->~grpc_chttp2_stream();
710
- }
711
-
712
- static void destroy_stream(grpc_transport* gt, grpc_stream* gs,
713
- grpc_closure* then_schedule_closure) {
714
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
715
- grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
716
-
717
- s->destroy_stream_arg = then_schedule_closure;
718
- t->combiner->Run(
719
- GRPC_CLOSURE_INIT(&s->destroy_stream, destroy_stream_locked, s, nullptr),
720
- absl::OkStatus());
721
- }
722
-
723
- grpc_chttp2_stream* grpc_chttp2_parsing_accept_stream(grpc_chttp2_transport* t,
724
- uint32_t id) {
725
- if (t->accept_stream_cb == nullptr) {
726
- return nullptr;
727
- }
728
- grpc_chttp2_stream* accepting = nullptr;
729
- GPR_ASSERT(t->accepting_stream == nullptr);
730
- t->accepting_stream = &accepting;
731
- t->accept_stream_cb(t->accept_stream_cb_user_data, &t->base,
732
- reinterpret_cast<void*>(id));
733
- t->accepting_stream = nullptr;
734
- return accepting;
735
- }
736
-
737
- //
738
- // OUTPUT PROCESSING
739
- //
740
-
741
- static const char* write_state_name(grpc_chttp2_write_state st) {
742
- switch (st) {
743
- case GRPC_CHTTP2_WRITE_STATE_IDLE:
744
- return "IDLE";
745
- case GRPC_CHTTP2_WRITE_STATE_WRITING:
746
- return "WRITING";
747
- case GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE:
748
- return "WRITING+MORE";
749
- }
750
- GPR_UNREACHABLE_CODE(return "UNKNOWN");
751
- }
752
-
753
- static void set_write_state(grpc_chttp2_transport* t,
754
- grpc_chttp2_write_state st, const char* reason) {
755
- GRPC_CHTTP2_IF_TRACING(
756
- gpr_log(GPR_INFO, "W:%p %s [%s] state %s -> %s [%s]", t,
757
- t->is_client ? "CLIENT" : "SERVER", t->peer_string.c_str(),
758
- write_state_name(t->write_state), write_state_name(st), reason));
759
- t->write_state = st;
760
- // If the state is being reset back to idle, it means a write was just
761
- // finished. Make sure all the run_after_write closures are scheduled.
762
- //
763
- // This is also our chance to close the transport if the transport was marked
764
- // to be closed after all writes finish (for example, if we received a go-away
765
- // from peer while we had some pending writes)
766
- if (st == GRPC_CHTTP2_WRITE_STATE_IDLE) {
767
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &t->run_after_write);
768
- if (!t->close_transport_on_writes_finished.ok()) {
769
- grpc_error_handle err = t->close_transport_on_writes_finished;
770
- t->close_transport_on_writes_finished = absl::OkStatus();
771
- close_transport_locked(t, err);
772
- }
773
- }
774
- }
775
-
776
- void grpc_chttp2_initiate_write(grpc_chttp2_transport* t,
777
- grpc_chttp2_initiate_write_reason reason) {
778
- switch (t->write_state) {
779
- case GRPC_CHTTP2_WRITE_STATE_IDLE:
780
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_WRITING,
781
- grpc_chttp2_initiate_write_reason_string(reason));
782
- GRPC_CHTTP2_REF_TRANSPORT(t, "writing");
783
- // Note that the 'write_action_begin_locked' closure is being scheduled
784
- // on the 'finally_scheduler' of t->combiner. This means that
785
- // 'write_action_begin_locked' is called only *after* all the other
786
- // closures (some of which are potentially initiating more writes on the
787
- // transport) are executed on the t->combiner.
788
- //
789
- // The reason for scheduling on finally_scheduler is to make sure we batch
790
- // as many writes as possible. 'write_action_begin_locked' is the function
791
- // that gathers all the relevant bytes (which are at various places in the
792
- // grpc_chttp2_transport structure) and append them to 'outbuf' field in
793
- // grpc_chttp2_transport thereby batching what would have been potentially
794
- // multiple write operations.
795
- //
796
- // Also, 'write_action_begin_locked' only gathers the bytes into outbuf.
797
- // It does not call the endpoint to write the bytes. That is done by the
798
- // 'write_action' (which is scheduled by 'write_action_begin_locked')
799
- t->combiner->FinallyRun(
800
- GRPC_CLOSURE_INIT(&t->write_action_begin_locked,
801
- write_action_begin_locked, t, nullptr),
802
- absl::OkStatus());
803
- break;
804
- case GRPC_CHTTP2_WRITE_STATE_WRITING:
805
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE,
806
- grpc_chttp2_initiate_write_reason_string(reason));
807
- break;
808
- case GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE:
809
- break;
810
- }
811
- }
812
-
813
- void grpc_chttp2_mark_stream_writable(grpc_chttp2_transport* t,
814
- grpc_chttp2_stream* s) {
815
- if (t->closed_with_error.ok() && grpc_chttp2_list_add_writable_stream(t, s)) {
816
- GRPC_CHTTP2_STREAM_REF(s, "chttp2_writing:become");
817
- }
818
- }
819
-
820
- static const char* begin_writing_desc(bool partial) {
821
- if (partial) {
822
- return "begin partial write in background";
823
- } else {
824
- return "begin write in current thread";
825
- }
826
- }
827
-
828
- static void write_action_begin_locked(void* gt,
829
- grpc_error_handle /*error_ignored*/) {
830
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(gt);
831
- GPR_ASSERT(t->write_state != GRPC_CHTTP2_WRITE_STATE_IDLE);
832
- grpc_chttp2_begin_write_result r;
833
- if (!t->closed_with_error.ok()) {
834
- r.writing = false;
835
- } else {
836
- r = grpc_chttp2_begin_write(t);
837
- }
838
- if (r.writing) {
839
- set_write_state(t,
840
- r.partial ? GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE
841
- : GRPC_CHTTP2_WRITE_STATE_WRITING,
842
- begin_writing_desc(r.partial));
843
- write_action(t, absl::OkStatus());
844
- if (t->reading_paused_on_pending_induced_frames) {
845
- GPR_ASSERT(t->num_pending_induced_frames == 0);
846
- // We had paused reading, because we had many induced frames (SETTINGS
847
- // ACK, PINGS ACK and RST_STREAMS) pending in t->qbuf. Now that we have
848
- // been able to flush qbuf, we can resume reading.
849
- GRPC_CHTTP2_IF_TRACING(gpr_log(
850
- GPR_INFO,
851
- "transport %p : Resuming reading after being paused due to too "
852
- "many unwritten SETTINGS ACK, PINGS ACK and RST_STREAM frames",
853
- t));
854
- t->reading_paused_on_pending_induced_frames = false;
855
- continue_read_action_locked(t);
856
- }
857
- } else {
858
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_IDLE, "begin writing nothing");
859
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "writing");
860
- }
861
- }
862
-
863
- static void write_action(void* gt, grpc_error_handle /*error*/) {
864
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(gt);
865
- void* cl = t->cl;
866
- t->cl = nullptr;
867
- // If the peer_state_based_framing experiment is set to true,
868
- // choose max_frame_size as 2 * max http2 frame size of peer. If peer is under
869
- // high memory pressure, then it would advertise a smaller max http2 frame
870
- // size. With this logic, the sender would automatically reduce the sending
871
- // frame size as well.
872
- int max_frame_size =
873
- grpc_core::IsPeerStateBasedFramingEnabled()
874
- ? 2 * t->settings[GRPC_PEER_SETTINGS]
875
- [GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE]
876
- : INT_MAX;
877
- grpc_endpoint_write(
878
- t->ep, &t->outbuf,
879
- GRPC_CLOSURE_INIT(&t->write_action_end_locked, write_action_end, t,
880
- grpc_schedule_on_exec_ctx),
881
- cl, max_frame_size);
882
- }
883
-
884
- static void write_action_end(void* tp, grpc_error_handle error) {
885
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
886
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->write_action_end_locked,
887
- write_action_end_locked, t, nullptr),
888
- error);
889
- }
890
-
891
- // Callback from the grpc_endpoint after bytes have been written by calling
892
- // sendmsg
893
- static void write_action_end_locked(void* tp, grpc_error_handle error) {
894
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
895
-
896
- bool closed = false;
897
- if (!error.ok()) {
898
- close_transport_locked(t, error);
899
- closed = true;
900
- }
901
-
902
- if (t->sent_goaway_state == GRPC_CHTTP2_FINAL_GOAWAY_SEND_SCHEDULED) {
903
- t->sent_goaway_state = GRPC_CHTTP2_FINAL_GOAWAY_SENT;
904
- closed = true;
905
- if (grpc_chttp2_stream_map_size(&t->stream_map) == 0) {
906
- close_transport_locked(t, GRPC_ERROR_CREATE("goaway sent"));
907
- }
908
- }
909
-
910
- switch (t->write_state) {
911
- case GRPC_CHTTP2_WRITE_STATE_IDLE:
912
- GPR_UNREACHABLE_CODE(break);
913
- case GRPC_CHTTP2_WRITE_STATE_WRITING:
914
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_IDLE, "finish writing");
915
- break;
916
- case GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE:
917
- set_write_state(t, GRPC_CHTTP2_WRITE_STATE_WRITING, "continue writing");
918
- GRPC_CHTTP2_REF_TRANSPORT(t, "writing");
919
- // If the transport is closed, we will retry writing on the endpoint
920
- // and next write may contain part of the currently serialized frames.
921
- // So, we should only call the run_after_write callbacks when the next
922
- // write finishes, or the callbacks will be invoked when the stream is
923
- // closed.
924
- if (!closed) {
925
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &t->run_after_write);
926
- }
927
- t->combiner->FinallyRun(
928
- GRPC_CLOSURE_INIT(&t->write_action_begin_locked,
929
- write_action_begin_locked, t, nullptr),
930
- absl::OkStatus());
931
- break;
932
- }
933
-
934
- grpc_chttp2_end_write(t, error);
935
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "writing");
936
- }
937
-
938
- // Dirties an HTTP2 setting to be sent out next time a writing path occurs.
939
- // If the change needs to occur immediately, manually initiate a write.
940
- static void queue_setting_update(grpc_chttp2_transport* t,
941
- grpc_chttp2_setting_id id, uint32_t value) {
942
- const grpc_chttp2_setting_parameters* sp =
943
- &grpc_chttp2_settings_parameters[id];
944
- uint32_t use_value = grpc_core::Clamp(value, sp->min_value, sp->max_value);
945
- if (use_value != value) {
946
- gpr_log(GPR_INFO, "Requested parameter %s clamped from %d to %d", sp->name,
947
- value, use_value);
948
- }
949
- if (use_value != t->settings[GRPC_LOCAL_SETTINGS][id]) {
950
- t->settings[GRPC_LOCAL_SETTINGS][id] = use_value;
951
- t->dirtied_local_settings = true;
952
- }
953
- }
954
-
955
- // Cancel out streams that haven't yet started if we have received a GOAWAY
956
- static void cancel_unstarted_streams(grpc_chttp2_transport* t,
957
- grpc_error_handle error) {
958
- grpc_chttp2_stream* s;
959
- while (grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
960
- s->trailing_metadata_buffer.Set(
961
- grpc_core::GrpcStreamNetworkState(),
962
- grpc_core::GrpcStreamNetworkState::kNotSentOnWire);
963
- grpc_chttp2_cancel_stream(t, s, error);
964
- }
965
- }
966
-
967
- void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
968
- uint32_t goaway_error,
969
- uint32_t last_stream_id,
970
- absl::string_view goaway_text) {
971
- // Discard the error from a previous goaway frame (if any)
972
- if (!t->goaway_error.ok()) {
973
- }
974
- t->goaway_error = grpc_error_set_str(
975
- grpc_error_set_int(
976
- grpc_error_set_int(GRPC_ERROR_CREATE("GOAWAY received"),
977
- grpc_core::StatusIntProperty::kHttp2Error,
978
- static_cast<intptr_t>(goaway_error)),
979
- grpc_core::StatusIntProperty::kRpcStatus, GRPC_STATUS_UNAVAILABLE),
980
- grpc_core::StatusStrProperty::kRawBytes, goaway_text);
981
-
982
- GRPC_CHTTP2_IF_TRACING(
983
- gpr_log(GPR_INFO, "transport %p got goaway with last stream id %d", t,
984
- last_stream_id));
985
- // We want to log this irrespective of whether http tracing is enabled if we
986
- // received a GOAWAY with a non NO_ERROR code.
987
- if (goaway_error != GRPC_HTTP2_NO_ERROR) {
988
- gpr_log(GPR_INFO, "%s: Got goaway [%d] err=%s", t->peer_string.c_str(),
989
- goaway_error, grpc_core::StatusToString(t->goaway_error).c_str());
990
- }
991
- if (t->is_client) {
992
- cancel_unstarted_streams(t, t->goaway_error);
993
- // Cancel all unseen streams
994
- grpc_chttp2_stream_map_for_each(
995
- &t->stream_map,
996
- [](void* user_data, uint32_t /* key */, void* stream) {
997
- uint32_t last_stream_id = *(static_cast<uint32_t*>(user_data));
998
- grpc_chttp2_stream* s = static_cast<grpc_chttp2_stream*>(stream);
999
- if (s->id > last_stream_id) {
1000
- s->trailing_metadata_buffer.Set(
1001
- grpc_core::GrpcStreamNetworkState(),
1002
- grpc_core::GrpcStreamNetworkState::kNotSeenByServer);
1003
- grpc_chttp2_cancel_stream(s->t, s, s->t->goaway_error);
1004
- }
1005
- },
1006
- &last_stream_id);
1007
- }
1008
- absl::Status status = grpc_error_to_absl_status(t->goaway_error);
1009
- // When a client receives a GOAWAY with error code ENHANCE_YOUR_CALM and debug
1010
- // data equal to "too_many_pings", it should log the occurrence at a log level
1011
- // that is enabled by default and double the configured KEEPALIVE_TIME used
1012
- // for new connections on that channel.
1013
- if (GPR_UNLIKELY(t->is_client &&
1014
- goaway_error == GRPC_HTTP2_ENHANCE_YOUR_CALM &&
1015
- goaway_text == "too_many_pings")) {
1016
- gpr_log(GPR_ERROR,
1017
- "%s: Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug "
1018
- "data equal to \"too_many_pings\". Current keepalive time (before "
1019
- "throttling): %s",
1020
- t->peer_string.c_str(), t->keepalive_time.ToString().c_str());
1021
- constexpr int max_keepalive_time_millis =
1022
- INT_MAX / KEEPALIVE_TIME_BACKOFF_MULTIPLIER;
1023
- int64_t throttled_keepalive_time =
1024
- t->keepalive_time.millis() > max_keepalive_time_millis
1025
- ? INT_MAX
1026
- : t->keepalive_time.millis() * KEEPALIVE_TIME_BACKOFF_MULTIPLIER;
1027
- status.SetPayload(grpc_core::kKeepaliveThrottlingKey,
1028
- absl::Cord(std::to_string(throttled_keepalive_time)));
1029
- }
1030
- // lie: use transient failure from the transport to indicate goaway has been
1031
- // received.
1032
- if (!grpc_core::test_only_disable_transient_failure_state_notification) {
1033
- connectivity_state_set(t, GRPC_CHANNEL_TRANSIENT_FAILURE, status,
1034
- "got_goaway");
1035
- }
1036
- }
1037
-
1038
- static void maybe_start_some_streams(grpc_chttp2_transport* t) {
1039
- grpc_chttp2_stream* s;
1040
- // maybe cancel out streams that haven't yet started if we have received a
1041
- // GOAWAY
1042
- if (!t->goaway_error.ok()) {
1043
- cancel_unstarted_streams(t, t->goaway_error);
1044
- return;
1045
- }
1046
- // start streams where we have free grpc_chttp2_stream ids and free
1047
- // * concurrency
1048
- while (t->next_stream_id <= MAX_CLIENT_STREAM_ID &&
1049
- grpc_chttp2_stream_map_size(&t->stream_map) <
1050
- t->settings[GRPC_PEER_SETTINGS]
1051
- [GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS] &&
1052
- grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
1053
- // safe since we can't (legally) be parsing this stream yet
1054
- GRPC_CHTTP2_IF_TRACING(gpr_log(
1055
- GPR_INFO,
1056
- "HTTP:%s: Transport %p allocating new grpc_chttp2_stream %p to id %d",
1057
- t->is_client ? "CLI" : "SVR", t, s, t->next_stream_id));
1058
-
1059
- GPR_ASSERT(s->id == 0);
1060
- s->id = t->next_stream_id;
1061
- t->next_stream_id += 2;
1062
-
1063
- if (t->next_stream_id >= MAX_CLIENT_STREAM_ID) {
1064
- connectivity_state_set(t, GRPC_CHANNEL_TRANSIENT_FAILURE,
1065
- absl::Status(absl::StatusCode::kUnavailable,
1066
- "Transport Stream IDs exhausted"),
1067
- "no_more_stream_ids");
1068
- }
1069
-
1070
- grpc_chttp2_stream_map_add(&t->stream_map, s->id, s);
1071
- post_destructive_reclaimer(t);
1072
- grpc_chttp2_mark_stream_writable(t, s);
1073
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_START_NEW_STREAM);
1074
- }
1075
- // cancel out streams that will never be started
1076
- if (t->next_stream_id >= MAX_CLIENT_STREAM_ID) {
1077
- while (grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
1078
- s->trailing_metadata_buffer.Set(
1079
- grpc_core::GrpcStreamNetworkState(),
1080
- grpc_core::GrpcStreamNetworkState::kNotSentOnWire);
1081
- grpc_chttp2_cancel_stream(
1082
- t, s,
1083
- grpc_error_set_int(GRPC_ERROR_CREATE("Stream IDs exhausted"),
1084
- grpc_core::StatusIntProperty::kRpcStatus,
1085
- GRPC_STATUS_UNAVAILABLE));
1086
- }
1087
- }
1088
- }
1089
-
1090
- // Flag that this closure barrier may be covering a write in a pollset, and so
1091
- // we should not complete this closure until we can prove that the write got
1092
- // scheduled
1093
- #define CLOSURE_BARRIER_MAY_COVER_WRITE (1 << 0)
1094
- // First bit of the reference count, stored in the high order bits (with the low
1095
- // bits being used for flags defined above)
1096
- #define CLOSURE_BARRIER_FIRST_REF_BIT (1 << 16)
1097
-
1098
- static grpc_closure* add_closure_barrier(grpc_closure* closure) {
1099
- closure->next_data.scratch += CLOSURE_BARRIER_FIRST_REF_BIT;
1100
- return closure;
1101
- }
1102
-
1103
- static void null_then_sched_closure(grpc_closure** closure) {
1104
- grpc_closure* c = *closure;
1105
- *closure = nullptr;
1106
- // null_then_schedule_closure might be run during a start_batch which might
1107
- // subsequently examine the batch for more operations contained within.
1108
- // However, the closure run might make it back to the call object, push a
1109
- // completion, have the application see it, and make a new operation on the
1110
- // call which recycles the batch BEFORE the call to start_batch completes,
1111
- // forcing a race.
1112
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, c, absl::OkStatus());
1113
- }
1114
-
1115
- void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t,
1116
- grpc_chttp2_stream* /*s*/,
1117
- grpc_closure** pclosure,
1118
- grpc_error_handle error,
1119
- const char* desc) {
1120
- grpc_closure* closure = *pclosure;
1121
- *pclosure = nullptr;
1122
- if (closure == nullptr) {
1123
- return;
1124
- }
1125
- closure->next_data.scratch -= CLOSURE_BARRIER_FIRST_REF_BIT;
1126
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1127
- gpr_log(
1128
- GPR_INFO,
1129
- "complete_closure_step: t=%p %p refs=%d flags=0x%04x desc=%s err=%s "
1130
- "write_state=%s",
1131
- t, closure,
1132
- static_cast<int>(closure->next_data.scratch /
1133
- CLOSURE_BARRIER_FIRST_REF_BIT),
1134
- static_cast<int>(closure->next_data.scratch %
1135
- CLOSURE_BARRIER_FIRST_REF_BIT),
1136
- desc, grpc_core::StatusToString(error).c_str(),
1137
- write_state_name(t->write_state));
1138
- }
1139
- if (!error.ok()) {
1140
- grpc_error_handle cl_err =
1141
- grpc_core::internal::StatusMoveFromHeapPtr(closure->error_data.error);
1142
- if (cl_err.ok()) {
1143
- cl_err = GRPC_ERROR_CREATE(absl::StrCat(
1144
- "Error in HTTP transport completing operation: ", desc,
1145
- " write_state=", write_state_name(t->write_state), " refs=",
1146
- closure->next_data.scratch / CLOSURE_BARRIER_FIRST_REF_BIT, " flags=",
1147
- closure->next_data.scratch % CLOSURE_BARRIER_FIRST_REF_BIT));
1148
- cl_err = grpc_error_set_str(
1149
- cl_err, grpc_core::StatusStrProperty::kTargetAddress, t->peer_string);
1150
- }
1151
- cl_err = grpc_error_add_child(cl_err, error);
1152
- closure->error_data.error = grpc_core::internal::StatusAllocHeapPtr(cl_err);
1153
- }
1154
- if (closure->next_data.scratch < CLOSURE_BARRIER_FIRST_REF_BIT) {
1155
- if ((t->write_state == GRPC_CHTTP2_WRITE_STATE_IDLE) ||
1156
- !(closure->next_data.scratch & CLOSURE_BARRIER_MAY_COVER_WRITE)) {
1157
- // Using GRPC_CLOSURE_SCHED instead of GRPC_CLOSURE_RUN to avoid running
1158
- // closures earlier than when it is safe to do so.
1159
- grpc_error_handle run_error =
1160
- grpc_core::internal::StatusMoveFromHeapPtr(closure->error_data.error);
1161
- closure->error_data.error = 0;
1162
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure, run_error);
1163
- } else {
1164
- grpc_closure_list_append(&t->run_after_write, closure);
1165
- }
1166
- }
1167
- }
1168
-
1169
- static bool contains_non_ok_status(grpc_metadata_batch* batch) {
1170
- return batch->get(grpc_core::GrpcStatusMetadata()).value_or(GRPC_STATUS_OK) !=
1171
- GRPC_STATUS_OK;
1172
- }
1173
-
1174
- static void log_metadata(const grpc_metadata_batch* md_batch, uint32_t id,
1175
- bool is_client, bool is_initial) {
1176
- gpr_log(GPR_INFO, "--metadata--");
1177
- const std::string prefix = absl::StrCat(
1178
- "HTTP:", id, is_initial ? ":HDR" : ":TRL", is_client ? ":CLI:" : ":SVR:");
1179
- md_batch->Log([&prefix](absl::string_view key, absl::string_view value) {
1180
- gpr_log(GPR_INFO, "%s", absl::StrCat(prefix, key, ": ", value).c_str());
1181
- });
1182
- }
1183
-
1184
- static void perform_stream_op_locked(void* stream_op,
1185
- grpc_error_handle /*error_ignored*/) {
1186
- grpc_transport_stream_op_batch* op =
1187
- static_cast<grpc_transport_stream_op_batch*>(stream_op);
1188
- grpc_chttp2_stream* s =
1189
- static_cast<grpc_chttp2_stream*>(op->handler_private.extra_arg);
1190
- grpc_transport_stream_op_batch_payload* op_payload = op->payload;
1191
- grpc_chttp2_transport* t = s->t;
1192
-
1193
- s->context = op->payload->context;
1194
- s->traced = op->is_traced;
1195
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1196
- gpr_log(GPR_INFO,
1197
- "perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s,
1198
- op, grpc_transport_stream_op_batch_string(op).c_str(),
1199
- op->on_complete);
1200
- if (op->send_initial_metadata) {
1201
- log_metadata(op_payload->send_initial_metadata.send_initial_metadata,
1202
- s->id, t->is_client, true);
1203
- }
1204
- if (op->send_trailing_metadata) {
1205
- log_metadata(op_payload->send_trailing_metadata.send_trailing_metadata,
1206
- s->id, t->is_client, false);
1207
- }
1208
- }
1209
-
1210
- grpc_closure* on_complete = op->on_complete;
1211
- // on_complete will be null if and only if there are no send ops in the batch.
1212
- if (on_complete != nullptr) {
1213
- // This batch has send ops. Use final_data as a barrier until enqueue time;
1214
- // the initial counter is dropped at the end of this function.
1215
- on_complete->next_data.scratch = CLOSURE_BARRIER_FIRST_REF_BIT;
1216
- on_complete->error_data.error = 0;
1217
- }
1218
-
1219
- if (op->cancel_stream) {
1220
- grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error);
1221
- }
1222
-
1223
- if (op->send_initial_metadata) {
1224
- if (t->is_client && t->channelz_socket != nullptr) {
1225
- t->channelz_socket->RecordStreamStartedFromLocal();
1226
- }
1227
- GPR_ASSERT(s->send_initial_metadata_finished == nullptr);
1228
- on_complete->next_data.scratch |= CLOSURE_BARRIER_MAY_COVER_WRITE;
1229
-
1230
- s->send_initial_metadata_finished = add_closure_barrier(on_complete);
1231
- s->send_initial_metadata =
1232
- op_payload->send_initial_metadata.send_initial_metadata;
1233
- if (t->is_client) {
1234
- s->deadline = std::min(
1235
- s->deadline,
1236
- s->send_initial_metadata->get(grpc_core::GrpcTimeoutMetadata())
1237
- .value_or(grpc_core::Timestamp::InfFuture()));
1238
- }
1239
- if (contains_non_ok_status(s->send_initial_metadata)) {
1240
- s->seen_error = true;
1241
- }
1242
- if (!s->write_closed) {
1243
- if (t->is_client) {
1244
- if (t->closed_with_error.ok()) {
1245
- GPR_ASSERT(s->id == 0);
1246
- grpc_chttp2_list_add_waiting_for_concurrency(t, s);
1247
- maybe_start_some_streams(t);
1248
- } else {
1249
- s->trailing_metadata_buffer.Set(
1250
- grpc_core::GrpcStreamNetworkState(),
1251
- grpc_core::GrpcStreamNetworkState::kNotSentOnWire);
1252
- grpc_chttp2_cancel_stream(
1253
- t, s,
1254
- grpc_error_set_int(
1255
- GRPC_ERROR_CREATE_REFERENCING("Transport closed",
1256
- &t->closed_with_error, 1),
1257
- grpc_core::StatusIntProperty::kRpcStatus,
1258
- GRPC_STATUS_UNAVAILABLE));
1259
- }
1260
- } else {
1261
- GPR_ASSERT(s->id != 0);
1262
- grpc_chttp2_mark_stream_writable(t, s);
1263
- if (!(op->send_message &&
1264
- (op->payload->send_message.flags & GRPC_WRITE_BUFFER_HINT))) {
1265
- grpc_chttp2_initiate_write(
1266
- t, GRPC_CHTTP2_INITIATE_WRITE_SEND_INITIAL_METADATA);
1267
- }
1268
- }
1269
- } else {
1270
- s->send_initial_metadata = nullptr;
1271
- grpc_chttp2_complete_closure_step(
1272
- t, s, &s->send_initial_metadata_finished,
1273
- GRPC_ERROR_CREATE_REFERENCING(
1274
- "Attempt to send initial metadata after stream was closed",
1275
- &s->write_closed_error, 1),
1276
- "send_initial_metadata_finished");
1277
- }
1278
- if (op_payload->send_initial_metadata.peer_string != nullptr) {
1279
- gpr_atm_rel_store(op_payload->send_initial_metadata.peer_string,
1280
- (gpr_atm)t->peer_string.c_str());
1281
- }
1282
- }
1283
-
1284
- if (op->send_message) {
1285
- t->num_messages_in_next_write++;
1286
- grpc_core::global_stats().IncrementHttp2SendMessageSize(
1287
- op->payload->send_message.send_message->Length());
1288
- on_complete->next_data.scratch |= CLOSURE_BARRIER_MAY_COVER_WRITE;
1289
- s->send_message_finished = add_closure_barrier(op->on_complete);
1290
- const uint32_t flags = op_payload->send_message.flags;
1291
- if (s->write_closed) {
1292
- op->payload->send_message.stream_write_closed = true;
1293
- // We should NOT return an error here, so as to avoid a cancel OP being
1294
- // started. The surface layer will notice that the stream has been closed
1295
- // for writes and fail the send message op.
1296
- grpc_chttp2_complete_closure_step(t, s, &s->send_message_finished,
1297
- absl::OkStatus(),
1298
- "fetching_send_message_finished");
1299
- } else {
1300
- uint8_t* frame_hdr = grpc_slice_buffer_tiny_add(
1301
- &s->flow_controlled_buffer, GRPC_HEADER_SIZE_IN_BYTES);
1302
- frame_hdr[0] = (flags & GRPC_WRITE_INTERNAL_COMPRESS) != 0;
1303
- size_t len = op_payload->send_message.send_message->Length();
1304
- frame_hdr[1] = static_cast<uint8_t>(len >> 24);
1305
- frame_hdr[2] = static_cast<uint8_t>(len >> 16);
1306
- frame_hdr[3] = static_cast<uint8_t>(len >> 8);
1307
- frame_hdr[4] = static_cast<uint8_t>(len);
1308
-
1309
- s->next_message_end_offset =
1310
- s->flow_controlled_bytes_written +
1311
- static_cast<int64_t>(s->flow_controlled_buffer.length) +
1312
- static_cast<int64_t>(len);
1313
- if (flags & GRPC_WRITE_BUFFER_HINT) {
1314
- s->next_message_end_offset -= t->write_buffer_size;
1315
- s->write_buffering = true;
1316
- } else {
1317
- s->write_buffering = false;
1318
- }
1319
-
1320
- grpc_slice* const slices =
1321
- op_payload->send_message.send_message->c_slice_buffer()->slices;
1322
- grpc_slice* const end =
1323
- slices + op_payload->send_message.send_message->Count();
1324
- for (grpc_slice* slice = slices; slice != end; slice++) {
1325
- grpc_slice_buffer_add(&s->flow_controlled_buffer,
1326
- grpc_core::CSliceRef(*slice));
1327
- }
1328
-
1329
- int64_t notify_offset = s->next_message_end_offset;
1330
- if (notify_offset <= s->flow_controlled_bytes_written) {
1331
- grpc_chttp2_complete_closure_step(t, s, &s->send_message_finished,
1332
- absl::OkStatus(),
1333
- "fetching_send_message_finished");
1334
- } else {
1335
- grpc_chttp2_write_cb* cb = t->write_cb_pool;
1336
- if (cb == nullptr) {
1337
- cb = static_cast<grpc_chttp2_write_cb*>(gpr_malloc(sizeof(*cb)));
1338
- } else {
1339
- t->write_cb_pool = cb->next;
1340
- }
1341
- cb->call_at_byte = notify_offset;
1342
- cb->closure = s->send_message_finished;
1343
- s->send_message_finished = nullptr;
1344
- grpc_chttp2_write_cb** list = flags & GRPC_WRITE_THROUGH
1345
- ? &s->on_write_finished_cbs
1346
- : &s->on_flow_controlled_cbs;
1347
- cb->next = *list;
1348
- *list = cb;
1349
- }
1350
-
1351
- if (s->id != 0 &&
1352
- (!s->write_buffering ||
1353
- s->flow_controlled_buffer.length > t->write_buffer_size)) {
1354
- grpc_chttp2_mark_stream_writable(t, s);
1355
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_SEND_MESSAGE);
1356
- }
1357
- }
1358
- }
1359
-
1360
- if (op->send_trailing_metadata) {
1361
- GPR_ASSERT(s->send_trailing_metadata_finished == nullptr);
1362
- on_complete->next_data.scratch |= CLOSURE_BARRIER_MAY_COVER_WRITE;
1363
- s->send_trailing_metadata_finished = add_closure_barrier(on_complete);
1364
- s->send_trailing_metadata =
1365
- op_payload->send_trailing_metadata.send_trailing_metadata;
1366
- s->sent_trailing_metadata_op = op_payload->send_trailing_metadata.sent;
1367
- s->write_buffering = false;
1368
- if (contains_non_ok_status(s->send_trailing_metadata)) {
1369
- s->seen_error = true;
1370
- }
1371
- if (s->write_closed) {
1372
- s->send_trailing_metadata = nullptr;
1373
- s->sent_trailing_metadata_op = nullptr;
1374
- grpc_chttp2_complete_closure_step(
1375
- t, s, &s->send_trailing_metadata_finished,
1376
- op->payload->send_trailing_metadata.send_trailing_metadata->empty()
1377
- ? absl::OkStatus()
1378
- : GRPC_ERROR_CREATE("Attempt to send trailing metadata after "
1379
- "stream was closed"),
1380
- "send_trailing_metadata_finished");
1381
- } else if (s->id != 0) {
1382
- // TODO(ctiller): check if there's flow control for any outstanding
1383
- // bytes before going writable
1384
- grpc_chttp2_mark_stream_writable(t, s);
1385
- grpc_chttp2_initiate_write(
1386
- t, GRPC_CHTTP2_INITIATE_WRITE_SEND_TRAILING_METADATA);
1387
- }
1388
- }
1389
-
1390
- if (op->recv_initial_metadata) {
1391
- GPR_ASSERT(s->recv_initial_metadata_ready == nullptr);
1392
- s->recv_initial_metadata_ready =
1393
- op_payload->recv_initial_metadata.recv_initial_metadata_ready;
1394
- s->recv_initial_metadata =
1395
- op_payload->recv_initial_metadata.recv_initial_metadata;
1396
- s->trailing_metadata_available =
1397
- op_payload->recv_initial_metadata.trailing_metadata_available;
1398
- if (s->parsed_trailers_only && s->trailing_metadata_available != nullptr) {
1399
- *s->trailing_metadata_available = true;
1400
- }
1401
- if (op_payload->recv_initial_metadata.peer_string != nullptr) {
1402
- gpr_atm_rel_store(op_payload->recv_initial_metadata.peer_string,
1403
- (gpr_atm)t->peer_string.c_str());
1404
- }
1405
- grpc_chttp2_maybe_complete_recv_initial_metadata(t, s);
1406
- }
1407
-
1408
- if (op->recv_message) {
1409
- GPR_ASSERT(s->recv_message_ready == nullptr);
1410
- s->recv_message_ready = op_payload->recv_message.recv_message_ready;
1411
- s->recv_message = op_payload->recv_message.recv_message;
1412
- s->recv_message->emplace();
1413
- s->recv_message_flags = op_payload->recv_message.flags;
1414
- s->call_failed_before_recv_message =
1415
- op_payload->recv_message.call_failed_before_recv_message;
1416
- grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
1417
- }
1418
-
1419
- if (op->recv_trailing_metadata) {
1420
- GPR_ASSERT(s->collecting_stats == nullptr);
1421
- s->collecting_stats = op_payload->recv_trailing_metadata.collect_stats;
1422
- GPR_ASSERT(s->recv_trailing_metadata_finished == nullptr);
1423
- s->recv_trailing_metadata_finished =
1424
- op_payload->recv_trailing_metadata.recv_trailing_metadata_ready;
1425
- s->recv_trailing_metadata =
1426
- op_payload->recv_trailing_metadata.recv_trailing_metadata;
1427
- s->final_metadata_requested = true;
1428
- grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
1429
- }
1430
-
1431
- if (on_complete != nullptr) {
1432
- grpc_chttp2_complete_closure_step(t, s, &on_complete, absl::OkStatus(),
1433
- "op->on_complete");
1434
- }
1435
-
1436
- GRPC_CHTTP2_STREAM_UNREF(s, "perform_stream_op");
1437
- }
1438
-
1439
- static void perform_stream_op(grpc_transport* gt, grpc_stream* gs,
1440
- grpc_transport_stream_op_batch* op) {
1441
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
1442
- grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
1443
-
1444
- if (!t->is_client) {
1445
- if (op->send_initial_metadata) {
1446
- GPR_ASSERT(!op->payload->send_initial_metadata.send_initial_metadata
1447
- ->get(grpc_core::GrpcTimeoutMetadata())
1448
- .has_value());
1449
- }
1450
- if (op->send_trailing_metadata) {
1451
- GPR_ASSERT(!op->payload->send_trailing_metadata.send_trailing_metadata
1452
- ->get(grpc_core::GrpcTimeoutMetadata())
1453
- .has_value());
1454
- }
1455
- }
1456
-
1457
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1458
- gpr_log(GPR_INFO, "perform_stream_op[s=%p; op=%p]: %s", s, op,
1459
- grpc_transport_stream_op_batch_string(op).c_str());
1460
- }
1461
-
1462
- GRPC_CHTTP2_STREAM_REF(s, "perform_stream_op");
1463
- op->handler_private.extra_arg = gs;
1464
- t->combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
1465
- perform_stream_op_locked, op, nullptr),
1466
- absl::OkStatus());
1467
- }
1468
-
1469
- static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
1470
- // callback remaining pings: they're not allowed to call into the transport,
1471
- // and maybe they hold resources that need to be freed
1472
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1473
- GPR_ASSERT(!error.ok());
1474
- for (size_t j = 0; j < GRPC_CHTTP2_PCL_COUNT; j++) {
1475
- grpc_closure_list_fail_all(&pq->lists[j], error);
1476
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &pq->lists[j]);
1477
- }
1478
- }
1479
-
1480
- static void send_ping_locked(grpc_chttp2_transport* t,
1481
- grpc_closure* on_initiate, grpc_closure* on_ack) {
1482
- if (!t->closed_with_error.ok()) {
1483
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_initiate, t->closed_with_error);
1484
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_ack, t->closed_with_error);
1485
- return;
1486
- }
1487
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1488
- grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_INITIATE], on_initiate,
1489
- absl::OkStatus());
1490
- grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_NEXT], on_ack,
1491
- absl::OkStatus());
1492
- }
1493
-
1494
- // Specialized form of send_ping_locked for keepalive ping. If there is already
1495
- // a ping in progress, the keepalive ping would piggyback onto that ping,
1496
- // instead of waiting for that ping to complete and then starting a new ping.
1497
- static void send_keepalive_ping_locked(grpc_chttp2_transport* t) {
1498
- if (!t->closed_with_error.ok()) {
1499
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
1500
- start_keepalive_ping_locked, t, nullptr),
1501
- t->closed_with_error);
1502
- t->combiner->Run(
1503
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
1504
- finish_keepalive_ping_locked, t, nullptr),
1505
- t->closed_with_error);
1506
- return;
1507
- }
1508
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1509
- if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_INFLIGHT])) {
1510
- // There is a ping in flight. Add yourself to the inflight closure list.
1511
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
1512
- start_keepalive_ping_locked, t, nullptr),
1513
- t->closed_with_error);
1514
- grpc_closure_list_append(
1515
- &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT],
1516
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
1517
- finish_keepalive_ping, t, grpc_schedule_on_exec_ctx),
1518
- absl::OkStatus());
1519
- return;
1520
- }
1521
- grpc_closure_list_append(
1522
- &pq->lists[GRPC_CHTTP2_PCL_INITIATE],
1523
- GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked, start_keepalive_ping,
1524
- t, grpc_schedule_on_exec_ctx),
1525
- absl::OkStatus());
1526
- grpc_closure_list_append(
1527
- &pq->lists[GRPC_CHTTP2_PCL_NEXT],
1528
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked, finish_keepalive_ping,
1529
- t, grpc_schedule_on_exec_ctx),
1530
- absl::OkStatus());
1531
- }
1532
-
1533
- void grpc_chttp2_retry_initiate_ping(void* tp, grpc_error_handle error) {
1534
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
1535
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->retry_initiate_ping_locked,
1536
- retry_initiate_ping_locked, t, nullptr),
1537
- error);
1538
- }
1539
-
1540
- static void retry_initiate_ping_locked(void* tp, grpc_error_handle error) {
1541
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
1542
- t->ping_state.is_delayed_ping_timer_set = false;
1543
- if (error.ok()) {
1544
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING);
1545
- }
1546
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "retry_initiate_ping_locked");
1547
- }
1548
-
1549
- void grpc_chttp2_ack_ping(grpc_chttp2_transport* t, uint64_t id) {
1550
- grpc_chttp2_ping_queue* pq = &t->ping_queue;
1551
- if (pq->inflight_id != id) {
1552
- gpr_log(GPR_DEBUG, "Unknown ping response from %s: %" PRIx64,
1553
- t->peer_string.c_str(), id);
1554
- return;
1555
- }
1556
- grpc_core::ExecCtx::RunList(DEBUG_LOCATION,
1557
- &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT]);
1558
- if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_NEXT])) {
1559
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CONTINUE_PINGS);
1560
- }
1561
- }
1562
-
1563
- namespace {
1564
-
1565
- // Fire and forget (deletes itself on completion). Does a graceful shutdown by
1566
- // sending a GOAWAY frame with the last stream id set to 2^31-1, sending a ping
1567
- // and waiting for an ack (effective waiting for an RTT) and then sending a
1568
- // final GOAWAY freame with an updated last stream identifier. This helps ensure
1569
- // that a connection can be cleanly shut down without losing requests.
1570
- // In the event, that the client does not respond to the ping for some reason,
1571
- // we add a 20 second deadline, after which we send the second goaway.
1572
- class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
1573
- public:
1574
- static void Start(grpc_chttp2_transport* t) { new GracefulGoaway(t); }
1575
-
1576
- ~GracefulGoaway() override {
1577
- GRPC_CHTTP2_UNREF_TRANSPORT(t_, "graceful goaway");
1578
- }
1579
-
1580
- private:
1581
- explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t) {
1582
- t->sent_goaway_state = GRPC_CHTTP2_GRACEFUL_GOAWAY;
1583
- GRPC_CHTTP2_REF_TRANSPORT(t_, "graceful goaway");
1584
- grpc_chttp2_goaway_append((1u << 31) - 1, 0, grpc_empty_slice(), &t->qbuf);
1585
- send_ping_locked(
1586
- t, nullptr, GRPC_CLOSURE_INIT(&on_ping_ack_, OnPingAck, this, nullptr));
1587
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1588
- Ref().release(); // Ref for the timer
1589
- grpc_timer_init(
1590
- &timer_, grpc_core::Timestamp::Now() + grpc_core::Duration::Seconds(20),
1591
- GRPC_CLOSURE_INIT(&on_timer_, OnTimer, this, nullptr));
1592
- }
1593
-
1594
- void MaybeSendFinalGoawayLocked() {
1595
- if (t_->sent_goaway_state != GRPC_CHTTP2_GRACEFUL_GOAWAY) {
1596
- // We already sent the final GOAWAY.
1597
- return;
1598
- }
1599
- if (t_->destroying || !t_->closed_with_error.ok()) {
1600
- GRPC_CHTTP2_IF_TRACING(gpr_log(
1601
- GPR_INFO,
1602
- "transport:%p %s peer:%s Transport already shutting down. "
1603
- "Graceful GOAWAY abandoned.",
1604
- t_, t_->is_client ? "CLIENT" : "SERVER", t_->peer_string.c_str()));
1605
- return;
1606
- }
1607
- // Ping completed. Send final goaway.
1608
- GRPC_CHTTP2_IF_TRACING(
1609
- gpr_log(GPR_INFO,
1610
- "transport:%p %s peer:%s Graceful shutdown: Ping received. "
1611
- "Sending final GOAWAY with stream_id:%d",
1612
- t_, t_->is_client ? "CLIENT" : "SERVER",
1613
- t_->peer_string.c_str(), t_->last_new_stream_id));
1614
- t_->sent_goaway_state = GRPC_CHTTP2_FINAL_GOAWAY_SEND_SCHEDULED;
1615
- grpc_chttp2_goaway_append(t_->last_new_stream_id, 0, grpc_empty_slice(),
1616
- &t_->qbuf);
1617
- grpc_chttp2_initiate_write(t_, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1618
- }
1619
-
1620
- static void OnPingAck(void* arg, grpc_error_handle /* error */) {
1621
- auto* self = static_cast<GracefulGoaway*>(arg);
1622
- self->t_->combiner->Run(
1623
- GRPC_CLOSURE_INIT(&self->on_ping_ack_, OnPingAckLocked, self, nullptr),
1624
- absl::OkStatus());
1625
- }
1626
-
1627
- static void OnPingAckLocked(void* arg, grpc_error_handle /* error */) {
1628
- auto* self = static_cast<GracefulGoaway*>(arg);
1629
- grpc_timer_cancel(&self->timer_);
1630
- self->MaybeSendFinalGoawayLocked();
1631
- self->Unref();
1632
- }
1633
-
1634
- static void OnTimer(void* arg, grpc_error_handle error) {
1635
- auto* self = static_cast<GracefulGoaway*>(arg);
1636
- if (!error.ok()) {
1637
- self->Unref();
1638
- return;
1639
- }
1640
- self->t_->combiner->Run(
1641
- GRPC_CLOSURE_INIT(&self->on_timer_, OnTimerLocked, self, nullptr),
1642
- absl::OkStatus());
1643
- }
1644
-
1645
- static void OnTimerLocked(void* arg, grpc_error_handle /* error */) {
1646
- auto* self = static_cast<GracefulGoaway*>(arg);
1647
- self->MaybeSendFinalGoawayLocked();
1648
- self->Unref();
1649
- }
1650
-
1651
- grpc_chttp2_transport* t_;
1652
- grpc_closure on_ping_ack_;
1653
- grpc_timer timer_;
1654
- grpc_closure on_timer_;
1655
- };
1656
-
1657
- } // namespace
1658
-
1659
- static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error,
1660
- bool immediate_disconnect_hint) {
1661
- grpc_http2_error_code http_error;
1662
- std::string message;
1663
- grpc_error_get_status(error, grpc_core::Timestamp::InfFuture(), nullptr,
1664
- &message, &http_error, nullptr);
1665
- if (!t->is_client && http_error == GRPC_HTTP2_NO_ERROR &&
1666
- !immediate_disconnect_hint) {
1667
- // Do a graceful shutdown.
1668
- if (t->sent_goaway_state == GRPC_CHTTP2_NO_GOAWAY_SEND) {
1669
- GracefulGoaway::Start(t);
1670
- } else {
1671
- // Graceful GOAWAY is already in progress.
1672
- }
1673
- } else if (t->sent_goaway_state == GRPC_CHTTP2_NO_GOAWAY_SEND ||
1674
- t->sent_goaway_state == GRPC_CHTTP2_GRACEFUL_GOAWAY) {
1675
- // We want to log this irrespective of whether http tracing is enabled
1676
- gpr_log(GPR_DEBUG, "%s: Sending goaway err=%s", t->peer_string.c_str(),
1677
- grpc_core::StatusToString(error).c_str());
1678
- t->sent_goaway_state = GRPC_CHTTP2_FINAL_GOAWAY_SEND_SCHEDULED;
1679
- grpc_chttp2_goaway_append(
1680
- t->last_new_stream_id, static_cast<uint32_t>(http_error),
1681
- grpc_slice_from_cpp_string(std::move(message)), &t->qbuf);
1682
- } else {
1683
- // Final GOAWAY has already been sent.
1684
- }
1685
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
1686
- }
1687
-
1688
- void grpc_chttp2_add_ping_strike(grpc_chttp2_transport* t) {
1689
- if (++t->ping_recv_state.ping_strikes > t->ping_policy.max_ping_strikes &&
1690
- t->ping_policy.max_ping_strikes != 0) {
1691
- send_goaway(t,
1692
- grpc_error_set_int(GRPC_ERROR_CREATE("too_many_pings"),
1693
- grpc_core::StatusIntProperty::kHttp2Error,
1694
- GRPC_HTTP2_ENHANCE_YOUR_CALM),
1695
- /*immediate_disconnect_hint=*/true);
1696
- // The transport will be closed after the write is done
1697
- close_transport_locked(
1698
- t, grpc_error_set_int(GRPC_ERROR_CREATE("Too many pings"),
1699
- grpc_core::StatusIntProperty::kRpcStatus,
1700
- GRPC_STATUS_UNAVAILABLE));
1701
- }
1702
- }
1703
-
1704
- void grpc_chttp2_reset_ping_clock(grpc_chttp2_transport* t) {
1705
- if (!t->is_client) {
1706
- t->ping_recv_state.last_ping_recv_time = grpc_core::Timestamp::InfPast();
1707
- t->ping_recv_state.ping_strikes = 0;
1708
- }
1709
- t->ping_state.pings_before_data_required =
1710
- t->ping_policy.max_pings_without_data;
1711
- }
1712
-
1713
- static void perform_transport_op_locked(void* stream_op,
1714
- grpc_error_handle /*error_ignored*/) {
1715
- grpc_transport_op* op = static_cast<grpc_transport_op*>(stream_op);
1716
- grpc_chttp2_transport* t =
1717
- static_cast<grpc_chttp2_transport*>(op->handler_private.extra_arg);
1718
-
1719
- if (!op->goaway_error.ok()) {
1720
- send_goaway(t, op->goaway_error, /*immediate_disconnect_hint=*/false);
1721
- }
1722
-
1723
- if (op->set_accept_stream) {
1724
- t->accept_stream_cb = op->set_accept_stream_fn;
1725
- t->accept_stream_cb_user_data = op->set_accept_stream_user_data;
1726
- }
1727
-
1728
- if (op->bind_pollset) {
1729
- grpc_endpoint_add_to_pollset(t->ep, op->bind_pollset);
1730
- }
1731
-
1732
- if (op->bind_pollset_set) {
1733
- grpc_endpoint_add_to_pollset_set(t->ep, op->bind_pollset_set);
1734
- }
1735
-
1736
- if (op->send_ping.on_initiate != nullptr || op->send_ping.on_ack != nullptr) {
1737
- send_ping_locked(t, op->send_ping.on_initiate, op->send_ping.on_ack);
1738
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_APPLICATION_PING);
1739
- }
1740
-
1741
- if (op->start_connectivity_watch != nullptr) {
1742
- t->state_tracker.AddWatcher(op->start_connectivity_watch_state,
1743
- std::move(op->start_connectivity_watch));
1744
- }
1745
- if (op->stop_connectivity_watch != nullptr) {
1746
- t->state_tracker.RemoveWatcher(op->stop_connectivity_watch);
1747
- }
1748
-
1749
- if (!op->disconnect_with_error.ok()) {
1750
- send_goaway(t, op->disconnect_with_error,
1751
- /*immediate_disconnect_hint=*/true);
1752
- close_transport_locked(t, op->disconnect_with_error);
1753
- }
1754
-
1755
- grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
1756
-
1757
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "transport_op");
1758
- }
1759
-
1760
- static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) {
1761
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
1762
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
1763
- gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", t,
1764
- grpc_transport_op_string(op).c_str());
1765
- }
1766
- op->handler_private.extra_arg = gt;
1767
- GRPC_CHTTP2_REF_TRANSPORT(t, "transport_op");
1768
- t->combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
1769
- perform_transport_op_locked, op, nullptr),
1770
- absl::OkStatus());
1771
- }
1772
-
1773
- //
1774
- // INPUT PROCESSING - GENERAL
1775
- //
1776
-
1777
- void grpc_chttp2_maybe_complete_recv_initial_metadata(grpc_chttp2_transport* t,
1778
- grpc_chttp2_stream* s) {
1779
- if (s->recv_initial_metadata_ready != nullptr &&
1780
- s->published_metadata[0] != GRPC_METADATA_NOT_PUBLISHED) {
1781
- if (s->seen_error) {
1782
- grpc_slice_buffer_reset_and_unref(&s->frame_storage);
1783
- }
1784
- *s->recv_initial_metadata = std::move(s->initial_metadata_buffer);
1785
- s->recv_initial_metadata->Set(grpc_core::PeerString(), t->peer_string);
1786
- // If we didn't receive initial metadata from the wire and instead faked a
1787
- // status (due to stream cancellations for example), let upper layers know
1788
- // that trailing metadata is immediately available.
1789
- if (s->trailing_metadata_available != nullptr &&
1790
- s->published_metadata[0] != GRPC_METADATA_PUBLISHED_FROM_WIRE &&
1791
- s->published_metadata[1] == GRPC_METADATA_SYNTHESIZED_FROM_FAKE) {
1792
- *s->trailing_metadata_available = true;
1793
- s->trailing_metadata_available = nullptr;
1794
- }
1795
- null_then_sched_closure(&s->recv_initial_metadata_ready);
1796
- }
1797
- }
1798
-
1799
- void grpc_chttp2_maybe_complete_recv_message(grpc_chttp2_transport* t,
1800
- grpc_chttp2_stream* s) {
1801
- if (s->recv_message_ready == nullptr) return;
1802
-
1803
- grpc_core::chttp2::StreamFlowControl::IncomingUpdateContext upd(
1804
- &s->flow_control);
1805
- grpc_error_handle error;
1806
-
1807
- // Lambda is immediately invoked as a big scoped section that can be
1808
- // exited out of at any point by returning.
1809
- [&]() {
1810
- if (s->final_metadata_requested && s->seen_error) {
1811
- grpc_slice_buffer_reset_and_unref(&s->frame_storage);
1812
- s->recv_message->reset();
1813
- } else {
1814
- if (s->frame_storage.length != 0) {
1815
- while (true) {
1816
- GPR_ASSERT(s->frame_storage.length > 0);
1817
- int64_t min_progress_size;
1818
- auto r = grpc_deframe_unprocessed_incoming_frames(
1819
- s, &min_progress_size, &**s->recv_message, s->recv_message_flags);
1820
- if (absl::holds_alternative<grpc_core::Pending>(r)) {
1821
- if (s->read_closed) {
1822
- grpc_slice_buffer_reset_and_unref(&s->frame_storage);
1823
- s->recv_message->reset();
1824
- break;
1825
- } else {
1826
- upd.SetMinProgressSize(min_progress_size);
1827
- return; // Out of lambda to enclosing function
1828
- }
1829
- } else {
1830
- error = absl::get<grpc_error_handle>(r);
1831
- if (!error.ok()) {
1832
- s->seen_error = true;
1833
- grpc_slice_buffer_reset_and_unref(&s->frame_storage);
1834
- break;
1835
- } else {
1836
- if (t->channelz_socket != nullptr) {
1837
- t->channelz_socket->RecordMessageReceived();
1838
- }
1839
- break;
1840
- }
1841
- }
1842
- }
1843
- } else if (s->read_closed) {
1844
- s->recv_message->reset();
1845
- } else {
1846
- upd.SetMinProgressSize(GRPC_HEADER_SIZE_IN_BYTES);
1847
- return; // Out of lambda to enclosing function
1848
- }
1849
- }
1850
- // save the length of the buffer before handing control back to application
1851
- // threads. Needed to support correct flow control bookkeeping
1852
- if (error.ok() && s->recv_message->has_value()) {
1853
- null_then_sched_closure(&s->recv_message_ready);
1854
- } else if (s->published_metadata[1] != GRPC_METADATA_NOT_PUBLISHED) {
1855
- if (s->call_failed_before_recv_message != nullptr) {
1856
- *s->call_failed_before_recv_message =
1857
- (s->published_metadata[1] != GRPC_METADATA_PUBLISHED_AT_CLOSE);
1858
- }
1859
- null_then_sched_closure(&s->recv_message_ready);
1860
- }
1861
- }();
1862
-
1863
- upd.SetPendingSize(s->frame_storage.length);
1864
- grpc_chttp2_act_on_flowctl_action(upd.MakeAction(), t, s);
1865
- }
1866
-
1867
- void grpc_chttp2_maybe_complete_recv_trailing_metadata(grpc_chttp2_transport* t,
1868
- grpc_chttp2_stream* s) {
1869
- grpc_chttp2_maybe_complete_recv_message(t, s);
1870
- if (s->recv_trailing_metadata_finished != nullptr && s->read_closed &&
1871
- s->write_closed) {
1872
- if (s->seen_error || !t->is_client) {
1873
- grpc_slice_buffer_reset_and_unref(&s->frame_storage);
1874
- }
1875
- if (s->read_closed && s->frame_storage.length == 0 &&
1876
- s->recv_trailing_metadata_finished != nullptr) {
1877
- grpc_transport_move_stats(&s->stats, s->collecting_stats);
1878
- s->collecting_stats = nullptr;
1879
- *s->recv_trailing_metadata = std::move(s->trailing_metadata_buffer);
1880
- s->recv_trailing_metadata->Set(grpc_core::PeerString(), t->peer_string);
1881
- null_then_sched_closure(&s->recv_trailing_metadata_finished);
1882
- }
1883
- }
1884
- }
1885
-
1886
- static void remove_stream(grpc_chttp2_transport* t, uint32_t id,
1887
- grpc_error_handle error) {
1888
- grpc_chttp2_stream* s = static_cast<grpc_chttp2_stream*>(
1889
- grpc_chttp2_stream_map_delete(&t->stream_map, id));
1890
- GPR_DEBUG_ASSERT(s);
1891
- if (t->incoming_stream == s) {
1892
- t->incoming_stream = nullptr;
1893
- grpc_chttp2_parsing_become_skip_parser(t);
1894
- }
1895
-
1896
- if (grpc_chttp2_stream_map_size(&t->stream_map) == 0) {
1897
- post_benign_reclaimer(t);
1898
- if (t->sent_goaway_state == GRPC_CHTTP2_FINAL_GOAWAY_SENT) {
1899
- close_transport_locked(
1900
- t, GRPC_ERROR_CREATE_REFERENCING(
1901
- "Last stream closed after sending GOAWAY", &error, 1));
1902
- }
1903
- }
1904
- if (grpc_chttp2_list_remove_writable_stream(t, s)) {
1905
- GRPC_CHTTP2_STREAM_UNREF(s, "chttp2_writing:remove_stream");
1906
- }
1907
- grpc_chttp2_list_remove_stalled_by_stream(t, s);
1908
- grpc_chttp2_list_remove_stalled_by_transport(t, s);
1909
-
1910
- maybe_start_some_streams(t);
1911
- }
1912
-
1913
- void grpc_chttp2_cancel_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
1914
- grpc_error_handle due_to_error) {
1915
- if (!t->is_client && !s->sent_trailing_metadata &&
1916
- grpc_error_has_clear_grpc_status(due_to_error)) {
1917
- close_from_api(t, s, due_to_error);
1918
- return;
1919
- }
1920
-
1921
- if (!s->read_closed || !s->write_closed) {
1922
- if (s->id != 0) {
1923
- grpc_http2_error_code http_error;
1924
- grpc_error_get_status(due_to_error, s->deadline, nullptr, nullptr,
1925
- &http_error, nullptr);
1926
- grpc_chttp2_add_rst_stream_to_next_write(
1927
- t, s->id, static_cast<uint32_t>(http_error), &s->stats.outgoing);
1928
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM);
1929
- }
1930
- }
1931
- if (!due_to_error.ok() && !s->seen_error) {
1932
- s->seen_error = true;
1933
- }
1934
- grpc_chttp2_mark_stream_closed(t, s, 1, 1, due_to_error);
1935
- }
1936
-
1937
- void grpc_chttp2_fake_status(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
1938
- grpc_error_handle error) {
1939
- grpc_status_code status;
1940
- std::string message;
1941
- grpc_error_get_status(error, s->deadline, &status, &message, nullptr,
1942
- nullptr);
1943
- if (status != GRPC_STATUS_OK) {
1944
- s->seen_error = true;
1945
- }
1946
- // stream_global->recv_trailing_metadata_finished gives us a
1947
- // last chance replacement: we've received trailing metadata,
1948
- // but something more important has become available to signal
1949
- // to the upper layers - drop what we've got, and then publish
1950
- // what we want - which is safe because we haven't told anyone
1951
- // about the metadata yet
1952
- if (s->published_metadata[1] == GRPC_METADATA_NOT_PUBLISHED ||
1953
- s->recv_trailing_metadata_finished != nullptr) {
1954
- s->trailing_metadata_buffer.Set(grpc_core::GrpcStatusMetadata(), status);
1955
- if (!message.empty()) {
1956
- s->trailing_metadata_buffer.Set(
1957
- grpc_core::GrpcMessageMetadata(),
1958
- grpc_core::Slice::FromCopiedBuffer(message));
1959
- }
1960
- s->published_metadata[1] = GRPC_METADATA_SYNTHESIZED_FROM_FAKE;
1961
- grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
1962
- }
1963
- }
1964
-
1965
- static void add_error(grpc_error_handle error, grpc_error_handle* refs,
1966
- size_t* nrefs) {
1967
- if (error.ok()) return;
1968
- for (size_t i = 0; i < *nrefs; i++) {
1969
- if (error == refs[i]) {
1970
- return;
1971
- }
1972
- }
1973
- refs[*nrefs] = error;
1974
- ++*nrefs;
1975
- }
1976
-
1977
- static grpc_error_handle removal_error(grpc_error_handle extra_error,
1978
- grpc_chttp2_stream* s,
1979
- const char* main_error_msg) {
1980
- grpc_error_handle refs[3];
1981
- size_t nrefs = 0;
1982
- add_error(s->read_closed_error, refs, &nrefs);
1983
- add_error(s->write_closed_error, refs, &nrefs);
1984
- add_error(extra_error, refs, &nrefs);
1985
- grpc_error_handle error;
1986
- if (nrefs > 0) {
1987
- error = GRPC_ERROR_CREATE_REFERENCING(main_error_msg, refs, nrefs);
1988
- }
1989
- return error;
1990
- }
1991
-
1992
- static void flush_write_list(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
1993
- grpc_chttp2_write_cb** list,
1994
- grpc_error_handle error) {
1995
- while (*list) {
1996
- grpc_chttp2_write_cb* cb = *list;
1997
- *list = cb->next;
1998
- grpc_chttp2_complete_closure_step(t, s, &cb->closure, error,
1999
- "on_write_finished_cb");
2000
- cb->next = t->write_cb_pool;
2001
- t->write_cb_pool = cb;
2002
- }
2003
- }
2004
-
2005
- void grpc_chttp2_fail_pending_writes(grpc_chttp2_transport* t,
2006
- grpc_chttp2_stream* s,
2007
- grpc_error_handle error) {
2008
- error =
2009
- removal_error(error, s, "Pending writes failed due to stream closure");
2010
- s->send_initial_metadata = nullptr;
2011
- grpc_chttp2_complete_closure_step(t, s, &s->send_initial_metadata_finished,
2012
- error, "send_initial_metadata_finished");
2013
-
2014
- s->send_trailing_metadata = nullptr;
2015
- s->sent_trailing_metadata_op = nullptr;
2016
- grpc_chttp2_complete_closure_step(t, s, &s->send_trailing_metadata_finished,
2017
- error, "send_trailing_metadata_finished");
2018
-
2019
- grpc_chttp2_complete_closure_step(t, s, &s->send_message_finished, error,
2020
- "fetching_send_message_finished");
2021
- flush_write_list(t, s, &s->on_write_finished_cbs, error);
2022
- flush_write_list(t, s, &s->on_flow_controlled_cbs, error);
2023
- }
2024
-
2025
- void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
2026
- grpc_chttp2_stream* s, int close_reads,
2027
- int close_writes, grpc_error_handle error) {
2028
- if (s->read_closed && s->write_closed) {
2029
- // already closed, but we should still fake the status if needed.
2030
- grpc_error_handle overall_error = removal_error(error, s, "Stream removed");
2031
- if (!overall_error.ok()) {
2032
- grpc_chttp2_fake_status(t, s, overall_error);
2033
- }
2034
- grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
2035
- return;
2036
- }
2037
- bool closed_read = false;
2038
- bool became_closed = false;
2039
- if (close_reads && !s->read_closed) {
2040
- s->read_closed_error = error;
2041
- s->read_closed = true;
2042
- closed_read = true;
2043
- }
2044
- if (close_writes && !s->write_closed) {
2045
- s->write_closed_error = error;
2046
- s->write_closed = true;
2047
- grpc_chttp2_fail_pending_writes(t, s, error);
2048
- }
2049
- if (s->read_closed && s->write_closed) {
2050
- became_closed = true;
2051
- grpc_error_handle overall_error = removal_error(error, s, "Stream removed");
2052
- if (s->id != 0) {
2053
- remove_stream(t, s->id, overall_error);
2054
- } else {
2055
- // Purge streams waiting on concurrency still waiting for id assignment
2056
- grpc_chttp2_list_remove_waiting_for_concurrency(t, s);
2057
- }
2058
- if (!overall_error.ok()) {
2059
- grpc_chttp2_fake_status(t, s, overall_error);
2060
- }
2061
- }
2062
- if (closed_read) {
2063
- for (int i = 0; i < 2; i++) {
2064
- if (s->published_metadata[i] == GRPC_METADATA_NOT_PUBLISHED) {
2065
- s->published_metadata[i] = GRPC_METADATA_PUBLISHED_AT_CLOSE;
2066
- }
2067
- }
2068
- grpc_chttp2_maybe_complete_recv_initial_metadata(t, s);
2069
- grpc_chttp2_maybe_complete_recv_message(t, s);
2070
- }
2071
- if (became_closed) {
2072
- grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
2073
- GRPC_CHTTP2_STREAM_UNREF(s, "chttp2");
2074
- }
2075
- }
2076
-
2077
- static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
2078
- grpc_error_handle error) {
2079
- grpc_slice hdr;
2080
- grpc_slice status_hdr;
2081
- grpc_slice http_status_hdr;
2082
- grpc_slice content_type_hdr;
2083
- grpc_slice message_pfx;
2084
- uint8_t* p;
2085
- uint32_t len = 0;
2086
- grpc_status_code grpc_status;
2087
- std::string message;
2088
- grpc_error_get_status(error, s->deadline, &grpc_status, &message, nullptr,
2089
- nullptr);
2090
-
2091
- GPR_ASSERT(grpc_status >= 0 && (int)grpc_status < 100);
2092
-
2093
- // Hand roll a header block.
2094
- // This is unnecessarily ugly - at some point we should find a more
2095
- // elegant solution.
2096
- // It's complicated by the fact that our send machinery would be dead by
2097
- // the time we got around to sending this, so instead we ignore HPACK
2098
- // compression and just write the uncompressed bytes onto the wire.
2099
- if (!s->sent_initial_metadata) {
2100
- http_status_hdr = GRPC_SLICE_MALLOC(13);
2101
- p = GRPC_SLICE_START_PTR(http_status_hdr);
2102
- *p++ = 0x00;
2103
- *p++ = 7;
2104
- *p++ = ':';
2105
- *p++ = 's';
2106
- *p++ = 't';
2107
- *p++ = 'a';
2108
- *p++ = 't';
2109
- *p++ = 'u';
2110
- *p++ = 's';
2111
- *p++ = 3;
2112
- *p++ = '2';
2113
- *p++ = '0';
2114
- *p++ = '0';
2115
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr));
2116
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(http_status_hdr);
2117
-
2118
- content_type_hdr = GRPC_SLICE_MALLOC(31);
2119
- p = GRPC_SLICE_START_PTR(content_type_hdr);
2120
- *p++ = 0x00;
2121
- *p++ = 12;
2122
- *p++ = 'c';
2123
- *p++ = 'o';
2124
- *p++ = 'n';
2125
- *p++ = 't';
2126
- *p++ = 'e';
2127
- *p++ = 'n';
2128
- *p++ = 't';
2129
- *p++ = '-';
2130
- *p++ = 't';
2131
- *p++ = 'y';
2132
- *p++ = 'p';
2133
- *p++ = 'e';
2134
- *p++ = 16;
2135
- *p++ = 'a';
2136
- *p++ = 'p';
2137
- *p++ = 'p';
2138
- *p++ = 'l';
2139
- *p++ = 'i';
2140
- *p++ = 'c';
2141
- *p++ = 'a';
2142
- *p++ = 't';
2143
- *p++ = 'i';
2144
- *p++ = 'o';
2145
- *p++ = 'n';
2146
- *p++ = '/';
2147
- *p++ = 'g';
2148
- *p++ = 'r';
2149
- *p++ = 'p';
2150
- *p++ = 'c';
2151
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr));
2152
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(content_type_hdr);
2153
- }
2154
-
2155
- status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10));
2156
- p = GRPC_SLICE_START_PTR(status_hdr);
2157
- *p++ = 0x00; /* literal header, not indexed */
2158
- *p++ = 11; /* len(grpc-status) */
2159
- *p++ = 'g';
2160
- *p++ = 'r';
2161
- *p++ = 'p';
2162
- *p++ = 'c';
2163
- *p++ = '-';
2164
- *p++ = 's';
2165
- *p++ = 't';
2166
- *p++ = 'a';
2167
- *p++ = 't';
2168
- *p++ = 'u';
2169
- *p++ = 's';
2170
- if (grpc_status < 10) {
2171
- *p++ = 1;
2172
- *p++ = static_cast<uint8_t>('0' + grpc_status);
2173
- } else {
2174
- *p++ = 2;
2175
- *p++ = static_cast<uint8_t>('0' + (grpc_status / 10));
2176
- *p++ = static_cast<uint8_t>('0' + (grpc_status % 10));
2177
- }
2178
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr));
2179
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(status_hdr);
2180
-
2181
- size_t msg_len = message.length();
2182
- GPR_ASSERT(msg_len <= UINT32_MAX);
2183
- grpc_core::VarintWriter<1> msg_len_writer(static_cast<uint32_t>(msg_len));
2184
- message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length());
2185
- p = GRPC_SLICE_START_PTR(message_pfx);
2186
- *p++ = 0x00; /* literal header, not indexed */
2187
- *p++ = 12; /* len(grpc-message) */
2188
- *p++ = 'g';
2189
- *p++ = 'r';
2190
- *p++ = 'p';
2191
- *p++ = 'c';
2192
- *p++ = '-';
2193
- *p++ = 'm';
2194
- *p++ = 'e';
2195
- *p++ = 's';
2196
- *p++ = 's';
2197
- *p++ = 'a';
2198
- *p++ = 'g';
2199
- *p++ = 'e';
2200
- msg_len_writer.Write(0, p);
2201
- p += msg_len_writer.length();
2202
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx));
2203
- len += static_cast<uint32_t> GRPC_SLICE_LENGTH(message_pfx);
2204
- len += static_cast<uint32_t>(msg_len);
2205
-
2206
- hdr = GRPC_SLICE_MALLOC(9);
2207
- p = GRPC_SLICE_START_PTR(hdr);
2208
- *p++ = static_cast<uint8_t>(len >> 16);
2209
- *p++ = static_cast<uint8_t>(len >> 8);
2210
- *p++ = static_cast<uint8_t>(len);
2211
- *p++ = GRPC_CHTTP2_FRAME_HEADER;
2212
- *p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM | GRPC_CHTTP2_DATA_FLAG_END_HEADERS;
2213
- *p++ = static_cast<uint8_t>(s->id >> 24);
2214
- *p++ = static_cast<uint8_t>(s->id >> 16);
2215
- *p++ = static_cast<uint8_t>(s->id >> 8);
2216
- *p++ = static_cast<uint8_t>(s->id);
2217
- GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr));
2218
-
2219
- grpc_slice_buffer_add(&t->qbuf, hdr);
2220
- if (!s->sent_initial_metadata) {
2221
- grpc_slice_buffer_add(&t->qbuf, http_status_hdr);
2222
- grpc_slice_buffer_add(&t->qbuf, content_type_hdr);
2223
- }
2224
- grpc_slice_buffer_add(&t->qbuf, status_hdr);
2225
- grpc_slice_buffer_add(&t->qbuf, message_pfx);
2226
- grpc_slice_buffer_add(&t->qbuf,
2227
- grpc_slice_from_cpp_string(std::move(message)));
2228
- grpc_chttp2_reset_ping_clock(t);
2229
- grpc_chttp2_add_rst_stream_to_next_write(t, s->id, GRPC_HTTP2_NO_ERROR,
2230
- &s->stats.outgoing);
2231
-
2232
- grpc_chttp2_mark_stream_closed(t, s, 1, 1, error);
2233
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
2234
- }
2235
-
2236
- struct cancel_stream_cb_args {
2237
- grpc_error_handle error;
2238
- grpc_chttp2_transport* t;
2239
- };
2240
-
2241
- static void cancel_stream_cb(void* user_data, uint32_t /*key*/, void* stream) {
2242
- cancel_stream_cb_args* args = static_cast<cancel_stream_cb_args*>(user_data);
2243
- grpc_chttp2_stream* s = static_cast<grpc_chttp2_stream*>(stream);
2244
- grpc_chttp2_cancel_stream(args->t, s, args->error);
2245
- }
2246
-
2247
- static void end_all_the_calls(grpc_chttp2_transport* t,
2248
- grpc_error_handle error) {
2249
- intptr_t http2_error;
2250
- // If there is no explicit grpc or HTTP/2 error, set to UNAVAILABLE on server.
2251
- if (!t->is_client && !grpc_error_has_clear_grpc_status(error) &&
2252
- !grpc_error_get_int(error, grpc_core::StatusIntProperty::kHttp2Error,
2253
- &http2_error)) {
2254
- error = grpc_error_set_int(error, grpc_core::StatusIntProperty::kRpcStatus,
2255
- GRPC_STATUS_UNAVAILABLE);
2256
- }
2257
- cancel_unstarted_streams(t, error);
2258
- cancel_stream_cb_args args = {error, t};
2259
- grpc_chttp2_stream_map_for_each(&t->stream_map, cancel_stream_cb, &args);
2260
- }
2261
-
2262
- //
2263
- // INPUT PROCESSING - PARSING
2264
- //
2265
-
2266
- template <class F>
2267
- static void WithUrgency(grpc_chttp2_transport* t,
2268
- grpc_core::chttp2::FlowControlAction::Urgency urgency,
2269
- grpc_chttp2_initiate_write_reason reason, F action) {
2270
- switch (urgency) {
2271
- case grpc_core::chttp2::FlowControlAction::Urgency::NO_ACTION_NEEDED:
2272
- break;
2273
- case grpc_core::chttp2::FlowControlAction::Urgency::UPDATE_IMMEDIATELY:
2274
- grpc_chttp2_initiate_write(t, reason);
2275
- ABSL_FALLTHROUGH_INTENDED;
2276
- case grpc_core::chttp2::FlowControlAction::Urgency::QUEUE_UPDATE:
2277
- action();
2278
- break;
2279
- }
2280
- }
2281
-
2282
- void grpc_chttp2_act_on_flowctl_action(
2283
- const grpc_core::chttp2::FlowControlAction& action,
2284
- grpc_chttp2_transport* t, grpc_chttp2_stream* s) {
2285
- WithUrgency(t, action.send_stream_update(),
2286
- GRPC_CHTTP2_INITIATE_WRITE_STREAM_FLOW_CONTROL, [t, s]() {
2287
- if (s->id != 0 && !s->read_closed) {
2288
- grpc_chttp2_mark_stream_writable(t, s);
2289
- }
2290
- });
2291
- WithUrgency(t, action.send_transport_update(),
2292
- GRPC_CHTTP2_INITIATE_WRITE_TRANSPORT_FLOW_CONTROL, []() {});
2293
- WithUrgency(t, action.send_initial_window_update(),
2294
- GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
2295
- queue_setting_update(t,
2296
- GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE,
2297
- action.initial_window_size());
2298
- });
2299
- WithUrgency(t, action.send_max_frame_size_update(),
2300
- GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
2301
- queue_setting_update(t, GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE,
2302
- action.max_frame_size());
2303
- });
2304
- }
2305
-
2306
- static grpc_error_handle try_http_parsing(grpc_chttp2_transport* t) {
2307
- grpc_http_parser parser;
2308
- size_t i = 0;
2309
- grpc_error_handle error;
2310
- grpc_http_response response;
2311
-
2312
- grpc_http_parser_init(&parser, GRPC_HTTP_RESPONSE, &response);
2313
-
2314
- grpc_error_handle parse_error;
2315
- for (; i < t->read_buffer.count && parse_error.ok(); i++) {
2316
- parse_error =
2317
- grpc_http_parser_parse(&parser, t->read_buffer.slices[i], nullptr);
2318
- }
2319
- if (parse_error.ok() &&
2320
- (parse_error = grpc_http_parser_eof(&parser)) == absl::OkStatus()) {
2321
- error = grpc_error_set_int(
2322
- grpc_error_set_int(
2323
- GRPC_ERROR_CREATE("Trying to connect an http1.x server"),
2324
- grpc_core::StatusIntProperty::kHttpStatus, response.status),
2325
- grpc_core::StatusIntProperty::kRpcStatus,
2326
- grpc_http2_status_to_grpc_status(response.status));
2327
- }
2328
-
2329
- grpc_http_parser_destroy(&parser);
2330
- grpc_http_response_destroy(&response);
2331
- return error;
2332
- }
2333
-
2334
- static void read_action(void* tp, grpc_error_handle error) {
2335
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2336
- t->combiner->Run(
2337
- GRPC_CLOSURE_INIT(&t->read_action_locked, read_action_locked, t, nullptr),
2338
- error);
2339
- }
2340
-
2341
- static void read_action_locked(void* tp, grpc_error_handle error) {
2342
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2343
-
2344
- grpc_error_handle err = error;
2345
- if (!err.ok()) {
2346
- err = grpc_error_set_int(
2347
- GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
2348
- grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
2349
- }
2350
- std::swap(err, error);
2351
- if (t->closed_with_error.ok()) {
2352
- size_t i = 0;
2353
- grpc_error_handle errors[3] = {error, absl::OkStatus(), absl::OkStatus()};
2354
- for (; i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) {
2355
- errors[1] = grpc_chttp2_perform_read(t, t->read_buffer.slices[i]);
2356
- }
2357
- if (errors[1] != absl::OkStatus()) {
2358
- errors[2] = try_http_parsing(t);
2359
- error = GRPC_ERROR_CREATE_REFERENCING("Failed parsing HTTP/2", errors,
2360
- GPR_ARRAY_SIZE(errors));
2361
- }
2362
- for (i = 0; i < GPR_ARRAY_SIZE(errors); i++) {
2363
- }
2364
-
2365
- if (t->initial_window_update != 0) {
2366
- if (t->initial_window_update > 0) {
2367
- grpc_chttp2_stream* s;
2368
- while (grpc_chttp2_list_pop_stalled_by_stream(t, &s)) {
2369
- grpc_chttp2_mark_stream_writable(t, s);
2370
- grpc_chttp2_initiate_write(
2371
- t, GRPC_CHTTP2_INITIATE_WRITE_FLOW_CONTROL_UNSTALLED_BY_SETTING);
2372
- }
2373
- }
2374
- t->initial_window_update = 0;
2375
- }
2376
- }
2377
-
2378
- bool keep_reading = false;
2379
- if (error.ok() && !t->closed_with_error.ok()) {
2380
- error = GRPC_ERROR_CREATE_REFERENCING("Transport closed",
2381
- &t->closed_with_error, 1);
2382
- }
2383
- if (!error.ok()) {
2384
- // If a goaway frame was received, this might be the reason why the read
2385
- // failed. Add this info to the error
2386
- if (!t->goaway_error.ok()) {
2387
- error = grpc_error_add_child(error, t->goaway_error);
2388
- }
2389
-
2390
- close_transport_locked(t, error);
2391
- t->endpoint_reading = 0;
2392
- } else if (t->closed_with_error.ok()) {
2393
- keep_reading = true;
2394
- // Since we have read a byte, reset the keepalive timer
2395
- if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING) {
2396
- grpc_timer_cancel(&t->keepalive_ping_timer);
2397
- }
2398
- }
2399
- grpc_slice_buffer_reset_and_unref(&t->read_buffer);
2400
-
2401
- if (keep_reading) {
2402
- if (t->num_pending_induced_frames >= DEFAULT_MAX_PENDING_INDUCED_FRAMES) {
2403
- t->reading_paused_on_pending_induced_frames = true;
2404
- GRPC_CHTTP2_IF_TRACING(
2405
- gpr_log(GPR_INFO,
2406
- "transport %p : Pausing reading due to too "
2407
- "many unwritten SETTINGS ACK and RST_STREAM frames",
2408
- t));
2409
- } else {
2410
- continue_read_action_locked(t);
2411
- }
2412
- } else {
2413
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "reading_action");
2414
- }
2415
- }
2416
-
2417
- static void continue_read_action_locked(grpc_chttp2_transport* t) {
2418
- const bool urgent = !t->goaway_error.ok();
2419
- GRPC_CLOSURE_INIT(&t->read_action_locked, read_action, t,
2420
- grpc_schedule_on_exec_ctx);
2421
- grpc_endpoint_read(t->ep, &t->read_buffer, &t->read_action_locked, urgent,
2422
- grpc_chttp2_min_read_progress_size(t));
2423
- }
2424
-
2425
- // t is reffed prior to calling the first time, and once the callback chain
2426
- // that kicks off finishes, it's unreffed
2427
- void schedule_bdp_ping_locked(grpc_chttp2_transport* t) {
2428
- t->flow_control.bdp_estimator()->SchedulePing();
2429
- send_ping_locked(
2430
- t,
2431
- GRPC_CLOSURE_INIT(&t->start_bdp_ping_locked, start_bdp_ping, t,
2432
- grpc_schedule_on_exec_ctx),
2433
- GRPC_CLOSURE_INIT(&t->finish_bdp_ping_locked, finish_bdp_ping, t,
2434
- grpc_schedule_on_exec_ctx));
2435
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_BDP_PING);
2436
- }
2437
-
2438
- static void start_bdp_ping(void* tp, grpc_error_handle error) {
2439
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2440
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_bdp_ping_locked,
2441
- start_bdp_ping_locked, t, nullptr),
2442
- error);
2443
- }
2444
-
2445
- static void start_bdp_ping_locked(void* tp, grpc_error_handle error) {
2446
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2447
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
2448
- gpr_log(GPR_INFO, "%s: Start BDP ping err=%s", t->peer_string.c_str(),
2449
- grpc_core::StatusToString(error).c_str());
2450
- }
2451
- if (!error.ok() || !t->closed_with_error.ok()) {
2452
- return;
2453
- }
2454
- // Reset the keepalive ping timer
2455
- if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING) {
2456
- grpc_timer_cancel(&t->keepalive_ping_timer);
2457
- }
2458
- t->flow_control.bdp_estimator()->StartPing();
2459
- t->bdp_ping_started = true;
2460
- }
2461
-
2462
- static void finish_bdp_ping(void* tp, grpc_error_handle error) {
2463
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2464
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->finish_bdp_ping_locked,
2465
- finish_bdp_ping_locked, t, nullptr),
2466
- error);
2467
- }
2468
-
2469
- static void finish_bdp_ping_locked(void* tp, grpc_error_handle error) {
2470
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2471
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
2472
- gpr_log(GPR_INFO, "%s: Complete BDP ping err=%s", t->peer_string.c_str(),
2473
- grpc_core::StatusToString(error).c_str());
2474
- }
2475
- if (!error.ok() || !t->closed_with_error.ok()) {
2476
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
2477
- return;
2478
- }
2479
- if (!t->bdp_ping_started) {
2480
- // start_bdp_ping_locked has not been run yet. Schedule
2481
- // finish_bdp_ping_locked to be run later.
2482
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->finish_bdp_ping_locked,
2483
- finish_bdp_ping_locked, t, nullptr),
2484
- error);
2485
- return;
2486
- }
2487
- t->bdp_ping_started = false;
2488
- grpc_core::Timestamp next_ping =
2489
- t->flow_control.bdp_estimator()->CompletePing();
2490
- grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t,
2491
- nullptr);
2492
- GPR_ASSERT(!t->have_next_bdp_ping_timer);
2493
- t->have_next_bdp_ping_timer = true;
2494
- GRPC_CLOSURE_INIT(&t->next_bdp_ping_timer_expired_locked,
2495
- next_bdp_ping_timer_expired, t, grpc_schedule_on_exec_ctx);
2496
- grpc_timer_init(&t->next_bdp_ping_timer, next_ping,
2497
- &t->next_bdp_ping_timer_expired_locked);
2498
- }
2499
-
2500
- static void next_bdp_ping_timer_expired(void* tp, grpc_error_handle error) {
2501
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2502
- t->combiner->Run(
2503
- GRPC_CLOSURE_INIT(&t->next_bdp_ping_timer_expired_locked,
2504
- next_bdp_ping_timer_expired_locked, t, nullptr),
2505
- error);
2506
- }
2507
-
2508
- static void next_bdp_ping_timer_expired_locked(void* tp,
2509
- grpc_error_handle error) {
2510
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(tp);
2511
- GPR_ASSERT(t->have_next_bdp_ping_timer);
2512
- t->have_next_bdp_ping_timer = false;
2513
- if (!error.ok()) {
2514
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
2515
- return;
2516
- }
2517
- if (t->flow_control.bdp_estimator()->accumulator() == 0) {
2518
- // Block the bdp ping till we receive more data.
2519
- t->bdp_ping_blocked = true;
2520
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
2521
- } else {
2522
- schedule_bdp_ping_locked(t);
2523
- }
2524
- }
2525
-
2526
- void grpc_chttp2_config_default_keepalive_args(grpc_channel_args* args,
2527
- bool is_client) {
2528
- size_t i;
2529
- if (args) {
2530
- for (i = 0; i < args->num_args; i++) {
2531
- if (0 == strcmp(args->args[i].key, GRPC_ARG_KEEPALIVE_TIME_MS)) {
2532
- const int value = grpc_channel_arg_get_integer(
2533
- &args->args[i], {is_client ? g_default_client_keepalive_time_ms
2534
- : g_default_server_keepalive_time_ms,
2535
- 1, INT_MAX});
2536
- if (is_client) {
2537
- g_default_client_keepalive_time_ms = value;
2538
- } else {
2539
- g_default_server_keepalive_time_ms = value;
2540
- }
2541
- } else if (0 ==
2542
- strcmp(args->args[i].key, GRPC_ARG_KEEPALIVE_TIMEOUT_MS)) {
2543
- const int value = grpc_channel_arg_get_integer(
2544
- &args->args[i], {is_client ? g_default_client_keepalive_timeout_ms
2545
- : g_default_server_keepalive_timeout_ms,
2546
- 0, INT_MAX});
2547
- if (is_client) {
2548
- g_default_client_keepalive_timeout_ms = value;
2549
- } else {
2550
- g_default_server_keepalive_timeout_ms = value;
2551
- }
2552
- } else if (0 == strcmp(args->args[i].key,
2553
- GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)) {
2554
- const bool value = static_cast<uint32_t>(grpc_channel_arg_get_integer(
2555
- &args->args[i],
2556
- {is_client ? g_default_client_keepalive_permit_without_calls
2557
- : g_default_server_keepalive_timeout_ms,
2558
- 0, 1}));
2559
- if (is_client) {
2560
- g_default_client_keepalive_permit_without_calls = value;
2561
- } else {
2562
- g_default_server_keepalive_permit_without_calls = value;
2563
- }
2564
- } else if (0 ==
2565
- strcmp(args->args[i].key, GRPC_ARG_HTTP2_MAX_PING_STRIKES)) {
2566
- g_default_max_ping_strikes = grpc_channel_arg_get_integer(
2567
- &args->args[i], {g_default_max_ping_strikes, 0, INT_MAX});
2568
- } else if (0 == strcmp(args->args[i].key,
2569
- GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA)) {
2570
- g_default_max_pings_without_data = grpc_channel_arg_get_integer(
2571
- &args->args[i], {g_default_max_pings_without_data, 0, INT_MAX});
2572
- } else if (0 ==
2573
- strcmp(
2574
- args->args[i].key,
2575
- GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS)) {
2576
- g_default_min_recv_ping_interval_without_data_ms =
2577
- grpc_channel_arg_get_integer(
2578
- &args->args[i],
2579
- {g_default_min_recv_ping_interval_without_data_ms, 0, INT_MAX});
2580
- }
2581
- }
2582
- }
2583
- }
2584
-
2585
- static void init_keepalive_ping(void* arg, grpc_error_handle error) {
2586
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2587
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->init_keepalive_ping_locked,
2588
- init_keepalive_ping_locked, t, nullptr),
2589
- error);
2590
- }
2591
-
2592
- static void init_keepalive_ping_locked(void* arg, grpc_error_handle error) {
2593
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2594
- GPR_ASSERT(t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING);
2595
- if (t->destroying || !t->closed_with_error.ok()) {
2596
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
2597
- } else if (error.ok()) {
2598
- if (t->keepalive_permit_without_calls ||
2599
- grpc_chttp2_stream_map_size(&t->stream_map) > 0) {
2600
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_PINGING;
2601
- GRPC_CHTTP2_REF_TRANSPORT(t, "keepalive ping end");
2602
- grpc_timer_init_unset(&t->keepalive_watchdog_timer);
2603
- send_keepalive_ping_locked(t);
2604
- grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_KEEPALIVE_PING);
2605
- } else {
2606
- GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
2607
- GRPC_CLOSURE_INIT(&t->init_keepalive_ping_locked, init_keepalive_ping, t,
2608
- grpc_schedule_on_exec_ctx);
2609
- grpc_timer_init(&t->keepalive_ping_timer,
2610
- grpc_core::Timestamp::Now() + t->keepalive_time,
2611
- &t->init_keepalive_ping_locked);
2612
- }
2613
- } else if (error == absl::CancelledError()) {
2614
- // The keepalive ping timer may be cancelled by bdp
2615
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
2616
- GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2617
- gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.",
2618
- t->peer_string.c_str());
2619
- }
2620
- GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
2621
- GRPC_CLOSURE_INIT(&t->init_keepalive_ping_locked, init_keepalive_ping, t,
2622
- grpc_schedule_on_exec_ctx);
2623
- grpc_timer_init(&t->keepalive_ping_timer,
2624
- grpc_core::Timestamp::Now() + t->keepalive_time,
2625
- &t->init_keepalive_ping_locked);
2626
- }
2627
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "init keepalive ping");
2628
- }
2629
-
2630
- static void start_keepalive_ping(void* arg, grpc_error_handle error) {
2631
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2632
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
2633
- start_keepalive_ping_locked, t, nullptr),
2634
- error);
2635
- }
2636
-
2637
- static void start_keepalive_ping_locked(void* arg, grpc_error_handle error) {
2638
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2639
- if (!error.ok()) {
2640
- return;
2641
- }
2642
- if (t->channelz_socket != nullptr) {
2643
- t->channelz_socket->RecordKeepaliveSent();
2644
- }
2645
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
2646
- GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2647
- gpr_log(GPR_INFO, "%s: Start keepalive ping", t->peer_string.c_str());
2648
- }
2649
- GRPC_CHTTP2_REF_TRANSPORT(t, "keepalive watchdog");
2650
- GRPC_CLOSURE_INIT(&t->keepalive_watchdog_fired_locked,
2651
- keepalive_watchdog_fired, t, grpc_schedule_on_exec_ctx);
2652
- grpc_timer_init(&t->keepalive_watchdog_timer,
2653
- grpc_core::Timestamp::Now() + t->keepalive_timeout,
2654
- &t->keepalive_watchdog_fired_locked);
2655
- t->keepalive_ping_started = true;
2656
- }
2657
-
2658
- static void finish_keepalive_ping(void* arg, grpc_error_handle error) {
2659
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2660
- t->combiner->Run(GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
2661
- finish_keepalive_ping_locked, t, nullptr),
2662
- error);
2663
- }
2664
-
2665
- static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error) {
2666
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2667
- if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
2668
- if (error.ok()) {
2669
- if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
2670
- GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
2671
- gpr_log(GPR_INFO, "%s: Finish keepalive ping", t->peer_string.c_str());
2672
- }
2673
- if (!t->keepalive_ping_started) {
2674
- // start_keepalive_ping_locked has not run yet. Reschedule
2675
- // finish_keepalive_ping_locked for it to be run later.
2676
- t->combiner->Run(
2677
- GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
2678
- finish_keepalive_ping_locked, t, nullptr),
2679
- error);
2680
- return;
2681
- }
2682
- t->keepalive_ping_started = false;
2683
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
2684
- grpc_timer_cancel(&t->keepalive_watchdog_timer);
2685
- GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
2686
- GRPC_CLOSURE_INIT(&t->init_keepalive_ping_locked, init_keepalive_ping, t,
2687
- grpc_schedule_on_exec_ctx);
2688
- grpc_timer_init(&t->keepalive_ping_timer,
2689
- grpc_core::Timestamp::Now() + t->keepalive_time,
2690
- &t->init_keepalive_ping_locked);
2691
- }
2692
- }
2693
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive ping end");
2694
- }
2695
-
2696
- static void keepalive_watchdog_fired(void* arg, grpc_error_handle error) {
2697
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2698
- t->combiner->Run(
2699
- GRPC_CLOSURE_INIT(&t->keepalive_watchdog_fired_locked,
2700
- keepalive_watchdog_fired_locked, t, nullptr),
2701
- error);
2702
- }
2703
-
2704
- static void keepalive_watchdog_fired_locked(void* arg,
2705
- grpc_error_handle error) {
2706
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2707
- if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
2708
- if (error.ok()) {
2709
- gpr_log(GPR_INFO, "%s: Keepalive watchdog fired. Closing transport.",
2710
- t->peer_string.c_str());
2711
- t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
2712
- close_transport_locked(
2713
- t, grpc_error_set_int(GRPC_ERROR_CREATE("keepalive watchdog timeout"),
2714
- grpc_core::StatusIntProperty::kRpcStatus,
2715
- GRPC_STATUS_UNAVAILABLE));
2716
- }
2717
- } else {
2718
- // The watchdog timer should have been cancelled by
2719
- // finish_keepalive_ping_locked.
2720
- if (GPR_UNLIKELY(error != absl::CancelledError())) {
2721
- gpr_log(GPR_ERROR, "keepalive_ping_end state error: %d (expect: %d)",
2722
- t->keepalive_state, GRPC_CHTTP2_KEEPALIVE_STATE_PINGING);
2723
- }
2724
- }
2725
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive watchdog");
2726
- }
2727
-
2728
- //
2729
- // CALLBACK LOOP
2730
- //
2731
-
2732
- static void connectivity_state_set(grpc_chttp2_transport* t,
2733
- grpc_connectivity_state state,
2734
- const absl::Status& status,
2735
- const char* reason) {
2736
- GRPC_CHTTP2_IF_TRACING(
2737
- gpr_log(GPR_INFO, "transport %p set connectivity_state=%d", t, state));
2738
- t->state_tracker.SetState(state, status, reason);
2739
- }
2740
-
2741
- //
2742
- // POLLSET STUFF
2743
- //
2744
-
2745
- static void set_pollset(grpc_transport* gt, grpc_stream* /*gs*/,
2746
- grpc_pollset* pollset) {
2747
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2748
- grpc_endpoint_add_to_pollset(t->ep, pollset);
2749
- }
2750
-
2751
- static void set_pollset_set(grpc_transport* gt, grpc_stream* /*gs*/,
2752
- grpc_pollset_set* pollset_set) {
2753
- grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
2754
- grpc_endpoint_add_to_pollset_set(t->ep, pollset_set);
2755
- }
2756
-
2757
- //
2758
- // RESOURCE QUOTAS
2759
- //
2760
-
2761
- static void post_benign_reclaimer(grpc_chttp2_transport* t) {
2762
- if (!t->benign_reclaimer_registered) {
2763
- t->benign_reclaimer_registered = true;
2764
- GRPC_CHTTP2_REF_TRANSPORT(t, "benign_reclaimer");
2765
- t->memory_owner.PostReclaimer(
2766
- grpc_core::ReclamationPass::kBenign,
2767
- [t](absl::optional<grpc_core::ReclamationSweep> sweep) {
2768
- if (sweep.has_value()) {
2769
- GRPC_CLOSURE_INIT(&t->benign_reclaimer_locked,
2770
- benign_reclaimer_locked, t,
2771
- grpc_schedule_on_exec_ctx);
2772
- t->active_reclamation = std::move(*sweep);
2773
- t->combiner->Run(&t->benign_reclaimer_locked, absl::OkStatus());
2774
- } else {
2775
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "benign_reclaimer");
2776
- }
2777
- });
2778
- }
2779
- }
2780
-
2781
- static void post_destructive_reclaimer(grpc_chttp2_transport* t) {
2782
- if (!t->destructive_reclaimer_registered) {
2783
- t->destructive_reclaimer_registered = true;
2784
- GRPC_CHTTP2_REF_TRANSPORT(t, "destructive_reclaimer");
2785
- t->memory_owner.PostReclaimer(
2786
- grpc_core::ReclamationPass::kDestructive,
2787
- [t](absl::optional<grpc_core::ReclamationSweep> sweep) {
2788
- if (sweep.has_value()) {
2789
- GRPC_CLOSURE_INIT(&t->destructive_reclaimer_locked,
2790
- destructive_reclaimer_locked, t,
2791
- grpc_schedule_on_exec_ctx);
2792
- t->active_reclamation = std::move(*sweep);
2793
- t->combiner->Run(&t->destructive_reclaimer_locked,
2794
- absl::OkStatus());
2795
- } else {
2796
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "benign_reclaimer");
2797
- }
2798
- });
2799
- }
2800
- }
2801
-
2802
- static void benign_reclaimer_locked(void* arg, grpc_error_handle error) {
2803
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2804
- if (error.ok() && grpc_chttp2_stream_map_size(&t->stream_map) == 0) {
2805
- // Channel with no active streams: send a goaway to try and make it
2806
- // disconnect cleanly
2807
- if (GRPC_TRACE_FLAG_ENABLED(grpc_resource_quota_trace)) {
2808
- gpr_log(GPR_INFO, "HTTP2: %s - send goaway to free memory",
2809
- t->peer_string.c_str());
2810
- }
2811
- send_goaway(t,
2812
- grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
2813
- grpc_core::StatusIntProperty::kHttp2Error,
2814
- GRPC_HTTP2_ENHANCE_YOUR_CALM),
2815
- /*immediate_disconnect_hint=*/true);
2816
- } else if (error.ok() && GRPC_TRACE_FLAG_ENABLED(grpc_resource_quota_trace)) {
2817
- gpr_log(GPR_INFO,
2818
- "HTTP2: %s - skip benign reclamation, there are still %" PRIdPTR
2819
- " streams",
2820
- t->peer_string.c_str(),
2821
- grpc_chttp2_stream_map_size(&t->stream_map));
2822
- }
2823
- t->benign_reclaimer_registered = false;
2824
- if (error != absl::CancelledError()) {
2825
- t->active_reclamation.Finish();
2826
- }
2827
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "benign_reclaimer");
2828
- }
2829
-
2830
- static void destructive_reclaimer_locked(void* arg, grpc_error_handle error) {
2831
- grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
2832
- size_t n = grpc_chttp2_stream_map_size(&t->stream_map);
2833
- t->destructive_reclaimer_registered = false;
2834
- if (error.ok() && n > 0) {
2835
- grpc_chttp2_stream* s = static_cast<grpc_chttp2_stream*>(
2836
- grpc_chttp2_stream_map_rand(&t->stream_map));
2837
- if (GRPC_TRACE_FLAG_ENABLED(grpc_resource_quota_trace)) {
2838
- gpr_log(GPR_INFO, "HTTP2: %s - abandon stream id %d",
2839
- t->peer_string.c_str(), s->id);
2840
- }
2841
- grpc_chttp2_cancel_stream(
2842
- t, s,
2843
- grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
2844
- grpc_core::StatusIntProperty::kHttp2Error,
2845
- GRPC_HTTP2_ENHANCE_YOUR_CALM));
2846
- if (n > 1) {
2847
- // Since we cancel one stream per destructive reclamation, if
2848
- // there are more streams left, we can immediately post a new
2849
- // reclaimer in case the resource quota needs to free more
2850
- // memory
2851
- post_destructive_reclaimer(t);
2852
- }
2853
- }
2854
- if (error != absl::CancelledError()) {
2855
- t->active_reclamation.Finish();
2856
- }
2857
- GRPC_CHTTP2_UNREF_TRANSPORT(t, "destructive_reclaimer");
2858
- }
2859
-
2860
- //
2861
- // MONITORING
2862
- //
2863
-
2864
- const char* grpc_chttp2_initiate_write_reason_string(
2865
- grpc_chttp2_initiate_write_reason reason) {
2866
- switch (reason) {
2867
- case GRPC_CHTTP2_INITIATE_WRITE_INITIAL_WRITE:
2868
- return "INITIAL_WRITE";
2869
- case GRPC_CHTTP2_INITIATE_WRITE_START_NEW_STREAM:
2870
- return "START_NEW_STREAM";
2871
- case GRPC_CHTTP2_INITIATE_WRITE_SEND_MESSAGE:
2872
- return "SEND_MESSAGE";
2873
- case GRPC_CHTTP2_INITIATE_WRITE_SEND_INITIAL_METADATA:
2874
- return "SEND_INITIAL_METADATA";
2875
- case GRPC_CHTTP2_INITIATE_WRITE_SEND_TRAILING_METADATA:
2876
- return "SEND_TRAILING_METADATA";
2877
- case GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING:
2878
- return "RETRY_SEND_PING";
2879
- case GRPC_CHTTP2_INITIATE_WRITE_CONTINUE_PINGS:
2880
- return "CONTINUE_PINGS";
2881
- case GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT:
2882
- return "GOAWAY_SENT";
2883
- case GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM:
2884
- return "RST_STREAM";
2885
- case GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API:
2886
- return "CLOSE_FROM_API";
2887
- case GRPC_CHTTP2_INITIATE_WRITE_STREAM_FLOW_CONTROL:
2888
- return "STREAM_FLOW_CONTROL";
2889
- case GRPC_CHTTP2_INITIATE_WRITE_TRANSPORT_FLOW_CONTROL:
2890
- return "TRANSPORT_FLOW_CONTROL";
2891
- case GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS:
2892
- return "SEND_SETTINGS";
2893
- case GRPC_CHTTP2_INITIATE_WRITE_SETTINGS_ACK:
2894
- return "SETTINGS_ACK";
2895
- case GRPC_CHTTP2_INITIATE_WRITE_FLOW_CONTROL_UNSTALLED_BY_SETTING:
2896
- return "FLOW_CONTROL_UNSTALLED_BY_SETTING";
2897
- case GRPC_CHTTP2_INITIATE_WRITE_FLOW_CONTROL_UNSTALLED_BY_UPDATE:
2898
- return "FLOW_CONTROL_UNSTALLED_BY_UPDATE";
2899
- case GRPC_CHTTP2_INITIATE_WRITE_APPLICATION_PING:
2900
- return "APPLICATION_PING";
2901
- case GRPC_CHTTP2_INITIATE_WRITE_BDP_PING:
2902
- return "BDP_PING";
2903
- case GRPC_CHTTP2_INITIATE_WRITE_KEEPALIVE_PING:
2904
- return "KEEPALIVE_PING";
2905
- case GRPC_CHTTP2_INITIATE_WRITE_TRANSPORT_FLOW_CONTROL_UNSTALLED:
2906
- return "TRANSPORT_FLOW_CONTROL_UNSTALLED";
2907
- case GRPC_CHTTP2_INITIATE_WRITE_PING_RESPONSE:
2908
- return "PING_RESPONSE";
2909
- case GRPC_CHTTP2_INITIATE_WRITE_FORCE_RST_STREAM:
2910
- return "FORCE_RST_STREAM";
2911
- }
2912
- GPR_UNREACHABLE_CODE(return "unknown");
2913
- }
2914
-
2915
- static grpc_endpoint* chttp2_get_endpoint(grpc_transport* t) {
2916
- return (reinterpret_cast<grpc_chttp2_transport*>(t))->ep;
2917
- }
2918
-
2919
- static const grpc_transport_vtable vtable = {sizeof(grpc_chttp2_stream),
2920
- "chttp2",
2921
- init_stream,
2922
- nullptr,
2923
- set_pollset,
2924
- set_pollset_set,
2925
- perform_stream_op,
2926
- perform_transport_op,
2927
- destroy_stream,
2928
- destroy_transport,
2929
- chttp2_get_endpoint};
2930
-
2931
- static const grpc_transport_vtable* get_vtable(void) { return &vtable; }
2932
-
2933
- grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode>
2934
- grpc_chttp2_transport_get_socket_node(grpc_transport* transport) {
2935
- grpc_chttp2_transport* t =
2936
- reinterpret_cast<grpc_chttp2_transport*>(transport);
2937
- return t->channelz_socket;
2938
- }
2939
-
2940
- grpc_transport* grpc_create_chttp2_transport(
2941
- const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
2942
- bool is_client) {
2943
- auto t = new grpc_chttp2_transport(channel_args, ep, is_client);
2944
- return &t->base;
2945
- }
2946
-
2947
- void grpc_chttp2_transport_start_reading(
2948
- grpc_transport* transport, grpc_slice_buffer* read_buffer,
2949
- grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close) {
2950
- grpc_chttp2_transport* t =
2951
- reinterpret_cast<grpc_chttp2_transport*>(transport);
2952
- GRPC_CHTTP2_REF_TRANSPORT(
2953
- t, "reading_action"); /* matches unref inside reading_action */
2954
- if (read_buffer != nullptr) {
2955
- grpc_slice_buffer_move_into(read_buffer, &t->read_buffer);
2956
- gpr_free(read_buffer);
2957
- }
2958
- t->notify_on_receive_settings = notify_on_receive_settings;
2959
- t->notify_on_close = notify_on_close;
2960
- t->combiner->Run(
2961
- GRPC_CLOSURE_INIT(&t->read_action_locked, read_action_locked, t, nullptr),
2962
- absl::OkStatus());
2963
- }