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,3043 +0,0 @@
1
- /*
2
- *
3
- * Copyright 2015 gRPC authors.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- *
17
- */
18
-
19
- #include <grpc/support/port_platform.h>
20
-
21
- #include "src/core/lib/surface/call.h"
22
-
23
- #include <inttypes.h>
24
- #include <limits.h>
25
- #include <stdlib.h>
26
-
27
- #include <algorithm>
28
- #include <atomic>
29
- #include <memory>
30
- #include <new>
31
- #include <string>
32
- #include <utility>
33
- #include <vector>
34
-
35
- #include "absl/base/thread_annotations.h"
36
- #include "absl/cleanup/cleanup.h"
37
- #include "absl/meta/type_traits.h"
38
- #include "absl/status/status.h"
39
- #include "absl/strings/str_cat.h"
40
- #include "absl/strings/str_format.h"
41
- #include "absl/strings/str_join.h"
42
- #include "absl/strings/string_view.h"
43
- #include "absl/types/variant.h"
44
-
45
- #include <grpc/byte_buffer.h>
46
- #include <grpc/compression.h>
47
- #include <grpc/event_engine/event_engine.h>
48
- #include <grpc/grpc.h>
49
- #include <grpc/impl/codegen/gpr_types.h>
50
- #include <grpc/impl/codegen/propagation_bits.h>
51
- #include <grpc/slice.h>
52
- #include <grpc/slice_buffer.h>
53
- #include <grpc/status.h>
54
- #include <grpc/support/alloc.h>
55
- #include <grpc/support/atm.h>
56
- #include <grpc/support/log.h>
57
- #include <grpc/support/string_util.h>
58
-
59
- #include "src/core/lib/channel/call_finalization.h"
60
- #include "src/core/lib/channel/channel_stack.h"
61
- #include "src/core/lib/channel/channelz.h"
62
- #include "src/core/lib/channel/context.h"
63
- #include "src/core/lib/channel/status_util.h"
64
- #include "src/core/lib/compression/compression_internal.h"
65
- #include "src/core/lib/debug/stats.h"
66
- #include "src/core/lib/debug/stats_data.h"
67
- #include "src/core/lib/experiments/experiments.h"
68
- #include "src/core/lib/gpr/alloc.h"
69
- #include "src/core/lib/gpr/time_precise.h"
70
- #include "src/core/lib/gpr/useful.h"
71
- #include "src/core/lib/gprpp/bitset.h"
72
- #include "src/core/lib/gprpp/cpp_impl_of.h"
73
- #include "src/core/lib/gprpp/debug_location.h"
74
- #include "src/core/lib/gprpp/ref_counted.h"
75
- #include "src/core/lib/gprpp/ref_counted_ptr.h"
76
- #include "src/core/lib/gprpp/status_helper.h"
77
- #include "src/core/lib/gprpp/sync.h"
78
- #include "src/core/lib/iomgr/call_combiner.h"
79
- #include "src/core/lib/iomgr/exec_ctx.h"
80
- #include "src/core/lib/iomgr/polling_entity.h"
81
- #include "src/core/lib/promise/activity.h"
82
- #include "src/core/lib/promise/arena_promise.h"
83
- #include "src/core/lib/promise/context.h"
84
- #include "src/core/lib/promise/latch.h"
85
- #include "src/core/lib/promise/pipe.h"
86
- #include "src/core/lib/promise/poll.h"
87
- #include "src/core/lib/resource_quota/arena.h"
88
- #include "src/core/lib/slice/slice_buffer.h"
89
- #include "src/core/lib/slice/slice_internal.h"
90
- #include "src/core/lib/surface/api_trace.h"
91
- #include "src/core/lib/surface/call_test_only.h"
92
- #include "src/core/lib/surface/channel.h"
93
- #include "src/core/lib/surface/completion_queue.h"
94
- #include "src/core/lib/surface/server.h"
95
- #include "src/core/lib/surface/validate_metadata.h"
96
- #include "src/core/lib/transport/error_utils.h"
97
- #include "src/core/lib/transport/metadata_batch.h"
98
- #include "src/core/lib/transport/transport.h"
99
-
100
- grpc_core::TraceFlag grpc_call_error_trace(false, "call_error");
101
- grpc_core::TraceFlag grpc_compression_trace(false, "compression");
102
- grpc_core::TraceFlag grpc_call_trace(false, "call");
103
- grpc_core::TraceFlag grpc_call_refcount_trace(false, "call_refcount");
104
-
105
- namespace grpc_core {
106
-
107
- ///////////////////////////////////////////////////////////////////////////////
108
- // Call
109
-
110
- class Call : public CppImplOf<Call, grpc_call> {
111
- public:
112
- Arena* arena() { return arena_; }
113
- bool is_client() const { return is_client_; }
114
-
115
- virtual void ContextSet(grpc_context_index elem, void* value,
116
- void (*destroy)(void* value)) = 0;
117
- virtual void* ContextGet(grpc_context_index elem) const = 0;
118
- virtual bool Completed() = 0;
119
- void CancelWithStatus(grpc_status_code status, const char* description);
120
- virtual void CancelWithError(grpc_error_handle error) = 0;
121
- virtual void SetCompletionQueue(grpc_completion_queue* cq) = 0;
122
- char* GetPeer();
123
- virtual grpc_call_error StartBatch(const grpc_op* ops, size_t nops,
124
- void* notify_tag,
125
- bool is_notify_tag_closure) = 0;
126
- virtual bool failed_before_recv_message() const = 0;
127
- virtual bool is_trailers_only() const = 0;
128
- virtual absl::string_view GetServerAuthority() const = 0;
129
- virtual void ExternalRef() = 0;
130
- virtual void ExternalUnref() = 0;
131
- virtual void InternalRef(const char* reason) = 0;
132
- virtual void InternalUnref(const char* reason) = 0;
133
-
134
- virtual grpc_compression_algorithm test_only_compression_algorithm() = 0;
135
- virtual uint32_t test_only_message_flags() = 0;
136
- virtual uint32_t test_only_encodings_accepted_by_peer() = 0;
137
- virtual grpc_compression_algorithm compression_for_level(
138
- grpc_compression_level level) = 0;
139
-
140
- // This should return nullptr for the promise stack (and alternative means
141
- // for that functionality be invented)
142
- virtual grpc_call_stack* call_stack() = 0;
143
-
144
- gpr_atm* peer_string_atm_ptr() { return &peer_string_; }
145
-
146
- protected:
147
- // The maximum number of concurrent batches possible.
148
- // Based upon the maximum number of individually queueable ops in the batch
149
- // api:
150
- // - initial metadata send
151
- // - message send
152
- // - status/close send (depending on client/server)
153
- // - initial metadata recv
154
- // - message recv
155
- // - status/close recv (depending on client/server)
156
- static constexpr size_t kMaxConcurrentBatches = 6;
157
-
158
- struct ParentCall {
159
- Mutex child_list_mu;
160
- Call* first_child ABSL_GUARDED_BY(child_list_mu) = nullptr;
161
- };
162
-
163
- struct ChildCall {
164
- explicit ChildCall(Call* parent) : parent(parent) {}
165
- Call* parent;
166
- /** siblings: children of the same parent form a list, and this list is
167
- protected under
168
- parent->mu */
169
- Call* sibling_next = nullptr;
170
- Call* sibling_prev = nullptr;
171
- };
172
-
173
- Call(Arena* arena, bool is_client, Timestamp send_deadline,
174
- RefCountedPtr<Channel> channel)
175
- : channel_(std::move(channel)),
176
- arena_(arena),
177
- send_deadline_(send_deadline),
178
- is_client_(is_client) {
179
- GPR_DEBUG_ASSERT(arena_ != nullptr);
180
- GPR_DEBUG_ASSERT(channel_ != nullptr);
181
- }
182
- virtual ~Call() = default;
183
-
184
- void DeleteThis();
185
-
186
- ParentCall* GetOrCreateParentCall();
187
- ParentCall* parent_call();
188
- Channel* channel() {
189
- GPR_DEBUG_ASSERT(channel_ != nullptr);
190
- return channel_.get();
191
- }
192
-
193
- absl::Status InitParent(Call* parent, uint32_t propagation_mask);
194
- void PublishToParent(Call* parent);
195
- void MaybeUnpublishFromParent();
196
- void PropagateCancellationToChildren();
197
-
198
- Timestamp send_deadline() const { return send_deadline_; }
199
- void set_send_deadline(Timestamp send_deadline) {
200
- send_deadline_ = send_deadline;
201
- }
202
-
203
- void ClearPeerString() { gpr_atm_rel_store(&peer_string_, 0); }
204
-
205
- private:
206
- RefCountedPtr<Channel> channel_;
207
- Arena* const arena_;
208
- std::atomic<ParentCall*> parent_call_{nullptr};
209
- ChildCall* child_ = nullptr;
210
- Timestamp send_deadline_;
211
- const bool is_client_;
212
- // flag indicating that cancellation is inherited
213
- bool cancellation_is_inherited_ = false;
214
- // A char* indicating the peer name.
215
- gpr_atm peer_string_ = 0;
216
- };
217
-
218
- Call::ParentCall* Call::GetOrCreateParentCall() {
219
- ParentCall* p = parent_call_.load(std::memory_order_acquire);
220
- if (p == nullptr) {
221
- p = arena_->New<ParentCall>();
222
- ParentCall* expected = nullptr;
223
- if (!parent_call_.compare_exchange_strong(expected, p,
224
- std::memory_order_release,
225
- std::memory_order_relaxed)) {
226
- p->~ParentCall();
227
- p = expected;
228
- }
229
- }
230
- return p;
231
- }
232
-
233
- Call::ParentCall* Call::parent_call() {
234
- return parent_call_.load(std::memory_order_acquire);
235
- }
236
-
237
- absl::Status Call::InitParent(Call* parent, uint32_t propagation_mask) {
238
- child_ = arena()->New<ChildCall>(parent);
239
-
240
- parent->InternalRef("child");
241
- GPR_ASSERT(is_client_);
242
- GPR_ASSERT(!parent->is_client_);
243
-
244
- if (propagation_mask & GRPC_PROPAGATE_DEADLINE) {
245
- send_deadline_ = std::min(send_deadline_, parent->send_deadline_);
246
- }
247
- /* for now GRPC_PROPAGATE_TRACING_CONTEXT *MUST* be passed with
248
- * GRPC_PROPAGATE_STATS_CONTEXT */
249
- /* TODO(ctiller): This should change to use the appropriate census start_op
250
- * call. */
251
- if (propagation_mask & GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT) {
252
- if (0 == (propagation_mask & GRPC_PROPAGATE_CENSUS_STATS_CONTEXT)) {
253
- return absl::UnknownError(
254
- "Census tracing propagation requested without Census context "
255
- "propagation");
256
- }
257
- ContextSet(GRPC_CONTEXT_TRACING, parent->ContextGet(GRPC_CONTEXT_TRACING),
258
- nullptr);
259
- } else if (propagation_mask & GRPC_PROPAGATE_CENSUS_STATS_CONTEXT) {
260
- return absl::UnknownError(
261
- "Census context propagation requested without Census tracing "
262
- "propagation");
263
- }
264
- if (propagation_mask & GRPC_PROPAGATE_CANCELLATION) {
265
- cancellation_is_inherited_ = true;
266
- }
267
- return absl::OkStatus();
268
- }
269
-
270
- void Call::PublishToParent(Call* parent) {
271
- ChildCall* cc = child_;
272
- ParentCall* pc = parent->GetOrCreateParentCall();
273
- MutexLock lock(&pc->child_list_mu);
274
- if (pc->first_child == nullptr) {
275
- pc->first_child = this;
276
- cc->sibling_next = cc->sibling_prev = this;
277
- } else {
278
- cc->sibling_next = pc->first_child;
279
- cc->sibling_prev = pc->first_child->child_->sibling_prev;
280
- cc->sibling_next->child_->sibling_prev =
281
- cc->sibling_prev->child_->sibling_next = this;
282
- }
283
- if (parent->Completed()) {
284
- CancelWithError(absl::CancelledError());
285
- }
286
- }
287
-
288
- void Call::MaybeUnpublishFromParent() {
289
- ChildCall* cc = child_;
290
- if (cc == nullptr) return;
291
-
292
- ParentCall* pc = cc->parent->parent_call();
293
- {
294
- MutexLock lock(&pc->child_list_mu);
295
- if (this == pc->first_child) {
296
- pc->first_child = cc->sibling_next;
297
- if (this == pc->first_child) {
298
- pc->first_child = nullptr;
299
- }
300
- }
301
- cc->sibling_prev->child_->sibling_next = cc->sibling_next;
302
- cc->sibling_next->child_->sibling_prev = cc->sibling_prev;
303
- }
304
- cc->parent->InternalUnref("child");
305
- }
306
-
307
- void Call::CancelWithStatus(grpc_status_code status, const char* description) {
308
- // copying 'description' is needed to ensure the grpc_call_cancel_with_status
309
- // guarantee that can be short-lived.
310
- CancelWithError(grpc_error_set_int(
311
- grpc_error_set_str(GRPC_ERROR_CREATE(description),
312
- StatusStrProperty::kGrpcMessage, description),
313
- StatusIntProperty::kRpcStatus, status));
314
- }
315
-
316
- void Call::PropagateCancellationToChildren() {
317
- ParentCall* pc = parent_call();
318
- if (pc != nullptr) {
319
- Call* child;
320
- MutexLock lock(&pc->child_list_mu);
321
- child = pc->first_child;
322
- if (child != nullptr) {
323
- do {
324
- Call* next_child_call = child->child_->sibling_next;
325
- if (child->cancellation_is_inherited_) {
326
- child->InternalRef("propagate_cancel");
327
- child->CancelWithError(absl::CancelledError());
328
- child->InternalUnref("propagate_cancel");
329
- }
330
- child = next_child_call;
331
- } while (child != pc->first_child);
332
- }
333
- }
334
- }
335
-
336
- char* Call::GetPeer() {
337
- char* peer_string = reinterpret_cast<char*>(gpr_atm_acq_load(&peer_string_));
338
- if (peer_string != nullptr) return gpr_strdup(peer_string);
339
- peer_string = grpc_channel_get_target(channel_->c_ptr());
340
- if (peer_string != nullptr) return peer_string;
341
- return gpr_strdup("unknown");
342
- }
343
-
344
- void Call::DeleteThis() {
345
- RefCountedPtr<Channel> channel = std::move(channel_);
346
- Arena* arena = arena_;
347
- this->~Call();
348
- channel->UpdateCallSizeEstimate(arena->Destroy());
349
- }
350
-
351
- ///////////////////////////////////////////////////////////////////////////////
352
- // FilterStackCall
353
- // To be removed once promise conversion is complete
354
-
355
- class FilterStackCall final : public Call {
356
- public:
357
- ~FilterStackCall() override {
358
- for (int i = 0; i < GRPC_CONTEXT_COUNT; ++i) {
359
- if (context_[i].destroy) {
360
- context_[i].destroy(context_[i].value);
361
- }
362
- }
363
- gpr_free(static_cast<void*>(const_cast<char*>(final_info_.error_string)));
364
- }
365
-
366
- bool Completed() override {
367
- return gpr_atm_acq_load(&received_final_op_atm_) != 0;
368
- }
369
-
370
- // TODO(ctiller): return absl::StatusOr<SomeSmartPointer<Call>>?
371
- static grpc_error_handle Create(grpc_call_create_args* args,
372
- grpc_call** out_call);
373
-
374
- static Call* FromTopElem(grpc_call_element* elem) {
375
- return FromCallStack(grpc_call_stack_from_top_element(elem));
376
- }
377
-
378
- grpc_call_stack* call_stack() override {
379
- return reinterpret_cast<grpc_call_stack*>(
380
- reinterpret_cast<char*>(this) +
381
- GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(*this)));
382
- }
383
-
384
- grpc_call_element* call_elem(size_t idx) {
385
- return grpc_call_stack_element(call_stack(), idx);
386
- }
387
-
388
- CallCombiner* call_combiner() { return &call_combiner_; }
389
-
390
- void CancelWithError(grpc_error_handle error) override;
391
- void SetCompletionQueue(grpc_completion_queue* cq) override;
392
- grpc_call_error StartBatch(const grpc_op* ops, size_t nops, void* notify_tag,
393
- bool is_notify_tag_closure) override;
394
- void ExternalRef() override { ext_ref_.Ref(); }
395
- void ExternalUnref() override;
396
- void InternalRef(const char* reason) override {
397
- GRPC_CALL_STACK_REF(call_stack(), reason);
398
- }
399
- void InternalUnref(const char* reason) override {
400
- GRPC_CALL_STACK_UNREF(call_stack(), reason);
401
- }
402
-
403
- void ContextSet(grpc_context_index elem, void* value,
404
- void (*destroy)(void* value)) override;
405
- void* ContextGet(grpc_context_index elem) const override {
406
- return context_[elem].value;
407
- }
408
-
409
- grpc_compression_algorithm compression_for_level(
410
- grpc_compression_level level) override {
411
- return encodings_accepted_by_peer_.CompressionAlgorithmForLevel(level);
412
- }
413
-
414
- bool is_trailers_only() const override {
415
- bool result = is_trailers_only_;
416
- GPR_DEBUG_ASSERT(!result || recv_initial_metadata_.TransportSize() == 0);
417
- return result;
418
- }
419
-
420
- bool failed_before_recv_message() const override {
421
- return call_failed_before_recv_message_;
422
- }
423
-
424
- absl::string_view GetServerAuthority() const override {
425
- const Slice* authority_metadata =
426
- recv_initial_metadata_.get_pointer(HttpAuthorityMetadata());
427
- if (authority_metadata == nullptr) return "";
428
- return authority_metadata->as_string_view();
429
- }
430
-
431
- grpc_compression_algorithm test_only_compression_algorithm() override {
432
- return incoming_compression_algorithm_;
433
- }
434
-
435
- uint32_t test_only_message_flags() override {
436
- return test_only_last_message_flags_;
437
- }
438
-
439
- uint32_t test_only_encodings_accepted_by_peer() override {
440
- return encodings_accepted_by_peer_.ToLegacyBitmask();
441
- }
442
-
443
- static size_t InitialSizeEstimate() {
444
- return sizeof(FilterStackCall) +
445
- sizeof(BatchControl) * kMaxConcurrentBatches;
446
- }
447
-
448
- private:
449
- static constexpr gpr_atm kRecvNone = 0;
450
- static constexpr gpr_atm kRecvInitialMetadataFirst = 1;
451
-
452
- struct BatchControl {
453
- FilterStackCall* call_ = nullptr;
454
- grpc_transport_stream_op_batch op_;
455
- /* Share memory for cq_completion and notify_tag as they are never needed
456
- simultaneously. Each byte used in this data structure count as six bytes
457
- per call, so any savings we can make are worthwhile,
458
-
459
- We use notify_tag to determine whether or not to send notification to the
460
- completion queue. Once we've made that determination, we can reuse the
461
- memory for cq_completion. */
462
- union {
463
- grpc_cq_completion cq_completion;
464
- struct {
465
- /* Any given op indicates completion by either (a) calling a closure or
466
- (b) sending a notification on the call's completion queue. If
467
- \a is_closure is true, \a tag indicates a closure to be invoked;
468
- otherwise, \a tag indicates the tag to be used in the notification to
469
- be sent to the completion queue. */
470
- void* tag;
471
- bool is_closure;
472
- } notify_tag;
473
- } completion_data_;
474
- grpc_closure start_batch_;
475
- grpc_closure finish_batch_;
476
- std::atomic<intptr_t> steps_to_complete_{0};
477
- AtomicError batch_error_;
478
- void set_num_steps_to_complete(uintptr_t steps) {
479
- steps_to_complete_.store(steps, std::memory_order_release);
480
- }
481
- bool completed_batch_step() {
482
- return steps_to_complete_.fetch_sub(1, std::memory_order_acq_rel) == 1;
483
- }
484
-
485
- void PostCompletion();
486
- void FinishStep();
487
- void ProcessDataAfterMetadata();
488
- void ReceivingStreamReady(grpc_error_handle error);
489
- void ValidateFilteredMetadata();
490
- void ReceivingInitialMetadataReady(grpc_error_handle error);
491
- void ReceivingTrailingMetadataReady(grpc_error_handle error);
492
- void FinishBatch(grpc_error_handle error);
493
- };
494
-
495
- FilterStackCall(Arena* arena, const grpc_call_create_args& args)
496
- : Call(arena, args.server_transport_data == nullptr, args.send_deadline,
497
- args.channel->Ref()),
498
- cq_(args.cq),
499
- stream_op_payload_(context_) {}
500
-
501
- static void ReleaseCall(void* call, grpc_error_handle);
502
- static void DestroyCall(void* call, grpc_error_handle);
503
-
504
- static FilterStackCall* FromCallStack(grpc_call_stack* call_stack) {
505
- return reinterpret_cast<FilterStackCall*>(
506
- reinterpret_cast<char*>(call_stack) -
507
- GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(FilterStackCall)));
508
- }
509
-
510
- void ExecuteBatch(grpc_transport_stream_op_batch* batch,
511
- grpc_closure* start_batch_closure);
512
- void SetFinalStatus(grpc_error_handle error);
513
- BatchControl* ReuseOrAllocateBatchControl(const grpc_op* ops);
514
- void HandleCompressionAlgorithmDisabled(
515
- grpc_compression_algorithm compression_algorithm) GPR_ATTRIBUTE_NOINLINE;
516
- void HandleCompressionAlgorithmNotAccepted(
517
- grpc_compression_algorithm compression_algorithm) GPR_ATTRIBUTE_NOINLINE;
518
- bool PrepareApplicationMetadata(size_t count, grpc_metadata* metadata,
519
- bool is_trailing);
520
- void PublishAppMetadata(grpc_metadata_batch* b, bool is_trailing);
521
- void RecvInitialFilter(grpc_metadata_batch* b);
522
- void RecvTrailingFilter(grpc_metadata_batch* b,
523
- grpc_error_handle batch_error);
524
-
525
- RefCount ext_ref_;
526
- CallCombiner call_combiner_;
527
- grpc_completion_queue* cq_;
528
- grpc_polling_entity pollent_;
529
- gpr_cycle_counter start_time_ = gpr_get_cycle_counter();
530
-
531
- /** has grpc_call_unref been called */
532
- bool destroy_called_ = false;
533
- // Trailers-only response status
534
- bool is_trailers_only_ = false;
535
- /** which ops are in-flight */
536
- bool sent_initial_metadata_ = false;
537
- bool sending_message_ = false;
538
- bool sent_final_op_ = false;
539
- bool received_initial_metadata_ = false;
540
- bool receiving_message_ = false;
541
- bool requested_final_op_ = false;
542
- gpr_atm received_final_op_atm_ = 0;
543
-
544
- BatchControl* active_batches_[kMaxConcurrentBatches] = {};
545
- grpc_transport_stream_op_batch_payload stream_op_payload_;
546
-
547
- /* first idx: is_receiving, second idx: is_trailing */
548
- grpc_metadata_batch send_initial_metadata_{arena()};
549
- grpc_metadata_batch send_trailing_metadata_{arena()};
550
- grpc_metadata_batch recv_initial_metadata_{arena()};
551
- grpc_metadata_batch recv_trailing_metadata_{arena()};
552
-
553
- /* Buffered read metadata waiting to be returned to the application.
554
- Element 0 is initial metadata, element 1 is trailing metadata. */
555
- grpc_metadata_array* buffered_metadata_[2] = {};
556
-
557
- /* Call data useful used for reporting. Only valid after the call has
558
- * completed */
559
- grpc_call_final_info final_info_;
560
-
561
- /* Compression algorithm for *incoming* data */
562
- grpc_compression_algorithm incoming_compression_algorithm_ =
563
- GRPC_COMPRESS_NONE;
564
- /* Supported encodings (compression algorithms), a bitset.
565
- * Always support no compression. */
566
- CompressionAlgorithmSet encodings_accepted_by_peer_{GRPC_COMPRESS_NONE};
567
-
568
- /* Contexts for various subsystems (security, tracing, ...). */
569
- grpc_call_context_element context_[GRPC_CONTEXT_COUNT] = {};
570
-
571
- SliceBuffer send_slice_buffer_;
572
- absl::optional<SliceBuffer> receiving_slice_buffer_;
573
- uint32_t receiving_stream_flags_;
574
-
575
- bool call_failed_before_recv_message_ = false;
576
- grpc_byte_buffer** receiving_buffer_ = nullptr;
577
- grpc_slice receiving_slice_ = grpc_empty_slice();
578
- grpc_closure receiving_stream_ready_;
579
- grpc_closure receiving_initial_metadata_ready_;
580
- grpc_closure receiving_trailing_metadata_ready_;
581
- uint32_t test_only_last_message_flags_ = 0;
582
- // Status about operation of call
583
- bool sent_server_trailing_metadata_ = false;
584
- gpr_atm cancelled_with_error_ = 0;
585
-
586
- grpc_closure release_call_;
587
-
588
- union {
589
- struct {
590
- grpc_status_code* status;
591
- grpc_slice* status_details;
592
- const char** error_string;
593
- } client;
594
- struct {
595
- int* cancelled;
596
- // backpointer to owning server if this is a server side call.
597
- Server* core_server;
598
- } server;
599
- } final_op_;
600
- AtomicError status_error_;
601
-
602
- /* recv_state can contain one of the following values:
603
- RECV_NONE : : no initial metadata and messages received
604
- RECV_INITIAL_METADATA_FIRST : received initial metadata first
605
- a batch_control* : received messages first
606
-
607
- +------1------RECV_NONE------3-----+
608
- | |
609
- | |
610
- v v
611
- RECV_INITIAL_METADATA_FIRST receiving_stream_ready_bctlp
612
- | ^ | ^
613
- | | | |
614
- +-----2-----+ +-----4-----+
615
-
616
- For 1, 4: See receiving_initial_metadata_ready() function
617
- For 2, 3: See receiving_stream_ready() function */
618
- gpr_atm recv_state_ = 0;
619
- };
620
-
621
- grpc_error_handle FilterStackCall::Create(grpc_call_create_args* args,
622
- grpc_call** out_call) {
623
- Channel* channel = args->channel.get();
624
-
625
- auto add_init_error = [](grpc_error_handle* composite,
626
- grpc_error_handle new_err) {
627
- if (new_err.ok()) return;
628
- if (composite->ok()) {
629
- *composite = GRPC_ERROR_CREATE("Call creation failed");
630
- }
631
- *composite = grpc_error_add_child(*composite, new_err);
632
- };
633
-
634
- Arena* arena;
635
- FilterStackCall* call;
636
- grpc_error_handle error;
637
- grpc_channel_stack* channel_stack = channel->channel_stack();
638
- size_t initial_size = channel->CallSizeEstimate();
639
- global_stats().IncrementCallInitialSize(initial_size);
640
- size_t call_alloc_size =
641
- GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(FilterStackCall)) +
642
- channel_stack->call_stack_size;
643
-
644
- std::pair<Arena*, void*> arena_with_call = Arena::CreateWithAlloc(
645
- initial_size, call_alloc_size, channel->allocator());
646
- arena = arena_with_call.first;
647
- call = new (arena_with_call.second) FilterStackCall(arena, *args);
648
- GPR_DEBUG_ASSERT(FromC(call->c_ptr()) == call);
649
- GPR_DEBUG_ASSERT(FromCallStack(call->call_stack()) == call);
650
- *out_call = call->c_ptr();
651
- grpc_slice path = grpc_empty_slice();
652
- if (call->is_client()) {
653
- call->final_op_.client.status_details = nullptr;
654
- call->final_op_.client.status = nullptr;
655
- call->final_op_.client.error_string = nullptr;
656
- global_stats().IncrementClientCallsCreated();
657
- path = CSliceRef(args->path->c_slice());
658
- call->send_initial_metadata_.Set(HttpPathMetadata(),
659
- std::move(*args->path));
660
- if (args->authority.has_value()) {
661
- call->send_initial_metadata_.Set(HttpAuthorityMetadata(),
662
- std::move(*args->authority));
663
- }
664
- } else {
665
- global_stats().IncrementServerCallsCreated();
666
- call->final_op_.server.cancelled = nullptr;
667
- call->final_op_.server.core_server = args->server;
668
- }
669
-
670
- Call* parent = Call::FromC(args->parent);
671
- if (parent != nullptr) {
672
- add_init_error(&error, absl_status_to_grpc_error(call->InitParent(
673
- parent, args->propagation_mask)));
674
- }
675
- /* initial refcount dropped by grpc_call_unref */
676
- grpc_call_element_args call_args = {
677
- call->call_stack(), args->server_transport_data,
678
- call->context_, path,
679
- call->start_time_, call->send_deadline(),
680
- call->arena(), &call->call_combiner_};
681
- add_init_error(&error, grpc_call_stack_init(channel_stack, 1, DestroyCall,
682
- call, &call_args));
683
- // Publish this call to parent only after the call stack has been initialized.
684
- if (parent != nullptr) {
685
- call->PublishToParent(parent);
686
- }
687
-
688
- if (!error.ok()) {
689
- call->CancelWithError(error);
690
- }
691
- if (args->cq != nullptr) {
692
- GPR_ASSERT(args->pollset_set_alternative == nullptr &&
693
- "Only one of 'cq' and 'pollset_set_alternative' should be "
694
- "non-nullptr.");
695
- GRPC_CQ_INTERNAL_REF(args->cq, "bind");
696
- call->pollent_ =
697
- grpc_polling_entity_create_from_pollset(grpc_cq_pollset(args->cq));
698
- }
699
- if (args->pollset_set_alternative != nullptr) {
700
- call->pollent_ = grpc_polling_entity_create_from_pollset_set(
701
- args->pollset_set_alternative);
702
- }
703
- if (!grpc_polling_entity_is_empty(&call->pollent_)) {
704
- grpc_call_stack_set_pollset_or_pollset_set(call->call_stack(),
705
- &call->pollent_);
706
- }
707
-
708
- if (call->is_client()) {
709
- channelz::ChannelNode* channelz_channel = channel->channelz_node();
710
- if (channelz_channel != nullptr) {
711
- channelz_channel->RecordCallStarted();
712
- }
713
- } else if (call->final_op_.server.core_server != nullptr) {
714
- channelz::ServerNode* channelz_node =
715
- call->final_op_.server.core_server->channelz_node();
716
- if (channelz_node != nullptr) {
717
- channelz_node->RecordCallStarted();
718
- }
719
- }
720
-
721
- CSliceUnref(path);
722
-
723
- return error;
724
- }
725
-
726
- void FilterStackCall::SetCompletionQueue(grpc_completion_queue* cq) {
727
- GPR_ASSERT(cq);
728
-
729
- if (grpc_polling_entity_pollset_set(&pollent_) != nullptr) {
730
- gpr_log(GPR_ERROR, "A pollset_set is already registered for this call.");
731
- abort();
732
- }
733
- cq_ = cq;
734
- GRPC_CQ_INTERNAL_REF(cq, "bind");
735
- pollent_ = grpc_polling_entity_create_from_pollset(grpc_cq_pollset(cq));
736
- grpc_call_stack_set_pollset_or_pollset_set(call_stack(), &pollent_);
737
- }
738
-
739
- void FilterStackCall::ReleaseCall(void* call, grpc_error_handle /*error*/) {
740
- static_cast<FilterStackCall*>(call)->DeleteThis();
741
- }
742
-
743
- void FilterStackCall::DestroyCall(void* call, grpc_error_handle /*error*/) {
744
- auto* c = static_cast<FilterStackCall*>(call);
745
- c->recv_initial_metadata_.Clear();
746
- c->recv_trailing_metadata_.Clear();
747
- c->receiving_slice_buffer_.reset();
748
- ParentCall* pc = c->parent_call();
749
- if (pc != nullptr) {
750
- pc->~ParentCall();
751
- }
752
- if (c->cq_) {
753
- GRPC_CQ_INTERNAL_UNREF(c->cq_, "bind");
754
- }
755
-
756
- grpc_error_handle status_error = c->status_error_.get();
757
- grpc_error_get_status(status_error, c->send_deadline(),
758
- &c->final_info_.final_status, nullptr, nullptr,
759
- &(c->final_info_.error_string));
760
- c->status_error_.set(absl::OkStatus());
761
- c->final_info_.stats.latency =
762
- gpr_cycle_counter_sub(gpr_get_cycle_counter(), c->start_time_);
763
- grpc_call_stack_destroy(c->call_stack(), &c->final_info_,
764
- GRPC_CLOSURE_INIT(&c->release_call_, ReleaseCall, c,
765
- grpc_schedule_on_exec_ctx));
766
- }
767
-
768
- void FilterStackCall::ExternalUnref() {
769
- if (GPR_LIKELY(!ext_ref_.Unref())) return;
770
-
771
- ApplicationCallbackExecCtx callback_exec_ctx;
772
- ExecCtx exec_ctx;
773
-
774
- GRPC_API_TRACE("grpc_call_unref(c=%p)", 1, (this));
775
-
776
- MaybeUnpublishFromParent();
777
-
778
- GPR_ASSERT(!destroy_called_);
779
- destroy_called_ = true;
780
- bool cancel = gpr_atm_acq_load(&received_final_op_atm_) == 0;
781
- if (cancel) {
782
- CancelWithError(absl::CancelledError());
783
- } else {
784
- // Unset the call combiner cancellation closure. This has the
785
- // effect of scheduling the previously set cancellation closure, if
786
- // any, so that it can release any internal references it may be
787
- // holding to the call stack.
788
- call_combiner_.SetNotifyOnCancel(nullptr);
789
- }
790
- InternalUnref("destroy");
791
- }
792
-
793
- // start_batch_closure points to a caller-allocated closure to be used
794
- // for entering the call combiner.
795
- void FilterStackCall::ExecuteBatch(grpc_transport_stream_op_batch* batch,
796
- grpc_closure* start_batch_closure) {
797
- // This is called via the call combiner to start sending a batch down
798
- // the filter stack.
799
- auto execute_batch_in_call_combiner = [](void* arg, grpc_error_handle) {
800
- grpc_transport_stream_op_batch* batch =
801
- static_cast<grpc_transport_stream_op_batch*>(arg);
802
- auto* call =
803
- static_cast<FilterStackCall*>(batch->handler_private.extra_arg);
804
- grpc_call_element* elem = call->call_elem(0);
805
- GRPC_CALL_LOG_OP(GPR_INFO, elem, batch);
806
- elem->filter->start_transport_stream_op_batch(elem, batch);
807
- };
808
- batch->handler_private.extra_arg = this;
809
- GRPC_CLOSURE_INIT(start_batch_closure, execute_batch_in_call_combiner, batch,
810
- grpc_schedule_on_exec_ctx);
811
- GRPC_CALL_COMBINER_START(call_combiner(), start_batch_closure,
812
- absl::OkStatus(), "executing batch");
813
- }
814
-
815
- namespace {
816
- struct CancelState {
817
- FilterStackCall* call;
818
- grpc_closure start_batch;
819
- grpc_closure finish_batch;
820
- };
821
- } // namespace
822
-
823
- // The on_complete callback used when sending a cancel_stream batch down
824
- // the filter stack. Yields the call combiner when the batch is done.
825
- static void done_termination(void* arg, grpc_error_handle /*error*/) {
826
- CancelState* state = static_cast<CancelState*>(arg);
827
- GRPC_CALL_COMBINER_STOP(state->call->call_combiner(),
828
- "on_complete for cancel_stream op");
829
- state->call->InternalUnref("termination");
830
- delete state;
831
- }
832
-
833
- void FilterStackCall::CancelWithError(grpc_error_handle error) {
834
- if (!gpr_atm_rel_cas(&cancelled_with_error_, 0, 1)) {
835
- return;
836
- }
837
- ClearPeerString();
838
- InternalRef("termination");
839
- // Inform the call combiner of the cancellation, so that it can cancel
840
- // any in-flight asynchronous actions that may be holding the call
841
- // combiner. This ensures that the cancel_stream batch can be sent
842
- // down the filter stack in a timely manner.
843
- call_combiner_.Cancel(error);
844
- CancelState* state = new CancelState;
845
- state->call = this;
846
- GRPC_CLOSURE_INIT(&state->finish_batch, done_termination, state,
847
- grpc_schedule_on_exec_ctx);
848
- grpc_transport_stream_op_batch* op =
849
- grpc_make_transport_stream_op(&state->finish_batch);
850
- op->cancel_stream = true;
851
- op->payload->cancel_stream.cancel_error = error;
852
- ExecuteBatch(op, &state->start_batch);
853
- }
854
-
855
- void FilterStackCall::SetFinalStatus(grpc_error_handle error) {
856
- if (GRPC_TRACE_FLAG_ENABLED(grpc_call_error_trace)) {
857
- gpr_log(GPR_DEBUG, "set_final_status %s", is_client() ? "CLI" : "SVR");
858
- gpr_log(GPR_DEBUG, "%s", StatusToString(error).c_str());
859
- }
860
- if (is_client()) {
861
- std::string status_details;
862
- grpc_error_get_status(error, send_deadline(), final_op_.client.status,
863
- &status_details, nullptr,
864
- final_op_.client.error_string);
865
- *final_op_.client.status_details =
866
- grpc_slice_from_cpp_string(std::move(status_details));
867
- status_error_.set(error);
868
- channelz::ChannelNode* channelz_channel = channel()->channelz_node();
869
- if (channelz_channel != nullptr) {
870
- if (*final_op_.client.status != GRPC_STATUS_OK) {
871
- channelz_channel->RecordCallFailed();
872
- } else {
873
- channelz_channel->RecordCallSucceeded();
874
- }
875
- }
876
- } else {
877
- *final_op_.server.cancelled =
878
- !error.ok() || !sent_server_trailing_metadata_;
879
- channelz::ServerNode* channelz_node =
880
- final_op_.server.core_server->channelz_node();
881
- if (channelz_node != nullptr) {
882
- if (*final_op_.server.cancelled || !status_error_.ok()) {
883
- channelz_node->RecordCallFailed();
884
- } else {
885
- channelz_node->RecordCallSucceeded();
886
- }
887
- }
888
- }
889
- }
890
-
891
- bool FilterStackCall::PrepareApplicationMetadata(size_t count,
892
- grpc_metadata* metadata,
893
- bool is_trailing) {
894
- grpc_metadata_batch* batch =
895
- is_trailing ? &send_trailing_metadata_ : &send_initial_metadata_;
896
- for (size_t i = 0; i < count; i++) {
897
- grpc_metadata* md = &metadata[i];
898
- if (!GRPC_LOG_IF_ERROR("validate_metadata",
899
- grpc_validate_header_key_is_legal(md->key))) {
900
- return false;
901
- } else if (!grpc_is_binary_header_internal(md->key) &&
902
- !GRPC_LOG_IF_ERROR(
903
- "validate_metadata",
904
- grpc_validate_header_nonbin_value_is_legal(md->value))) {
905
- return false;
906
- } else if (GRPC_SLICE_LENGTH(md->value) >= UINT32_MAX) {
907
- // HTTP2 hpack encoding has a maximum limit.
908
- return false;
909
- } else if (grpc_slice_str_cmp(md->key, "content-length") == 0) {
910
- // Filter "content-length metadata"
911
- continue;
912
- }
913
- batch->Append(StringViewFromSlice(md->key), Slice(CSliceRef(md->value)),
914
- [md](absl::string_view error, const Slice& value) {
915
- gpr_log(GPR_DEBUG, "Append error: %s",
916
- absl::StrCat("key=", StringViewFromSlice(md->key),
917
- " error=", error,
918
- " value=", value.as_string_view())
919
- .c_str());
920
- });
921
- }
922
-
923
- return true;
924
- }
925
-
926
- namespace {
927
- class PublishToAppEncoder {
928
- public:
929
- explicit PublishToAppEncoder(grpc_metadata_array* dest) : dest_(dest) {}
930
-
931
- void Encode(const Slice& key, const Slice& value) {
932
- Append(key.c_slice(), value.c_slice());
933
- }
934
-
935
- // Catch anything that is not explicitly handled, and do not publish it to the
936
- // application. If new metadata is added to a batch that needs to be
937
- // published, it should be called out here.
938
- template <typename Which>
939
- void Encode(Which, const typename Which::ValueType&) {}
940
-
941
- void Encode(UserAgentMetadata, const Slice& slice) {
942
- Append(UserAgentMetadata::key(), slice);
943
- }
944
-
945
- void Encode(HostMetadata, const Slice& slice) {
946
- Append(HostMetadata::key(), slice);
947
- }
948
-
949
- void Encode(GrpcPreviousRpcAttemptsMetadata, uint32_t count) {
950
- Append(GrpcPreviousRpcAttemptsMetadata::key(), count);
951
- }
952
-
953
- void Encode(GrpcRetryPushbackMsMetadata, Duration count) {
954
- Append(GrpcRetryPushbackMsMetadata::key(), count.millis());
955
- }
956
-
957
- void Encode(LbTokenMetadata, const Slice& slice) {
958
- Append(LbTokenMetadata::key(), slice);
959
- }
960
-
961
- private:
962
- void Append(absl::string_view key, int64_t value) {
963
- Append(StaticSlice::FromStaticString(key).c_slice(),
964
- Slice::FromInt64(value).c_slice());
965
- }
966
-
967
- void Append(absl::string_view key, const Slice& value) {
968
- Append(StaticSlice::FromStaticString(key).c_slice(), value.c_slice());
969
- }
970
-
971
- void Append(grpc_slice key, grpc_slice value) {
972
- auto* mdusr = &dest_->metadata[dest_->count++];
973
- mdusr->key = key;
974
- mdusr->value = value;
975
- }
976
-
977
- grpc_metadata_array* const dest_;
978
- };
979
- } // namespace
980
-
981
- void FilterStackCall::PublishAppMetadata(grpc_metadata_batch* b,
982
- bool is_trailing) {
983
- if (b->count() == 0) return;
984
- if (!is_client() && is_trailing) return;
985
- if (is_trailing && buffered_metadata_[1] == nullptr) return;
986
- grpc_metadata_array* dest;
987
- dest = buffered_metadata_[is_trailing];
988
- if (dest->count + b->count() > dest->capacity) {
989
- dest->capacity =
990
- std::max(dest->capacity + b->count(), dest->capacity * 3 / 2);
991
- dest->metadata = static_cast<grpc_metadata*>(
992
- gpr_realloc(dest->metadata, sizeof(grpc_metadata) * dest->capacity));
993
- }
994
- PublishToAppEncoder encoder(dest);
995
- b->Encode(&encoder);
996
- }
997
-
998
- void FilterStackCall::RecvInitialFilter(grpc_metadata_batch* b) {
999
- incoming_compression_algorithm_ =
1000
- b->Take(GrpcEncodingMetadata()).value_or(GRPC_COMPRESS_NONE);
1001
- encodings_accepted_by_peer_ =
1002
- b->Take(GrpcAcceptEncodingMetadata())
1003
- .value_or(CompressionAlgorithmSet{GRPC_COMPRESS_NONE});
1004
- PublishAppMetadata(b, false);
1005
- }
1006
-
1007
- void FilterStackCall::RecvTrailingFilter(grpc_metadata_batch* b,
1008
- grpc_error_handle batch_error) {
1009
- if (!batch_error.ok()) {
1010
- SetFinalStatus(batch_error);
1011
- } else {
1012
- absl::optional<grpc_status_code> grpc_status =
1013
- b->Take(GrpcStatusMetadata());
1014
- if (grpc_status.has_value()) {
1015
- grpc_status_code status_code = *grpc_status;
1016
- grpc_error_handle error;
1017
- if (status_code != GRPC_STATUS_OK) {
1018
- char* peer = GetPeer();
1019
- error = grpc_error_set_int(
1020
- GRPC_ERROR_CREATE(absl::StrCat("Error received from peer ", peer)),
1021
- StatusIntProperty::kRpcStatus, static_cast<intptr_t>(status_code));
1022
- gpr_free(peer);
1023
- }
1024
- auto grpc_message = b->Take(GrpcMessageMetadata());
1025
- if (grpc_message.has_value()) {
1026
- error = grpc_error_set_str(error, StatusStrProperty::kGrpcMessage,
1027
- grpc_message->as_string_view());
1028
- } else if (!error.ok()) {
1029
- error = grpc_error_set_str(error, StatusStrProperty::kGrpcMessage, "");
1030
- }
1031
- SetFinalStatus(error);
1032
- } else if (!is_client()) {
1033
- SetFinalStatus(absl::OkStatus());
1034
- } else {
1035
- gpr_log(GPR_DEBUG,
1036
- "Received trailing metadata with no error and no status");
1037
- SetFinalStatus(grpc_error_set_int(GRPC_ERROR_CREATE("No status received"),
1038
- StatusIntProperty::kRpcStatus,
1039
- GRPC_STATUS_UNKNOWN));
1040
- }
1041
- }
1042
- PublishAppMetadata(b, true);
1043
- }
1044
-
1045
- namespace {
1046
- bool AreWriteFlagsValid(uint32_t flags) {
1047
- /* check that only bits in GRPC_WRITE_(INTERNAL?)_USED_MASK are set */
1048
- const uint32_t allowed_write_positions =
1049
- (GRPC_WRITE_USED_MASK | GRPC_WRITE_INTERNAL_USED_MASK);
1050
- const uint32_t invalid_positions = ~allowed_write_positions;
1051
- return !(flags & invalid_positions);
1052
- }
1053
-
1054
- bool AreInitialMetadataFlagsValid(uint32_t flags) {
1055
- /* check that only bits in GRPC_WRITE_(INTERNAL?)_USED_MASK are set */
1056
- uint32_t invalid_positions = ~GRPC_INITIAL_METADATA_USED_MASK;
1057
- return !(flags & invalid_positions);
1058
- }
1059
-
1060
- size_t BatchSlotForOp(grpc_op_type type) {
1061
- switch (type) {
1062
- case GRPC_OP_SEND_INITIAL_METADATA:
1063
- return 0;
1064
- case GRPC_OP_SEND_MESSAGE:
1065
- return 1;
1066
- case GRPC_OP_SEND_CLOSE_FROM_CLIENT:
1067
- case GRPC_OP_SEND_STATUS_FROM_SERVER:
1068
- return 2;
1069
- case GRPC_OP_RECV_INITIAL_METADATA:
1070
- return 3;
1071
- case GRPC_OP_RECV_MESSAGE:
1072
- return 4;
1073
- case GRPC_OP_RECV_CLOSE_ON_SERVER:
1074
- case GRPC_OP_RECV_STATUS_ON_CLIENT:
1075
- return 5;
1076
- }
1077
- GPR_UNREACHABLE_CODE(return 123456789);
1078
- }
1079
- } // namespace
1080
-
1081
- FilterStackCall::BatchControl* FilterStackCall::ReuseOrAllocateBatchControl(
1082
- const grpc_op* ops) {
1083
- size_t slot_idx = BatchSlotForOp(ops[0].op);
1084
- BatchControl** pslot = &active_batches_[slot_idx];
1085
- BatchControl* bctl;
1086
- if (*pslot != nullptr) {
1087
- bctl = *pslot;
1088
- if (bctl->call_ != nullptr) {
1089
- return nullptr;
1090
- }
1091
- bctl->~BatchControl();
1092
- bctl->op_ = {};
1093
- new (&bctl->batch_error_) AtomicError();
1094
- } else {
1095
- bctl = arena()->New<BatchControl>();
1096
- *pslot = bctl;
1097
- }
1098
- bctl->call_ = this;
1099
- bctl->op_.payload = &stream_op_payload_;
1100
- return bctl;
1101
- }
1102
-
1103
- void FilterStackCall::BatchControl::PostCompletion() {
1104
- FilterStackCall* call = call_;
1105
- grpc_error_handle error = batch_error_.get();
1106
-
1107
- if (op_.send_initial_metadata) {
1108
- call->send_initial_metadata_.Clear();
1109
- }
1110
- if (op_.send_message) {
1111
- if (op_.payload->send_message.stream_write_closed && error.ok()) {
1112
- error = grpc_error_add_child(
1113
- error, GRPC_ERROR_CREATE(
1114
- "Attempt to send message after stream was closed."));
1115
- }
1116
- call->sending_message_ = false;
1117
- call->send_slice_buffer_.Clear();
1118
- }
1119
- if (op_.send_trailing_metadata) {
1120
- call->send_trailing_metadata_.Clear();
1121
- }
1122
- if (op_.recv_trailing_metadata) {
1123
- /* propagate cancellation to any interested children */
1124
- gpr_atm_rel_store(&call->received_final_op_atm_, 1);
1125
- call->PropagateCancellationToChildren();
1126
- error = absl::OkStatus();
1127
- }
1128
- if (!error.ok() && op_.recv_message && *call->receiving_buffer_ != nullptr) {
1129
- grpc_byte_buffer_destroy(*call->receiving_buffer_);
1130
- *call->receiving_buffer_ = nullptr;
1131
- }
1132
- batch_error_.set(absl::OkStatus());
1133
-
1134
- if (completion_data_.notify_tag.is_closure) {
1135
- /* unrefs error */
1136
- call_ = nullptr;
1137
- Closure::Run(DEBUG_LOCATION,
1138
- static_cast<grpc_closure*>(completion_data_.notify_tag.tag),
1139
- error);
1140
- call->InternalUnref("completion");
1141
- } else {
1142
- /* unrefs error */
1143
- grpc_cq_end_op(
1144
- call->cq_, completion_data_.notify_tag.tag, error,
1145
- [](void* user_data, grpc_cq_completion* /*storage*/) {
1146
- BatchControl* bctl = static_cast<BatchControl*>(user_data);
1147
- Call* call = bctl->call_;
1148
- bctl->call_ = nullptr;
1149
- call->InternalUnref("completion");
1150
- },
1151
- this, &completion_data_.cq_completion);
1152
- }
1153
- }
1154
-
1155
- void FilterStackCall::BatchControl::FinishStep() {
1156
- if (GPR_UNLIKELY(completed_batch_step())) {
1157
- PostCompletion();
1158
- }
1159
- }
1160
-
1161
- void FilterStackCall::BatchControl::ProcessDataAfterMetadata() {
1162
- FilterStackCall* call = call_;
1163
- if (!call->receiving_slice_buffer_.has_value()) {
1164
- *call->receiving_buffer_ = nullptr;
1165
- call->receiving_message_ = false;
1166
- FinishStep();
1167
- } else {
1168
- call->test_only_last_message_flags_ = call->receiving_stream_flags_;
1169
- if ((call->receiving_stream_flags_ & GRPC_WRITE_INTERNAL_COMPRESS) &&
1170
- (call->incoming_compression_algorithm_ != GRPC_COMPRESS_NONE)) {
1171
- *call->receiving_buffer_ = grpc_raw_compressed_byte_buffer_create(
1172
- nullptr, 0, call->incoming_compression_algorithm_);
1173
- } else {
1174
- *call->receiving_buffer_ = grpc_raw_byte_buffer_create(nullptr, 0);
1175
- }
1176
- grpc_slice_buffer_move_into(
1177
- call->receiving_slice_buffer_->c_slice_buffer(),
1178
- &(*call->receiving_buffer_)->data.raw.slice_buffer);
1179
- call->receiving_message_ = false;
1180
- call->receiving_slice_buffer_.reset();
1181
- FinishStep();
1182
- }
1183
- }
1184
-
1185
- void FilterStackCall::BatchControl::ReceivingStreamReady(
1186
- grpc_error_handle error) {
1187
- FilterStackCall* call = call_;
1188
- if (!error.ok()) {
1189
- call->receiving_slice_buffer_.reset();
1190
- if (batch_error_.ok()) {
1191
- batch_error_.set(error);
1192
- }
1193
- call->CancelWithError(error);
1194
- }
1195
- /* If recv_state is kRecvNone, we will save the batch_control
1196
- * object with rel_cas, and will not use it after the cas. Its corresponding
1197
- * acq_load is in receiving_initial_metadata_ready() */
1198
- if (!error.ok() || !call->receiving_slice_buffer_.has_value() ||
1199
- !gpr_atm_rel_cas(&call->recv_state_, kRecvNone,
1200
- reinterpret_cast<gpr_atm>(this))) {
1201
- ProcessDataAfterMetadata();
1202
- }
1203
- }
1204
-
1205
- void FilterStackCall::HandleCompressionAlgorithmDisabled(
1206
- grpc_compression_algorithm compression_algorithm) {
1207
- const char* algo_name = nullptr;
1208
- grpc_compression_algorithm_name(compression_algorithm, &algo_name);
1209
- std::string error_msg =
1210
- absl::StrFormat("Compression algorithm '%s' is disabled.", algo_name);
1211
- gpr_log(GPR_ERROR, "%s", error_msg.c_str());
1212
- CancelWithStatus(GRPC_STATUS_UNIMPLEMENTED, error_msg.c_str());
1213
- }
1214
-
1215
- void FilterStackCall::HandleCompressionAlgorithmNotAccepted(
1216
- grpc_compression_algorithm compression_algorithm) {
1217
- const char* algo_name = nullptr;
1218
- grpc_compression_algorithm_name(compression_algorithm, &algo_name);
1219
- gpr_log(GPR_ERROR,
1220
- "Compression algorithm ('%s') not present in the "
1221
- "accepted encodings (%s)",
1222
- algo_name,
1223
- std::string(encodings_accepted_by_peer_.ToString()).c_str());
1224
- }
1225
-
1226
- void FilterStackCall::BatchControl::ValidateFilteredMetadata() {
1227
- FilterStackCall* call = call_;
1228
-
1229
- const grpc_compression_options compression_options =
1230
- call->channel()->compression_options();
1231
- const grpc_compression_algorithm compression_algorithm =
1232
- call->incoming_compression_algorithm_;
1233
- if (GPR_UNLIKELY(!CompressionAlgorithmSet::FromUint32(
1234
- compression_options.enabled_algorithms_bitset)
1235
- .IsSet(compression_algorithm))) {
1236
- /* check if algorithm is supported by current channel config */
1237
- call->HandleCompressionAlgorithmDisabled(compression_algorithm);
1238
- }
1239
- /* GRPC_COMPRESS_NONE is always set. */
1240
- GPR_DEBUG_ASSERT(call->encodings_accepted_by_peer_.IsSet(GRPC_COMPRESS_NONE));
1241
- if (GPR_UNLIKELY(
1242
- !call->encodings_accepted_by_peer_.IsSet(compression_algorithm))) {
1243
- if (GRPC_TRACE_FLAG_ENABLED(grpc_compression_trace)) {
1244
- call->HandleCompressionAlgorithmNotAccepted(compression_algorithm);
1245
- }
1246
- }
1247
- }
1248
-
1249
- void FilterStackCall::BatchControl::ReceivingInitialMetadataReady(
1250
- grpc_error_handle error) {
1251
- FilterStackCall* call = call_;
1252
-
1253
- GRPC_CALL_COMBINER_STOP(call->call_combiner(), "recv_initial_metadata_ready");
1254
-
1255
- if (error.ok()) {
1256
- grpc_metadata_batch* md = &call->recv_initial_metadata_;
1257
- call->RecvInitialFilter(md);
1258
-
1259
- /* TODO(ctiller): this could be moved into recv_initial_filter now */
1260
- ValidateFilteredMetadata();
1261
-
1262
- absl::optional<Timestamp> deadline = md->get(GrpcTimeoutMetadata());
1263
- if (deadline.has_value() && !call->is_client()) {
1264
- call_->set_send_deadline(*deadline);
1265
- }
1266
- } else {
1267
- if (batch_error_.ok()) {
1268
- batch_error_.set(error);
1269
- }
1270
- call->CancelWithError(error);
1271
- }
1272
-
1273
- grpc_closure* saved_rsr_closure = nullptr;
1274
- while (true) {
1275
- gpr_atm rsr_bctlp = gpr_atm_acq_load(&call->recv_state_);
1276
- /* Should only receive initial metadata once */
1277
- GPR_ASSERT(rsr_bctlp != 1);
1278
- if (rsr_bctlp == 0) {
1279
- /* We haven't seen initial metadata and messages before, thus initial
1280
- * metadata is received first.
1281
- * no_barrier_cas is used, as this function won't access the batch_control
1282
- * object saved by receiving_stream_ready() if the initial metadata is
1283
- * received first. */
1284
- if (gpr_atm_no_barrier_cas(&call->recv_state_, kRecvNone,
1285
- kRecvInitialMetadataFirst)) {
1286
- break;
1287
- }
1288
- } else {
1289
- /* Already received messages */
1290
- saved_rsr_closure = GRPC_CLOSURE_CREATE(
1291
- [](void* bctl, grpc_error_handle error) {
1292
- static_cast<BatchControl*>(bctl)->ReceivingStreamReady(error);
1293
- },
1294
- reinterpret_cast<BatchControl*>(rsr_bctlp),
1295
- grpc_schedule_on_exec_ctx);
1296
- /* No need to modify recv_state */
1297
- break;
1298
- }
1299
- }
1300
- if (saved_rsr_closure != nullptr) {
1301
- Closure::Run(DEBUG_LOCATION, saved_rsr_closure, error);
1302
- }
1303
-
1304
- FinishStep();
1305
- }
1306
-
1307
- void FilterStackCall::BatchControl::ReceivingTrailingMetadataReady(
1308
- grpc_error_handle error) {
1309
- GRPC_CALL_COMBINER_STOP(call_->call_combiner(),
1310
- "recv_trailing_metadata_ready");
1311
- grpc_metadata_batch* md = &call_->recv_trailing_metadata_;
1312
- call_->RecvTrailingFilter(md, error);
1313
- FinishStep();
1314
- }
1315
-
1316
- void FilterStackCall::BatchControl::FinishBatch(grpc_error_handle error) {
1317
- GRPC_CALL_COMBINER_STOP(call_->call_combiner(), "on_complete");
1318
- if (batch_error_.ok()) {
1319
- batch_error_.set(error);
1320
- }
1321
- if (!error.ok()) {
1322
- call_->CancelWithError(error);
1323
- }
1324
- FinishStep();
1325
- }
1326
-
1327
- namespace {
1328
- void EndOpImmediately(grpc_completion_queue* cq, void* notify_tag,
1329
- bool is_notify_tag_closure) {
1330
- if (!is_notify_tag_closure) {
1331
- GPR_ASSERT(grpc_cq_begin_op(cq, notify_tag));
1332
- grpc_cq_end_op(
1333
- cq, notify_tag, absl::OkStatus(),
1334
- [](void*, grpc_cq_completion* completion) { gpr_free(completion); },
1335
- nullptr,
1336
- static_cast<grpc_cq_completion*>(
1337
- gpr_malloc(sizeof(grpc_cq_completion))));
1338
- } else {
1339
- Closure::Run(DEBUG_LOCATION, static_cast<grpc_closure*>(notify_tag),
1340
- absl::OkStatus());
1341
- }
1342
- }
1343
- } // namespace
1344
-
1345
- grpc_call_error FilterStackCall::StartBatch(const grpc_op* ops, size_t nops,
1346
- void* notify_tag,
1347
- bool is_notify_tag_closure) {
1348
- size_t i;
1349
- const grpc_op* op;
1350
- BatchControl* bctl;
1351
- bool has_send_ops = false;
1352
- int num_recv_ops = 0;
1353
- grpc_call_error error = GRPC_CALL_OK;
1354
- grpc_transport_stream_op_batch* stream_op;
1355
- grpc_transport_stream_op_batch_payload* stream_op_payload;
1356
- uint32_t seen_ops = 0;
1357
-
1358
- for (i = 0; i < nops; i++) {
1359
- if (seen_ops & (1u << ops[i].op)) {
1360
- return GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1361
- }
1362
- seen_ops |= (1u << ops[i].op);
1363
- }
1364
-
1365
- GRPC_CALL_LOG_BATCH(GPR_INFO, ops, nops);
1366
-
1367
- if (nops == 0) {
1368
- EndOpImmediately(cq_, notify_tag, is_notify_tag_closure);
1369
- error = GRPC_CALL_OK;
1370
- goto done;
1371
- }
1372
-
1373
- bctl = ReuseOrAllocateBatchControl(ops);
1374
- if (bctl == nullptr) {
1375
- return GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1376
- }
1377
- bctl->completion_data_.notify_tag.tag = notify_tag;
1378
- bctl->completion_data_.notify_tag.is_closure =
1379
- static_cast<uint8_t>(is_notify_tag_closure != 0);
1380
-
1381
- stream_op = &bctl->op_;
1382
- stream_op_payload = &stream_op_payload_;
1383
-
1384
- /* rewrite batch ops into a transport op */
1385
- for (i = 0; i < nops; i++) {
1386
- op = &ops[i];
1387
- if (op->reserved != nullptr) {
1388
- error = GRPC_CALL_ERROR;
1389
- goto done_with_error;
1390
- }
1391
- switch (op->op) {
1392
- case GRPC_OP_SEND_INITIAL_METADATA: {
1393
- /* Flag validation: currently allow no flags */
1394
- if (!AreInitialMetadataFlagsValid(op->flags)) {
1395
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1396
- goto done_with_error;
1397
- }
1398
- if (sent_initial_metadata_) {
1399
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1400
- goto done_with_error;
1401
- }
1402
- // TODO(juanlishen): If the user has already specified a compression
1403
- // algorithm by setting the initial metadata with key of
1404
- // GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY, we shouldn't override that
1405
- // with the compression algorithm mapped from compression level.
1406
- /* process compression level */
1407
- grpc_compression_level effective_compression_level =
1408
- GRPC_COMPRESS_LEVEL_NONE;
1409
- bool level_set = false;
1410
- if (op->data.send_initial_metadata.maybe_compression_level.is_set) {
1411
- effective_compression_level =
1412
- op->data.send_initial_metadata.maybe_compression_level.level;
1413
- level_set = true;
1414
- } else {
1415
- const grpc_compression_options copts =
1416
- channel()->compression_options();
1417
- if (copts.default_level.is_set) {
1418
- level_set = true;
1419
- effective_compression_level = copts.default_level.level;
1420
- }
1421
- }
1422
- // Currently, only server side supports compression level setting.
1423
- if (level_set && !is_client()) {
1424
- const grpc_compression_algorithm calgo =
1425
- encodings_accepted_by_peer_.CompressionAlgorithmForLevel(
1426
- effective_compression_level);
1427
- // The following metadata will be checked and removed by the message
1428
- // compression filter. It will be used as the call's compression
1429
- // algorithm.
1430
- send_initial_metadata_.Set(GrpcInternalEncodingRequest(), calgo);
1431
- }
1432
- if (op->data.send_initial_metadata.count > INT_MAX) {
1433
- error = GRPC_CALL_ERROR_INVALID_METADATA;
1434
- goto done_with_error;
1435
- }
1436
- stream_op->send_initial_metadata = true;
1437
- sent_initial_metadata_ = true;
1438
- if (!PrepareApplicationMetadata(op->data.send_initial_metadata.count,
1439
- op->data.send_initial_metadata.metadata,
1440
- false)) {
1441
- error = GRPC_CALL_ERROR_INVALID_METADATA;
1442
- goto done_with_error;
1443
- }
1444
- // Ignore any te metadata key value pairs specified.
1445
- send_initial_metadata_.Remove(TeMetadata());
1446
- /* TODO(ctiller): just make these the same variable? */
1447
- if (is_client() && send_deadline() != Timestamp::InfFuture()) {
1448
- send_initial_metadata_.Set(GrpcTimeoutMetadata(), send_deadline());
1449
- }
1450
- if (is_client()) {
1451
- send_initial_metadata_.Set(
1452
- WaitForReady(),
1453
- WaitForReady::ValueType{
1454
- (op->flags & GRPC_INITIAL_METADATA_WAIT_FOR_READY) != 0,
1455
- (op->flags &
1456
- GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET) != 0});
1457
- }
1458
- stream_op_payload->send_initial_metadata.send_initial_metadata =
1459
- &send_initial_metadata_;
1460
- if (is_client()) {
1461
- stream_op_payload->send_initial_metadata.peer_string =
1462
- peer_string_atm_ptr();
1463
- }
1464
- has_send_ops = true;
1465
- break;
1466
- }
1467
- case GRPC_OP_SEND_MESSAGE: {
1468
- if (!AreWriteFlagsValid(op->flags)) {
1469
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1470
- goto done_with_error;
1471
- }
1472
- if (op->data.send_message.send_message == nullptr) {
1473
- error = GRPC_CALL_ERROR_INVALID_MESSAGE;
1474
- goto done_with_error;
1475
- }
1476
- if (sending_message_) {
1477
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1478
- goto done_with_error;
1479
- }
1480
- uint32_t flags = op->flags;
1481
- /* If the outgoing buffer is already compressed, mark it as so in the
1482
- flags. These will be picked up by the compression filter and further
1483
- (wasteful) attempts at compression skipped. */
1484
- if (op->data.send_message.send_message->data.raw.compression >
1485
- GRPC_COMPRESS_NONE) {
1486
- flags |= GRPC_WRITE_INTERNAL_COMPRESS;
1487
- }
1488
- stream_op->send_message = true;
1489
- sending_message_ = true;
1490
- send_slice_buffer_.Clear();
1491
- grpc_slice_buffer_move_into(
1492
- &op->data.send_message.send_message->data.raw.slice_buffer,
1493
- send_slice_buffer_.c_slice_buffer());
1494
- stream_op_payload->send_message.flags = flags;
1495
- stream_op_payload->send_message.send_message = &send_slice_buffer_;
1496
- has_send_ops = true;
1497
- break;
1498
- }
1499
- case GRPC_OP_SEND_CLOSE_FROM_CLIENT: {
1500
- /* Flag validation: currently allow no flags */
1501
- if (op->flags != 0) {
1502
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1503
- goto done_with_error;
1504
- }
1505
- if (!is_client()) {
1506
- error = GRPC_CALL_ERROR_NOT_ON_SERVER;
1507
- goto done_with_error;
1508
- }
1509
- if (sent_final_op_) {
1510
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1511
- goto done_with_error;
1512
- }
1513
- stream_op->send_trailing_metadata = true;
1514
- sent_final_op_ = true;
1515
- stream_op_payload->send_trailing_metadata.send_trailing_metadata =
1516
- &send_trailing_metadata_;
1517
- has_send_ops = true;
1518
- break;
1519
- }
1520
- case GRPC_OP_SEND_STATUS_FROM_SERVER: {
1521
- /* Flag validation: currently allow no flags */
1522
- if (op->flags != 0) {
1523
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1524
- goto done_with_error;
1525
- }
1526
- if (is_client()) {
1527
- error = GRPC_CALL_ERROR_NOT_ON_CLIENT;
1528
- goto done_with_error;
1529
- }
1530
- if (sent_final_op_) {
1531
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1532
- goto done_with_error;
1533
- }
1534
- if (op->data.send_status_from_server.trailing_metadata_count >
1535
- INT_MAX) {
1536
- error = GRPC_CALL_ERROR_INVALID_METADATA;
1537
- goto done_with_error;
1538
- }
1539
- stream_op->send_trailing_metadata = true;
1540
- sent_final_op_ = true;
1541
-
1542
- if (!PrepareApplicationMetadata(
1543
- op->data.send_status_from_server.trailing_metadata_count,
1544
- op->data.send_status_from_server.trailing_metadata, true)) {
1545
- error = GRPC_CALL_ERROR_INVALID_METADATA;
1546
- goto done_with_error;
1547
- }
1548
-
1549
- grpc_error_handle status_error =
1550
- op->data.send_status_from_server.status == GRPC_STATUS_OK
1551
- ? absl::OkStatus()
1552
- : grpc_error_set_int(
1553
- GRPC_ERROR_CREATE("Server returned error"),
1554
- StatusIntProperty::kRpcStatus,
1555
- static_cast<intptr_t>(
1556
- op->data.send_status_from_server.status));
1557
- if (op->data.send_status_from_server.status_details != nullptr) {
1558
- send_trailing_metadata_.Set(
1559
- GrpcMessageMetadata(),
1560
- Slice(grpc_slice_copy(
1561
- *op->data.send_status_from_server.status_details)));
1562
- if (!status_error.ok()) {
1563
- status_error = grpc_error_set_str(
1564
- status_error, StatusStrProperty::kGrpcMessage,
1565
- StringViewFromSlice(
1566
- *op->data.send_status_from_server.status_details));
1567
- }
1568
- }
1569
-
1570
- status_error_.set(status_error);
1571
-
1572
- send_trailing_metadata_.Set(GrpcStatusMetadata(),
1573
- op->data.send_status_from_server.status);
1574
-
1575
- // Ignore any te metadata key value pairs specified.
1576
- send_trailing_metadata_.Remove(TeMetadata());
1577
- stream_op_payload->send_trailing_metadata.send_trailing_metadata =
1578
- &send_trailing_metadata_;
1579
- stream_op_payload->send_trailing_metadata.sent =
1580
- &sent_server_trailing_metadata_;
1581
- has_send_ops = true;
1582
- break;
1583
- }
1584
- case GRPC_OP_RECV_INITIAL_METADATA: {
1585
- /* Flag validation: currently allow no flags */
1586
- if (op->flags != 0) {
1587
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1588
- goto done_with_error;
1589
- }
1590
- if (received_initial_metadata_) {
1591
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1592
- goto done_with_error;
1593
- }
1594
- received_initial_metadata_ = true;
1595
- buffered_metadata_[0] =
1596
- op->data.recv_initial_metadata.recv_initial_metadata;
1597
- GRPC_CLOSURE_INIT(
1598
- &receiving_initial_metadata_ready_,
1599
- [](void* bctl, grpc_error_handle error) {
1600
- static_cast<BatchControl*>(bctl)->ReceivingInitialMetadataReady(
1601
- error);
1602
- },
1603
- bctl, grpc_schedule_on_exec_ctx);
1604
- stream_op->recv_initial_metadata = true;
1605
- stream_op_payload->recv_initial_metadata.recv_initial_metadata =
1606
- &recv_initial_metadata_;
1607
- stream_op_payload->recv_initial_metadata.recv_initial_metadata_ready =
1608
- &receiving_initial_metadata_ready_;
1609
- if (is_client()) {
1610
- stream_op_payload->recv_initial_metadata.trailing_metadata_available =
1611
- &is_trailers_only_;
1612
- } else {
1613
- stream_op_payload->recv_initial_metadata.peer_string =
1614
- peer_string_atm_ptr();
1615
- }
1616
- ++num_recv_ops;
1617
- break;
1618
- }
1619
- case GRPC_OP_RECV_MESSAGE: {
1620
- /* Flag validation: currently allow no flags */
1621
- if (op->flags != 0) {
1622
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1623
- goto done_with_error;
1624
- }
1625
- if (receiving_message_) {
1626
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1627
- goto done_with_error;
1628
- }
1629
- receiving_message_ = true;
1630
- stream_op->recv_message = true;
1631
- receiving_slice_buffer_.reset();
1632
- receiving_buffer_ = op->data.recv_message.recv_message;
1633
- stream_op_payload->recv_message.recv_message = &receiving_slice_buffer_;
1634
- receiving_stream_flags_ = 0;
1635
- stream_op_payload->recv_message.flags = &receiving_stream_flags_;
1636
- stream_op_payload->recv_message.call_failed_before_recv_message =
1637
- &call_failed_before_recv_message_;
1638
- GRPC_CLOSURE_INIT(
1639
- &receiving_stream_ready_,
1640
- [](void* bctlp, grpc_error_handle error) {
1641
- auto* bctl = static_cast<BatchControl*>(bctlp);
1642
- auto* call = bctl->call_;
1643
- // Yields the call combiner before processing the received
1644
- // message.
1645
- GRPC_CALL_COMBINER_STOP(call->call_combiner(),
1646
- "recv_message_ready");
1647
- bctl->ReceivingStreamReady(error);
1648
- },
1649
- bctl, grpc_schedule_on_exec_ctx);
1650
- stream_op_payload->recv_message.recv_message_ready =
1651
- &receiving_stream_ready_;
1652
- ++num_recv_ops;
1653
- break;
1654
- }
1655
- case GRPC_OP_RECV_STATUS_ON_CLIENT: {
1656
- /* Flag validation: currently allow no flags */
1657
- if (op->flags != 0) {
1658
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1659
- goto done_with_error;
1660
- }
1661
- if (!is_client()) {
1662
- error = GRPC_CALL_ERROR_NOT_ON_SERVER;
1663
- goto done_with_error;
1664
- }
1665
- if (requested_final_op_) {
1666
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1667
- goto done_with_error;
1668
- }
1669
- requested_final_op_ = true;
1670
- buffered_metadata_[1] =
1671
- op->data.recv_status_on_client.trailing_metadata;
1672
- final_op_.client.status = op->data.recv_status_on_client.status;
1673
- final_op_.client.status_details =
1674
- op->data.recv_status_on_client.status_details;
1675
- final_op_.client.error_string =
1676
- op->data.recv_status_on_client.error_string;
1677
- stream_op->recv_trailing_metadata = true;
1678
- stream_op_payload->recv_trailing_metadata.recv_trailing_metadata =
1679
- &recv_trailing_metadata_;
1680
- stream_op_payload->recv_trailing_metadata.collect_stats =
1681
- &final_info_.stats.transport_stream_stats;
1682
- GRPC_CLOSURE_INIT(
1683
- &receiving_trailing_metadata_ready_,
1684
- [](void* bctl, grpc_error_handle error) {
1685
- static_cast<BatchControl*>(bctl)->ReceivingTrailingMetadataReady(
1686
- error);
1687
- },
1688
- bctl, grpc_schedule_on_exec_ctx);
1689
- stream_op_payload->recv_trailing_metadata.recv_trailing_metadata_ready =
1690
- &receiving_trailing_metadata_ready_;
1691
- ++num_recv_ops;
1692
- break;
1693
- }
1694
- case GRPC_OP_RECV_CLOSE_ON_SERVER: {
1695
- /* Flag validation: currently allow no flags */
1696
- if (op->flags != 0) {
1697
- error = GRPC_CALL_ERROR_INVALID_FLAGS;
1698
- goto done_with_error;
1699
- }
1700
- if (is_client()) {
1701
- error = GRPC_CALL_ERROR_NOT_ON_CLIENT;
1702
- goto done_with_error;
1703
- }
1704
- if (requested_final_op_) {
1705
- error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
1706
- goto done_with_error;
1707
- }
1708
- requested_final_op_ = true;
1709
- final_op_.server.cancelled = op->data.recv_close_on_server.cancelled;
1710
- stream_op->recv_trailing_metadata = true;
1711
- stream_op_payload->recv_trailing_metadata.recv_trailing_metadata =
1712
- &recv_trailing_metadata_;
1713
- stream_op_payload->recv_trailing_metadata.collect_stats =
1714
- &final_info_.stats.transport_stream_stats;
1715
- GRPC_CLOSURE_INIT(
1716
- &receiving_trailing_metadata_ready_,
1717
- [](void* bctl, grpc_error_handle error) {
1718
- static_cast<BatchControl*>(bctl)->ReceivingTrailingMetadataReady(
1719
- error);
1720
- },
1721
- bctl, grpc_schedule_on_exec_ctx);
1722
- stream_op_payload->recv_trailing_metadata.recv_trailing_metadata_ready =
1723
- &receiving_trailing_metadata_ready_;
1724
- ++num_recv_ops;
1725
- break;
1726
- }
1727
- }
1728
- }
1729
-
1730
- InternalRef("completion");
1731
- if (!is_notify_tag_closure) {
1732
- GPR_ASSERT(grpc_cq_begin_op(cq_, notify_tag));
1733
- }
1734
- bctl->set_num_steps_to_complete((has_send_ops ? 1 : 0) + num_recv_ops);
1735
-
1736
- if (has_send_ops) {
1737
- GRPC_CLOSURE_INIT(
1738
- &bctl->finish_batch_,
1739
- [](void* bctl, grpc_error_handle error) {
1740
- static_cast<BatchControl*>(bctl)->FinishBatch(error);
1741
- },
1742
- bctl, grpc_schedule_on_exec_ctx);
1743
- stream_op->on_complete = &bctl->finish_batch_;
1744
- }
1745
-
1746
- ExecuteBatch(stream_op, &bctl->start_batch_);
1747
-
1748
- done:
1749
- return error;
1750
-
1751
- done_with_error:
1752
- /* reverse any mutations that occurred */
1753
- if (stream_op->send_initial_metadata) {
1754
- sent_initial_metadata_ = false;
1755
- send_initial_metadata_.Clear();
1756
- }
1757
- if (stream_op->send_message) {
1758
- sending_message_ = false;
1759
- }
1760
- if (stream_op->send_trailing_metadata) {
1761
- sent_final_op_ = false;
1762
- send_trailing_metadata_.Clear();
1763
- }
1764
- if (stream_op->recv_initial_metadata) {
1765
- received_initial_metadata_ = false;
1766
- }
1767
- if (stream_op->recv_message) {
1768
- receiving_message_ = false;
1769
- }
1770
- if (stream_op->recv_trailing_metadata) {
1771
- requested_final_op_ = false;
1772
- }
1773
- goto done;
1774
- }
1775
-
1776
- void FilterStackCall::ContextSet(grpc_context_index elem, void* value,
1777
- void (*destroy)(void*)) {
1778
- if (context_[elem].destroy) {
1779
- context_[elem].destroy(context_[elem].value);
1780
- }
1781
- context_[elem].value = value;
1782
- context_[elem].destroy = destroy;
1783
- }
1784
-
1785
- ///////////////////////////////////////////////////////////////////////////////
1786
- // Metadata validation helpers
1787
-
1788
- namespace {
1789
- bool ValidateMetadata(size_t count, grpc_metadata* metadata) {
1790
- for (size_t i = 0; i < count; i++) {
1791
- grpc_metadata* md = &metadata[i];
1792
- if (!GRPC_LOG_IF_ERROR("validate_metadata",
1793
- grpc_validate_header_key_is_legal(md->key))) {
1794
- return false;
1795
- } else if (!grpc_is_binary_header_internal(md->key) &&
1796
- !GRPC_LOG_IF_ERROR(
1797
- "validate_metadata",
1798
- grpc_validate_header_nonbin_value_is_legal(md->value))) {
1799
- return false;
1800
- } else if (GRPC_SLICE_LENGTH(md->value) >= UINT32_MAX) {
1801
- // HTTP2 hpack encoding has a maximum limit.
1802
- return false;
1803
- }
1804
- }
1805
- return true;
1806
- }
1807
- } // namespace
1808
-
1809
- ///////////////////////////////////////////////////////////////////////////////
1810
- // PromiseBasedCall
1811
- // Will be folded into Call once the promise conversion is done
1812
-
1813
- class PromiseBasedCall : public Call, public Activity, public Wakeable {
1814
- public:
1815
- PromiseBasedCall(Arena* arena, const grpc_call_create_args& args);
1816
-
1817
- void ContextSet(grpc_context_index elem, void* value,
1818
- void (*destroy)(void* value)) override;
1819
- void* ContextGet(grpc_context_index elem) const override;
1820
- void SetCompletionQueue(grpc_completion_queue* cq) override;
1821
-
1822
- // Implementation of call refcounting: move this to DualRefCounted once we
1823
- // don't need to maintain FilterStackCall compatibility
1824
- void ExternalRef() final {
1825
- refs_.fetch_add(MakeRefPair(1, 0), std::memory_order_relaxed);
1826
- }
1827
- void ExternalUnref() final {
1828
- const uint64_t prev_ref_pair =
1829
- refs_.fetch_add(MakeRefPair(-1, 1), std::memory_order_acq_rel);
1830
- const uint32_t strong_refs = GetStrongRefs(prev_ref_pair);
1831
- if (GPR_UNLIKELY(strong_refs == 1)) {
1832
- Orphan();
1833
- }
1834
- // Now drop the weak ref.
1835
- InternalUnref("external_ref");
1836
- }
1837
- void InternalRef(const char*) final {
1838
- refs_.fetch_add(MakeRefPair(0, 1), std::memory_order_relaxed);
1839
- }
1840
- void InternalUnref(const char*) final {
1841
- const uint64_t prev_ref_pair =
1842
- refs_.fetch_sub(MakeRefPair(0, 1), std::memory_order_acq_rel);
1843
- if (GPR_UNLIKELY(prev_ref_pair == MakeRefPair(0, 1))) {
1844
- DeleteThis();
1845
- }
1846
- }
1847
-
1848
- // Activity methods
1849
- void ForceImmediateRepoll() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) override;
1850
- Waker MakeOwningWaker() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) override {
1851
- InternalRef("wakeup");
1852
- // If ASAN is defined, we leverage it to detect dropped Waker objects.
1853
- // Usually Waker must be destroyed or woken up, but (especially with arenas)
1854
- // it's not uncommon to create a Waker and then do neither. In that case it's
1855
- // incredibly fraught to diagnose where the dropped reference to this object was
1856
- // created. Instead, leverage ASAN and create a new object per expected wakeup.
1857
- // Now when we drop such an object ASAN will fail and we'll get a callstack to
1858
- // the creation of the waker in question.
1859
- #if defined(__has_feature)
1860
- #if __has_feature(address_sanitizer)
1861
- #define GRPC_CALL_USES_ASAN_WAKER
1862
- class AsanWaker final : public Wakeable {
1863
- public:
1864
- explicit AsanWaker(PromiseBasedCall* call) : call_(call) {}
1865
-
1866
- void Wakeup() override {
1867
- call_->Wakeup();
1868
- delete this;
1869
- }
1870
-
1871
- void Drop() override {
1872
- call_->Drop();
1873
- delete this;
1874
- }
1875
-
1876
- std::string ActivityDebugTag() const override {
1877
- return call_->DebugTag();
1878
- }
1879
-
1880
- private:
1881
- PromiseBasedCall* call_;
1882
- };
1883
- return Waker(new AsanWaker(this));
1884
- #endif
1885
- #endif
1886
- #ifndef GRPC_CALL_USES_ASAN_WAKER
1887
- return Waker(this);
1888
- #endif
1889
- }
1890
- Waker MakeNonOwningWaker() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) override;
1891
-
1892
- // Wakeable methods
1893
- void Wakeup() override {
1894
- channel()->event_engine()->Run([this] {
1895
- ApplicationCallbackExecCtx app_exec_ctx;
1896
- ExecCtx exec_ctx;
1897
- {
1898
- ScopedContext activity_context(this);
1899
- MutexLock lock(&mu_);
1900
- Update();
1901
- }
1902
- InternalUnref("wakeup");
1903
- });
1904
- }
1905
- void Drop() override { InternalUnref("wakeup"); }
1906
-
1907
- void RunInContext(absl::AnyInvocable<void()> fn) {
1908
- if (Activity::current() == this) {
1909
- fn();
1910
- } else {
1911
- InternalRef("in_context");
1912
- channel()->event_engine()->Run([this, fn = std::move(fn)]() mutable {
1913
- ApplicationCallbackExecCtx app_exec_ctx;
1914
- ExecCtx exec_ctx;
1915
- {
1916
- ScopedContext activity_context(this);
1917
- MutexLock lock(&mu_);
1918
- fn();
1919
- Update();
1920
- }
1921
- InternalUnref("in_context");
1922
- });
1923
- }
1924
- }
1925
-
1926
- grpc_compression_algorithm test_only_compression_algorithm() override {
1927
- abort();
1928
- }
1929
- uint32_t test_only_message_flags() override { abort(); }
1930
- uint32_t test_only_encodings_accepted_by_peer() override { abort(); }
1931
- grpc_compression_algorithm compression_for_level(
1932
- grpc_compression_level) override {
1933
- abort();
1934
- }
1935
-
1936
- // This should return nullptr for the promise stack (and alternative means
1937
- // for that functionality be invented)
1938
- grpc_call_stack* call_stack() override { return nullptr; }
1939
-
1940
- protected:
1941
- class ScopedContext
1942
- : public ScopedActivity,
1943
- public promise_detail::Context<Arena>,
1944
- public promise_detail::Context<grpc_call_context_element>,
1945
- public promise_detail::Context<CallContext>,
1946
- public promise_detail::Context<CallFinalization> {
1947
- public:
1948
- explicit ScopedContext(PromiseBasedCall* call)
1949
- : ScopedActivity(call),
1950
- promise_detail::Context<Arena>(call->arena()),
1951
- promise_detail::Context<grpc_call_context_element>(call->context_),
1952
- promise_detail::Context<CallContext>(&call->call_context_),
1953
- promise_detail::Context<CallFinalization>(&call->finalization_) {}
1954
- };
1955
-
1956
- class Completion {
1957
- public:
1958
- Completion() : index_(kNullIndex) {}
1959
- ~Completion() { GPR_ASSERT(index_ == kNullIndex); }
1960
- explicit Completion(uint8_t index) : index_(index) {}
1961
- Completion(const Completion& other) = delete;
1962
- Completion& operator=(const Completion& other) = delete;
1963
- Completion(Completion&& other) noexcept : index_(other.index_) {
1964
- other.index_ = kNullIndex;
1965
- }
1966
- Completion& operator=(Completion&& other) noexcept {
1967
- GPR_ASSERT(index_ == kNullIndex);
1968
- index_ = other.index_;
1969
- other.index_ = kNullIndex;
1970
- return *this;
1971
- }
1972
-
1973
- uint8_t index() const { return index_; }
1974
- uint8_t TakeIndex() { return std::exchange(index_, kNullIndex); }
1975
- bool has_value() const { return index_ != kNullIndex; }
1976
-
1977
- std::string ToString() const {
1978
- return index_ == kNullIndex ? "null"
1979
- : std::to_string(static_cast<int>(index_));
1980
- }
1981
-
1982
- private:
1983
- enum : uint8_t { kNullIndex = 0xff };
1984
- uint8_t index_;
1985
- };
1986
-
1987
- ~PromiseBasedCall() override {
1988
- if (non_owning_wakeable_) non_owning_wakeable_->DropActivity();
1989
- if (cq_) GRPC_CQ_INTERNAL_UNREF(cq_, "bind");
1990
- }
1991
-
1992
- // Enumerates why a Completion is still pending
1993
- enum class PendingOp {
1994
- // We're in the midst of starting a batch of operations
1995
- kStartingBatch = 0,
1996
- // The following correspond with the batch operations from above
1997
- kReceiveInitialMetadata,
1998
- kReceiveStatusOnClient,
1999
- kSendMessage,
2000
- kReceiveMessage,
2001
- };
2002
-
2003
- static constexpr const char* PendingOpString(PendingOp reason) {
2004
- switch (reason) {
2005
- case PendingOp::kStartingBatch:
2006
- return "StartingBatch";
2007
- case PendingOp::kReceiveInitialMetadata:
2008
- return "ReceiveInitialMetadata";
2009
- case PendingOp::kReceiveStatusOnClient:
2010
- return "ReceiveStatusOnClient";
2011
- case PendingOp::kSendMessage:
2012
- return "SendMessage";
2013
- case PendingOp::kReceiveMessage:
2014
- return "ReceiveMessage";
2015
- }
2016
- return "Unknown";
2017
- }
2018
-
2019
- static constexpr uint8_t PendingOpBit(PendingOp reason) {
2020
- return 1 << static_cast<int>(reason);
2021
- }
2022
-
2023
- Mutex* mu() const ABSL_LOCK_RETURNED(mu_) { return &mu_; }
2024
-
2025
- // Begin work on a completion, recording the tag/closure to notify.
2026
- // Use the op selected in \a ops to determine the index to allocate into.
2027
- // Starts the "StartingBatch" PendingOp immediately.
2028
- // Assumes at least one operation in \a ops.
2029
- Completion StartCompletion(void* tag, bool is_closure, const grpc_op* ops)
2030
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
2031
- // Add one pending op to the completion, and return it.
2032
- Completion AddOpToCompletion(const Completion& completion, PendingOp reason)
2033
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
2034
- // Finish one op on the completion. Must have been previously been added.
2035
- // The completion as a whole finishes when all pending ops finish.
2036
- void FinishOpOnCompletion(Completion* completion, PendingOp reason)
2037
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
2038
- // Mark the completion as failed. Does not finish it.
2039
- void FailCompletion(const Completion& completion);
2040
- // Run the promise polling loop until it stalls.
2041
- void Update() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
2042
- // Update the promise state once.
2043
- virtual void UpdateOnce() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) = 0;
2044
- // Accept the stats from the context (call once we have proof the transport is
2045
- // done with them).
2046
- // Right now this means that promise based calls do not record correct stats
2047
- // with census if they are cancelled.
2048
- // TODO(ctiller): this should be remedied before promise based calls are
2049
- // dexperimentalized.
2050
- void AcceptTransportStatsFromContext() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
2051
- final_stats_ = *call_context_.call_stats();
2052
- }
2053
-
2054
- grpc_completion_queue* cq() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) { return cq_; }
2055
-
2056
- void CToMetadata(grpc_metadata* metadata, size_t count,
2057
- grpc_metadata_batch* batch);
2058
-
2059
- std::string ActivityDebugTag() const override { return DebugTag(); }
2060
-
2061
- // At the end of the call run any finalization actions.
2062
- void RunFinalization(grpc_status_code status, const char* status_details) {
2063
- grpc_call_final_info final_info;
2064
- final_info.stats = final_stats_;
2065
- final_info.final_status = status;
2066
- final_info.error_string = status_details;
2067
- finalization_.Run(&final_info);
2068
- }
2069
-
2070
- private:
2071
- union CompletionInfo {
2072
- struct Pending {
2073
- // Bitmask of PendingOps
2074
- uint8_t pending_op_bits;
2075
- bool is_closure;
2076
- bool success;
2077
- void* tag;
2078
- } pending;
2079
- grpc_cq_completion completion;
2080
- };
2081
-
2082
- class NonOwningWakable final : public Wakeable {
2083
- public:
2084
- explicit NonOwningWakable(PromiseBasedCall* call) : call_(call) {}
2085
-
2086
- // Ref the Handle (not the activity).
2087
- void Ref() { refs_.fetch_add(1, std::memory_order_relaxed); }
2088
-
2089
- // Activity is going away... drop its reference and sever the connection
2090
- // back.
2091
- void DropActivity() ABSL_LOCKS_EXCLUDED(mu_) {
2092
- auto unref = absl::MakeCleanup([this]() { Unref(); });
2093
- MutexLock lock(&mu_);
2094
- GPR_ASSERT(call_ != nullptr);
2095
- call_ = nullptr;
2096
- }
2097
-
2098
- // Activity needs to wake up (if it still exists!) - wake it up, and drop
2099
- // the ref that was kept for this handle.
2100
- void Wakeup() override ABSL_LOCKS_EXCLUDED(mu_) {
2101
- // Drop the ref to the handle at end of scope (we have one ref = one
2102
- // wakeup semantics).
2103
- auto unref = absl::MakeCleanup([this]() { Unref(); });
2104
- ReleasableMutexLock lock(&mu_);
2105
- // Note that activity refcount can drop to zero, but we could win the lock
2106
- // against DropActivity, so we need to only increase activities refcount
2107
- // if it is non-zero.
2108
- if (call_ != nullptr && call_->RefIfNonZero()) {
2109
- PromiseBasedCall* call = call_;
2110
- lock.Release();
2111
- // Activity still exists and we have a reference: wake it up, which will
2112
- // drop the ref.
2113
- call->Wakeup();
2114
- }
2115
- }
2116
-
2117
- std::string ActivityDebugTag() const override {
2118
- MutexLock lock(&mu_);
2119
- return call_ == nullptr ? "<unknown>" : call_->DebugTag();
2120
- }
2121
-
2122
- void Drop() override { Unref(); }
2123
-
2124
- private:
2125
- // Unref the Handle (not the activity).
2126
- void Unref() {
2127
- if (1 == refs_.fetch_sub(1, std::memory_order_acq_rel)) {
2128
- delete this;
2129
- }
2130
- }
2131
-
2132
- mutable Mutex mu_;
2133
- // We have two initial refs: one for the wakeup that this is created for,
2134
- // and will be dropped by Wakeup, and the other for the activity which is
2135
- // dropped by DropActivity.
2136
- std::atomic<size_t> refs_{2};
2137
- PromiseBasedCall* call_ ABSL_GUARDED_BY(mu_);
2138
- };
2139
-
2140
- static void OnDestroy(void* arg, grpc_error_handle) {
2141
- auto* call = static_cast<PromiseBasedCall*>(arg);
2142
- ScopedContext context(call);
2143
- call->DeleteThis();
2144
- }
2145
-
2146
- // First 32 bits are strong refs, next 32 bits are weak refs.
2147
- static uint64_t MakeRefPair(uint32_t strong, uint32_t weak) {
2148
- return (static_cast<uint64_t>(strong) << 32) + static_cast<int64_t>(weak);
2149
- }
2150
- static uint32_t GetStrongRefs(uint64_t ref_pair) {
2151
- return static_cast<uint32_t>(ref_pair >> 32);
2152
- }
2153
- static uint32_t GetWeakRefs(uint64_t ref_pair) {
2154
- return static_cast<uint32_t>(ref_pair & 0xffffffffu);
2155
- }
2156
-
2157
- bool RefIfNonZero() {
2158
- uint64_t prev_ref_pair = refs_.load(std::memory_order_acquire);
2159
- do {
2160
- const uint32_t strong_refs = GetStrongRefs(prev_ref_pair);
2161
- if (strong_refs == 0) return false;
2162
- } while (!refs_.compare_exchange_weak(
2163
- prev_ref_pair, prev_ref_pair + MakeRefPair(1, 0),
2164
- std::memory_order_acq_rel, std::memory_order_acquire));
2165
- return true;
2166
- }
2167
-
2168
- mutable Mutex mu_;
2169
- std::atomic<uint64_t> refs_{MakeRefPair(1, 0)};
2170
- CallContext call_context_{this};
2171
- bool keep_polling_ ABSL_GUARDED_BY(mu()) = false;
2172
-
2173
- /* Contexts for various subsystems (security, tracing, ...). */
2174
- grpc_call_context_element context_[GRPC_CONTEXT_COUNT] = {};
2175
- grpc_completion_queue* cq_ ABSL_GUARDED_BY(mu_);
2176
- NonOwningWakable* non_owning_wakeable_ ABSL_GUARDED_BY(mu_) = nullptr;
2177
- CompletionInfo completion_info_[6];
2178
- grpc_call_stats final_stats_{};
2179
- CallFinalization finalization_;
2180
- };
2181
-
2182
- template <typename T>
2183
- grpc_error_handle MakePromiseBasedCall(grpc_call_create_args* args,
2184
- grpc_call** out_call) {
2185
- Channel* channel = args->channel.get();
2186
-
2187
- auto alloc = Arena::CreateWithAlloc(channel->CallSizeEstimate(), sizeof(T),
2188
- channel->allocator());
2189
- PromiseBasedCall* call = new (alloc.second) T(alloc.first, args);
2190
- *out_call = call->c_ptr();
2191
- GPR_DEBUG_ASSERT(Call::FromC(*out_call) == call);
2192
- return absl::OkStatus();
2193
- }
2194
-
2195
- PromiseBasedCall::PromiseBasedCall(Arena* arena,
2196
- const grpc_call_create_args& args)
2197
- : Call(arena, args.server_transport_data == nullptr, args.send_deadline,
2198
- args.channel->Ref()),
2199
- cq_(args.cq) {
2200
- if (args.cq != nullptr) {
2201
- GPR_ASSERT(args.pollset_set_alternative == nullptr &&
2202
- "Only one of 'cq' and 'pollset_set_alternative' should be "
2203
- "non-nullptr.");
2204
- GRPC_CQ_INTERNAL_REF(args.cq, "bind");
2205
- call_context_.pollent_ =
2206
- grpc_polling_entity_create_from_pollset(grpc_cq_pollset(args.cq));
2207
- }
2208
- if (args.pollset_set_alternative != nullptr) {
2209
- call_context_.pollent_ = grpc_polling_entity_create_from_pollset_set(
2210
- args.pollset_set_alternative);
2211
- }
2212
- }
2213
-
2214
- Waker PromiseBasedCall::MakeNonOwningWaker() {
2215
- if (non_owning_wakeable_ == nullptr) {
2216
- non_owning_wakeable_ = new NonOwningWakable(this);
2217
- } else {
2218
- non_owning_wakeable_->Ref();
2219
- }
2220
- return Waker(non_owning_wakeable_);
2221
- }
2222
-
2223
- void PromiseBasedCall::CToMetadata(grpc_metadata* metadata, size_t count,
2224
- grpc_metadata_batch* b) {
2225
- for (size_t i = 0; i < count; i++) {
2226
- grpc_metadata* md = &metadata[i];
2227
- auto key = StringViewFromSlice(md->key);
2228
- // Filter "content-length metadata"
2229
- if (key == "content-length") continue;
2230
- b->Append(key, Slice(CSliceRef(md->value)),
2231
- [md](absl::string_view error, const Slice& value) {
2232
- gpr_log(GPR_DEBUG, "Append error: %s",
2233
- absl::StrCat("key=", StringViewFromSlice(md->key),
2234
- " error=", error,
2235
- " value=", value.as_string_view())
2236
- .c_str());
2237
- });
2238
- }
2239
- }
2240
-
2241
- void PromiseBasedCall::ContextSet(grpc_context_index elem, void* value,
2242
- void (*destroy)(void*)) {
2243
- if (context_[elem].destroy != nullptr) {
2244
- context_[elem].destroy(context_[elem].value);
2245
- }
2246
- context_[elem].value = value;
2247
- context_[elem].destroy = destroy;
2248
- }
2249
-
2250
- void* PromiseBasedCall::ContextGet(grpc_context_index elem) const {
2251
- return context_[elem].value;
2252
- }
2253
-
2254
- PromiseBasedCall::Completion PromiseBasedCall::StartCompletion(
2255
- void* tag, bool is_closure, const grpc_op* ops) {
2256
- Completion c(BatchSlotForOp(ops[0].op));
2257
- if (grpc_call_trace.enabled()) {
2258
- gpr_log(GPR_INFO, "%sStartCompletion %s tag=%p", DebugTag().c_str(),
2259
- c.ToString().c_str(), tag);
2260
- }
2261
- if (!is_closure) {
2262
- grpc_cq_begin_op(cq(), tag);
2263
- }
2264
- completion_info_[c.index()].pending = {
2265
- PendingOpBit(PendingOp::kStartingBatch), is_closure, true, tag};
2266
- return c;
2267
- }
2268
-
2269
- PromiseBasedCall::Completion PromiseBasedCall::AddOpToCompletion(
2270
- const Completion& completion, PendingOp reason) {
2271
- if (grpc_call_trace.enabled()) {
2272
- gpr_log(GPR_INFO, "%sAddOpToCompletion %s %s", DebugTag().c_str(),
2273
- completion.ToString().c_str(), PendingOpString(reason));
2274
- }
2275
- auto& pending_op_bits =
2276
- completion_info_[completion.index()].pending.pending_op_bits;
2277
- GPR_ASSERT((pending_op_bits & PendingOpBit(reason)) == 0);
2278
- pending_op_bits |= PendingOpBit(reason);
2279
- return Completion(completion.index());
2280
- }
2281
-
2282
- void PromiseBasedCall::FailCompletion(const Completion& completion) {
2283
- if (grpc_call_trace.enabled()) {
2284
- gpr_log(GPR_INFO, "%sFailCompletion %s", DebugTag().c_str(),
2285
- completion.ToString().c_str());
2286
- }
2287
- completion_info_[completion.index()].pending.success = false;
2288
- }
2289
-
2290
- void PromiseBasedCall::FinishOpOnCompletion(Completion* completion,
2291
- PendingOp reason) {
2292
- if (grpc_call_trace.enabled()) {
2293
- auto pending_op_bits =
2294
- completion_info_[completion->index()].pending.pending_op_bits;
2295
- bool success = completion_info_[completion->index()].pending.success;
2296
- std::vector<const char*> pending;
2297
- for (size_t i = 0; i < 8 * sizeof(pending_op_bits); i++) {
2298
- if (static_cast<PendingOp>(i) == reason) continue;
2299
- if (pending_op_bits & (1 << i)) {
2300
- pending.push_back(PendingOpString(static_cast<PendingOp>(i)));
2301
- }
2302
- }
2303
- gpr_log(
2304
- GPR_INFO, "%sFinishOpOnCompletion %s %s %s", DebugTag().c_str(),
2305
- completion->ToString().c_str(), PendingOpString(reason),
2306
- (pending.empty()
2307
- ? (success ? std::string("done") : std::string("failed"))
2308
- : absl::StrFormat("pending_ops={%s}", absl::StrJoin(pending, ",")))
2309
- .c_str());
2310
- }
2311
- const uint8_t i = completion->TakeIndex();
2312
- GPR_ASSERT(i < GPR_ARRAY_SIZE(completion_info_));
2313
- CompletionInfo::Pending& pending = completion_info_[i].pending;
2314
- GPR_ASSERT(pending.pending_op_bits & PendingOpBit(reason));
2315
- pending.pending_op_bits &= ~PendingOpBit(reason);
2316
- auto error = pending.success ? absl::OkStatus() : absl::CancelledError();
2317
- if (pending.pending_op_bits == 0) {
2318
- if (pending.is_closure) {
2319
- ExecCtx::Run(DEBUG_LOCATION, static_cast<grpc_closure*>(pending.tag),
2320
- error);
2321
- } else {
2322
- grpc_cq_end_op(
2323
- cq(), pending.tag, error, [](void*, grpc_cq_completion*) {}, nullptr,
2324
- &completion_info_[i].completion);
2325
- }
2326
- }
2327
- }
2328
-
2329
- void PromiseBasedCall::Update() {
2330
- keep_polling_ = false;
2331
- do {
2332
- UpdateOnce();
2333
- } while (std::exchange(keep_polling_, false));
2334
- }
2335
-
2336
- void PromiseBasedCall::ForceImmediateRepoll() { keep_polling_ = true; }
2337
-
2338
- void PromiseBasedCall::SetCompletionQueue(grpc_completion_queue* cq) {
2339
- MutexLock lock(&mu_);
2340
- cq_ = cq;
2341
- GRPC_CQ_INTERNAL_REF(cq, "bind");
2342
- call_context_.pollent_ =
2343
- grpc_polling_entity_create_from_pollset(grpc_cq_pollset(cq));
2344
- }
2345
-
2346
- ///////////////////////////////////////////////////////////////////////////////
2347
- // CallContext
2348
-
2349
- void CallContext::RunInContext(absl::AnyInvocable<void()> fn) {
2350
- call_->RunInContext(std::move(fn));
2351
- }
2352
-
2353
- void CallContext::IncrementRefCount(const char* reason) {
2354
- call_->InternalRef(reason);
2355
- }
2356
-
2357
- void CallContext::Unref(const char* reason) { call_->InternalUnref(reason); }
2358
-
2359
- ///////////////////////////////////////////////////////////////////////////////
2360
- // ClientPromiseBasedCall
2361
-
2362
- class ClientPromiseBasedCall final : public PromiseBasedCall {
2363
- public:
2364
- ClientPromiseBasedCall(Arena* arena, grpc_call_create_args* args)
2365
- : PromiseBasedCall(arena, *args) {
2366
- global_stats().IncrementClientCallsCreated();
2367
- ScopedContext context(this);
2368
- send_initial_metadata_ =
2369
- GetContext<Arena>()->MakePooled<ClientMetadata>(GetContext<Arena>());
2370
- send_initial_metadata_->Set(HttpPathMetadata(), std::move(*args->path));
2371
- if (args->authority.has_value()) {
2372
- send_initial_metadata_->Set(HttpAuthorityMetadata(),
2373
- std::move(*args->authority));
2374
- }
2375
- if (auto* channelz_channel = channel()->channelz_node()) {
2376
- channelz_channel->RecordCallStarted();
2377
- }
2378
- }
2379
-
2380
- ~ClientPromiseBasedCall() override {
2381
- ScopedContext context(this);
2382
- send_initial_metadata_.reset();
2383
- recv_status_on_client_ = absl::monostate();
2384
- promise_ = ArenaPromise<ServerMetadataHandle>();
2385
- // Need to destroy the pipes under the ScopedContext above, so we move them
2386
- // out here and then allow the destructors to run at end of scope, but
2387
- // before context.
2388
- auto c2s = std::move(client_to_server_messages_);
2389
- auto s2c = std::move(server_to_client_messages_);
2390
- }
2391
-
2392
- absl::string_view GetServerAuthority() const override { abort(); }
2393
- void CancelWithError(grpc_error_handle error) override;
2394
- bool Completed() override;
2395
- void Orphan() override {
2396
- MutexLock lock(mu());
2397
- ScopedContext ctx(this);
2398
- if (!completed_) Finish(ServerMetadataFromStatus(absl::CancelledError()));
2399
- }
2400
- bool is_trailers_only() const override {
2401
- MutexLock lock(mu());
2402
- return is_trailers_only_;
2403
- }
2404
- bool failed_before_recv_message() const override { abort(); }
2405
-
2406
- grpc_call_error StartBatch(const grpc_op* ops, size_t nops, void* notify_tag,
2407
- bool is_notify_tag_closure) override;
2408
-
2409
- std::string DebugTag() const override {
2410
- return absl::StrFormat("CLIENT_CALL[%p]: ", this);
2411
- }
2412
-
2413
- private:
2414
- // Poll the underlying promise (and sundry objects) once.
2415
- void UpdateOnce() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu()) override;
2416
- // Finish the call with the given status/trailing metadata.
2417
- void Finish(ServerMetadataHandle trailing_metadata)
2418
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu());
2419
- // Validate that a set of ops is valid for a client call.
2420
- grpc_call_error ValidateBatch(const grpc_op* ops, size_t nops) const
2421
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu());
2422
- // Commit a valid batch of operations to be executed.
2423
- void CommitBatch(const grpc_op* ops, size_t nops,
2424
- const Completion& completion)
2425
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu());
2426
- // Start the underlying promise.
2427
- void StartPromise(ClientMetadataHandle client_initial_metadata)
2428
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu());
2429
- // Publish some metadata out to the application.
2430
- static void PublishMetadataArray(grpc_metadata_array* array,
2431
- ServerMetadata* md);
2432
- // Publish status out to the application.
2433
- void PublishStatus(
2434
- grpc_op::grpc_op_data::grpc_op_recv_status_on_client op_args,
2435
- ServerMetadataHandle trailing_metadata)
2436
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu());
2437
- // Publish server initial metadata out to the application.
2438
- void PublishInitialMetadata(ServerMetadata* metadata)
2439
- ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu());
2440
-
2441
- ArenaPromise<ServerMetadataHandle> promise_ ABSL_GUARDED_BY(mu());
2442
- Latch<ServerMetadata*> server_initial_metadata_ ABSL_GUARDED_BY(mu());
2443
- Pipe<MessageHandle> client_to_server_messages_ ABSL_GUARDED_BY(mu()){arena()};
2444
- Pipe<MessageHandle> server_to_client_messages_ ABSL_GUARDED_BY(mu()){arena()};
2445
-
2446
- ClientMetadataHandle send_initial_metadata_;
2447
- grpc_metadata_array* recv_initial_metadata_ ABSL_GUARDED_BY(mu()) = nullptr;
2448
- grpc_byte_buffer** recv_message_ ABSL_GUARDED_BY(mu()) = nullptr;
2449
- absl::variant<absl::monostate,
2450
- grpc_op::grpc_op_data::grpc_op_recv_status_on_client,
2451
- ServerMetadataHandle>
2452
- recv_status_on_client_ ABSL_GUARDED_BY(mu());
2453
- absl::optional<PipeSender<MessageHandle>::PushType> outstanding_send_
2454
- ABSL_GUARDED_BY(mu());
2455
- absl::optional<PipeReceiver<MessageHandle>::NextType> outstanding_recv_
2456
- ABSL_GUARDED_BY(mu());
2457
- absl::optional<Latch<ServerMetadata*>::WaitPromise>
2458
- server_initial_metadata_ready_;
2459
- absl::optional<grpc_compression_algorithm> incoming_compression_algorithm_;
2460
- Completion recv_initial_metadata_completion_ ABSL_GUARDED_BY(mu());
2461
- Completion recv_status_on_client_completion_ ABSL_GUARDED_BY(mu());
2462
- Completion send_message_completion_ ABSL_GUARDED_BY(mu());
2463
- Completion recv_message_completion_ ABSL_GUARDED_BY(mu());
2464
- bool completed_ ABSL_GUARDED_BY(mu()) = false;
2465
- bool is_trailers_only_ ABSL_GUARDED_BY(mu());
2466
- };
2467
-
2468
- void ClientPromiseBasedCall::StartPromise(
2469
- ClientMetadataHandle client_initial_metadata) {
2470
- GPR_ASSERT(!promise_.has_value());
2471
- promise_ = channel()->channel_stack()->MakeClientCallPromise(CallArgs{
2472
- std::move(client_initial_metadata),
2473
- &server_initial_metadata_,
2474
- &client_to_server_messages_.receiver,
2475
- &server_to_client_messages_.sender,
2476
- });
2477
- }
2478
-
2479
- void ClientPromiseBasedCall::CancelWithError(grpc_error_handle error) {
2480
- MutexLock lock(mu());
2481
- ScopedContext context(this);
2482
- Finish(ServerMetadataFromStatus(grpc_error_to_absl_status(error)));
2483
- }
2484
-
2485
- grpc_call_error ClientPromiseBasedCall::ValidateBatch(const grpc_op* ops,
2486
- size_t nops) const {
2487
- BitSet<8> got_ops;
2488
- for (size_t op_idx = 0; op_idx < nops; op_idx++) {
2489
- const grpc_op& op = ops[op_idx];
2490
- switch (op.op) {
2491
- case GRPC_OP_SEND_INITIAL_METADATA:
2492
- if (!AreInitialMetadataFlagsValid(op.flags)) {
2493
- return GRPC_CALL_ERROR_INVALID_FLAGS;
2494
- }
2495
- if (!ValidateMetadata(op.data.send_initial_metadata.count,
2496
- op.data.send_initial_metadata.metadata)) {
2497
- return GRPC_CALL_ERROR_INVALID_METADATA;
2498
- }
2499
- break;
2500
- case GRPC_OP_SEND_MESSAGE:
2501
- if (!AreWriteFlagsValid(op.flags)) {
2502
- return GRPC_CALL_ERROR_INVALID_FLAGS;
2503
- }
2504
- break;
2505
- case GRPC_OP_RECV_INITIAL_METADATA:
2506
- case GRPC_OP_RECV_MESSAGE:
2507
- case GRPC_OP_SEND_CLOSE_FROM_CLIENT:
2508
- case GRPC_OP_RECV_STATUS_ON_CLIENT:
2509
- if (op.flags != 0) return GRPC_CALL_ERROR_INVALID_FLAGS;
2510
- break;
2511
- case GRPC_OP_RECV_CLOSE_ON_SERVER:
2512
- case GRPC_OP_SEND_STATUS_FROM_SERVER:
2513
- return GRPC_CALL_ERROR_NOT_ON_CLIENT;
2514
- }
2515
- if (got_ops.is_set(op.op)) return GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
2516
- got_ops.set(op.op);
2517
- }
2518
- return GRPC_CALL_OK;
2519
- }
2520
-
2521
- void ClientPromiseBasedCall::CommitBatch(const grpc_op* ops, size_t nops,
2522
- const Completion& completion) {
2523
- for (size_t op_idx = 0; op_idx < nops; op_idx++) {
2524
- const grpc_op& op = ops[op_idx];
2525
- switch (op.op) {
2526
- case GRPC_OP_SEND_INITIAL_METADATA: {
2527
- // compression not implemented
2528
- GPR_ASSERT(
2529
- !op.data.send_initial_metadata.maybe_compression_level.is_set);
2530
- if (!completed_) {
2531
- CToMetadata(op.data.send_initial_metadata.metadata,
2532
- op.data.send_initial_metadata.count,
2533
- send_initial_metadata_.get());
2534
- StartPromise(std::move(send_initial_metadata_));
2535
- }
2536
- } break;
2537
- case GRPC_OP_RECV_INITIAL_METADATA: {
2538
- recv_initial_metadata_ =
2539
- op.data.recv_initial_metadata.recv_initial_metadata;
2540
- server_initial_metadata_ready_ = server_initial_metadata_.Wait();
2541
- recv_initial_metadata_completion_ =
2542
- AddOpToCompletion(completion, PendingOp::kReceiveInitialMetadata);
2543
- } break;
2544
- case GRPC_OP_RECV_STATUS_ON_CLIENT: {
2545
- recv_status_on_client_completion_ =
2546
- AddOpToCompletion(completion, PendingOp::kReceiveStatusOnClient);
2547
- if (auto* finished_metadata =
2548
- absl::get_if<ServerMetadataHandle>(&recv_status_on_client_)) {
2549
- PublishStatus(op.data.recv_status_on_client,
2550
- std::move(*finished_metadata));
2551
- } else {
2552
- recv_status_on_client_ = op.data.recv_status_on_client;
2553
- }
2554
- } break;
2555
- case GRPC_OP_SEND_MESSAGE: {
2556
- GPR_ASSERT(!outstanding_send_.has_value());
2557
- if (!completed_) {
2558
- send_message_completion_ =
2559
- AddOpToCompletion(completion, PendingOp::kSendMessage);
2560
- SliceBuffer send;
2561
- grpc_slice_buffer_swap(
2562
- &op.data.send_message.send_message->data.raw.slice_buffer,
2563
- send.c_slice_buffer());
2564
- outstanding_send_.emplace(client_to_server_messages_.sender.Push(
2565
- GetContext<Arena>()->MakePooled<Message>(std::move(send),
2566
- op.flags)));
2567
- } else {
2568
- FailCompletion(completion);
2569
- }
2570
- } break;
2571
- case GRPC_OP_RECV_MESSAGE: {
2572
- GPR_ASSERT(!outstanding_recv_.has_value());
2573
- recv_message_ = op.data.recv_message.recv_message;
2574
- recv_message_completion_ =
2575
- AddOpToCompletion(completion, PendingOp::kReceiveMessage);
2576
- outstanding_recv_.emplace(server_to_client_messages_.receiver.Next());
2577
- } break;
2578
- case GRPC_OP_SEND_CLOSE_FROM_CLIENT: {
2579
- client_to_server_messages_.sender.Close();
2580
- } break;
2581
- case GRPC_OP_SEND_STATUS_FROM_SERVER:
2582
- case GRPC_OP_RECV_CLOSE_ON_SERVER:
2583
- abort(); // unreachable
2584
- }
2585
- }
2586
- }
2587
-
2588
- grpc_call_error ClientPromiseBasedCall::StartBatch(const grpc_op* ops,
2589
- size_t nops,
2590
- void* notify_tag,
2591
- bool is_notify_tag_closure) {
2592
- MutexLock lock(mu());
2593
- ScopedContext activity_context(this);
2594
- if (nops == 0) {
2595
- EndOpImmediately(cq(), notify_tag, is_notify_tag_closure);
2596
- return GRPC_CALL_OK;
2597
- }
2598
- const grpc_call_error validation_result = ValidateBatch(ops, nops);
2599
- if (validation_result != GRPC_CALL_OK) {
2600
- return validation_result;
2601
- }
2602
- Completion completion =
2603
- StartCompletion(notify_tag, is_notify_tag_closure, ops);
2604
- CommitBatch(ops, nops, completion);
2605
- Update();
2606
- FinishOpOnCompletion(&completion, PendingOp::kStartingBatch);
2607
- return GRPC_CALL_OK;
2608
- }
2609
-
2610
- void ClientPromiseBasedCall::PublishInitialMetadata(ServerMetadata* metadata) {
2611
- incoming_compression_algorithm_ =
2612
- metadata->Take(GrpcEncodingMetadata()).value_or(GRPC_COMPRESS_NONE);
2613
- server_initial_metadata_ready_.reset();
2614
- GPR_ASSERT(recv_initial_metadata_ != nullptr);
2615
- PublishMetadataArray(std::exchange(recv_initial_metadata_, nullptr),
2616
- metadata);
2617
- FinishOpOnCompletion(&recv_initial_metadata_completion_,
2618
- PendingOp::kReceiveInitialMetadata);
2619
- }
2620
-
2621
- void ClientPromiseBasedCall::UpdateOnce() {
2622
- if (grpc_call_trace.enabled()) {
2623
- auto present_and_completion_text =
2624
- [](const char* caption, bool has,
2625
- const Completion& completion) -> std::string {
2626
- if (has) {
2627
- if (completion.has_value()) {
2628
- return absl::StrCat(caption, ":",
2629
- static_cast<int>(completion.index()), " ");
2630
- } else {
2631
- return absl::StrCat(caption,
2632
- ":!!BUG:operation is present, no completion!! ");
2633
- }
2634
- } else {
2635
- if (!completion.has_value()) {
2636
- return "";
2637
- } else {
2638
- return absl::StrCat(
2639
- caption, ":no-op:", static_cast<int>(completion.index()), " ");
2640
- }
2641
- }
2642
- };
2643
- gpr_log(
2644
- GPR_INFO, "%sUpdateOnce: %s%s%shas_promise=%s", DebugTag().c_str(),
2645
- present_and_completion_text("server_initial_metadata_ready",
2646
- server_initial_metadata_ready_.has_value(),
2647
- recv_initial_metadata_completion_)
2648
- .c_str(),
2649
- present_and_completion_text("outstanding_send",
2650
- outstanding_send_.has_value(),
2651
- send_message_completion_)
2652
- .c_str(),
2653
- present_and_completion_text("outstanding_recv",
2654
- outstanding_recv_.has_value(),
2655
- recv_message_completion_)
2656
- .c_str(),
2657
- promise_.has_value() ? "true" : "false");
2658
- }
2659
- if (send_message_completion_.has_value()) {
2660
- FinishOpOnCompletion(&send_message_completion_, PendingOp::kSendMessage);
2661
- }
2662
- if (server_initial_metadata_ready_.has_value()) {
2663
- Poll<ServerMetadata**> r = (*server_initial_metadata_ready_)();
2664
- if (ServerMetadata*** server_initial_metadata =
2665
- absl::get_if<ServerMetadata**>(&r)) {
2666
- PublishInitialMetadata(**server_initial_metadata);
2667
- } else if (completed_) {
2668
- ServerMetadata no_metadata{GetContext<Arena>()};
2669
- PublishInitialMetadata(&no_metadata);
2670
- }
2671
- }
2672
- if (outstanding_send_.has_value()) {
2673
- Poll<bool> r = (*outstanding_send_)();
2674
- if (const bool* result = absl::get_if<bool>(&r)) {
2675
- outstanding_send_.reset();
2676
- if (!*result) {
2677
- FailCompletion(send_message_completion_);
2678
- Finish(ServerMetadataFromStatus(absl::Status(
2679
- absl::StatusCode::kInternal, "Failed to send message to server")));
2680
- }
2681
- }
2682
- }
2683
- if (promise_.has_value()) {
2684
- Poll<ServerMetadataHandle> r = promise_();
2685
- if (grpc_call_trace.enabled()) {
2686
- gpr_log(GPR_INFO, "%sUpdateOnce: promise returns %s", DebugTag().c_str(),
2687
- PollToString(r, [](const ServerMetadataHandle& h) {
2688
- return h->DebugString();
2689
- }).c_str());
2690
- }
2691
- if (auto* result = absl::get_if<ServerMetadataHandle>(&r)) {
2692
- AcceptTransportStatsFromContext();
2693
- Finish(std::move(*result));
2694
- }
2695
- }
2696
- if (incoming_compression_algorithm_.has_value() &&
2697
- outstanding_recv_.has_value()) {
2698
- Poll<NextResult<MessageHandle>> r = (*outstanding_recv_)();
2699
- if (auto* result = absl::get_if<NextResult<MessageHandle>>(&r)) {
2700
- outstanding_recv_.reset();
2701
- if (result->has_value()) {
2702
- MessageHandle& message = **result;
2703
- if ((message->flags() & GRPC_WRITE_INTERNAL_COMPRESS) &&
2704
- (incoming_compression_algorithm_ != GRPC_COMPRESS_NONE)) {
2705
- *recv_message_ = grpc_raw_compressed_byte_buffer_create(
2706
- nullptr, 0, *incoming_compression_algorithm_);
2707
- } else {
2708
- *recv_message_ = grpc_raw_byte_buffer_create(nullptr, 0);
2709
- }
2710
- grpc_slice_buffer_move_into(message->payload()->c_slice_buffer(),
2711
- &(*recv_message_)->data.raw.slice_buffer);
2712
- if (grpc_call_trace.enabled()) {
2713
- gpr_log(GPR_INFO,
2714
- "%sUpdateOnce: outstanding_recv finishes: received %" PRIdPTR
2715
- " byte message",
2716
- DebugTag().c_str(),
2717
- (*recv_message_)->data.raw.slice_buffer.length);
2718
- }
2719
- } else {
2720
- if (grpc_call_trace.enabled()) {
2721
- gpr_log(
2722
- GPR_INFO,
2723
- "%sUpdateOnce: outstanding_recv finishes: received end-of-stream",
2724
- DebugTag().c_str());
2725
- }
2726
- *recv_message_ = nullptr;
2727
- }
2728
- FinishOpOnCompletion(&recv_message_completion_,
2729
- PendingOp::kReceiveMessage);
2730
- } else if (completed_) {
2731
- if (grpc_call_trace.enabled()) {
2732
- gpr_log(GPR_INFO,
2733
- "%sUpdateOnce: outstanding_recv finishes: promise has "
2734
- "completed without queuing a message, forcing end-of-stream",
2735
- DebugTag().c_str());
2736
- }
2737
- outstanding_recv_.reset();
2738
- *recv_message_ = nullptr;
2739
- FinishOpOnCompletion(&recv_message_completion_,
2740
- PendingOp::kReceiveMessage);
2741
- }
2742
- }
2743
- }
2744
-
2745
- void ClientPromiseBasedCall::Finish(ServerMetadataHandle trailing_metadata) {
2746
- if (grpc_call_trace.enabled()) {
2747
- gpr_log(GPR_INFO, "%sFinish: %s", DebugTag().c_str(),
2748
- trailing_metadata->DebugString().c_str());
2749
- }
2750
- promise_ = ArenaPromise<ServerMetadataHandle>();
2751
- completed_ = true;
2752
- if (recv_initial_metadata_ != nullptr) {
2753
- ForceImmediateRepoll();
2754
- }
2755
- const bool pending_initial_metadata =
2756
- server_initial_metadata_ready_.has_value();
2757
- server_initial_metadata_ready_.reset();
2758
- Poll<ServerMetadata**> r = server_initial_metadata_.Wait()();
2759
- if (auto* result = absl::get_if<ServerMetadata**>(&r)) {
2760
- if (pending_initial_metadata) PublishInitialMetadata(**result);
2761
- is_trailers_only_ = false;
2762
- } else {
2763
- if (pending_initial_metadata) {
2764
- ServerMetadata no_metadata{GetContext<Arena>()};
2765
- PublishInitialMetadata(&no_metadata);
2766
- }
2767
- is_trailers_only_ = true;
2768
- }
2769
- if (auto* channelz_channel = channel()->channelz_node()) {
2770
- if (trailing_metadata->get(GrpcStatusMetadata())
2771
- .value_or(GRPC_STATUS_UNKNOWN) == GRPC_STATUS_OK) {
2772
- channelz_channel->RecordCallSucceeded();
2773
- } else {
2774
- channelz_channel->RecordCallFailed();
2775
- }
2776
- }
2777
- if (auto* status_request =
2778
- absl::get_if<grpc_op::grpc_op_data::grpc_op_recv_status_on_client>(
2779
- &recv_status_on_client_)) {
2780
- PublishStatus(*status_request, std::move(trailing_metadata));
2781
- } else {
2782
- recv_status_on_client_ = std::move(trailing_metadata);
2783
- }
2784
- }
2785
-
2786
- namespace {
2787
- std::string MakeErrorString(const ServerMetadata* trailing_metadata) {
2788
- std::string out = absl::StrCat(
2789
- trailing_metadata->get(GrpcStatusFromWire()).value_or(false)
2790
- ? "Error received from peer"
2791
- : "Error generated by client",
2792
- "grpc_status: ",
2793
- grpc_status_code_to_string(trailing_metadata->get(GrpcStatusMetadata())
2794
- .value_or(GRPC_STATUS_UNKNOWN)));
2795
- if (const Slice* message =
2796
- trailing_metadata->get_pointer(GrpcMessageMetadata())) {
2797
- absl::StrAppend(&out, "\ngrpc_message: ", message->as_string_view());
2798
- }
2799
- if (auto annotations = trailing_metadata->get_pointer(GrpcStatusContext())) {
2800
- absl::StrAppend(&out, "\nStatus Context:");
2801
- for (const std::string& annotation : *annotations) {
2802
- absl::StrAppend(&out, "\n ", annotation);
2803
- }
2804
- }
2805
- return out;
2806
- }
2807
- } // namespace
2808
-
2809
- void ClientPromiseBasedCall::PublishStatus(
2810
- grpc_op::grpc_op_data::grpc_op_recv_status_on_client op_args,
2811
- ServerMetadataHandle trailing_metadata) {
2812
- const grpc_status_code status = trailing_metadata->get(GrpcStatusMetadata())
2813
- .value_or(GRPC_STATUS_UNKNOWN);
2814
- *op_args.status = status;
2815
- absl::string_view message_string;
2816
- if (Slice* message = trailing_metadata->get_pointer(GrpcMessageMetadata())) {
2817
- message_string = message->as_string_view();
2818
- *op_args.status_details = message->Ref().TakeCSlice();
2819
- } else {
2820
- *op_args.status_details = grpc_empty_slice();
2821
- }
2822
- if (message_string.empty()) {
2823
- RunFinalization(status, nullptr);
2824
- } else {
2825
- std::string error_string(message_string);
2826
- RunFinalization(status, error_string.c_str());
2827
- }
2828
- if (op_args.error_string != nullptr && status != GRPC_STATUS_OK) {
2829
- *op_args.error_string =
2830
- gpr_strdup(MakeErrorString(trailing_metadata.get()).c_str());
2831
- }
2832
- PublishMetadataArray(op_args.trailing_metadata, trailing_metadata.get());
2833
- FinishOpOnCompletion(&recv_status_on_client_completion_,
2834
- PendingOp::kReceiveStatusOnClient);
2835
- }
2836
-
2837
- void ClientPromiseBasedCall::PublishMetadataArray(grpc_metadata_array* array,
2838
- ServerMetadata* md) {
2839
- const auto md_count = md->count();
2840
- if (md_count > array->capacity) {
2841
- array->capacity =
2842
- std::max(array->capacity + md->count(), array->capacity * 3 / 2);
2843
- array->metadata = static_cast<grpc_metadata*>(
2844
- gpr_realloc(array->metadata, sizeof(grpc_metadata) * array->capacity));
2845
- }
2846
- PublishToAppEncoder encoder(array);
2847
- md->Encode(&encoder);
2848
- }
2849
-
2850
- bool ClientPromiseBasedCall::Completed() {
2851
- MutexLock lock(mu());
2852
- return completed_;
2853
- }
2854
-
2855
- gpr_atm* CallContext::peer_string_atm_ptr() {
2856
- return call_->peer_string_atm_ptr();
2857
- }
2858
-
2859
- } // namespace grpc_core
2860
-
2861
- ///////////////////////////////////////////////////////////////////////////////
2862
- // C-based API
2863
-
2864
- void* grpc_call_arena_alloc(grpc_call* call, size_t size) {
2865
- grpc_core::ExecCtx exec_ctx;
2866
- return grpc_core::Call::FromC(call)->arena()->Alloc(size);
2867
- }
2868
-
2869
- size_t grpc_call_get_initial_size_estimate() {
2870
- return grpc_core::FilterStackCall::InitialSizeEstimate();
2871
- }
2872
-
2873
- grpc_error_handle grpc_call_create(grpc_call_create_args* args,
2874
- grpc_call** out_call) {
2875
- if (grpc_core::IsPromiseBasedClientCallEnabled() &&
2876
- args->channel->is_promising()) {
2877
- if (args->server_transport_data == nullptr) {
2878
- return grpc_core::MakePromiseBasedCall<grpc_core::ClientPromiseBasedCall>(
2879
- args, out_call);
2880
- }
2881
- }
2882
- return grpc_core::FilterStackCall::Create(args, out_call);
2883
- }
2884
-
2885
- void grpc_call_set_completion_queue(grpc_call* call,
2886
- grpc_completion_queue* cq) {
2887
- grpc_core::Call::FromC(call)->SetCompletionQueue(cq);
2888
- }
2889
-
2890
- void grpc_call_ref(grpc_call* c) { grpc_core::Call::FromC(c)->ExternalRef(); }
2891
-
2892
- void grpc_call_unref(grpc_call* c) {
2893
- grpc_core::ExecCtx exec_ctx;
2894
- grpc_core::Call::FromC(c)->ExternalUnref();
2895
- }
2896
-
2897
- char* grpc_call_get_peer(grpc_call* call) {
2898
- return grpc_core::Call::FromC(call)->GetPeer();
2899
- }
2900
-
2901
- grpc_call* grpc_call_from_top_element(grpc_call_element* surface_element) {
2902
- return grpc_core::FilterStackCall::FromTopElem(surface_element)->c_ptr();
2903
- }
2904
-
2905
- grpc_call_error grpc_call_cancel(grpc_call* call, void* reserved) {
2906
- GRPC_API_TRACE("grpc_call_cancel(call=%p, reserved=%p)", 2, (call, reserved));
2907
- GPR_ASSERT(reserved == nullptr);
2908
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2909
- grpc_core::ExecCtx exec_ctx;
2910
- grpc_core::Call::FromC(call)->CancelWithError(absl::CancelledError());
2911
- return GRPC_CALL_OK;
2912
- }
2913
-
2914
- grpc_call_error grpc_call_cancel_with_status(grpc_call* c,
2915
- grpc_status_code status,
2916
- const char* description,
2917
- void* reserved) {
2918
- GRPC_API_TRACE(
2919
- "grpc_call_cancel_with_status("
2920
- "c=%p, status=%d, description=%s, reserved=%p)",
2921
- 4, (c, (int)status, description, reserved));
2922
- GPR_ASSERT(reserved == nullptr);
2923
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2924
- grpc_core::ExecCtx exec_ctx;
2925
- grpc_core::Call::FromC(c)->CancelWithStatus(status, description);
2926
- return GRPC_CALL_OK;
2927
- }
2928
-
2929
- void grpc_call_cancel_internal(grpc_call* call) {
2930
- grpc_core::Call::FromC(call)->CancelWithError(absl::CancelledError());
2931
- }
2932
-
2933
- grpc_compression_algorithm grpc_call_test_only_get_compression_algorithm(
2934
- grpc_call* call) {
2935
- return grpc_core::Call::FromC(call)->test_only_compression_algorithm();
2936
- }
2937
-
2938
- uint32_t grpc_call_test_only_get_message_flags(grpc_call* call) {
2939
- return grpc_core::Call::FromC(call)->test_only_message_flags();
2940
- }
2941
-
2942
- uint32_t grpc_call_test_only_get_encodings_accepted_by_peer(grpc_call* call) {
2943
- return grpc_core::Call::FromC(call)->test_only_encodings_accepted_by_peer();
2944
- }
2945
-
2946
- grpc_core::Arena* grpc_call_get_arena(grpc_call* call) {
2947
- return grpc_core::Call::FromC(call)->arena();
2948
- }
2949
-
2950
- grpc_call_stack* grpc_call_get_call_stack(grpc_call* call) {
2951
- return grpc_core::Call::FromC(call)->call_stack();
2952
- }
2953
-
2954
- grpc_call_error grpc_call_start_batch(grpc_call* call, const grpc_op* ops,
2955
- size_t nops, void* tag, void* reserved) {
2956
- GRPC_API_TRACE(
2957
- "grpc_call_start_batch(call=%p, ops=%p, nops=%lu, tag=%p, "
2958
- "reserved=%p)",
2959
- 5, (call, ops, (unsigned long)nops, tag, reserved));
2960
-
2961
- if (reserved != nullptr) {
2962
- return GRPC_CALL_ERROR;
2963
- } else {
2964
- grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
2965
- grpc_core::ExecCtx exec_ctx;
2966
- return grpc_core::Call::FromC(call)->StartBatch(ops, nops, tag, false);
2967
- }
2968
- }
2969
-
2970
- grpc_call_error grpc_call_start_batch_and_execute(grpc_call* call,
2971
- const grpc_op* ops,
2972
- size_t nops,
2973
- grpc_closure* closure) {
2974
- return grpc_core::Call::FromC(call)->StartBatch(ops, nops, closure, true);
2975
- }
2976
-
2977
- void grpc_call_context_set(grpc_call* call, grpc_context_index elem,
2978
- void* value, void (*destroy)(void* value)) {
2979
- return grpc_core::Call::FromC(call)->ContextSet(elem, value, destroy);
2980
- }
2981
-
2982
- void* grpc_call_context_get(grpc_call* call, grpc_context_index elem) {
2983
- return grpc_core::Call::FromC(call)->ContextGet(elem);
2984
- }
2985
-
2986
- uint8_t grpc_call_is_client(grpc_call* call) {
2987
- return grpc_core::Call::FromC(call)->is_client();
2988
- }
2989
-
2990
- grpc_compression_algorithm grpc_call_compression_for_level(
2991
- grpc_call* call, grpc_compression_level level) {
2992
- return grpc_core::Call::FromC(call)->compression_for_level(level);
2993
- }
2994
-
2995
- bool grpc_call_is_trailers_only(const grpc_call* call) {
2996
- return grpc_core::Call::FromC(call)->is_trailers_only();
2997
- }
2998
-
2999
- int grpc_call_failed_before_recv_message(const grpc_call* c) {
3000
- return grpc_core::Call::FromC(c)->failed_before_recv_message();
3001
- }
3002
-
3003
- absl::string_view grpc_call_server_authority(const grpc_call* call) {
3004
- return grpc_core::Call::FromC(call)->GetServerAuthority();
3005
- }
3006
-
3007
- const char* grpc_call_error_to_string(grpc_call_error error) {
3008
- switch (error) {
3009
- case GRPC_CALL_ERROR:
3010
- return "GRPC_CALL_ERROR";
3011
- case GRPC_CALL_ERROR_ALREADY_ACCEPTED:
3012
- return "GRPC_CALL_ERROR_ALREADY_ACCEPTED";
3013
- case GRPC_CALL_ERROR_ALREADY_FINISHED:
3014
- return "GRPC_CALL_ERROR_ALREADY_FINISHED";
3015
- case GRPC_CALL_ERROR_ALREADY_INVOKED:
3016
- return "GRPC_CALL_ERROR_ALREADY_INVOKED";
3017
- case GRPC_CALL_ERROR_BATCH_TOO_BIG:
3018
- return "GRPC_CALL_ERROR_BATCH_TOO_BIG";
3019
- case GRPC_CALL_ERROR_INVALID_FLAGS:
3020
- return "GRPC_CALL_ERROR_INVALID_FLAGS";
3021
- case GRPC_CALL_ERROR_INVALID_MESSAGE:
3022
- return "GRPC_CALL_ERROR_INVALID_MESSAGE";
3023
- case GRPC_CALL_ERROR_INVALID_METADATA:
3024
- return "GRPC_CALL_ERROR_INVALID_METADATA";
3025
- case GRPC_CALL_ERROR_NOT_INVOKED:
3026
- return "GRPC_CALL_ERROR_NOT_INVOKED";
3027
- case GRPC_CALL_ERROR_NOT_ON_CLIENT:
3028
- return "GRPC_CALL_ERROR_NOT_ON_CLIENT";
3029
- case GRPC_CALL_ERROR_NOT_ON_SERVER:
3030
- return "GRPC_CALL_ERROR_NOT_ON_SERVER";
3031
- case GRPC_CALL_ERROR_NOT_SERVER_COMPLETION_QUEUE:
3032
- return "GRPC_CALL_ERROR_NOT_SERVER_COMPLETION_QUEUE";
3033
- case GRPC_CALL_ERROR_PAYLOAD_TYPE_MISMATCH:
3034
- return "GRPC_CALL_ERROR_PAYLOAD_TYPE_MISMATCH";
3035
- case GRPC_CALL_ERROR_TOO_MANY_OPERATIONS:
3036
- return "GRPC_CALL_ERROR_TOO_MANY_OPERATIONS";
3037
- case GRPC_CALL_ERROR_COMPLETION_QUEUE_SHUTDOWN:
3038
- return "GRPC_CALL_ERROR_COMPLETION_QUEUE_SHUTDOWN";
3039
- case GRPC_CALL_OK:
3040
- return "GRPC_CALL_OK";
3041
- }
3042
- GPR_UNREACHABLE_CODE(return "GRPC_CALL_ERROR_UNKNOW");
3043
- }