grpc 1.57.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +1468 -1087
- data/include/grpc/event_engine/event_engine.h +28 -24
- data/include/grpc/event_engine/extensible.h +68 -0
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
- data/include/grpc/event_engine/internal/slice_cast.h +12 -0
- data/include/grpc/event_engine/memory_allocator.h +5 -3
- data/include/grpc/event_engine/slice.h +5 -0
- data/include/grpc/grpc_crl_provider.h +94 -0
- data/include/grpc/grpc_security.h +38 -1
- data/include/grpc/impl/call.h +29 -0
- data/include/grpc/impl/channel_arg_names.h +400 -0
- data/include/grpc/impl/grpc_types.h +1 -353
- data/include/grpc/impl/slice_type.h +1 -1
- data/include/grpc/module.modulemap +3 -0
- data/include/grpc/support/port_platform.h +86 -21
- data/src/core/client_channel/backend_metric.cc +95 -0
- data/src/core/client_channel/backend_metric.h +47 -0
- data/src/core/client_channel/backup_poller.cc +178 -0
- data/src/core/client_channel/backup_poller.h +37 -0
- data/src/core/client_channel/channel_connectivity.cc +265 -0
- data/src/core/client_channel/client_channel_channelz.cc +93 -0
- data/src/core/client_channel/client_channel_channelz.h +85 -0
- data/src/core/client_channel/client_channel_factory.cc +32 -0
- data/src/core/client_channel/client_channel_factory.h +46 -0
- data/src/core/client_channel/client_channel_filter.cc +3654 -0
- data/src/core/client_channel/client_channel_filter.h +636 -0
- data/src/core/client_channel/client_channel_internal.h +79 -0
- data/src/core/client_channel/client_channel_plugin.cc +55 -0
- data/src/core/client_channel/client_channel_service_config.cc +153 -0
- data/src/core/client_channel/client_channel_service_config.h +111 -0
- data/src/core/client_channel/config_selector.cc +60 -0
- data/src/core/client_channel/config_selector.h +125 -0
- data/src/core/client_channel/connector.h +87 -0
- data/src/core/client_channel/dynamic_filters.cc +174 -0
- data/src/core/client_channel/dynamic_filters.h +110 -0
- data/src/core/client_channel/global_subchannel_pool.cc +65 -0
- data/src/core/client_channel/global_subchannel_pool.h +63 -0
- data/src/core/client_channel/http_proxy_mapper.cc +305 -0
- data/src/core/client_channel/http_proxy_mapper.h +53 -0
- data/src/core/client_channel/local_subchannel_pool.cc +60 -0
- data/src/core/client_channel/local_subchannel_pool.h +59 -0
- data/src/core/client_channel/retry_filter.cc +160 -0
- data/src/core/client_channel/retry_filter.h +122 -0
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +2054 -0
- data/src/core/client_channel/retry_filter_legacy_call_data.h +443 -0
- data/src/core/client_channel/retry_service_config.cc +283 -0
- data/src/core/client_channel/retry_service_config.h +105 -0
- data/src/core/client_channel/retry_throttle.cc +139 -0
- data/src/core/client_channel/retry_throttle.h +92 -0
- data/src/core/client_channel/service_config_channel_arg_filter.cc +136 -0
- data/src/core/client_channel/subchannel.cc +812 -0
- data/src/core/client_channel/subchannel.h +387 -0
- data/src/core/client_channel/subchannel_interface_internal.h +41 -0
- data/src/core/client_channel/subchannel_pool_interface.cc +66 -0
- data/src/core/client_channel/subchannel_pool_interface.h +100 -0
- data/src/core/client_channel/subchannel_stream_client.cc +468 -0
- data/src/core/client_channel/subchannel_stream_client.h +225 -0
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +56 -16
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +49 -46
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
- data/src/core/ext/filters/deadline/deadline_filter.cc +21 -24
- data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +19 -14
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +1 -1
- data/src/core/ext/filters/http/client/http_client_filter.cc +30 -39
- data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
- data/src/core/ext/filters/http/client_authority_filter.cc +23 -25
- data/src/core/ext/filters/http/client_authority_filter.h +12 -4
- data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +56 -84
- data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
- data/src/core/ext/filters/http/server/http_server_filter.cc +55 -53
- data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
- data/src/core/ext/filters/message_size/message_size_filter.cc +80 -109
- data/src/core/ext/filters/message_size/message_size_filter.h +36 -24
- data/src/core/ext/filters/rbac/rbac_filter.cc +24 -20
- data/src/core/ext/filters/rbac/rbac_filter.h +11 -4
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +4 -7
- data/src/core/ext/filters/rbac/rbac_service_config_parser.h +1 -1
- data/src/core/ext/filters/server_config_selector/server_config_selector.h +2 -2
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +28 -15
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +60 -65
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +43 -9
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +1 -1
- data/src/core/ext/gcp/metadata_query.cc +0 -1
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +5 -2
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +10 -12
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +29 -32
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +1018 -904
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +56 -88
- data/src/core/ext/transport/chttp2/transport/flow_control.h +85 -12
- data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
- data/src/core/ext/transport/chttp2/transport/frame.h +193 -22
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +22 -18
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +34 -82
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +5 -8
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +16 -22
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +12 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +79 -11
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +17 -8
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +3 -1
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
- data/src/core/ext/transport/chttp2/transport/internal.h +220 -162
- data/src/core/ext/transport/chttp2/transport/legacy_frame.h +43 -0
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +146 -50
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +90 -0
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +59 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +120 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +88 -0
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
- data/src/core/ext/transport/chttp2/transport/writing.cc +225 -176
- data/src/core/ext/transport/inproc/inproc_transport.cc +168 -1227
- data/src/core/ext/transport/inproc/inproc_transport.h +8 -4
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
- data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3607 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +651 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +51 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3934 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +737 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +146 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +57 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +687 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +125 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1829 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +394 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1070 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +227 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2436 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +578 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +166 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2275 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +483 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +335 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +83 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +504 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +139 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +885 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +151 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9754 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1670 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1545 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +328 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +119 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +56 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +237 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +65 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2709 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +556 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +463 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +102 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +209 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +75 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3985 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +682 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +67 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1484 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +267 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1509 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +270 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +940 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +188 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +476 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +113 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +116 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +444 -0
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +140 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +574 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +142 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +201 -0
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +139 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +274 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +314 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +75 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +101 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +125 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +984 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +205 -0
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +104 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +66 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +404 -0
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +108 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +605 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +216 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +263 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +155 -0
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +81 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
- data/src/core/ext/xds/certificate_provider_store.cc +2 -1
- data/src/core/ext/xds/certificate_provider_store.h +0 -5
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
- data/src/core/ext/xds/xds_api.cc +92 -167
- data/src/core/ext/xds/xds_api.h +4 -9
- data/src/core/ext/xds/xds_bootstrap.h +6 -4
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +4 -16
- data/src/core/ext/xds/xds_bootstrap_grpc.h +2 -1
- data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
- data/src/core/ext/xds/xds_certificate_provider.h +44 -111
- data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
- data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
- data/src/core/ext/xds/xds_client.cc +531 -475
- data/src/core/ext/xds/xds_client.h +51 -37
- data/src/core/ext/xds/xds_client_grpc.cc +57 -16
- data/src/core/ext/xds/xds_client_grpc.h +4 -1
- data/src/core/ext/xds/xds_client_stats.cc +11 -11
- data/src/core/ext/xds/xds_client_stats.h +8 -14
- data/src/core/ext/xds/xds_cluster.cc +134 -53
- data/src/core/ext/xds/xds_cluster.h +12 -6
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
- data/src/core/ext/xds/xds_common_types.cc +14 -11
- data/src/core/ext/xds/xds_endpoint.cc +106 -67
- data/src/core/ext/xds/xds_endpoint.h +7 -4
- data/src/core/ext/xds/xds_health_status.cc +14 -2
- data/src/core/ext/xds/xds_health_status.h +5 -3
- data/src/core/ext/xds/xds_http_fault_filter.cc +1 -2
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -2
- data/src/core/ext/xds/xds_http_filters.cc +1 -5
- data/src/core/ext/xds/xds_http_filters.h +2 -4
- data/src/core/ext/xds/xds_http_rbac_filter.cc +8 -11
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -2
- data/src/core/ext/xds/xds_http_stateful_session_filter.cc +2 -6
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -2
- data/src/core/ext/xds/xds_lb_policy_registry.cc +4 -7
- data/src/core/ext/xds/xds_listener.cc +29 -25
- data/src/core/ext/xds/xds_listener.h +13 -3
- data/src/core/ext/xds/xds_resource_type.h +1 -7
- data/src/core/ext/xds/xds_resource_type_impl.h +11 -11
- data/src/core/ext/xds/xds_route_config.cc +45 -35
- data/src/core/ext/xds/xds_route_config.h +2 -1
- data/src/core/ext/xds/xds_routing.cc +2 -2
- data/src/core/ext/xds/xds_server_config_fetcher.cc +112 -83
- data/src/core/ext/xds/xds_transport.h +3 -0
- data/src/core/ext/xds/xds_transport_grpc.cc +65 -56
- data/src/core/ext/xds/xds_transport_grpc.h +4 -0
- data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
- data/src/core/lib/avl/avl.h +11 -173
- data/src/core/lib/backoff/random_early_detection.cc +4 -2
- data/src/core/lib/backoff/random_early_detection.h +2 -4
- data/src/core/lib/channel/call_tracer.cc +315 -1
- data/src/core/lib/channel/call_tracer.h +63 -4
- data/src/core/lib/channel/channel_args.cc +95 -81
- data/src/core/lib/channel/channel_args.h +116 -29
- data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
- data/src/core/lib/channel/channel_stack.cc +36 -1
- data/src/core/lib/channel/channel_stack.h +10 -10
- data/src/core/lib/channel/channel_stack_builder.h +4 -15
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
- data/src/core/lib/channel/channel_stack_trace.cc +19 -0
- data/src/core/lib/channel/channel_stack_trace.h +24 -0
- data/src/core/lib/channel/channel_trace.cc +1 -1
- data/src/core/lib/channel/channelz_registry.h +4 -2
- data/src/core/lib/channel/connected_channel.cc +152 -93
- data/src/core/lib/channel/context.h +3 -0
- data/src/core/lib/channel/promise_based_filter.cc +23 -11
- data/src/core/lib/channel/promise_based_filter.h +1042 -3
- data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
- data/src/core/lib/channel/status_util.cc +0 -1
- data/src/core/lib/channel/tcp_tracer.h +140 -0
- data/src/core/lib/compression/compression_internal.cc +10 -7
- data/src/core/lib/config/config_vars.cc +0 -1
- data/src/core/lib/config/config_vars.h +1 -1
- data/src/core/lib/config/config_vars_non_generated.cc +0 -2
- data/src/core/lib/config/core_configuration.cc +2 -2
- data/src/core/lib/config/core_configuration.h +8 -7
- data/src/core/lib/debug/stats_data.cc +202 -35
- data/src/core/lib/debug/stats_data.h +102 -0
- data/src/core/lib/event_engine/ares_resolver.cc +794 -0
- data/src/core/lib/event_engine/ares_resolver.h +151 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +12 -3
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +9 -2
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +3 -0
- data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +249 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +120 -0
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
- data/src/core/lib/event_engine/event_engine.cc +0 -2
- data/src/core/lib/event_engine/extensions/can_track_errors.h +40 -0
- data/src/core/lib/event_engine/extensions/supports_fd.h +160 -0
- data/src/core/lib/event_engine/forkable.cc +47 -50
- data/src/core/lib/event_engine/forkable.h +46 -25
- data/src/core/lib/event_engine/grpc_polled_fd.h +92 -0
- data/src/core/lib/event_engine/nameser.h +102 -0
- data/src/core/lib/event_engine/posix.h +11 -122
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +35 -18
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +12 -10
- data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +205 -0
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +57 -0
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +35 -12
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +112 -28
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +29 -20
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +14 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +21 -3
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +11 -5
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -0
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +2 -0
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
- data/src/core/lib/event_engine/query_extensions.h +85 -0
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
- data/src/core/lib/event_engine/shim.cc +5 -17
- data/src/core/lib/event_engine/shim.h +0 -2
- data/src/core/lib/event_engine/slice_buffer.cc +0 -1
- data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +79 -0
- data/src/core/lib/event_engine/thread_pool/thread_count.h +181 -0
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +19 -10
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +209 -120
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +24 -61
- data/src/core/lib/event_engine/utils.cc +2 -1
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +824 -0
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +115 -0
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
- data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
- data/src/core/lib/event_engine/windows/win_socket.h +19 -7
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +35 -37
- data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
- data/src/core/lib/event_engine/windows/windows_engine.cc +83 -38
- data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
- data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
- data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
- data/src/core/lib/experiments/config.cc +46 -3
- data/src/core/lib/experiments/config.h +9 -0
- data/src/core/lib/experiments/experiments.cc +683 -270
- data/src/core/lib/experiments/experiments.h +324 -85
- data/src/core/lib/gpr/alloc.cc +1 -0
- data/src/core/lib/gpr/posix/sync.cc +2 -2
- data/src/core/lib/gpr/posix/time.cc +0 -5
- data/src/core/lib/gpr/windows/sync.cc +2 -2
- data/src/core/lib/gprpp/debug_location.h +15 -0
- data/src/core/lib/gprpp/directory_reader.h +48 -0
- data/src/core/lib/gprpp/down_cast.h +49 -0
- data/src/core/lib/gprpp/dual_ref_counted.h +36 -7
- data/src/core/lib/gprpp/fork.h +1 -1
- data/src/core/lib/gprpp/host_port.cc +0 -2
- data/src/core/lib/gprpp/linux/env.cc +1 -19
- data/src/core/lib/gprpp/load_file.cc +2 -1
- data/src/core/lib/gprpp/load_file.h +2 -1
- data/src/core/lib/gprpp/manual_constructor.h +1 -2
- data/src/core/lib/gprpp/match.h +1 -1
- data/src/core/lib/gprpp/no_destruct.h +1 -1
- data/src/core/lib/gprpp/orphanable.h +27 -0
- data/src/core/lib/gprpp/per_cpu.cc +2 -0
- data/src/core/lib/gprpp/per_cpu.h +36 -7
- data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
- data/src/core/lib/gprpp/posix/stat.cc +0 -1
- data/src/core/lib/gprpp/posix/thd.cc +27 -2
- data/src/core/lib/gprpp/ref_counted.h +66 -23
- data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
- data/src/core/lib/gprpp/ref_counted_string.cc +44 -0
- data/src/core/lib/gprpp/ref_counted_string.h +161 -0
- data/src/core/lib/gprpp/status_helper.cc +1 -3
- data/src/core/lib/gprpp/strerror.cc +0 -2
- data/src/core/lib/gprpp/thd.h +8 -0
- data/src/core/lib/gprpp/time.cc +0 -1
- data/src/core/lib/gprpp/time.h +5 -4
- data/src/core/lib/gprpp/validation_errors.cc +0 -1
- data/src/core/lib/gprpp/windows/directory_reader.cc +81 -0
- data/src/core/lib/gprpp/windows/thd.cc +10 -1
- data/src/core/lib/gprpp/work_serializer.cc +323 -12
- data/src/core/lib/gprpp/work_serializer.h +30 -9
- data/src/core/lib/gprpp/xxhash_inline.h +29 -0
- data/src/core/lib/http/format_request.cc +0 -1
- data/src/core/lib/http/httpcli.cc +0 -2
- data/src/core/lib/http/httpcli_security_connector.cc +1 -0
- data/src/core/lib/iomgr/buffer_list.cc +2 -0
- data/src/core/lib/iomgr/combiner.cc +25 -19
- data/src/core/lib/iomgr/combiner.h +8 -3
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +62 -40
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
- data/src/core/lib/iomgr/exec_ctx.cc +12 -0
- data/src/core/lib/iomgr/exec_ctx.h +55 -19
- data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +2 -2
- data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +2 -2
- data/src/core/lib/iomgr/polling_entity.cc +10 -0
- data/src/core/lib/iomgr/polling_entity.h +2 -0
- data/src/core/lib/iomgr/port.h +14 -0
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
- data/src/core/lib/iomgr/tcp_client_posix.cc +4 -3
- data/src/core/lib/iomgr/tcp_posix.cc +27 -18
- data/src/core/lib/iomgr/tcp_server_posix.cc +65 -50
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +12 -0
- data/src/core/lib/iomgr/timer_manager.cc +7 -1
- data/src/core/lib/iomgr/timer_manager.h +2 -0
- data/src/core/lib/json/json_object_loader.h +0 -1
- data/src/core/lib/json/json_reader.cc +0 -1
- data/src/core/lib/json/json_writer.cc +1 -1
- data/src/core/lib/matchers/matchers.cc +0 -1
- data/src/core/lib/promise/activity.cc +17 -3
- data/src/core/lib/promise/activity.h +13 -6
- data/src/core/lib/promise/all_ok.h +80 -0
- data/src/core/lib/promise/arena_promise.h +5 -1
- data/src/core/lib/promise/cancel_callback.h +0 -2
- data/src/core/lib/promise/context.h +45 -8
- data/src/core/lib/promise/detail/basic_seq.h +1 -372
- data/src/core/lib/promise/detail/join_state.h +2077 -0
- data/src/core/lib/promise/detail/promise_like.h +8 -1
- data/src/core/lib/promise/detail/seq_state.h +5801 -0
- data/src/core/lib/promise/detail/status.h +42 -5
- data/src/core/lib/promise/for_each.h +13 -6
- data/src/core/lib/promise/if.h +4 -1
- data/src/core/lib/promise/interceptor_list.h +13 -6
- data/src/core/lib/promise/latch.h +10 -8
- data/src/core/lib/promise/loop.h +9 -6
- data/src/core/lib/promise/map.h +0 -1
- data/src/core/lib/promise/party.cc +45 -33
- data/src/core/lib/promise/party.h +176 -10
- data/src/core/lib/promise/pipe.h +30 -34
- data/src/core/lib/promise/poll.h +43 -19
- data/src/core/lib/promise/prioritized_race.h +0 -1
- data/src/core/lib/promise/promise.h +4 -1
- data/src/core/lib/promise/race.h +0 -1
- data/src/core/lib/promise/seq.h +124 -8
- data/src/core/lib/promise/sleep.cc +1 -1
- data/src/core/lib/promise/sleep.h +5 -10
- data/src/core/lib/promise/status_flag.h +226 -0
- data/src/core/lib/promise/try_join.h +71 -21
- data/src/core/lib/promise/try_seq.h +161 -7
- data/src/core/lib/resource_quota/api.cc +1 -0
- data/src/core/lib/resource_quota/arena.cc +2 -0
- data/src/core/lib/resource_quota/arena.h +44 -10
- data/src/core/lib/resource_quota/memory_quota.cc +132 -25
- data/src/core/lib/resource_quota/memory_quota.h +12 -12
- data/src/core/lib/resource_quota/resource_quota.h +1 -0
- data/src/core/lib/security/authorization/audit_logging.cc +0 -1
- data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -1
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
- data/src/core/lib/security/authorization/matchers.cc +0 -1
- data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
- data/src/core/lib/security/authorization/rbac_policy.h +1 -1
- data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
- data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -1
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +8 -2
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +28 -22
- data/src/core/lib/security/credentials/external/external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +9 -11
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +5 -3
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +12 -11
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +17 -0
- data/src/core/lib/security/credentials/jwt/json_token.h +4 -0
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +43 -2
- data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -7
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +1 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +116 -10
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +16 -79
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +33 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +26 -1
- data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +23 -30
- data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +1 -0
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +2 -2
- data/src/core/lib/security/security_connector/load_system_roots_supported.cc +3 -7
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +1 -1
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -59
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/ssl_utils.cc +35 -19
- data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +9 -20
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
- data/src/core/lib/security/transport/auth_filters.h +71 -4
- data/src/core/lib/security/transport/client_auth_filter.cc +9 -9
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
- data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
- data/src/core/lib/security/transport/security_handshaker.cc +2 -11
- data/src/core/lib/security/transport/security_handshaker.h +0 -6
- data/src/core/lib/security/transport/server_auth_filter.cc +70 -92
- data/src/core/lib/slice/slice.h +11 -0
- data/src/core/lib/slice/slice_buffer.cc +15 -0
- data/src/core/lib/slice/slice_buffer.h +22 -5
- data/src/core/lib/slice/slice_refcount.h +1 -1
- data/src/core/lib/surface/builtins.cc +6 -25
- data/src/core/lib/surface/call.cc +935 -246
- data/src/core/lib/surface/call.h +30 -13
- data/src/core/lib/surface/call_log_batch.cc +0 -2
- data/src/core/lib/surface/call_trace.cc +46 -6
- data/src/core/lib/surface/channel.cc +26 -33
- data/src/core/lib/surface/channel.h +6 -28
- data/src/core/lib/surface/channel_init.cc +441 -14
- data/src/core/lib/surface/channel_init.h +274 -27
- data/src/core/lib/surface/completion_queue.cc +4 -1
- data/src/core/lib/surface/event_string.cc +0 -1
- data/src/core/lib/surface/init.cc +22 -48
- data/src/core/lib/surface/lame_client.cc +8 -1
- data/src/core/lib/surface/server.cc +518 -302
- data/src/core/lib/surface/server.h +68 -44
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/surface/wait_for_cq_end_op.cc +75 -0
- data/src/core/lib/surface/wait_for_cq_end_op.h +72 -0
- data/src/core/lib/transport/batch_builder.cc +9 -12
- data/src/core/lib/transport/batch_builder.h +2 -4
- data/src/core/lib/transport/bdp_estimator.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.h +2 -2
- data/src/core/lib/transport/call_factory.cc +41 -0
- data/src/core/lib/transport/call_factory.h +56 -0
- data/src/core/lib/transport/call_filters.cc +371 -0
- data/src/core/lib/transport/call_filters.h +1500 -0
- data/src/core/lib/transport/call_final_info.cc +38 -0
- data/src/core/lib/transport/call_final_info.h +54 -0
- data/src/core/lib/transport/call_size_estimator.cc +41 -0
- data/src/core/lib/transport/call_size_estimator.h +52 -0
- data/src/core/lib/transport/call_spine.cc +107 -0
- data/src/core/lib/transport/call_spine.h +429 -0
- data/src/core/lib/transport/connectivity_state.cc +3 -4
- data/src/core/lib/transport/connectivity_state.h +4 -0
- data/src/core/lib/transport/error_utils.cc +0 -2
- data/src/core/lib/transport/handshaker.cc +0 -10
- data/src/core/lib/transport/handshaker.h +0 -7
- data/src/core/lib/transport/message.cc +45 -0
- data/src/core/lib/transport/message.h +61 -0
- data/src/core/lib/transport/metadata.cc +37 -0
- data/src/core/lib/transport/metadata.h +78 -0
- data/src/core/lib/transport/metadata_batch.cc +9 -2
- data/src/core/lib/transport/metadata_batch.h +39 -5
- data/src/core/lib/transport/parsed_metadata.h +2 -4
- data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
- data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
- data/src/core/lib/transport/timeout_encoding.h +2 -2
- data/src/core/lib/transport/transport.cc +13 -105
- data/src/core/lib/transport/transport.h +132 -168
- data/src/core/lib/transport/transport_fwd.h +3 -1
- data/src/core/lib/transport/transport_op_string.cc +0 -2
- data/src/core/lib/uri/uri_parser.cc +0 -1
- data/src/core/load_balancing/address_filtering.cc +108 -0
- data/src/core/load_balancing/address_filtering.h +118 -0
- data/src/core/load_balancing/backend_metric_data.h +57 -0
- data/src/core/load_balancing/child_policy_handler.cc +317 -0
- data/src/core/load_balancing/child_policy_handler.h +88 -0
- data/src/core/load_balancing/delegating_helper.h +116 -0
- data/src/core/load_balancing/endpoint_list.cc +187 -0
- data/src/core/load_balancing/endpoint_list.h +220 -0
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +83 -0
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +46 -0
- data/src/core/load_balancing/grpclb/grpclb.cc +1935 -0
- data/src/core/load_balancing/grpclb/grpclb.h +39 -0
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +89 -0
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +39 -0
- data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +90 -0
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +81 -0
- data/src/core/load_balancing/grpclb/load_balancer_api.cc +202 -0
- data/src/core/load_balancing/grpclb/load_balancer_api.h +77 -0
- data/src/core/load_balancing/health_check_client.cc +520 -0
- data/src/core/load_balancing/health_check_client.h +52 -0
- data/src/core/load_balancing/health_check_client_internal.h +204 -0
- data/src/core/load_balancing/lb_policy.cc +98 -0
- data/src/core/load_balancing/lb_policy.h +481 -0
- data/src/core/load_balancing/lb_policy_factory.h +49 -0
- data/src/core/load_balancing/lb_policy_registry.cc +142 -0
- data/src/core/load_balancing/lb_policy_registry.h +82 -0
- data/src/core/load_balancing/oob_backend_metric.cc +340 -0
- data/src/core/load_balancing/oob_backend_metric.h +57 -0
- data/src/core/load_balancing/oob_backend_metric_internal.h +119 -0
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +1208 -0
- data/src/core/load_balancing/outlier_detection/outlier_detection.h +94 -0
- data/src/core/load_balancing/pick_first/pick_first.cc +1232 -0
- data/src/core/load_balancing/pick_first/pick_first.h +36 -0
- data/src/core/load_balancing/priority/priority.cc +900 -0
- data/src/core/load_balancing/ring_hash/ring_hash.cc +878 -0
- data/src/core/load_balancing/ring_hash/ring_hash.h +62 -0
- data/src/core/load_balancing/rls/rls.cc +2477 -0
- data/src/core/load_balancing/round_robin/round_robin.cc +916 -0
- data/src/core/load_balancing/subchannel_interface.h +141 -0
- data/src/core/load_balancing/subchannel_list.h +455 -0
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +198 -0
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +71 -0
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +1819 -0
- data/src/core/load_balancing/weighted_target/weighted_target.cc +755 -0
- data/src/core/load_balancing/xds/cds.cc +757 -0
- data/src/core/load_balancing/xds/xds_channel_args.h +37 -0
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +863 -0
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +652 -0
- data/src/core/load_balancing/xds/xds_override_host.cc +1313 -0
- data/src/core/load_balancing/xds/xds_override_host.h +63 -0
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +300 -0
- data/src/core/plugin_registry/grpc_plugin_registry.cc +5 -0
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
- data/src/core/resolver/binder/binder_resolver.cc +147 -0
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +758 -0
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +90 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +206 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +818 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1219 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +140 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +29 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +35 -0
- data/src/core/resolver/dns/dns_resolver_plugin.cc +68 -0
- data/src/core/resolver/dns/dns_resolver_plugin.h +27 -0
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +588 -0
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
- data/src/core/resolver/dns/event_engine/service_config_helper.cc +97 -0
- data/src/core/resolver/dns/event_engine/service_config_helper.h +32 -0
- data/src/core/resolver/dns/native/dns_resolver.cc +183 -0
- data/src/core/resolver/dns/native/dns_resolver.h +24 -0
- data/src/core/resolver/endpoint_addresses.cc +147 -0
- data/src/core/resolver/endpoint_addresses.h +164 -0
- data/src/core/resolver/fake/fake_resolver.cc +255 -0
- data/src/core/resolver/fake/fake_resolver.h +129 -0
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +326 -0
- data/src/core/resolver/polling_resolver.cc +272 -0
- data/src/core/resolver/polling_resolver.h +121 -0
- data/src/core/resolver/resolver.cc +37 -0
- data/src/core/resolver/resolver.h +139 -0
- data/src/core/resolver/resolver_factory.h +78 -0
- data/src/core/resolver/resolver_registry.cc +162 -0
- data/src/core/resolver/resolver_registry.h +123 -0
- data/src/core/resolver/server_address.h +35 -0
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +202 -0
- data/src/core/resolver/xds/xds_dependency_manager.cc +1031 -0
- data/src/core/resolver/xds/xds_dependency_manager.h +277 -0
- data/src/core/resolver/xds/xds_resolver.cc +1135 -0
- data/src/core/resolver/xds/xds_resolver_attributes.h +62 -0
- data/src/core/resolver/xds/xds_resolver_trace.cc +25 -0
- data/src/core/resolver/xds/xds_resolver_trace.h +30 -0
- data/src/core/service_config/service_config.h +89 -0
- data/src/core/service_config/service_config_call_data.h +116 -0
- data/src/core/service_config/service_config_impl.cc +198 -0
- data/src/core/service_config/service_config_impl.h +125 -0
- data/src/core/service_config/service_config_parser.cc +81 -0
- data/src/core/service_config/service_config_parser.h +105 -0
- data/src/core/tsi/alts/crypt/aes_gcm.cc +142 -89
- data/src/core/tsi/alts/crypt/gsec.h +387 -319
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
- data/src/core/tsi/fake_transport_security.cc +1 -1
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
- data/src/core/tsi/ssl_transport_security.cc +200 -60
- data/src/core/tsi/ssl_transport_security.h +23 -1
- data/src/ruby/bin/math_pb.rb +1 -1
- data/src/ruby/ext/grpc/extconf.rb +78 -17
- data/src/ruby/ext/grpc/rb_channel.c +11 -5
- data/src/ruby/ext/grpc/rb_channel_args.c +9 -5
- data/src/ruby/ext/grpc/rb_event_thread.c +9 -3
- data/src/ruby/ext/grpc/rb_grpc.c +0 -1
- data/src/ruby/ext/grpc/rb_grpc.h +0 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +8 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +12 -0
- data/src/ruby/lib/grpc/generic/active_call.rb +9 -14
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +10 -2
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
- data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
- data/src/ruby/pb/test/client.rb +16 -0
- data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
- data/third_party/abseil-cpp/absl/algorithm/algorithm.h +8 -103
- data/third_party/abseil-cpp/absl/algorithm/container.h +60 -73
- data/third_party/abseil-cpp/absl/base/attributes.h +107 -15
- data/third_party/abseil-cpp/absl/base/call_once.h +16 -10
- data/third_party/abseil-cpp/absl/base/casts.h +9 -9
- data/third_party/abseil-cpp/absl/base/config.h +163 -113
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +26 -1
- data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +2 -2
- data/third_party/abseil-cpp/absl/base/internal/endian.h +13 -12
- data/third_party/abseil-cpp/absl/base/internal/identity.h +4 -2
- data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +19 -18
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +51 -40
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +2 -1
- data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +106 -0
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +41 -14
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +26 -4
- data/third_party/abseil-cpp/absl/base/internal/spinlock.h +17 -4
- data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +49 -71
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +18 -11
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +11 -11
- data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +23 -32
- data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +13 -6
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +2 -3
- data/third_party/abseil-cpp/absl/base/log_severity.cc +1 -0
- data/third_party/abseil-cpp/absl/base/log_severity.h +23 -10
- data/third_party/abseil-cpp/absl/base/no_destructor.h +217 -0
- data/third_party/abseil-cpp/absl/base/nullability.h +224 -0
- data/third_party/abseil-cpp/absl/base/optimization.h +1 -0
- data/third_party/abseil-cpp/absl/base/options.h +27 -1
- data/third_party/abseil-cpp/absl/base/policy_checks.h +3 -3
- data/third_party/abseil-cpp/absl/base/prefetch.h +209 -0
- data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -2
- data/third_party/abseil-cpp/absl/container/fixed_array.h +54 -29
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +8 -4
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +7 -3
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +167 -79
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +5 -3
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +3 -21
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +14 -10
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +46 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +2 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +2 -12
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +97 -27
- data/third_party/abseil-cpp/absl/container/internal/layout.h +6 -21
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +46 -20
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +204 -46
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +1058 -418
- data/third_party/abseil-cpp/absl/crc/crc32c.h +8 -1
- data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +40 -10
- data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.h +6 -0
- data/third_party/abseil-cpp/absl/crc/internal/crc.cc +4 -35
- data/third_party/abseil-cpp/absl/crc/internal/crc.h +2 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +35 -6
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.h +4 -4
- data/third_party/abseil-cpp/absl/crc/internal/crc_internal.h +8 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy.h +6 -3
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +4 -2
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +450 -0
- data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +18 -10
- data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +4 -2
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +24 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +35 -33
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +2 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +92 -32
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +1 -1
- data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +151 -63
- data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +3 -0
- data/third_party/abseil-cpp/absl/flags/commandlineflag.h +1 -1
- data/third_party/abseil-cpp/absl/flags/declare.h +0 -5
- data/third_party/abseil-cpp/absl/flags/flag.h +1 -10
- data/third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc +1 -1
- data/third_party/abseil-cpp/absl/flags/internal/flag.cc +2 -2
- data/third_party/abseil-cpp/absl/flags/internal/flag.h +16 -20
- data/third_party/abseil-cpp/absl/flags/marshalling.cc +53 -3
- data/third_party/abseil-cpp/absl/flags/marshalling.h +5 -0
- data/third_party/abseil-cpp/absl/flags/reflection.cc +2 -1
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +9 -1
- data/third_party/abseil-cpp/absl/functional/bind_front.h +1 -1
- data/third_party/abseil-cpp/absl/functional/function_ref.h +11 -3
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +39 -26
- data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +19 -9
- data/third_party/abseil-cpp/absl/hash/hash.h +7 -4
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +87 -17
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +6 -0
- data/third_party/abseil-cpp/absl/meta/type_traits.h +48 -373
- data/third_party/abseil-cpp/absl/numeric/bits.h +40 -21
- data/third_party/abseil-cpp/absl/numeric/int128.cc +20 -8
- data/third_party/abseil-cpp/absl/numeric/int128.h +36 -39
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -3
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +47 -30
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
- data/third_party/abseil-cpp/absl/random/distributions.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +4 -3
- data/third_party/abseil-cpp/absl/random/internal/generate_real.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/platform.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +4 -0
- data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +1 -1
- data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +1 -1
- data/third_party/abseil-cpp/absl/status/internal/status_internal.cc +248 -0
- data/third_party/abseil-cpp/absl/status/internal/status_internal.h +59 -14
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +65 -26
- data/third_party/abseil-cpp/absl/status/status.cc +40 -238
- data/third_party/abseil-cpp/absl/status/status.h +105 -54
- data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +1 -3
- data/third_party/abseil-cpp/absl/status/status_payload_printer.h +3 -2
- data/third_party/abseil-cpp/absl/status/statusor.cc +5 -2
- data/third_party/abseil-cpp/absl/status/statusor.h +65 -11
- data/third_party/abseil-cpp/absl/strings/ascii.cc +128 -8
- data/third_party/abseil-cpp/absl/strings/ascii.h +8 -6
- data/third_party/abseil-cpp/absl/strings/charconv.cc +40 -16
- data/third_party/abseil-cpp/absl/strings/charconv.h +8 -5
- data/third_party/abseil-cpp/absl/strings/charset.h +164 -0
- data/third_party/abseil-cpp/absl/strings/cord.cc +267 -71
- data/third_party/abseil-cpp/absl/strings/cord.h +168 -95
- data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +38 -30
- data/third_party/abseil-cpp/absl/strings/cord_analysis.h +21 -2
- data/third_party/abseil-cpp/absl/strings/cord_buffer.h +2 -5
- data/third_party/abseil-cpp/absl/strings/escaping.cc +15 -36
- data/third_party/abseil-cpp/absl/strings/escaping.h +1 -1
- data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +63 -0
- data/third_party/abseil-cpp/absl/strings/has_ostream_operator.h +42 -0
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +2 -4
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +3 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -7
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +18 -42
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +13 -4
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +5 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +4 -7
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +46 -20
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +1 -34
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +25 -29
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +23 -0
- data/third_party/abseil-cpp/absl/strings/internal/escaping.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +15 -26
- data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +14 -81
- data/third_party/abseil-cpp/absl/strings/internal/memutil.h +4 -112
- data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +154 -38
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +78 -30
- data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +17 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +12 -24
- data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +9 -3
- data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +11 -5
- data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +9 -9
- data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +5 -4
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +56 -6
- data/third_party/abseil-cpp/absl/strings/match.cc +90 -0
- data/third_party/abseil-cpp/absl/strings/match.h +19 -0
- data/third_party/abseil-cpp/absl/strings/numbers.cc +437 -162
- data/third_party/abseil-cpp/absl/strings/numbers.h +193 -40
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +155 -68
- data/third_party/abseil-cpp/absl/strings/str_cat.h +205 -35
- data/third_party/abseil-cpp/absl/strings/str_format.h +36 -23
- data/third_party/abseil-cpp/absl/strings/str_join.h +16 -16
- data/third_party/abseil-cpp/absl/strings/str_replace.cc +12 -3
- data/third_party/abseil-cpp/absl/strings/str_replace.h +8 -5
- data/third_party/abseil-cpp/absl/strings/str_split.cc +17 -12
- data/third_party/abseil-cpp/absl/strings/str_split.h +18 -0
- data/third_party/abseil-cpp/absl/strings/string_view.cc +47 -4
- data/third_party/abseil-cpp/absl/strings/string_view.h +91 -26
- data/third_party/abseil-cpp/absl/strings/strip.h +5 -2
- data/third_party/abseil-cpp/absl/strings/substitute.cc +12 -4
- data/third_party/abseil-cpp/absl/strings/substitute.h +103 -91
- data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +5 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +63 -43
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc +111 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.h +63 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -7
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc +225 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +122 -114
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +12 -8
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +10 -1
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc +167 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +60 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc +122 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.h +65 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc +91 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h +56 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +21 -113
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc +42 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.h +90 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc +151 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +72 -0
- data/third_party/abseil-cpp/absl/synchronization/mutex.cc +612 -652
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +223 -134
- data/third_party/abseil-cpp/absl/time/civil_time.h +26 -0
- data/third_party/abseil-cpp/absl/time/clock.cc +6 -7
- data/third_party/abseil-cpp/absl/time/clock.h +5 -1
- data/third_party/abseil-cpp/absl/time/duration.cc +27 -29
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +2 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +1 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +4 -4
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +8 -6
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +6 -3
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +4 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +4 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +333 -311
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +8 -17
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +51 -33
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +7 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +128 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +5 -9
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +34 -34
- data/third_party/abseil-cpp/absl/time/time.cc +9 -2
- data/third_party/abseil-cpp/absl/time/time.h +115 -15
- data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +18 -0
- data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +18 -0
- data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -52
- data/third_party/abseil-cpp/absl/types/internal/span.h +2 -2
- data/third_party/abseil-cpp/absl/types/internal/variant.h +5 -5
- data/third_party/abseil-cpp/absl/types/optional.h +16 -13
- data/third_party/abseil-cpp/absl/types/span.h +10 -6
- data/third_party/abseil-cpp/absl/utility/utility.h +11 -93
- data/third_party/boringssl-with-bazel/err_data.c +293 -290
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +8 -4
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -9
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +15 -28
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +19 -1
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +8 -4
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +11 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +4 -1
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +1 -6
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +4 -13
- data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +1 -6
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +27 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +6 -9
- data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +92 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +4 -48
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +11 -6
- data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +16 -6
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +9 -0
- data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +1 -11
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +7 -8
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +42 -12
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -22
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +9 -9
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +34 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +49 -3
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +30 -42
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +90 -103
- data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +5 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +93 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +4 -2
- data/third_party/boringssl-with-bazel/src/crypto/crypto.c +11 -0
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +1 -2
- data/third_party/boringssl-with-bazel/src/crypto/des/des.c +105 -31
- data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +10 -81
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +5 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +2 -15
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +9 -14
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +4 -6
- data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +1 -9
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +10 -11
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +1 -5
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +2 -5
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.c +1 -2
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -3
- data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +2 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +26 -17
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +4 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +26 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +10 -41
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +49 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +26 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +27 -26
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +1 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +8 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +11 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +11 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.c +43 -50
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +37 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +40 -25
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +7 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +1 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +16 -9
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +2 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +51 -13
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +17 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +5 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +1 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +1 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +6 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +1 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +39 -16
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +4 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +153 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +87 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +39 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +32 -5
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +7 -0
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +264 -72
- data/third_party/boringssl-with-bazel/src/crypto/keccak/internal.h +70 -0
- data/third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c +279 -0
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +8 -39
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +39 -29
- data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +3 -6
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +17 -33
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +41 -38
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -3
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +31 -0
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +2 -4
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +9 -13
- data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +3 -6
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +3 -1
- data/third_party/boringssl-with-bazel/src/crypto/spx/address.c +101 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/address.h +50 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/fors.c +133 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/fors.h +54 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/internal.h +79 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.c +150 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.h +61 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/params.h +71 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +139 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c +53 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h +44 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/thash.c +136 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/thash.h +70 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/wots.c +135 -0
- data/third_party/boringssl-with-bazel/src/crypto/spx/wots.h +45 -0
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +9 -9
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +10 -22
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +3 -6
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +12 -36
- data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +1 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +22 -35
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +225 -51
- data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +2 -6
- data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +6 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +1 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c +221 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c +73 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c +634 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c +135 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c +141 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c +416 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +477 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +598 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c +112 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c +154 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c +270 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c +122 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +211 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c +121 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +342 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c +555 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c +81 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c +142 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c +150 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c +224 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +645 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c +170 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +1357 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +35 -32
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +44 -59
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +1 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +107 -255
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +32 -20
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +25 -152
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +330 -944
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +93 -215
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +28 -6
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +35 -129
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +7 -8
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +46 -50
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +2 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +6 -6
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -21
- data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +5 -6
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +11 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +35 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +14 -5
- data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +22 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +1 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +4 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +4 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +40 -20
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +1 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +5 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +6 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +26 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +13 -6
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +5 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +1 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +19 -5
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +45 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +5 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +20 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +36 -36
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +80 -60
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +20 -12
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +79 -7
- data/third_party/boringssl-with-bazel/src/include/openssl/time.h +3 -22
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2806 -945
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +38 -1025
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h +124 -0
- data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +1 -2
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +82 -9
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +42 -4
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +4 -0
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +2 -2
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +4 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +4 -5
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +11 -1
- data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +5 -1
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -1
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +4 -2
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +21 -0
- data/third_party/cares/config_linux/ares_config.h +2 -38
- data/third_party/upb/upb/base/descriptor_constants.h +7 -27
- data/third_party/upb/upb/base/internal/log2.h +38 -0
- data/third_party/upb/upb/base/status.c +6 -26
- data/third_party/upb/upb/base/status.h +6 -26
- data/third_party/upb/upb/base/status.hpp +50 -0
- data/third_party/upb/upb/base/string_view.h +11 -28
- data/third_party/upb/upb/generated_code_support.h +33 -0
- data/third_party/upb/upb/hash/common.c +12 -44
- data/third_party/upb/upb/hash/common.h +16 -41
- data/third_party/upb/upb/hash/int_table.h +6 -26
- data/third_party/upb/upb/hash/str_table.h +7 -26
- data/third_party/upb/upb/json/decode.c +31 -28
- data/third_party/upb/upb/json/decode.h +32 -29
- data/third_party/upb/upb/json/encode.c +31 -28
- data/third_party/upb/upb/json/encode.h +35 -32
- data/third_party/upb/upb/lex/atoi.c +6 -26
- data/third_party/upb/upb/lex/atoi.h +8 -26
- data/third_party/upb/upb/lex/round_trip.c +6 -26
- data/third_party/upb/upb/lex/round_trip.h +6 -26
- data/third_party/upb/upb/lex/strtod.c +6 -26
- data/third_party/upb/upb/lex/strtod.h +6 -26
- data/third_party/upb/upb/lex/unicode.c +6 -26
- data/third_party/upb/upb/lex/unicode.h +8 -26
- data/third_party/upb/upb/mem/alloc.c +6 -26
- data/third_party/upb/upb/mem/alloc.h +6 -26
- data/third_party/upb/upb/mem/arena.c +30 -29
- data/third_party/upb/upb/mem/arena.h +16 -44
- data/third_party/upb/upb/mem/arena.hpp +54 -0
- data/third_party/upb/upb/mem/internal/arena.h +94 -0
- data/third_party/upb/upb/message/accessors.c +34 -31
- data/third_party/upb/upb/message/accessors.h +58 -57
- data/third_party/upb/upb/message/array.c +154 -0
- data/third_party/upb/upb/message/array.h +98 -0
- data/third_party/upb/upb/message/internal/accessors.h +367 -0
- data/third_party/upb/upb/message/internal/array.h +138 -0
- data/third_party/upb/upb/message/internal/extension.h +63 -0
- data/third_party/upb/upb/message/internal/map.h +173 -0
- data/third_party/upb/upb/message/internal/map_entry.h +66 -0
- data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
- data/third_party/upb/upb/message/internal/message.h +106 -0
- data/third_party/upb/upb/message/internal/types.h +23 -0
- data/third_party/upb/upb/message/map.c +145 -0
- data/third_party/upb/upb/message/map.h +147 -0
- data/third_party/upb/upb/message/map_gencode_util.h +81 -0
- data/third_party/upb/upb/message/map_sorter.c +170 -0
- data/third_party/upb/upb/message/message.c +8 -34
- data/third_party/upb/upb/message/message.h +10 -27
- data/third_party/upb/upb/message/tagged_ptr.h +69 -0
- data/third_party/upb/upb/message/types.h +15 -0
- data/third_party/upb/upb/message/value.h +46 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +130 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.h +42 -0
- data/third_party/upb/upb/mini_descriptor/decode.c +870 -0
- data/third_party/upb/upb/mini_descriptor/decode.h +120 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.c +26 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.h +63 -0
- data/third_party/upb/upb/mini_descriptor/internal/decoder.h +53 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.c +323 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.h +92 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +118 -0
- data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +32 -0
- data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +72 -0
- data/third_party/upb/upb/mini_descriptor/link.c +122 -0
- data/third_party/upb/upb/mini_descriptor/link.h +84 -0
- data/third_party/upb/upb/mini_table/enum.h +38 -0
- data/third_party/upb/upb/mini_table/extension.h +15 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +7 -27
- data/third_party/upb/upb/mini_table/extension_registry.h +9 -28
- data/third_party/upb/upb/mini_table/field.h +98 -0
- data/third_party/upb/upb/mini_table/file.h +15 -0
- data/third_party/upb/upb/mini_table/internal/enum.h +58 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +27 -0
- data/third_party/upb/upb/mini_table/internal/field.h +114 -0
- data/third_party/upb/upb/mini_table/internal/file.h +29 -0
- data/third_party/upb/upb/mini_table/internal/message.c +19 -0
- data/third_party/upb/upb/mini_table/internal/message.h +88 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +18 -0
- data/third_party/upb/upb/mini_table/message.c +77 -0
- data/third_party/upb/upb/mini_table/message.h +85 -0
- data/third_party/upb/upb/mini_table/sub.h +15 -0
- data/third_party/upb/upb/port/atomic.h +8 -26
- data/third_party/upb/upb/port/def.inc +28 -29
- data/third_party/upb/upb/port/undef.inc +8 -26
- data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
- data/third_party/upb/upb/reflection/common.h +11 -27
- data/third_party/upb/upb/reflection/def.h +8 -26
- data/third_party/upb/upb/reflection/def.hpp +26 -31
- data/third_party/upb/upb/reflection/def_pool.c +16 -35
- data/third_party/upb/upb/reflection/def_pool.h +17 -38
- data/third_party/upb/upb/reflection/def_type.c +6 -26
- data/third_party/upb/upb/reflection/def_type.h +6 -27
- data/third_party/upb/upb/reflection/desc_state.c +7 -27
- data/third_party/upb/upb/reflection/enum_def.c +19 -37
- data/third_party/upb/upb/reflection/enum_def.h +13 -33
- data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
- data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
- data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
- data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
- data/third_party/upb/upb/reflection/extension_range.c +9 -28
- data/third_party/upb/upb/reflection/extension_range.h +6 -26
- data/third_party/upb/upb/reflection/field_def.c +70 -52
- data/third_party/upb/upb/reflection/field_def.h +25 -42
- data/third_party/upb/upb/reflection/file_def.c +23 -48
- data/third_party/upb/upb/reflection/file_def.h +10 -30
- data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
- data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
- data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
- data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
- data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
- data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
- data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
- data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
- data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
- data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
- data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
- data/third_party/upb/upb/reflection/message.c +10 -30
- data/third_party/upb/upb/reflection/message.h +27 -40
- data/third_party/upb/upb/reflection/message.hpp +5 -23
- data/third_party/upb/upb/reflection/message_def.c +73 -55
- data/third_party/upb/upb/reflection/message_def.h +25 -43
- data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
- data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
- data/third_party/upb/upb/reflection/method_def.c +10 -29
- data/third_party/upb/upb/reflection/method_def.h +6 -26
- data/third_party/upb/upb/reflection/oneof_def.c +15 -33
- data/third_party/upb/upb/reflection/oneof_def.h +11 -30
- data/third_party/upb/upb/reflection/service_def.c +12 -31
- data/third_party/upb/upb/reflection/service_def.h +6 -26
- data/third_party/upb/upb/text/encode.c +8 -28
- data/third_party/upb/upb/text/encode.h +6 -26
- data/third_party/upb/upb/wire/decode.c +106 -68
- data/third_party/upb/upb/wire/decode.h +50 -26
- data/third_party/upb/upb/wire/decode_fast.c +10 -28
- data/third_party/upb/upb/wire/decode_fast.h +6 -26
- data/third_party/upb/upb/wire/encode.c +52 -46
- data/third_party/upb/upb/wire/encode.h +14 -30
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
- data/third_party/upb/upb/wire/internal/constants.h +27 -0
- data/third_party/upb/upb/wire/internal/decode.h +143 -0
- data/third_party/upb/upb/wire/internal/swap.h +45 -0
- data/third_party/upb/upb/wire/reader.c +6 -26
- data/third_party/upb/upb/wire/reader.h +8 -28
- data/third_party/upb/upb/wire/types.h +6 -26
- data/third_party/zlib/adler32.c +5 -27
- data/third_party/zlib/compress.c +5 -16
- data/third_party/zlib/crc32.c +86 -162
- data/third_party/zlib/deflate.c +233 -336
- data/third_party/zlib/deflate.h +8 -8
- data/third_party/zlib/gzguts.h +11 -12
- data/third_party/zlib/infback.c +7 -23
- data/third_party/zlib/inffast.c +1 -4
- data/third_party/zlib/inffast.h +1 -1
- data/third_party/zlib/inflate.c +30 -99
- data/third_party/zlib/inftrees.c +6 -11
- data/third_party/zlib/inftrees.h +3 -3
- data/third_party/zlib/trees.c +224 -302
- data/third_party/zlib/uncompr.c +4 -12
- data/third_party/zlib/zconf.h +6 -2
- data/third_party/zlib/zlib.h +191 -188
- data/third_party/zlib/zutil.c +16 -44
- data/third_party/zlib/zutil.h +10 -10
- metadata +1160 -904
- data/src/core/ext/filters/client_channel/backend_metric.cc +0 -95
- data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
- data/src/core/ext/filters/client_channel/backup_poller.cc +0 -178
- data/src/core/ext/filters/client_channel/backup_poller.h +0 -37
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -265
- data/src/core/ext/filters/client_channel/client_channel.cc +0 -3242
- data/src/core/ext/filters/client_channel/client_channel.h +0 -595
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -93
- data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
- data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
- data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
- data/src/core/ext/filters/client_channel/client_channel_internal.h +0 -77
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -42
- data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
- data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
- data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
- data/src/core/ext/filters/client_channel/config_selector.h +0 -125
- data/src/core/ext/filters/client_channel/connector.h +0 -88
- data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
- data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -108
- data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
- data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
- data/src/core/ext/filters/client_channel/http_proxy.cc +0 -238
- data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -69
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -115
- data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -57
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -315
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -88
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -85
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -46
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1866
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -39
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -89
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -39
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -81
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -77
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +0 -478
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +0 -52
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +0 -202
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -333
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +0 -119
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1187
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -101
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -592
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +0 -25
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -892
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -880
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -64
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2456
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -537
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -488
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +0 -198
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h +0 -71
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +0 -1011
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -747
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -706
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -37
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -750
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -650
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1155
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +0 -780
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +0 -67
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -301
- data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
- data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
- data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -148
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -758
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +0 -30
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -90
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -115
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -888
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1206
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -136
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +0 -60
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +0 -27
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +0 -559
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +0 -35
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +0 -97
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +0 -32
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -184
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +0 -24
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -368
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -110
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -326
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -273
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -121
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -202
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1276
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -61
- data/src/core/ext/filters/client_channel/retry_filter.cc +0 -160
- data/src/core/ext/filters/client_channel/retry_filter.h +0 -121
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -2052
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +0 -442
- data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -283
- data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
- data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -139
- data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
- data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -124
- data/src/core/ext/filters/client_channel/subchannel.cc +0 -774
- data/src/core/ext/filters/client_channel/subchannel.h +0 -372
- data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -41
- data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
- data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
- data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -469
- data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -225
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -152
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -735
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -183
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -835
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -160
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -743
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -535
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2796
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -69
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -256
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -77
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -287
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -59
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -168
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -128
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -123
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -153
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -935
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -57
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -134
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -118
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -378
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1772
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -572
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3257
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -128
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -532
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -732
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3926
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -57
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -126
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -664
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -398
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1849
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -227
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1054
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -134
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -580
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2448
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -228
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1141
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -115
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -256
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -381
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1707
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -318
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1951
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -149
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -484
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2264
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -73
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -245
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -75
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -239
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -79
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -293
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -69
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -260
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -57
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -136
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -141
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -498
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -207
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -875
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -182
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -920
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -269
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1600
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -263
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1459
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -89
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -331
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -80
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -204
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -67
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -187
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -222
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -988
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -253
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1197
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -351
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1717
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -136
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -867
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1646
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9598
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -100
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -347
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -328
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1530
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -123
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -76
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -196
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -65
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -205
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -84
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -413
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -88
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -259
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -36
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -48
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -90
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -261
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -68
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -204
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -558
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2710
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -139
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -119
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -437
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -144
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -664
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -90
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -271
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -104
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -468
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -75
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -201
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -682
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3973
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -70
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -246
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -138
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -499
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -93
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -257
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -31
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -43
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -265
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1479
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -111
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -369
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -270
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1482
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -75
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -224
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -41
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -78
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -405
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2161
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -87
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -331
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -185
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -923
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -57
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -137
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -89
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -321
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -130
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -108
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -309
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -79
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -266
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -172
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -57
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -135
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -115
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -99
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -277
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -117
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -84
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -312
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -73
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -236
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -95
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -354
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -130
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -536
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -142
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -516
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -79
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -234
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -29
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -44
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -153
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -67
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -168
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -87
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -246
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -78
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -237
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -29
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -48
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -123
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -151
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -43
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -63
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -372
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1764
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -402
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1849
- data/src/core/ext/upb-generated/google/api/http.upb.c +0 -114
- data/src/core/ext/upb-generated/google/api/http.upb.h +0 -507
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -55
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -173
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -49
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -108
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1172
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -5656
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -49
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -108
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -38
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -78
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -118
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -434
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -49
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -108
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -166
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -525
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -55
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -173
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -109
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -397
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -82
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -246
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -345
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1677
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -72
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -207
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -61
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -154
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -224
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -893
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -95
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -308
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -246
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1349
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -129
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -341
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -64
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -133
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -41
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -63
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -63
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -140
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -60
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -118
- data/src/core/ext/upb-generated/validate/validate.upb.c +0 -950
- data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6544
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -129
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -341
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -64
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -133
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -41
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -63
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -126
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -352
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -60
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -118
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -48
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -93
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -56
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -122
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -81
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -241
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -65
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -142
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -55
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -122
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -58
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -151
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -87
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -338
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -62
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -152
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -129
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -360
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -55
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -168
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -53
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -107
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -75
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -270
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -39
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -78
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -78
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -289
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -268
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1122
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -160
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -740
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -61
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -167
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -82
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -312
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -82
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -240
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -85
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -246
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -54
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -122
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -387
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -171
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
- data/src/core/lib/event_engine/memory_allocator.cc +0 -74
- data/src/core/lib/event_engine/thread_pool/original_thread_pool.cc +0 -256
- data/src/core/lib/event_engine/thread_pool/original_thread_pool.h +0 -137
- data/src/core/lib/iomgr/load_file.cc +0 -78
- data/src/core/lib/iomgr/load_file.h +0 -35
- data/src/core/lib/load_balancing/delegating_helper.h +0 -115
- data/src/core/lib/load_balancing/lb_policy.cc +0 -98
- data/src/core/lib/load_balancing/lb_policy.h +0 -477
- data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
- data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -143
- data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
- data/src/core/lib/load_balancing/subchannel_interface.h +0 -141
- data/src/core/lib/promise/detail/basic_join.h +0 -197
- data/src/core/lib/promise/detail/switch.h +0 -1455
- data/src/core/lib/resolver/resolver.cc +0 -37
- data/src/core/lib/resolver/resolver.h +0 -138
- data/src/core/lib/resolver/resolver_factory.h +0 -78
- data/src/core/lib/resolver/resolver_registry.cc +0 -164
- data/src/core/lib/resolver/resolver_registry.h +0 -123
- data/src/core/lib/resolver/server_address.cc +0 -89
- data/src/core/lib/resolver/server_address.h +0 -85
- data/src/core/lib/service_config/service_config.h +0 -89
- data/src/core/lib/service_config/service_config_call_data.h +0 -116
- data/src/core/lib/service_config/service_config_impl.cc +0 -198
- data/src/core/lib/service_config/service_config_impl.h +0 -125
- data/src/core/lib/service_config/service_config_parser.cc +0 -81
- data/src/core/lib/service_config/service_config_parser.h +0 -105
- data/src/core/lib/transport/pid_controller.cc +0 -51
- data/src/core/lib/transport/pid_controller.h +0 -116
- data/src/core/lib/transport/transport_impl.h +0 -102
- data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -138
- data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -280
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +0 -434
- data/third_party/abseil-cpp/absl/flags/flag.cc +0 -38
- data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +0 -116
- data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -158
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_freebsd.c +0 -62
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm.c +0 -38
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_openbsd.c +0 -31
- data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +0 -204
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -100
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -111
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -197
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -221
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -71
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -636
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -135
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -141
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -418
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -477
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -599
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -111
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -154
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -270
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -213
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -121
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -341
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -555
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -81
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -142
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -150
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -225
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -888
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -171
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1355
- data/third_party/re2/util/benchmark.h +0 -156
- data/third_party/re2/util/flags.h +0 -26
- data/third_party/re2/util/malloc_counter.h +0 -19
- data/third_party/re2/util/pcre.cc +0 -1025
- data/third_party/re2/util/pcre.h +0 -681
- data/third_party/re2/util/test.h +0 -50
- data/third_party/upb/upb/alloc.h +0 -36
- data/third_party/upb/upb/arena.h +0 -36
- data/third_party/upb/upb/array.h +0 -36
- data/third_party/upb/upb/base/log2.h +0 -57
- data/third_party/upb/upb/collections/array.c +0 -145
- data/third_party/upb/upb/collections/array.h +0 -85
- data/third_party/upb/upb/collections/array_internal.h +0 -135
- data/third_party/upb/upb/collections/map.c +0 -135
- data/third_party/upb/upb/collections/map.h +0 -135
- data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
- data/third_party/upb/upb/collections/map_internal.h +0 -170
- data/third_party/upb/upb/collections/map_sorter.c +0 -166
- data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
- data/third_party/upb/upb/collections/message_value.h +0 -65
- data/third_party/upb/upb/decode.h +0 -36
- data/third_party/upb/upb/def.h +0 -36
- data/third_party/upb/upb/def.hpp +0 -33
- data/third_party/upb/upb/encode.h +0 -36
- data/third_party/upb/upb/extension_registry.h +0 -35
- data/third_party/upb/upb/json_decode.h +0 -36
- data/third_party/upb/upb/json_encode.h +0 -36
- data/third_party/upb/upb/map.h +0 -36
- data/third_party/upb/upb/mem/arena_internal.h +0 -114
- data/third_party/upb/upb/message/accessors_internal.h +0 -325
- data/third_party/upb/upb/message/extension_internal.h +0 -83
- data/third_party/upb/upb/message/internal.h +0 -135
- data/third_party/upb/upb/mini_table/common.c +0 -128
- data/third_party/upb/upb/mini_table/common.h +0 -170
- data/third_party/upb/upb/mini_table/common_internal.h +0 -111
- data/third_party/upb/upb/mini_table/decode.c +0 -1127
- data/third_party/upb/upb/mini_table/decode.h +0 -179
- data/third_party/upb/upb/mini_table/encode.c +0 -300
- data/third_party/upb/upb/mini_table/encode_internal.h +0 -111
- data/third_party/upb/upb/mini_table/encode_internal.hpp +0 -136
- data/third_party/upb/upb/mini_table/enum_internal.h +0 -88
- data/third_party/upb/upb/mini_table/extension_internal.h +0 -47
- data/third_party/upb/upb/mini_table/field_internal.h +0 -192
- data/third_party/upb/upb/mini_table/file_internal.h +0 -47
- data/third_party/upb/upb/mini_table/message_internal.h +0 -136
- data/third_party/upb/upb/mini_table/sub_internal.h +0 -38
- data/third_party/upb/upb/mini_table/types.h +0 -40
- data/third_party/upb/upb/mini_table.h +0 -36
- data/third_party/upb/upb/msg.h +0 -36
- data/third_party/upb/upb/reflection/def_builder.c +0 -357
- data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
- data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
- data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
- data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
- data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
- data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
- data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
- data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
- data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
- data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
- data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
- data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
- data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
- data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
- data/third_party/upb/upb/reflection.h +0 -36
- data/third_party/upb/upb/reflection.hpp +0 -33
- data/third_party/upb/upb/status.h +0 -36
- data/third_party/upb/upb/string_view.h +0 -36
- data/third_party/upb/upb/text_encode.h +0 -36
- data/third_party/upb/upb/upb.h +0 -39
- data/third_party/upb/upb/upb.hpp +0 -107
- data/third_party/upb/upb/wire/common.h +0 -44
- data/third_party/upb/upb/wire/common_internal.h +0 -50
- data/third_party/upb/upb/wire/decode_internal.h +0 -163
- data/third_party/upb/upb/wire/swap_internal.h +0 -63
- data/third_party/zlib/gzclose.c +0 -25
- data/third_party/zlib/gzlib.c +0 -639
- data/third_party/zlib/gzread.c +0 -650
- data/third_party/zlib/gzwrite.c +0 -677
- /data/third_party/boringssl-with-bazel/src/crypto/{x509v3 → x509}/ext_dat.h +0 -0
@@ -20,14 +20,16 @@
|
|
20
20
|
|
21
21
|
#include <inttypes.h>
|
22
22
|
#include <limits.h>
|
23
|
-
#include <stdio.h>
|
24
23
|
#include <string.h>
|
25
24
|
|
26
25
|
#include <algorithm>
|
27
|
-
#include <
|
26
|
+
#include <atomic>
|
27
|
+
#include <cstddef>
|
28
|
+
#include <limits>
|
28
29
|
#include <memory>
|
29
30
|
#include <new>
|
30
31
|
#include <string>
|
32
|
+
#include <type_traits>
|
31
33
|
#include <utility>
|
32
34
|
#include <vector>
|
33
35
|
|
@@ -35,15 +37,18 @@
|
|
35
37
|
#include "absl/container/flat_hash_map.h"
|
36
38
|
#include "absl/hash/hash.h"
|
37
39
|
#include "absl/meta/type_traits.h"
|
40
|
+
#include "absl/random/random.h"
|
38
41
|
#include "absl/status/status.h"
|
39
42
|
#include "absl/strings/cord.h"
|
40
43
|
#include "absl/strings/str_cat.h"
|
41
44
|
#include "absl/strings/str_format.h"
|
42
45
|
#include "absl/strings/string_view.h"
|
43
46
|
#include "absl/types/optional.h"
|
47
|
+
#include "absl/types/variant.h"
|
44
48
|
|
45
49
|
#include <grpc/event_engine/event_engine.h>
|
46
50
|
#include <grpc/grpc.h>
|
51
|
+
#include <grpc/impl/channel_arg_names.h>
|
47
52
|
#include <grpc/impl/connectivity_state.h>
|
48
53
|
#include <grpc/slice_buffer.h>
|
49
54
|
#include <grpc/status.h>
|
@@ -53,7 +58,6 @@
|
|
53
58
|
|
54
59
|
#include "src/core/ext/transport/chttp2/transport/context_list_entry.h"
|
55
60
|
#include "src/core/ext/transport/chttp2/transport/flow_control.h"
|
56
|
-
#include "src/core/ext/transport/chttp2/transport/frame.h"
|
57
61
|
#include "src/core/ext/transport/chttp2/transport/frame_data.h"
|
58
62
|
#include "src/core/ext/transport/chttp2/transport/frame_goaway.h"
|
59
63
|
#include "src/core/ext/transport/chttp2/transport/frame_rst_stream.h"
|
@@ -61,13 +65,21 @@
|
|
61
65
|
#include "src/core/ext/transport/chttp2/transport/http2_settings.h"
|
62
66
|
#include "src/core/ext/transport/chttp2/transport/http_trace.h"
|
63
67
|
#include "src/core/ext/transport/chttp2/transport/internal.h"
|
68
|
+
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
|
69
|
+
#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h"
|
70
|
+
#include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h"
|
71
|
+
#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h"
|
72
|
+
#include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h"
|
64
73
|
#include "src/core/ext/transport/chttp2/transport/varint.h"
|
74
|
+
#include "src/core/ext/transport/chttp2/transport/write_size_policy.h"
|
65
75
|
#include "src/core/lib/channel/call_tracer.h"
|
66
76
|
#include "src/core/lib/channel/channel_args.h"
|
67
77
|
#include "src/core/lib/channel/context.h"
|
78
|
+
#include "src/core/lib/channel/tcp_tracer.h"
|
68
79
|
#include "src/core/lib/debug/stats.h"
|
69
80
|
#include "src/core/lib/debug/stats_data.h"
|
70
81
|
#include "src/core/lib/experiments/experiments.h"
|
82
|
+
#include "src/core/lib/gpr/string.h"
|
71
83
|
#include "src/core/lib/gpr/useful.h"
|
72
84
|
#include "src/core/lib/gprpp/bitset.h"
|
73
85
|
#include "src/core/lib/gprpp/crash.h"
|
@@ -96,7 +108,6 @@
|
|
96
108
|
#include "src/core/lib/transport/metadata_batch.h"
|
97
109
|
#include "src/core/lib/transport/status_conversion.h"
|
98
110
|
#include "src/core/lib/transport/transport.h"
|
99
|
-
#include "src/core/lib/transport/transport_impl.h"
|
100
111
|
|
101
112
|
#ifdef GRPC_POSIX_SOCKET_TCP
|
102
113
|
#include "src/core/lib/iomgr/ev_posix.h"
|
@@ -112,6 +123,9 @@
|
|
112
123
|
|
113
124
|
#define DEFAULT_MAX_PENDING_INDUCED_FRAMES 10000
|
114
125
|
|
126
|
+
#define GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT \
|
127
|
+
"grpc.http2.ping_on_rst_stream_percent"
|
128
|
+
|
115
129
|
static grpc_core::Duration g_default_client_keepalive_time =
|
116
130
|
grpc_core::Duration::Infinity();
|
117
131
|
static grpc_core::Duration g_default_client_keepalive_timeout =
|
@@ -123,10 +137,10 @@ static grpc_core::Duration g_default_server_keepalive_timeout =
|
|
123
137
|
static bool g_default_client_keepalive_permit_without_calls = false;
|
124
138
|
static bool g_default_server_keepalive_permit_without_calls = false;
|
125
139
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
140
|
+
// EXPERIMENTAL: control tarpitting in chttp2
|
141
|
+
#define GRPC_ARG_HTTP_ALLOW_TARPIT "grpc.http.tarpit"
|
142
|
+
#define GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS "grpc.http.tarpit_min_duration_ms"
|
143
|
+
#define GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS "grpc.http.tarpit_max_duration_ms"
|
130
144
|
|
131
145
|
#define MAX_CLIENT_STREAM_ID 0x7fffffffu
|
132
146
|
grpc_core::TraceFlag grpc_keepalive_trace(false, "http_keepalive");
|
@@ -134,21 +148,23 @@ grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount(false,
|
|
134
148
|
"chttp2_refcount");
|
135
149
|
|
136
150
|
// forward declarations of various callbacks that we'll build closures around
|
137
|
-
static void write_action_begin_locked(
|
138
|
-
|
139
|
-
static void
|
140
|
-
static void
|
141
|
-
|
142
|
-
static void
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
static void
|
148
|
-
|
151
|
+
static void write_action_begin_locked(
|
152
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
|
153
|
+
static void write_action(grpc_chttp2_transport* t);
|
154
|
+
static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
|
155
|
+
grpc_error_handle error);
|
156
|
+
static void write_action_end_locked(
|
157
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
|
158
|
+
|
159
|
+
static void read_action(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
|
160
|
+
grpc_error_handle error);
|
161
|
+
static void read_action_locked(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
|
162
|
+
grpc_error_handle error);
|
163
|
+
static void continue_read_action_locked(
|
164
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t);
|
149
165
|
|
150
166
|
static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
151
|
-
grpc_error_handle error);
|
167
|
+
grpc_error_handle error, bool tarpit);
|
152
168
|
|
153
169
|
// Start new streams that have been created if we can
|
154
170
|
static void maybe_start_some_streams(grpc_chttp2_transport* t);
|
@@ -158,8 +174,10 @@ static void connectivity_state_set(grpc_chttp2_transport* t,
|
|
158
174
|
const absl::Status& status,
|
159
175
|
const char* reason);
|
160
176
|
|
161
|
-
static void benign_reclaimer_locked(
|
162
|
-
|
177
|
+
static void benign_reclaimer_locked(
|
178
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
|
179
|
+
static void destructive_reclaimer_locked(
|
180
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
|
163
181
|
|
164
182
|
static void post_benign_reclaimer(grpc_chttp2_transport* t);
|
165
183
|
static void post_destructive_reclaimer(grpc_chttp2_transport* t);
|
@@ -169,42 +187,75 @@ static void close_transport_locked(grpc_chttp2_transport* t,
|
|
169
187
|
static void end_all_the_calls(grpc_chttp2_transport* t,
|
170
188
|
grpc_error_handle error);
|
171
189
|
|
172
|
-
static void start_bdp_ping(
|
173
|
-
|
174
|
-
static void
|
175
|
-
|
190
|
+
static void start_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
|
191
|
+
grpc_error_handle error);
|
192
|
+
static void finish_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport>,
|
193
|
+
grpc_error_handle error);
|
194
|
+
static void start_bdp_ping_locked(
|
195
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
|
196
|
+
static void finish_bdp_ping_locked(
|
197
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle error);
|
176
198
|
static void next_bdp_ping_timer_expired(grpc_chttp2_transport* t);
|
177
199
|
static void next_bdp_ping_timer_expired_locked(
|
178
|
-
|
200
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> tp,
|
201
|
+
GRPC_UNUSED grpc_error_handle error);
|
179
202
|
|
180
203
|
static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error);
|
181
204
|
static void send_ping_locked(grpc_chttp2_transport* t,
|
182
205
|
grpc_closure* on_initiate, grpc_closure* on_ack);
|
183
|
-
static void retry_initiate_ping_locked(
|
184
|
-
|
206
|
+
static void retry_initiate_ping_locked(
|
207
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
208
|
+
GRPC_UNUSED grpc_error_handle error);
|
185
209
|
|
186
210
|
// keepalive-relevant functions
|
187
|
-
static void init_keepalive_ping(
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
static void
|
193
|
-
|
194
|
-
static void
|
195
|
-
|
196
|
-
void* arg, GRPC_UNUSED grpc_error_handle error);
|
211
|
+
static void init_keepalive_ping(
|
212
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t);
|
213
|
+
static void init_keepalive_ping_locked(
|
214
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
215
|
+
GRPC_UNUSED grpc_error_handle error);
|
216
|
+
static void finish_keepalive_ping(
|
217
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
|
218
|
+
static void finish_keepalive_ping_locked(
|
219
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
|
197
220
|
static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t);
|
198
221
|
|
222
|
+
static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error,
|
223
|
+
bool immediate_disconnect_hint);
|
224
|
+
|
225
|
+
// Timeout for getting an ack back on settings changes
|
226
|
+
#define GRPC_ARG_SETTINGS_TIMEOUT "grpc.http2.settings_timeout"
|
227
|
+
|
199
228
|
namespace {
|
200
|
-
|
229
|
+
|
230
|
+
using TaskHandle = ::grpc_event_engine::experimental::EventEngine::TaskHandle;
|
231
|
+
|
232
|
+
grpc_core::CallTracerInterface* CallTracerIfSampled(grpc_chttp2_stream* s) {
|
201
233
|
if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
|
202
234
|
return nullptr;
|
203
235
|
}
|
204
|
-
|
236
|
+
auto* call_tracer = static_cast<grpc_core::CallTracerInterface*>(
|
205
237
|
static_cast<grpc_call_context_element*>(
|
206
238
|
s->context)[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE]
|
207
239
|
.value);
|
240
|
+
if (call_tracer == nullptr || !call_tracer->IsSampled()) {
|
241
|
+
return nullptr;
|
242
|
+
}
|
243
|
+
return call_tracer;
|
244
|
+
}
|
245
|
+
|
246
|
+
std::shared_ptr<grpc_core::TcpTracerInterface> TcpTracerIfSampled(
|
247
|
+
grpc_chttp2_stream* s) {
|
248
|
+
if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
|
249
|
+
return nullptr;
|
250
|
+
}
|
251
|
+
auto* call_attempt_tracer = static_cast<grpc_core::CallTracerInterface*>(
|
252
|
+
static_cast<grpc_call_context_element*>(
|
253
|
+
s->context)[GRPC_CONTEXT_CALL_TRACER]
|
254
|
+
.value);
|
255
|
+
if (call_attempt_tracer == nullptr || !call_attempt_tracer->IsSampled()) {
|
256
|
+
return nullptr;
|
257
|
+
}
|
258
|
+
return call_attempt_tracer->StartNewTcpTrace();
|
208
259
|
}
|
209
260
|
|
210
261
|
grpc_core::WriteTimestampsCallback g_write_timestamps_callback = nullptr;
|
@@ -213,6 +264,24 @@ grpc_core::CopyContextFn g_get_copied_context_fn = nullptr;
|
|
213
264
|
|
214
265
|
namespace grpc_core {
|
215
266
|
|
267
|
+
namespace {
|
268
|
+
// Initialize a grpc_closure \a c to call \a Fn with \a t and \a error. Holds
|
269
|
+
// the passed in reference to \a t until it's moved into Fn.
|
270
|
+
template <void (*Fn)(RefCountedPtr<grpc_chttp2_transport>, grpc_error_handle)>
|
271
|
+
grpc_closure* InitTransportClosure(RefCountedPtr<grpc_chttp2_transport> t,
|
272
|
+
grpc_closure* c) {
|
273
|
+
GRPC_CLOSURE_INIT(
|
274
|
+
c,
|
275
|
+
[](void* tp, grpc_error_handle error) {
|
276
|
+
Fn(RefCountedPtr<grpc_chttp2_transport>(
|
277
|
+
static_cast<grpc_chttp2_transport*>(tp)),
|
278
|
+
std::move(error));
|
279
|
+
},
|
280
|
+
t.release(), nullptr);
|
281
|
+
return c;
|
282
|
+
}
|
283
|
+
} // namespace
|
284
|
+
|
216
285
|
namespace {
|
217
286
|
TestOnlyGlobalHttp2TransportInitCallback test_only_init_callback = nullptr;
|
218
287
|
TestOnlyGlobalHttp2TransportDestructCallback test_only_destruct_callback =
|
@@ -269,6 +338,42 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
|
|
269
338
|
delete context_list;
|
270
339
|
}
|
271
340
|
|
341
|
+
HttpAnnotation::HttpAnnotation(
|
342
|
+
Type type, gpr_timespec time,
|
343
|
+
absl::optional<chttp2::TransportFlowControl::Stats> transport_stats,
|
344
|
+
absl::optional<chttp2::StreamFlowControl::Stats> stream_stats)
|
345
|
+
: CallTracerAnnotationInterface::Annotation(
|
346
|
+
CallTracerAnnotationInterface::AnnotationType::kHttpTransport),
|
347
|
+
type_(type),
|
348
|
+
time_(time),
|
349
|
+
transport_stats_(transport_stats),
|
350
|
+
stream_stats_(stream_stats) {}
|
351
|
+
|
352
|
+
std::string HttpAnnotation::ToString() const {
|
353
|
+
std::string s = "HttpAnnotation type: ";
|
354
|
+
switch (type_) {
|
355
|
+
case Type::kStart:
|
356
|
+
absl::StrAppend(&s, "Start");
|
357
|
+
break;
|
358
|
+
case Type::kHeadWritten:
|
359
|
+
absl::StrAppend(&s, "HeadWritten");
|
360
|
+
break;
|
361
|
+
case Type::kEnd:
|
362
|
+
absl::StrAppend(&s, "End");
|
363
|
+
break;
|
364
|
+
default:
|
365
|
+
absl::StrAppend(&s, "Unknown");
|
366
|
+
}
|
367
|
+
absl::StrAppend(&s, " time: ", gpr_format_timespec(time_));
|
368
|
+
if (transport_stats_.has_value()) {
|
369
|
+
absl::StrAppend(&s, " transport:[", transport_stats_->ToString(), "]");
|
370
|
+
}
|
371
|
+
if (stream_stats_.has_value()) {
|
372
|
+
absl::StrAppend(&s, " stream:[", stream_stats_->ToString(), "]");
|
373
|
+
}
|
374
|
+
return s;
|
375
|
+
}
|
376
|
+
|
272
377
|
} // namespace grpc_core
|
273
378
|
|
274
379
|
//
|
@@ -278,6 +383,8 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
|
|
278
383
|
grpc_chttp2_transport::~grpc_chttp2_transport() {
|
279
384
|
size_t i;
|
280
385
|
|
386
|
+
cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
|
387
|
+
|
281
388
|
event_engine.reset();
|
282
389
|
|
283
390
|
if (channelz_socket != nullptr) {
|
@@ -288,8 +395,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
|
|
288
395
|
|
289
396
|
grpc_slice_buffer_destroy(&qbuf);
|
290
397
|
|
291
|
-
grpc_slice_buffer_destroy(&outbuf);
|
292
|
-
|
293
398
|
grpc_error_handle error = GRPC_ERROR_CREATE("Transport destroyed");
|
294
399
|
// ContextList::Execute follows semantics of a callback function and does not
|
295
400
|
// take a ref on error
|
@@ -309,8 +414,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
|
|
309
414
|
GPR_ASSERT(stream_map.empty());
|
310
415
|
GRPC_COMBINER_UNREF(combiner, "chttp2_transport");
|
311
416
|
|
312
|
-
cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
|
313
|
-
|
314
417
|
while (write_cb_pool) {
|
315
418
|
grpc_chttp2_write_cb* next = write_cb_pool->next;
|
316
419
|
gpr_free(write_cb_pool);
|
@@ -323,8 +426,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
|
|
323
426
|
}
|
324
427
|
}
|
325
428
|
|
326
|
-
static const grpc_transport_vtable* get_vtable(void);
|
327
|
-
|
328
429
|
static void read_channel_args(grpc_chttp2_transport* t,
|
329
430
|
const grpc_core::ChannelArgs& channel_args,
|
330
431
|
bool is_client) {
|
@@ -346,18 +447,6 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
346
447
|
t->hpack_compressor.SetMaxUsableSize(max_hpack_table_size);
|
347
448
|
}
|
348
449
|
|
349
|
-
t->ping_policy.max_pings_without_data =
|
350
|
-
std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA)
|
351
|
-
.value_or(g_default_max_pings_without_data));
|
352
|
-
t->ping_policy.max_ping_strikes =
|
353
|
-
std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PING_STRIKES)
|
354
|
-
.value_or(g_default_max_ping_strikes));
|
355
|
-
t->ping_policy.min_recv_ping_interval_without_data =
|
356
|
-
std::max(grpc_core::Duration::Zero(),
|
357
|
-
channel_args
|
358
|
-
.GetDurationFromIntMillis(
|
359
|
-
GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS)
|
360
|
-
.value_or(g_default_min_recv_ping_interval_without_data));
|
361
450
|
t->write_buffer_size =
|
362
451
|
std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE)
|
363
452
|
.value_or(grpc_core::chttp2::kDefaultWindow));
|
@@ -369,20 +458,35 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
369
458
|
t->keepalive_timeout = std::max(
|
370
459
|
grpc_core::Duration::Zero(),
|
371
460
|
channel_args.GetDurationFromIntMillis(GRPC_ARG_KEEPALIVE_TIMEOUT_MS)
|
372
|
-
.value_or(t->
|
373
|
-
|
374
|
-
|
461
|
+
.value_or(t->keepalive_time == grpc_core::Duration::Infinity()
|
462
|
+
? grpc_core::Duration::Infinity()
|
463
|
+
: (t->is_client ? g_default_client_keepalive_timeout
|
464
|
+
: g_default_server_keepalive_timeout)));
|
465
|
+
t->ping_timeout = std::max(
|
466
|
+
grpc_core::Duration::Zero(),
|
467
|
+
channel_args.GetDurationFromIntMillis(GRPC_ARG_PING_TIMEOUT_MS)
|
468
|
+
.value_or(t->keepalive_time == grpc_core::Duration::Infinity()
|
469
|
+
? grpc_core::Duration::Infinity()
|
470
|
+
: grpc_core::Duration::Minutes(1)));
|
471
|
+
if (t->is_client) {
|
375
472
|
t->keepalive_permit_without_calls =
|
376
473
|
channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)
|
377
|
-
.value_or(
|
474
|
+
.value_or(grpc_core::IsKeepaliveFixEnabled()
|
378
475
|
? g_default_client_keepalive_permit_without_calls
|
379
|
-
:
|
476
|
+
: false);
|
380
477
|
} else {
|
381
478
|
t->keepalive_permit_without_calls =
|
382
479
|
channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)
|
383
|
-
.value_or(
|
480
|
+
.value_or(grpc_core::IsKeepaliveServerFixEnabled()
|
481
|
+
? g_default_server_keepalive_permit_without_calls
|
482
|
+
: false);
|
384
483
|
}
|
385
484
|
|
485
|
+
t->settings_timeout =
|
486
|
+
channel_args.GetDurationFromIntMillis(GRPC_ARG_SETTINGS_TIMEOUT)
|
487
|
+
.value_or(std::max(t->keepalive_timeout * 2,
|
488
|
+
grpc_core::Duration::Minutes(1)));
|
489
|
+
|
386
490
|
// Only send the prefered rx frame size http2 setting if we are instructed
|
387
491
|
// to auto size the buffers allocated at tcp level and we also can adjust
|
388
492
|
// sending frame size.
|
@@ -391,13 +495,22 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
391
495
|
.GetBool(GRPC_ARG_EXPERIMENTAL_HTTP2_PREFERRED_CRYPTO_FRAME_SIZE)
|
392
496
|
.value_or(false);
|
393
497
|
|
498
|
+
const auto max_requests_per_read =
|
499
|
+
channel_args.GetInt("grpc.http2.max_requests_per_read");
|
500
|
+
if (max_requests_per_read.has_value()) {
|
501
|
+
t->max_requests_per_read =
|
502
|
+
grpc_core::Clamp(*max_requests_per_read, 1, 10000);
|
503
|
+
} else {
|
504
|
+
t->max_requests_per_read = 32;
|
505
|
+
}
|
506
|
+
|
394
507
|
if (channel_args.GetBool(GRPC_ARG_ENABLE_CHANNELZ)
|
395
508
|
.value_or(GRPC_ENABLE_CHANNELZ_DEFAULT)) {
|
396
509
|
t->channelz_socket =
|
397
510
|
grpc_core::MakeRefCounted<grpc_core::channelz::SocketNode>(
|
398
511
|
std::string(grpc_endpoint_get_local_address(t->ep)),
|
399
512
|
std::string(t->peer_string.as_string_view()),
|
400
|
-
absl::StrCat(
|
513
|
+
absl::StrCat(t->GetTransportName(), " ",
|
401
514
|
t->peer_string.as_string_view()),
|
402
515
|
channel_args
|
403
516
|
.GetObjectRef<grpc_core::channelz::SocketNode::Security>());
|
@@ -405,6 +518,19 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
405
518
|
|
406
519
|
t->ack_pings = channel_args.GetBool("grpc.http2.ack_pings").value_or(true);
|
407
520
|
|
521
|
+
t->allow_tarpit =
|
522
|
+
channel_args.GetBool(GRPC_ARG_HTTP_ALLOW_TARPIT).value_or(true);
|
523
|
+
t->min_tarpit_duration_ms =
|
524
|
+
channel_args
|
525
|
+
.GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS)
|
526
|
+
.value_or(grpc_core::Duration::Milliseconds(100))
|
527
|
+
.millis();
|
528
|
+
t->max_tarpit_duration_ms =
|
529
|
+
channel_args
|
530
|
+
.GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS)
|
531
|
+
.value_or(grpc_core::Duration::Seconds(1))
|
532
|
+
.millis();
|
533
|
+
|
408
534
|
const int soft_limit =
|
409
535
|
channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1);
|
410
536
|
if (soft_limit < 0) {
|
@@ -420,104 +546,77 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
420
546
|
t->max_header_list_size_soft_limit = soft_limit;
|
421
547
|
}
|
422
548
|
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
}
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
{true, true}},
|
454
|
-
{GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY,
|
455
|
-
GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA,
|
456
|
-
1,
|
457
|
-
0,
|
458
|
-
1,
|
459
|
-
{true, true}},
|
460
|
-
{GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES,
|
461
|
-
GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE,
|
462
|
-
-1,
|
463
|
-
5,
|
464
|
-
INT32_MAX,
|
465
|
-
{true, true}}};
|
466
|
-
|
467
|
-
for (size_t i = 0; i < GPR_ARRAY_SIZE(settings_map); i++) {
|
468
|
-
const auto& setting = settings_map[i];
|
469
|
-
if (setting.availability[is_client]) {
|
470
|
-
const int value = channel_args.GetInt(setting.channel_arg_name)
|
471
|
-
.value_or(setting.default_value);
|
472
|
-
if (value >= 0) {
|
473
|
-
queue_setting_update(t, setting.setting_id,
|
474
|
-
grpc_core::Clamp(value, setting.min, setting.max));
|
475
|
-
} else if (setting.setting_id ==
|
476
|
-
GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE) {
|
477
|
-
// Set value to 1.25 * soft limit if this is larger than
|
478
|
-
// `DEFAULT_MAX_HEADER_LIST_SIZE` and
|
479
|
-
// `GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE` is not set.
|
480
|
-
const int soft_limit = channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE)
|
481
|
-
.value_or(setting.default_value);
|
482
|
-
const int value = (soft_limit >= 0 && soft_limit < (INT_MAX / 1.25))
|
483
|
-
? static_cast<int>(soft_limit * 1.25)
|
484
|
-
: soft_limit;
|
485
|
-
if (value > DEFAULT_MAX_HEADER_LIST_SIZE) {
|
486
|
-
queue_setting_update(
|
487
|
-
t, setting.setting_id,
|
488
|
-
grpc_core::Clamp(value, setting.min, setting.max));
|
489
|
-
}
|
490
|
-
}
|
491
|
-
} else if (channel_args.Contains(setting.channel_arg_name)) {
|
492
|
-
gpr_log(GPR_DEBUG, "%s is not available on %s",
|
493
|
-
std::string(setting.channel_arg_name).c_str(),
|
494
|
-
is_client ? "clients" : "servers");
|
549
|
+
int value;
|
550
|
+
if (!is_client) {
|
551
|
+
value = channel_args.GetInt(GRPC_ARG_MAX_CONCURRENT_STREAMS).value_or(-1);
|
552
|
+
if (value >= 0) {
|
553
|
+
t->settings.mutable_local().SetMaxConcurrentStreams(value);
|
554
|
+
t->max_concurrent_streams_policy.SetTarget(value);
|
555
|
+
}
|
556
|
+
} else if (channel_args.Contains(GRPC_ARG_MAX_CONCURRENT_STREAMS)) {
|
557
|
+
gpr_log(GPR_DEBUG, "%s is not available on clients",
|
558
|
+
GRPC_ARG_MAX_CONCURRENT_STREAMS);
|
559
|
+
}
|
560
|
+
value =
|
561
|
+
channel_args.GetInt(GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER).value_or(-1);
|
562
|
+
if (value >= 0) {
|
563
|
+
t->settings.mutable_local().SetHeaderTableSize(value);
|
564
|
+
}
|
565
|
+
value = channel_args.GetInt(GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE).value_or(-1);
|
566
|
+
if (value >= 0) {
|
567
|
+
t->settings.mutable_local().SetMaxHeaderListSize(value);
|
568
|
+
} else {
|
569
|
+
// Set value to 1.25 * soft limit if this is larger than
|
570
|
+
// `DEFAULT_MAX_HEADER_LIST_SIZE` and
|
571
|
+
// `GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE` is not set.
|
572
|
+
const int soft_limit =
|
573
|
+
channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1);
|
574
|
+
const int value = (soft_limit >= 0 && soft_limit < (INT_MAX / 1.25))
|
575
|
+
? static_cast<int>(soft_limit * 1.25)
|
576
|
+
: soft_limit;
|
577
|
+
if (value > DEFAULT_MAX_HEADER_LIST_SIZE) {
|
578
|
+
t->settings.mutable_local().SetMaxHeaderListSize(value);
|
495
579
|
}
|
496
580
|
}
|
581
|
+
value = channel_args.GetInt(GRPC_ARG_HTTP2_MAX_FRAME_SIZE).value_or(-1);
|
582
|
+
if (value >= 0) {
|
583
|
+
t->settings.mutable_local().SetMaxFrameSize(value);
|
584
|
+
}
|
585
|
+
value =
|
586
|
+
channel_args.GetInt(GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES).value_or(-1);
|
587
|
+
if (value >= 0) {
|
588
|
+
t->settings.mutable_local().SetInitialWindowSize(value);
|
589
|
+
}
|
590
|
+
value = channel_args.GetInt(GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY).value_or(-1);
|
591
|
+
if (value >= 0) {
|
592
|
+
t->settings.mutable_local().SetAllowTrueBinaryMetadata(value != 0);
|
593
|
+
}
|
497
594
|
|
498
595
|
if (t->enable_preferred_rx_crypto_frame_advertisement) {
|
499
|
-
|
500
|
-
&grpc_chttp2_settings_parameters
|
501
|
-
[GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE];
|
502
|
-
queue_setting_update(
|
503
|
-
t, GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE,
|
504
|
-
grpc_core::Clamp(INT_MAX, static_cast<int>(sp->min_value),
|
505
|
-
static_cast<int>(sp->max_value)));
|
596
|
+
t->settings.mutable_local().SetPreferredReceiveCryptoMessageSize(INT_MAX);
|
506
597
|
}
|
598
|
+
|
599
|
+
t->ping_on_rst_stream_percent = grpc_core::Clamp(
|
600
|
+
channel_args.GetInt(GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT)
|
601
|
+
.value_or(1),
|
602
|
+
0, 100);
|
603
|
+
|
604
|
+
t->max_concurrent_streams_overload_protection =
|
605
|
+
channel_args.GetBool(GRPC_ARG_MAX_CONCURRENT_STREAMS_OVERLOAD_PROTECTION)
|
606
|
+
.value_or(true);
|
507
607
|
}
|
508
608
|
|
509
609
|
static void init_keepalive_pings_if_enabled_locked(
|
510
|
-
|
610
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
611
|
+
GRPC_UNUSED grpc_error_handle error) {
|
511
612
|
GPR_DEBUG_ASSERT(error.ok());
|
512
|
-
grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
|
513
613
|
if (t->keepalive_time != grpc_core::Duration::Infinity()) {
|
514
614
|
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
|
515
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
|
516
615
|
t->keepalive_ping_timer_handle =
|
517
|
-
t->event_engine->RunAfter(t->keepalive_time, [t] {
|
616
|
+
t->event_engine->RunAfter(t->keepalive_time, [t = t->Ref()]() mutable {
|
518
617
|
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
519
618
|
grpc_core::ExecCtx exec_ctx;
|
520
|
-
init_keepalive_ping(t);
|
619
|
+
init_keepalive_ping(std::move(t));
|
521
620
|
});
|
522
621
|
} else {
|
523
622
|
// Use GRPC_CHTTP2_KEEPALIVE_STATE_DISABLED to indicate there are no
|
@@ -529,76 +628,66 @@ static void init_keepalive_pings_if_enabled_locked(
|
|
529
628
|
grpc_chttp2_transport::grpc_chttp2_transport(
|
530
629
|
const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
|
531
630
|
bool is_client)
|
532
|
-
:
|
533
|
-
|
534
|
-
|
631
|
+
: grpc_core::RefCounted<grpc_chttp2_transport,
|
632
|
+
grpc_core::NonPolymorphicRefCount>(
|
633
|
+
GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount)
|
634
|
+
? "chttp2_refcount"
|
635
|
+
: nullptr),
|
535
636
|
ep(ep),
|
536
637
|
peer_string(
|
537
638
|
grpc_core::Slice::FromCopiedString(grpc_endpoint_get_peer(ep))),
|
538
639
|
memory_owner(channel_args.GetObject<grpc_core::ResourceQuota>()
|
539
640
|
->memory_quota()
|
540
|
-
->CreateMemoryOwner(
|
541
|
-
grpc_endpoint_get_peer(ep), ":client_transport"))),
|
641
|
+
->CreateMemoryOwner()),
|
542
642
|
self_reservation(
|
543
643
|
memory_owner.MakeReservation(sizeof(grpc_chttp2_transport))),
|
544
|
-
|
644
|
+
event_engine(
|
645
|
+
channel_args
|
646
|
+
.GetObjectRef<grpc_event_engine::experimental::EventEngine>()),
|
647
|
+
combiner(grpc_combiner_create(event_engine)),
|
545
648
|
state_tracker(is_client ? "client_transport" : "server_transport",
|
546
649
|
GRPC_CHANNEL_READY),
|
547
|
-
is_client(is_client),
|
548
650
|
next_stream_id(is_client ? 1 : 2),
|
651
|
+
ping_abuse_policy(channel_args),
|
652
|
+
ping_rate_policy(channel_args, is_client),
|
549
653
|
flow_control(
|
550
654
|
peer_string.as_string_view(),
|
551
655
|
channel_args.GetBool(GRPC_ARG_HTTP2_BDP_PROBE).value_or(true),
|
552
656
|
&memory_owner),
|
553
657
|
deframe_state(is_client ? GRPC_DTS_FH_0 : GRPC_DTS_CLIENT_PREFIX_0),
|
554
|
-
|
555
|
-
channel_args
|
556
|
-
.GetObjectRef<grpc_event_engine::experimental::EventEngine>()) {
|
658
|
+
is_client(is_client) {
|
557
659
|
cl = new grpc_core::ContextList();
|
558
660
|
GPR_ASSERT(strlen(GRPC_CHTTP2_CLIENT_CONNECT_STRING) ==
|
559
661
|
GRPC_CHTTP2_CLIENT_CONNECT_STRLEN);
|
560
|
-
base.vtable = get_vtable();
|
561
662
|
|
562
663
|
grpc_slice_buffer_init(&read_buffer);
|
563
|
-
grpc_slice_buffer_init(&outbuf);
|
564
664
|
if (is_client) {
|
565
|
-
grpc_slice_buffer_add(
|
566
|
-
|
665
|
+
grpc_slice_buffer_add(
|
666
|
+
outbuf.c_slice_buffer(),
|
667
|
+
grpc_slice_from_copied_string(GRPC_CHTTP2_CLIENT_CONNECT_STRING));
|
567
668
|
}
|
568
669
|
grpc_slice_buffer_init(&qbuf);
|
569
|
-
// copy in initial settings to all setting sets
|
570
|
-
size_t i;
|
571
|
-
int j;
|
572
|
-
for (i = 0; i < GRPC_CHTTP2_NUM_SETTINGS; i++) {
|
573
|
-
for (j = 0; j < GRPC_NUM_SETTING_SETS; j++) {
|
574
|
-
settings[j][i] = grpc_chttp2_settings_parameters[i].default_value;
|
575
|
-
}
|
576
|
-
}
|
577
670
|
grpc_chttp2_goaway_parser_init(&goaway_parser);
|
578
671
|
|
579
672
|
// configure http2 the way we like it
|
580
673
|
if (is_client) {
|
581
|
-
|
582
|
-
|
674
|
+
settings.mutable_local().SetEnablePush(false);
|
675
|
+
settings.mutable_local().SetMaxConcurrentStreams(0);
|
583
676
|
}
|
584
|
-
|
585
|
-
|
586
|
-
queue_setting_update(this,
|
587
|
-
GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA, 1);
|
677
|
+
settings.mutable_local().SetMaxHeaderListSize(DEFAULT_MAX_HEADER_LIST_SIZE);
|
678
|
+
settings.mutable_local().SetAllowTrueBinaryMetadata(true);
|
588
679
|
|
589
680
|
read_channel_args(this, channel_args, is_client);
|
590
681
|
|
591
|
-
//
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
ping_recv_state.last_ping_recv_time = grpc_core::Timestamp::InfPast();
|
596
|
-
ping_recv_state.ping_strikes = 0;
|
682
|
+
// Initially allow *UP TO* MAX_CONCURRENT_STREAMS incoming before we start
|
683
|
+
// blanket cancelling them.
|
684
|
+
num_incoming_streams_before_settings_ack =
|
685
|
+
settings.local().max_concurrent_streams();
|
597
686
|
|
598
687
|
grpc_core::ExecCtx exec_ctx;
|
599
688
|
combiner->Run(
|
600
|
-
|
601
|
-
|
689
|
+
grpc_core::InitTransportClosure<init_keepalive_pings_if_enabled_locked>(
|
690
|
+
Ref(), &init_keepalive_ping_locked),
|
602
691
|
absl::OkStatus());
|
603
692
|
|
604
693
|
if (flow_control.bdp_probe()) {
|
@@ -623,21 +712,20 @@ grpc_chttp2_transport::grpc_chttp2_transport(
|
|
623
712
|
}
|
624
713
|
|
625
714
|
static void destroy_transport_locked(void* tp, grpc_error_handle /*error*/) {
|
626
|
-
grpc_chttp2_transport
|
715
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t(
|
716
|
+
static_cast<grpc_chttp2_transport*>(tp));
|
627
717
|
t->destroying = 1;
|
628
718
|
close_transport_locked(
|
629
|
-
t
|
630
|
-
|
631
|
-
|
719
|
+
t.get(),
|
720
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("Transport destroyed"),
|
721
|
+
grpc_core::StatusIntProperty::kOccurredDuringWrite,
|
722
|
+
t->write_state));
|
632
723
|
t->memory_owner.Reset();
|
633
|
-
// Must be the last line.
|
634
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "destroy");
|
635
724
|
}
|
636
725
|
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
absl::OkStatus());
|
726
|
+
void grpc_chttp2_transport::Orphan() {
|
727
|
+
combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, this, nullptr),
|
728
|
+
absl::OkStatus());
|
641
729
|
}
|
642
730
|
|
643
731
|
static void close_transport_locked(grpc_chttp2_transport* t,
|
@@ -663,39 +751,33 @@ static void close_transport_locked(grpc_chttp2_transport* t,
|
|
663
751
|
t->closed_with_error = error;
|
664
752
|
connectivity_state_set(t, GRPC_CHANNEL_SHUTDOWN, absl::Status(),
|
665
753
|
"close_transport");
|
666
|
-
if (t->
|
667
|
-
|
668
|
-
|
669
|
-
t->ping_state.delayed_ping_timer_handle.reset();
|
670
|
-
}
|
754
|
+
if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
|
755
|
+
t->event_engine->Cancel(std::exchange(t->keepalive_ping_timeout_handle,
|
756
|
+
TaskHandle::kInvalid));
|
671
757
|
}
|
672
|
-
if (t->
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
758
|
+
if (t->settings_ack_watchdog != TaskHandle::kInvalid) {
|
759
|
+
t->event_engine->Cancel(
|
760
|
+
std::exchange(t->settings_ack_watchdog, TaskHandle::kInvalid));
|
761
|
+
}
|
762
|
+
if (t->delayed_ping_timer_handle != TaskHandle::kInvalid &&
|
763
|
+
t->event_engine->Cancel(t->delayed_ping_timer_handle)) {
|
764
|
+
t->delayed_ping_timer_handle = TaskHandle::kInvalid;
|
765
|
+
}
|
766
|
+
if (t->next_bdp_ping_timer_handle != TaskHandle::kInvalid &&
|
767
|
+
t->event_engine->Cancel(t->next_bdp_ping_timer_handle)) {
|
768
|
+
t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
|
677
769
|
}
|
678
770
|
switch (t->keepalive_state) {
|
679
771
|
case GRPC_CHTTP2_KEEPALIVE_STATE_WAITING:
|
680
|
-
if (t->keepalive_ping_timer_handle
|
681
|
-
|
682
|
-
|
683
|
-
t->keepalive_ping_timer_handle.reset();
|
684
|
-
}
|
772
|
+
if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
|
773
|
+
t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
|
774
|
+
t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
|
685
775
|
}
|
686
776
|
break;
|
687
777
|
case GRPC_CHTTP2_KEEPALIVE_STATE_PINGING:
|
688
|
-
if (t->keepalive_ping_timer_handle
|
689
|
-
|
690
|
-
|
691
|
-
t->keepalive_ping_timer_handle.reset();
|
692
|
-
}
|
693
|
-
}
|
694
|
-
if (t->keepalive_watchdog_timer_handle.has_value()) {
|
695
|
-
if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
|
696
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive watchdog");
|
697
|
-
t->keepalive_watchdog_timer_handle.reset();
|
698
|
-
}
|
778
|
+
if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
|
779
|
+
t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
|
780
|
+
t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
|
699
781
|
}
|
700
782
|
break;
|
701
783
|
case GRPC_CHTTP2_KEEPALIVE_STATE_DYING:
|
@@ -739,24 +821,27 @@ void grpc_chttp2_stream_unref(grpc_chttp2_stream* s) {
|
|
739
821
|
}
|
740
822
|
#endif
|
741
823
|
|
742
|
-
grpc_chttp2_stream::Reffer::Reffer(grpc_chttp2_stream* s) {
|
743
|
-
// We reserve one 'active stream' that's dropped when the stream is
|
744
|
-
// read-closed. The others are for Chttp2IncomingByteStreams that are
|
745
|
-
// actively reading
|
746
|
-
GRPC_CHTTP2_STREAM_REF(s, "chttp2");
|
747
|
-
GRPC_CHTTP2_REF_TRANSPORT(s->t, "stream");
|
748
|
-
}
|
749
|
-
|
750
824
|
grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
|
751
825
|
grpc_stream_refcount* refcount,
|
752
826
|
const void* server_data,
|
753
827
|
grpc_core::Arena* arena)
|
754
|
-
: t(t),
|
755
|
-
refcount(refcount)
|
756
|
-
|
828
|
+
: t(t->Ref()),
|
829
|
+
refcount([refcount]() {
|
830
|
+
// We reserve one 'active stream' that's dropped when the stream is
|
831
|
+
// read-closed. The others are for Chttp2IncomingByteStreams that are
|
832
|
+
// actively reading
|
833
|
+
// We do this here to avoid cache misses.
|
834
|
+
#ifndef NDEBUG
|
835
|
+
grpc_stream_ref(refcount, "chttp2");
|
836
|
+
#else
|
837
|
+
grpc_stream_ref(refcount);
|
838
|
+
#endif
|
839
|
+
return refcount;
|
840
|
+
}()),
|
757
841
|
initial_metadata_buffer(arena),
|
758
842
|
trailing_metadata_buffer(arena),
|
759
843
|
flow_control(&t->flow_control) {
|
844
|
+
t->streams_allocated.fetch_add(1, std::memory_order_relaxed);
|
760
845
|
if (server_data) {
|
761
846
|
id = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(server_data));
|
762
847
|
if (grpc_http_trace.enabled()) {
|
@@ -773,8 +858,9 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
|
|
773
858
|
}
|
774
859
|
|
775
860
|
grpc_chttp2_stream::~grpc_chttp2_stream() {
|
776
|
-
|
777
|
-
|
861
|
+
t->streams_allocated.fetch_sub(1, std::memory_order_relaxed);
|
862
|
+
grpc_chttp2_list_remove_stalled_by_stream(t.get(), this);
|
863
|
+
grpc_chttp2_list_remove_stalled_by_transport(t.get(), this);
|
778
864
|
|
779
865
|
if (t->channelz_socket != nullptr) {
|
780
866
|
if ((t->is_client && eos_received) || (!t->is_client && eos_sent)) {
|
@@ -805,16 +891,14 @@ grpc_chttp2_stream::~grpc_chttp2_stream() {
|
|
805
891
|
GPR_ASSERT(recv_message_ready == nullptr);
|
806
892
|
GPR_ASSERT(recv_trailing_metadata_finished == nullptr);
|
807
893
|
grpc_slice_buffer_destroy(&flow_controlled_buffer);
|
808
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "stream");
|
809
894
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, destroy_stream_arg, absl::OkStatus());
|
810
895
|
}
|
811
896
|
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
new (gs) grpc_chttp2_stream(
|
817
|
-
return 0;
|
897
|
+
void grpc_chttp2_transport::InitStream(grpc_stream* gs,
|
898
|
+
grpc_stream_refcount* refcount,
|
899
|
+
const void* server_data,
|
900
|
+
grpc_core::Arena* arena) {
|
901
|
+
new (gs) grpc_chttp2_stream(this, refcount, server_data, arena);
|
818
902
|
}
|
819
903
|
|
820
904
|
static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
|
@@ -822,13 +906,12 @@ static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
|
|
822
906
|
s->~grpc_chttp2_stream();
|
823
907
|
}
|
824
908
|
|
825
|
-
|
826
|
-
|
827
|
-
grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
|
909
|
+
void grpc_chttp2_transport::DestroyStream(grpc_stream* gs,
|
910
|
+
grpc_closure* then_schedule_closure) {
|
828
911
|
grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
|
829
912
|
|
830
913
|
s->destroy_stream_arg = then_schedule_closure;
|
831
|
-
|
914
|
+
combiner->Run(
|
832
915
|
GRPC_CLOSURE_INIT(&s->destroy_stream, destroy_stream_locked, s, nullptr),
|
833
916
|
absl::OkStatus());
|
834
917
|
}
|
@@ -841,7 +924,7 @@ grpc_chttp2_stream* grpc_chttp2_parsing_accept_stream(grpc_chttp2_transport* t,
|
|
841
924
|
grpc_chttp2_stream* accepting = nullptr;
|
842
925
|
GPR_ASSERT(t->accepting_stream == nullptr);
|
843
926
|
t->accepting_stream = &accepting;
|
844
|
-
t->accept_stream_cb(t->accept_stream_cb_user_data,
|
927
|
+
t->accept_stream_cb(t->accept_stream_cb_user_data, t,
|
845
928
|
reinterpret_cast<void*>(id));
|
846
929
|
t->accepting_stream = nullptr;
|
847
930
|
return accepting;
|
@@ -893,7 +976,6 @@ void grpc_chttp2_initiate_write(grpc_chttp2_transport* t,
|
|
893
976
|
case GRPC_CHTTP2_WRITE_STATE_IDLE:
|
894
977
|
set_write_state(t, GRPC_CHTTP2_WRITE_STATE_WRITING,
|
895
978
|
grpc_chttp2_initiate_write_reason_string(reason));
|
896
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "writing");
|
897
979
|
// Note that the 'write_action_begin_locked' closure is being scheduled
|
898
980
|
// on the 'finally_scheduler' of t->combiner. This means that
|
899
981
|
// 'write_action_begin_locked' is called only *after* all the other
|
@@ -911,8 +993,8 @@ void grpc_chttp2_initiate_write(grpc_chttp2_transport* t,
|
|
911
993
|
// It does not call the endpoint to write the bytes. That is done by the
|
912
994
|
// 'write_action' (which is scheduled by 'write_action_begin_locked')
|
913
995
|
t->combiner->FinallyRun(
|
914
|
-
|
915
|
-
|
996
|
+
grpc_core::InitTransportClosure<write_action_begin_locked>(
|
997
|
+
t->Ref(), &t->write_action_begin_locked),
|
916
998
|
absl::OkStatus());
|
917
999
|
break;
|
918
1000
|
case GRPC_CHTTP2_WRITE_STATE_WRITING:
|
@@ -939,22 +1021,22 @@ static const char* begin_writing_desc(bool partial) {
|
|
939
1021
|
}
|
940
1022
|
}
|
941
1023
|
|
942
|
-
static void write_action_begin_locked(
|
943
|
-
|
944
|
-
|
1024
|
+
static void write_action_begin_locked(
|
1025
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
1026
|
+
grpc_error_handle /*error_ignored*/) {
|
945
1027
|
GPR_ASSERT(t->write_state != GRPC_CHTTP2_WRITE_STATE_IDLE);
|
946
1028
|
grpc_chttp2_begin_write_result r;
|
947
1029
|
if (!t->closed_with_error.ok()) {
|
948
1030
|
r.writing = false;
|
949
1031
|
} else {
|
950
|
-
r = grpc_chttp2_begin_write(t);
|
1032
|
+
r = grpc_chttp2_begin_write(t.get());
|
951
1033
|
}
|
952
1034
|
if (r.writing) {
|
953
|
-
set_write_state(t,
|
1035
|
+
set_write_state(t.get(),
|
954
1036
|
r.partial ? GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE
|
955
1037
|
: GRPC_CHTTP2_WRITE_STATE_WRITING,
|
956
1038
|
begin_writing_desc(r.partial));
|
957
|
-
write_action(t
|
1039
|
+
write_action(t.get());
|
958
1040
|
if (t->reading_paused_on_pending_induced_frames) {
|
959
1041
|
GPR_ASSERT(t->num_pending_induced_frames == 0);
|
960
1042
|
// We had paused reading, because we had many induced frames (SETTINGS
|
@@ -964,18 +1046,17 @@ static void write_action_begin_locked(void* gt,
|
|
964
1046
|
GPR_INFO,
|
965
1047
|
"transport %p : Resuming reading after being paused due to too "
|
966
1048
|
"many unwritten SETTINGS ACK, PINGS ACK and RST_STREAM frames",
|
967
|
-
t));
|
1049
|
+
t.get()));
|
968
1050
|
t->reading_paused_on_pending_induced_frames = false;
|
969
|
-
continue_read_action_locked(t);
|
1051
|
+
continue_read_action_locked(std::move(t));
|
970
1052
|
}
|
971
1053
|
} else {
|
972
|
-
set_write_state(t, GRPC_CHTTP2_WRITE_STATE_IDLE,
|
973
|
-
|
1054
|
+
set_write_state(t.get(), GRPC_CHTTP2_WRITE_STATE_IDLE,
|
1055
|
+
"begin writing nothing");
|
974
1056
|
}
|
975
1057
|
}
|
976
1058
|
|
977
|
-
static void write_action(
|
978
|
-
grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(gt);
|
1059
|
+
static void write_action(grpc_chttp2_transport* t) {
|
979
1060
|
void* cl = t->cl;
|
980
1061
|
if (!t->cl->empty()) {
|
981
1062
|
// Transfer the ownership of the context list to the endpoint and create and
|
@@ -991,36 +1072,45 @@ static void write_action(void* gt, grpc_error_handle /*error*/) {
|
|
991
1072
|
// Choose max_frame_size as the prefered rx crypto frame size indicated by the
|
992
1073
|
// peer.
|
993
1074
|
int max_frame_size =
|
994
|
-
t->settings
|
995
|
-
[GRPC_PEER_SETTINGS]
|
996
|
-
[GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE];
|
1075
|
+
t->settings.peer().preferred_receive_crypto_message_size();
|
997
1076
|
// Note: max frame size is 0 if the remote peer does not support adjusting the
|
998
1077
|
// sending frame size.
|
999
1078
|
if (max_frame_size == 0) {
|
1000
1079
|
max_frame_size = INT_MAX;
|
1001
1080
|
}
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1081
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
|
1082
|
+
gpr_log(GPR_INFO, "%s[%p]: Write %" PRIdPTR " bytes",
|
1083
|
+
t->is_client ? "CLIENT" : "SERVER", t, t->outbuf.Length());
|
1084
|
+
}
|
1085
|
+
t->write_size_policy.BeginWrite(t->outbuf.Length());
|
1086
|
+
grpc_endpoint_write(t->ep, t->outbuf.c_slice_buffer(),
|
1087
|
+
grpc_core::InitTransportClosure<write_action_end>(
|
1088
|
+
t->Ref(), &t->write_action_end_locked),
|
1089
|
+
cl, max_frame_size);
|
1007
1090
|
}
|
1008
1091
|
|
1009
|
-
static void write_action_end(
|
1010
|
-
|
1011
|
-
t
|
1012
|
-
|
1013
|
-
|
1092
|
+
static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
1093
|
+
grpc_error_handle error) {
|
1094
|
+
auto* tp = t.get();
|
1095
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
|
1096
|
+
gpr_log(GPR_INFO, "%s[%p]: Finish write",
|
1097
|
+
t->is_client ? "CLIENT" : "SERVER", t.get());
|
1098
|
+
}
|
1099
|
+
tp->combiner->Run(grpc_core::InitTransportClosure<write_action_end_locked>(
|
1100
|
+
std::move(t), &tp->write_action_end_locked),
|
1101
|
+
error);
|
1014
1102
|
}
|
1015
1103
|
|
1016
1104
|
// Callback from the grpc_endpoint after bytes have been written by calling
|
1017
1105
|
// sendmsg
|
1018
|
-
static void write_action_end_locked(
|
1019
|
-
|
1106
|
+
static void write_action_end_locked(
|
1107
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
1108
|
+
grpc_error_handle error) {
|
1109
|
+
t->write_size_policy.EndWrite(error.ok());
|
1020
1110
|
|
1021
1111
|
bool closed = false;
|
1022
1112
|
if (!error.ok()) {
|
1023
|
-
close_transport_locked(t, error);
|
1113
|
+
close_transport_locked(t.get(), error);
|
1024
1114
|
closed = true;
|
1025
1115
|
}
|
1026
1116
|
|
@@ -1028,7 +1118,7 @@ static void write_action_end_locked(void* tp, grpc_error_handle error) {
|
|
1028
1118
|
t->sent_goaway_state = GRPC_CHTTP2_FINAL_GOAWAY_SENT;
|
1029
1119
|
closed = true;
|
1030
1120
|
if (t->stream_map.empty()) {
|
1031
|
-
close_transport_locked(t, GRPC_ERROR_CREATE("goaway sent"));
|
1121
|
+
close_transport_locked(t.get(), GRPC_ERROR_CREATE("goaway sent"));
|
1032
1122
|
}
|
1033
1123
|
}
|
1034
1124
|
|
@@ -1036,11 +1126,11 @@ static void write_action_end_locked(void* tp, grpc_error_handle error) {
|
|
1036
1126
|
case GRPC_CHTTP2_WRITE_STATE_IDLE:
|
1037
1127
|
GPR_UNREACHABLE_CODE(break);
|
1038
1128
|
case GRPC_CHTTP2_WRITE_STATE_WRITING:
|
1039
|
-
set_write_state(t, GRPC_CHTTP2_WRITE_STATE_IDLE, "finish writing");
|
1129
|
+
set_write_state(t.get(), GRPC_CHTTP2_WRITE_STATE_IDLE, "finish writing");
|
1040
1130
|
break;
|
1041
1131
|
case GRPC_CHTTP2_WRITE_STATE_WRITING_WITH_MORE:
|
1042
|
-
set_write_state(t, GRPC_CHTTP2_WRITE_STATE_WRITING,
|
1043
|
-
|
1132
|
+
set_write_state(t.get(), GRPC_CHTTP2_WRITE_STATE_WRITING,
|
1133
|
+
"continue writing");
|
1044
1134
|
// If the transport is closed, we will retry writing on the endpoint
|
1045
1135
|
// and next write may contain part of the currently serialized frames.
|
1046
1136
|
// So, we should only call the run_after_write callbacks when the next
|
@@ -1050,42 +1140,24 @@ static void write_action_end_locked(void* tp, grpc_error_handle error) {
|
|
1050
1140
|
grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &t->run_after_write);
|
1051
1141
|
}
|
1052
1142
|
t->combiner->FinallyRun(
|
1053
|
-
|
1054
|
-
|
1143
|
+
grpc_core::InitTransportClosure<write_action_begin_locked>(
|
1144
|
+
t, &t->write_action_begin_locked),
|
1055
1145
|
absl::OkStatus());
|
1056
1146
|
break;
|
1057
1147
|
}
|
1058
1148
|
|
1059
|
-
grpc_chttp2_end_write(t, error);
|
1060
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "writing");
|
1061
|
-
}
|
1062
|
-
|
1063
|
-
// Dirties an HTTP2 setting to be sent out next time a writing path occurs.
|
1064
|
-
// If the change needs to occur immediately, manually initiate a write.
|
1065
|
-
static void queue_setting_update(grpc_chttp2_transport* t,
|
1066
|
-
grpc_chttp2_setting_id id, uint32_t value) {
|
1067
|
-
const grpc_chttp2_setting_parameters* sp =
|
1068
|
-
&grpc_chttp2_settings_parameters[id];
|
1069
|
-
uint32_t use_value = grpc_core::Clamp(value, sp->min_value, sp->max_value);
|
1070
|
-
if (use_value != value) {
|
1071
|
-
gpr_log(GPR_INFO, "Requested parameter %s clamped from %d to %d", sp->name,
|
1072
|
-
value, use_value);
|
1073
|
-
}
|
1074
|
-
if (use_value != t->settings[GRPC_LOCAL_SETTINGS][id]) {
|
1075
|
-
t->settings[GRPC_LOCAL_SETTINGS][id] = use_value;
|
1076
|
-
t->dirtied_local_settings = true;
|
1077
|
-
}
|
1149
|
+
grpc_chttp2_end_write(t.get(), error);
|
1078
1150
|
}
|
1079
1151
|
|
1080
1152
|
// Cancel out streams that haven't yet started if we have received a GOAWAY
|
1081
1153
|
static void cancel_unstarted_streams(grpc_chttp2_transport* t,
|
1082
|
-
grpc_error_handle error) {
|
1154
|
+
grpc_error_handle error, bool tarpit) {
|
1083
1155
|
grpc_chttp2_stream* s;
|
1084
1156
|
while (grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
|
1085
1157
|
s->trailing_metadata_buffer.Set(
|
1086
1158
|
grpc_core::GrpcStreamNetworkState(),
|
1087
1159
|
grpc_core::GrpcStreamNetworkState::kNotSentOnWire);
|
1088
|
-
grpc_chttp2_cancel_stream(t, s, error);
|
1160
|
+
grpc_chttp2_cancel_stream(t, s, error, tarpit);
|
1089
1161
|
}
|
1090
1162
|
}
|
1091
1163
|
|
@@ -1118,7 +1190,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
|
|
1118
1190
|
grpc_core::StatusToString(t->goaway_error).c_str());
|
1119
1191
|
}
|
1120
1192
|
if (t->is_client) {
|
1121
|
-
cancel_unstarted_streams(t, t->goaway_error);
|
1193
|
+
cancel_unstarted_streams(t, t->goaway_error, false);
|
1122
1194
|
// Cancel all unseen streams
|
1123
1195
|
std::vector<grpc_chttp2_stream*> to_cancel;
|
1124
1196
|
for (auto id_stream : t->stream_map) {
|
@@ -1130,7 +1202,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
|
|
1130
1202
|
s->trailing_metadata_buffer.Set(
|
1131
1203
|
grpc_core::GrpcStreamNetworkState(),
|
1132
1204
|
grpc_core::GrpcStreamNetworkState::kNotSeenByServer);
|
1133
|
-
grpc_chttp2_cancel_stream(s->t, s, s->t->goaway_error);
|
1205
|
+
grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error, false);
|
1134
1206
|
}
|
1135
1207
|
}
|
1136
1208
|
absl::Status status = grpc_error_to_absl_status(t->goaway_error);
|
@@ -1169,15 +1241,13 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
|
|
1169
1241
|
// maybe cancel out streams that haven't yet started if we have received a
|
1170
1242
|
// GOAWAY
|
1171
1243
|
if (!t->goaway_error.ok()) {
|
1172
|
-
cancel_unstarted_streams(t, t->goaway_error);
|
1244
|
+
cancel_unstarted_streams(t, t->goaway_error, false);
|
1173
1245
|
return;
|
1174
1246
|
}
|
1175
1247
|
// start streams where we have free grpc_chttp2_stream ids and free
|
1176
1248
|
// * concurrency
|
1177
1249
|
while (t->next_stream_id <= MAX_CLIENT_STREAM_ID &&
|
1178
|
-
t->stream_map.size() <
|
1179
|
-
t->settings[GRPC_PEER_SETTINGS]
|
1180
|
-
[GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS] &&
|
1250
|
+
t->stream_map.size() < t->settings.peer().max_concurrent_streams() &&
|
1181
1251
|
grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
|
1182
1252
|
// safe since we can't (legally) be parsing this stream yet
|
1183
1253
|
GRPC_CHTTP2_IF_TRACING(gpr_log(
|
@@ -1211,7 +1281,8 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
|
|
1211
1281
|
t, s,
|
1212
1282
|
grpc_error_set_int(GRPC_ERROR_CREATE("Stream IDs exhausted"),
|
1213
1283
|
grpc_core::StatusIntProperty::kRpcStatus,
|
1214
|
-
GRPC_STATUS_UNAVAILABLE)
|
1284
|
+
GRPC_STATUS_UNAVAILABLE),
|
1285
|
+
false);
|
1215
1286
|
}
|
1216
1287
|
}
|
1217
1288
|
}
|
@@ -1259,9 +1330,8 @@ void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t,
|
|
1259
1330
|
write_state_name(t->write_state), whence.file(), whence.line());
|
1260
1331
|
}
|
1261
1332
|
|
1262
|
-
|
1263
|
-
|
1264
|
-
tracer->RecordAnnotation(
|
1333
|
+
if (s->call_tracer) {
|
1334
|
+
s->call_tracer->RecordAnnotation(
|
1265
1335
|
absl::StrFormat("on_complete: s=%p %p desc=%s err=%s", s, closure, desc,
|
1266
1336
|
grpc_core::StatusToString(error).c_str()));
|
1267
1337
|
}
|
@@ -1319,10 +1389,12 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1319
1389
|
grpc_chttp2_stream* s =
|
1320
1390
|
static_cast<grpc_chttp2_stream*>(op->handler_private.extra_arg);
|
1321
1391
|
grpc_transport_stream_op_batch_payload* op_payload = op->payload;
|
1322
|
-
grpc_chttp2_transport* t = s->t;
|
1392
|
+
grpc_chttp2_transport* t = s->t.get();
|
1323
1393
|
|
1324
1394
|
s->context = op->payload->context;
|
1325
1395
|
s->traced = op->is_traced;
|
1396
|
+
s->call_tracer = CallTracerIfSampled(s);
|
1397
|
+
s->tcp_tracer = TcpTracerIfSampled(s);
|
1326
1398
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
|
1327
1399
|
gpr_log(GPR_INFO,
|
1328
1400
|
"perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s,
|
@@ -1338,9 +1410,8 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1338
1410
|
}
|
1339
1411
|
}
|
1340
1412
|
|
1341
|
-
|
1342
|
-
|
1343
|
-
tracer->RecordAnnotation(absl::StrFormat(
|
1413
|
+
if (s->call_tracer) {
|
1414
|
+
s->call_tracer->RecordAnnotation(absl::StrFormat(
|
1344
1415
|
"perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s, op,
|
1345
1416
|
grpc_transport_stream_op_batch_string(op, true).c_str(),
|
1346
1417
|
op->on_complete));
|
@@ -1356,10 +1427,16 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1356
1427
|
}
|
1357
1428
|
|
1358
1429
|
if (op->cancel_stream) {
|
1359
|
-
grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error
|
1430
|
+
grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error,
|
1431
|
+
op_payload->cancel_stream.tarpit);
|
1360
1432
|
}
|
1361
1433
|
|
1362
1434
|
if (op->send_initial_metadata) {
|
1435
|
+
if (s->call_tracer) {
|
1436
|
+
s->call_tracer->RecordAnnotation(grpc_core::HttpAnnotation(
|
1437
|
+
grpc_core::HttpAnnotation::Type::kStart, gpr_now(GPR_CLOCK_REALTIME),
|
1438
|
+
s->t->flow_control.stats(), s->flow_control.stats()));
|
1439
|
+
}
|
1363
1440
|
if (t->is_client && t->channelz_socket != nullptr) {
|
1364
1441
|
t->channelz_socket->RecordStreamStartedFromLocal();
|
1365
1442
|
}
|
@@ -1394,7 +1471,8 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1394
1471
|
GRPC_ERROR_CREATE_REFERENCING("Transport closed",
|
1395
1472
|
&t->closed_with_error, 1),
|
1396
1473
|
grpc_core::StatusIntProperty::kRpcStatus,
|
1397
|
-
GRPC_STATUS_UNAVAILABLE)
|
1474
|
+
GRPC_STATUS_UNAVAILABLE),
|
1475
|
+
false);
|
1398
1476
|
}
|
1399
1477
|
} else {
|
1400
1478
|
GPR_ASSERT(s->id != 0);
|
@@ -1441,6 +1519,11 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1441
1519
|
frame_hdr[3] = static_cast<uint8_t>(len >> 8);
|
1442
1520
|
frame_hdr[4] = static_cast<uint8_t>(len);
|
1443
1521
|
|
1522
|
+
if (grpc_core::IsHttp2StatsFixEnabled()) {
|
1523
|
+
s->stats.outgoing.framing_bytes += GRPC_HEADER_SIZE_IN_BYTES;
|
1524
|
+
s->stats.outgoing.data_bytes +=
|
1525
|
+
op_payload->send_message.send_message->Length();
|
1526
|
+
}
|
1444
1527
|
s->next_message_end_offset =
|
1445
1528
|
s->flow_controlled_bytes_written +
|
1446
1529
|
static_cast<int64_t>(s->flow_controlled_buffer.length) +
|
@@ -1567,12 +1650,11 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1567
1650
|
GRPC_CHTTP2_STREAM_UNREF(s, "perform_stream_op");
|
1568
1651
|
}
|
1569
1652
|
|
1570
|
-
|
1571
|
-
|
1572
|
-
grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
|
1653
|
+
void grpc_chttp2_transport::PerformStreamOp(
|
1654
|
+
grpc_stream* gs, grpc_transport_stream_op_batch* op) {
|
1573
1655
|
grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
|
1574
1656
|
|
1575
|
-
if (!
|
1657
|
+
if (!is_client) {
|
1576
1658
|
if (op->send_initial_metadata) {
|
1577
1659
|
GPR_ASSERT(!op->payload->send_initial_metadata.send_initial_metadata
|
1578
1660
|
->get(grpc_core::GrpcTimeoutMetadata())
|
@@ -1592,9 +1674,9 @@ static void perform_stream_op(grpc_transport* gt, grpc_stream* gs,
|
|
1592
1674
|
|
1593
1675
|
GRPC_CHTTP2_STREAM_REF(s, "perform_stream_op");
|
1594
1676
|
op->handler_private.extra_arg = gs;
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1677
|
+
combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
|
1678
|
+
perform_stream_op_locked, op, nullptr),
|
1679
|
+
absl::OkStatus());
|
1598
1680
|
}
|
1599
1681
|
|
1600
1682
|
static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
|
@@ -1602,14 +1684,38 @@ static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
|
|
1602
1684
|
grpc_core::StatusToString(error).c_str()));
|
1603
1685
|
// callback remaining pings: they're not allowed to call into the transport,
|
1604
1686
|
// and maybe they hold resources that need to be freed
|
1605
|
-
|
1606
|
-
GPR_ASSERT(!error.ok());
|
1607
|
-
for (size_t j = 0; j < GRPC_CHTTP2_PCL_COUNT; j++) {
|
1608
|
-
grpc_closure_list_fail_all(&pq->lists[j], error);
|
1609
|
-
grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &pq->lists[j]);
|
1610
|
-
}
|
1687
|
+
t->ping_callbacks.CancelAll(t->event_engine.get());
|
1611
1688
|
}
|
1612
1689
|
|
1690
|
+
namespace {
|
1691
|
+
class PingClosureWrapper {
|
1692
|
+
public:
|
1693
|
+
explicit PingClosureWrapper(grpc_closure* closure) : closure_(closure) {}
|
1694
|
+
PingClosureWrapper(const PingClosureWrapper&) = delete;
|
1695
|
+
PingClosureWrapper& operator=(const PingClosureWrapper&) = delete;
|
1696
|
+
PingClosureWrapper(PingClosureWrapper&& other) noexcept
|
1697
|
+
: closure_(other.Take()) {}
|
1698
|
+
PingClosureWrapper& operator=(PingClosureWrapper&& other) noexcept {
|
1699
|
+
std::swap(closure_, other.closure_);
|
1700
|
+
return *this;
|
1701
|
+
}
|
1702
|
+
~PingClosureWrapper() {
|
1703
|
+
if (closure_ != nullptr) {
|
1704
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure_, absl::CancelledError());
|
1705
|
+
}
|
1706
|
+
}
|
1707
|
+
|
1708
|
+
void operator()() {
|
1709
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, Take(), absl::OkStatus());
|
1710
|
+
}
|
1711
|
+
|
1712
|
+
private:
|
1713
|
+
grpc_closure* Take() { return std::exchange(closure_, nullptr); }
|
1714
|
+
|
1715
|
+
grpc_closure* closure_ = nullptr;
|
1716
|
+
};
|
1717
|
+
} // namespace
|
1718
|
+
|
1613
1719
|
static void send_ping_locked(grpc_chttp2_transport* t,
|
1614
1720
|
grpc_closure* on_initiate, grpc_closure* on_ack) {
|
1615
1721
|
if (!t->closed_with_error.ok()) {
|
@@ -1617,82 +1723,119 @@ static void send_ping_locked(grpc_chttp2_transport* t,
|
|
1617
1723
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_ack, t->closed_with_error);
|
1618
1724
|
return;
|
1619
1725
|
}
|
1620
|
-
|
1621
|
-
|
1622
|
-
absl::OkStatus());
|
1623
|
-
grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_NEXT], on_ack,
|
1624
|
-
absl::OkStatus());
|
1726
|
+
t->ping_callbacks.OnPing(PingClosureWrapper(on_initiate),
|
1727
|
+
PingClosureWrapper(on_ack));
|
1625
1728
|
}
|
1626
1729
|
|
1627
1730
|
// Specialized form of send_ping_locked for keepalive ping. If there is already
|
1628
1731
|
// a ping in progress, the keepalive ping would piggyback onto that ping,
|
1629
1732
|
// instead of waiting for that ping to complete and then starting a new ping.
|
1630
|
-
static void send_keepalive_ping_locked(
|
1733
|
+
static void send_keepalive_ping_locked(
|
1734
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1631
1735
|
if (!t->closed_with_error.ok()) {
|
1632
|
-
t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
|
1633
|
-
start_keepalive_ping_locked, t, nullptr),
|
1634
|
-
t->closed_with_error);
|
1635
1736
|
t->combiner->Run(
|
1636
|
-
|
1637
|
-
|
1737
|
+
grpc_core::InitTransportClosure<finish_keepalive_ping_locked>(
|
1738
|
+
t->Ref(), &t->finish_keepalive_ping_locked),
|
1638
1739
|
t->closed_with_error);
|
1639
1740
|
return;
|
1640
1741
|
}
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
|
1645
|
-
start_keepalive_ping_locked, t, nullptr),
|
1646
|
-
t->closed_with_error);
|
1647
|
-
grpc_closure_list_append(
|
1648
|
-
&pq->lists[GRPC_CHTTP2_PCL_INFLIGHT],
|
1649
|
-
GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
|
1650
|
-
finish_keepalive_ping, t, grpc_schedule_on_exec_ctx),
|
1651
|
-
absl::OkStatus());
|
1652
|
-
return;
|
1653
|
-
}
|
1654
|
-
grpc_closure_list_append(
|
1655
|
-
&pq->lists[GRPC_CHTTP2_PCL_INITIATE],
|
1656
|
-
GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked, start_keepalive_ping,
|
1657
|
-
t, grpc_schedule_on_exec_ctx),
|
1658
|
-
absl::OkStatus());
|
1659
|
-
grpc_closure_list_append(
|
1660
|
-
&pq->lists[GRPC_CHTTP2_PCL_NEXT],
|
1661
|
-
GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked, finish_keepalive_ping,
|
1662
|
-
t, grpc_schedule_on_exec_ctx),
|
1663
|
-
absl::OkStatus());
|
1742
|
+
t->ping_callbacks.OnPingAck(
|
1743
|
+
PingClosureWrapper(grpc_core::InitTransportClosure<finish_keepalive_ping>(
|
1744
|
+
t->Ref(), &t->finish_keepalive_ping_locked)));
|
1664
1745
|
}
|
1665
1746
|
|
1666
|
-
void grpc_chttp2_retry_initiate_ping(
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1747
|
+
void grpc_chttp2_retry_initiate_ping(
|
1748
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1749
|
+
auto tp = t.get();
|
1750
|
+
tp->combiner->Run(grpc_core::InitTransportClosure<retry_initiate_ping_locked>(
|
1751
|
+
std::move(t), &tp->retry_initiate_ping_locked),
|
1752
|
+
absl::OkStatus());
|
1670
1753
|
}
|
1671
1754
|
|
1672
|
-
static void retry_initiate_ping_locked(
|
1673
|
-
|
1755
|
+
static void retry_initiate_ping_locked(
|
1756
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
1757
|
+
GRPC_UNUSED grpc_error_handle error) {
|
1674
1758
|
GPR_DEBUG_ASSERT(error.ok());
|
1675
|
-
|
1676
|
-
|
1677
|
-
t
|
1678
|
-
|
1679
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "retry_initiate_ping_locked");
|
1759
|
+
GPR_ASSERT(t->delayed_ping_timer_handle != TaskHandle::kInvalid);
|
1760
|
+
t->delayed_ping_timer_handle = TaskHandle::kInvalid;
|
1761
|
+
grpc_chttp2_initiate_write(t.get(),
|
1762
|
+
GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING);
|
1680
1763
|
}
|
1681
1764
|
|
1682
1765
|
void grpc_chttp2_ack_ping(grpc_chttp2_transport* t, uint64_t id) {
|
1683
|
-
|
1684
|
-
if (pq->inflight_id != id) {
|
1766
|
+
if (!t->ping_callbacks.AckPing(id, t->event_engine.get())) {
|
1685
1767
|
gpr_log(GPR_DEBUG, "Unknown ping response from %s: %" PRIx64,
|
1686
1768
|
std::string(t->peer_string.as_string_view()).c_str(), id);
|
1687
1769
|
return;
|
1688
1770
|
}
|
1689
|
-
|
1690
|
-
&pq->lists[GRPC_CHTTP2_PCL_INFLIGHT]);
|
1691
|
-
if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_NEXT])) {
|
1771
|
+
if (t->ping_callbacks.ping_requested()) {
|
1692
1772
|
grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CONTINUE_PINGS);
|
1693
1773
|
}
|
1694
1774
|
}
|
1695
1775
|
|
1776
|
+
void grpc_chttp2_keepalive_timeout(
|
1777
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1778
|
+
t->combiner->Run(
|
1779
|
+
grpc_core::NewClosure([t](grpc_error_handle) {
|
1780
|
+
gpr_log(GPR_INFO, "%s: Keepalive timeout. Closing transport.",
|
1781
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
1782
|
+
send_goaway(
|
1783
|
+
t.get(),
|
1784
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("keepalive_timeout"),
|
1785
|
+
grpc_core::StatusIntProperty::kHttp2Error,
|
1786
|
+
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
1787
|
+
/*immediate_disconnect_hint=*/true);
|
1788
|
+
close_transport_locked(
|
1789
|
+
t.get(),
|
1790
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("keepalive timeout"),
|
1791
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1792
|
+
GRPC_STATUS_UNAVAILABLE));
|
1793
|
+
}),
|
1794
|
+
absl::OkStatus());
|
1795
|
+
}
|
1796
|
+
|
1797
|
+
void grpc_chttp2_ping_timeout(
|
1798
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1799
|
+
t->combiner->Run(
|
1800
|
+
grpc_core::NewClosure([t](grpc_error_handle) {
|
1801
|
+
gpr_log(GPR_INFO, "%s: Ping timeout. Closing transport.",
|
1802
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
1803
|
+
send_goaway(
|
1804
|
+
t.get(),
|
1805
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("ping_timeout"),
|
1806
|
+
grpc_core::StatusIntProperty::kHttp2Error,
|
1807
|
+
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
1808
|
+
/*immediate_disconnect_hint=*/true);
|
1809
|
+
close_transport_locked(
|
1810
|
+
t.get(),
|
1811
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("ping timeout"),
|
1812
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1813
|
+
GRPC_STATUS_UNAVAILABLE));
|
1814
|
+
}),
|
1815
|
+
absl::OkStatus());
|
1816
|
+
}
|
1817
|
+
|
1818
|
+
void grpc_chttp2_settings_timeout(
|
1819
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1820
|
+
t->combiner->Run(
|
1821
|
+
grpc_core::NewClosure([t](grpc_error_handle) {
|
1822
|
+
gpr_log(GPR_INFO, "%s: Settings timeout. Closing transport.",
|
1823
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
1824
|
+
send_goaway(
|
1825
|
+
t.get(),
|
1826
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("settings_timeout"),
|
1827
|
+
grpc_core::StatusIntProperty::kHttp2Error,
|
1828
|
+
GRPC_HTTP2_SETTINGS_TIMEOUT),
|
1829
|
+
/*immediate_disconnect_hint=*/true);
|
1830
|
+
close_transport_locked(
|
1831
|
+
t.get(),
|
1832
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("settings timeout"),
|
1833
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1834
|
+
GRPC_STATUS_UNAVAILABLE));
|
1835
|
+
}),
|
1836
|
+
absl::OkStatus());
|
1837
|
+
}
|
1838
|
+
|
1696
1839
|
namespace {
|
1697
1840
|
|
1698
1841
|
// Fire and forget (deletes itself on completion). Does a graceful shutdown by
|
@@ -1706,31 +1849,19 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
|
|
1706
1849
|
public:
|
1707
1850
|
static void Start(grpc_chttp2_transport* t) { new GracefulGoaway(t); }
|
1708
1851
|
|
1709
|
-
~GracefulGoaway() override {
|
1710
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t_, "graceful goaway");
|
1711
|
-
}
|
1712
|
-
|
1713
1852
|
private:
|
1714
1853
|
using TaskHandle = ::grpc_event_engine::experimental::EventEngine::TaskHandle;
|
1715
1854
|
|
1716
|
-
explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t) {
|
1855
|
+
explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t->Ref()) {
|
1717
1856
|
t->sent_goaway_state = GRPC_CHTTP2_GRACEFUL_GOAWAY;
|
1718
|
-
GRPC_CHTTP2_REF_TRANSPORT(t_, "graceful goaway");
|
1719
1857
|
grpc_chttp2_goaway_append((1u << 31) - 1, 0, grpc_empty_slice(), &t->qbuf);
|
1858
|
+
t->keepalive_timeout =
|
1859
|
+
std::min(t->keepalive_timeout, grpc_core::Duration::Seconds(20));
|
1860
|
+
t->ping_timeout =
|
1861
|
+
std::min(t->ping_timeout, grpc_core::Duration::Seconds(20));
|
1720
1862
|
send_ping_locked(
|
1721
1863
|
t, nullptr, GRPC_CLOSURE_INIT(&on_ping_ack_, OnPingAck, this, nullptr));
|
1722
1864
|
grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
|
1723
|
-
timer_handle_ = t_->event_engine->RunAfter(
|
1724
|
-
grpc_core::Duration::Seconds(20),
|
1725
|
-
[self = Ref(DEBUG_LOCATION, "GoawayTimer")]() mutable {
|
1726
|
-
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
1727
|
-
grpc_core::ExecCtx exec_ctx;
|
1728
|
-
// The ref will be unreffed in the combiner.
|
1729
|
-
auto* ptr = self.release();
|
1730
|
-
ptr->t_->combiner->Run(
|
1731
|
-
GRPC_CLOSURE_INIT(&ptr->on_timer_, OnTimerLocked, ptr, nullptr),
|
1732
|
-
absl::OkStatus());
|
1733
|
-
});
|
1734
1865
|
}
|
1735
1866
|
|
1736
1867
|
void MaybeSendFinalGoawayLocked() {
|
@@ -1743,7 +1874,7 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
|
|
1743
1874
|
gpr_log(GPR_INFO,
|
1744
1875
|
"transport:%p %s peer:%s Transport already shutting down. "
|
1745
1876
|
"Graceful GOAWAY abandoned.",
|
1746
|
-
t_, t_->is_client ? "CLIENT" : "SERVER",
|
1877
|
+
t_.get(), t_->is_client ? "CLIENT" : "SERVER",
|
1747
1878
|
std::string(t_->peer_string.as_string_view()).c_str()));
|
1748
1879
|
return;
|
1749
1880
|
}
|
@@ -1752,13 +1883,14 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
|
|
1752
1883
|
gpr_log(GPR_INFO,
|
1753
1884
|
"transport:%p %s peer:%s Graceful shutdown: Ping received. "
|
1754
1885
|
"Sending final GOAWAY with stream_id:%d",
|
1755
|
-
t_, t_->is_client ? "CLIENT" : "SERVER",
|
1886
|
+
t_.get(), t_->is_client ? "CLIENT" : "SERVER",
|
1756
1887
|
std::string(t_->peer_string.as_string_view()).c_str(),
|
1757
1888
|
t_->last_new_stream_id));
|
1758
1889
|
t_->sent_goaway_state = GRPC_CHTTP2_FINAL_GOAWAY_SEND_SCHEDULED;
|
1759
1890
|
grpc_chttp2_goaway_append(t_->last_new_stream_id, 0, grpc_empty_slice(),
|
1760
1891
|
&t_->qbuf);
|
1761
|
-
grpc_chttp2_initiate_write(t_,
|
1892
|
+
grpc_chttp2_initiate_write(t_.get(),
|
1893
|
+
GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
|
1762
1894
|
}
|
1763
1895
|
|
1764
1896
|
static void OnPingAck(void* arg, grpc_error_handle /* error */) {
|
@@ -1770,26 +1902,12 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
|
|
1770
1902
|
|
1771
1903
|
static void OnPingAckLocked(void* arg, grpc_error_handle /* error */) {
|
1772
1904
|
auto* self = static_cast<GracefulGoaway*>(arg);
|
1773
|
-
if (self->timer_handle_ != TaskHandle::kInvalid) {
|
1774
|
-
self->t_->event_engine->Cancel(
|
1775
|
-
std::exchange(self->timer_handle_, TaskHandle::kInvalid));
|
1776
|
-
}
|
1777
1905
|
self->MaybeSendFinalGoawayLocked();
|
1778
1906
|
self->Unref();
|
1779
1907
|
}
|
1780
1908
|
|
1781
|
-
|
1782
|
-
auto* self = static_cast<GracefulGoaway*>(arg);
|
1783
|
-
// Clearing the handle since the timer has fired and the handle is invalid.
|
1784
|
-
self->timer_handle_ = TaskHandle::kInvalid;
|
1785
|
-
self->MaybeSendFinalGoawayLocked();
|
1786
|
-
self->Unref();
|
1787
|
-
}
|
1788
|
-
|
1789
|
-
grpc_chttp2_transport* t_;
|
1909
|
+
const grpc_core::RefCountedPtr<grpc_chttp2_transport> t_;
|
1790
1910
|
grpc_closure on_ping_ack_;
|
1791
|
-
TaskHandle timer_handle_ = TaskHandle::kInvalid;
|
1792
|
-
grpc_closure on_timer_;
|
1793
1911
|
};
|
1794
1912
|
|
1795
1913
|
} // namespace
|
@@ -1825,44 +1943,40 @@ static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error,
|
|
1825
1943
|
grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
|
1826
1944
|
}
|
1827
1945
|
|
1828
|
-
void
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
grpc_core::StatusIntProperty::kRpcStatus,
|
1840
|
-
GRPC_STATUS_UNAVAILABLE));
|
1841
|
-
}
|
1946
|
+
void grpc_chttp2_exceeded_ping_strikes(grpc_chttp2_transport* t) {
|
1947
|
+
send_goaway(t,
|
1948
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("too_many_pings"),
|
1949
|
+
grpc_core::StatusIntProperty::kHttp2Error,
|
1950
|
+
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
1951
|
+
/*immediate_disconnect_hint=*/true);
|
1952
|
+
// The transport will be closed after the write is done
|
1953
|
+
close_transport_locked(
|
1954
|
+
t, grpc_error_set_int(GRPC_ERROR_CREATE("Too many pings"),
|
1955
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1956
|
+
GRPC_STATUS_UNAVAILABLE));
|
1842
1957
|
}
|
1843
1958
|
|
1844
1959
|
void grpc_chttp2_reset_ping_clock(grpc_chttp2_transport* t) {
|
1845
1960
|
if (!t->is_client) {
|
1846
|
-
t->
|
1847
|
-
t->ping_recv_state.ping_strikes = 0;
|
1961
|
+
t->ping_abuse_policy.ResetPingStrikes();
|
1848
1962
|
}
|
1849
|
-
t->
|
1850
|
-
t->ping_policy.max_pings_without_data;
|
1963
|
+
t->ping_rate_policy.ResetPingsBeforeDataRequired();
|
1851
1964
|
}
|
1852
1965
|
|
1853
1966
|
static void perform_transport_op_locked(void* stream_op,
|
1854
1967
|
grpc_error_handle /*error_ignored*/) {
|
1855
1968
|
grpc_transport_op* op = static_cast<grpc_transport_op*>(stream_op);
|
1856
|
-
grpc_chttp2_transport
|
1857
|
-
static_cast<grpc_chttp2_transport*>(op->handler_private.extra_arg);
|
1969
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t(
|
1970
|
+
static_cast<grpc_chttp2_transport*>(op->handler_private.extra_arg));
|
1858
1971
|
|
1859
1972
|
if (!op->goaway_error.ok()) {
|
1860
|
-
send_goaway(t, op->goaway_error, /*immediate_disconnect_hint=*/false);
|
1973
|
+
send_goaway(t.get(), op->goaway_error, /*immediate_disconnect_hint=*/false);
|
1861
1974
|
}
|
1862
1975
|
|
1863
1976
|
if (op->set_accept_stream) {
|
1864
1977
|
t->accept_stream_cb = op->set_accept_stream_fn;
|
1865
1978
|
t->accept_stream_cb_user_data = op->set_accept_stream_user_data;
|
1979
|
+
t->registered_method_matcher_cb = op->set_registered_method_matcher_fn;
|
1866
1980
|
}
|
1867
1981
|
|
1868
1982
|
if (op->bind_pollset) {
|
@@ -1874,8 +1988,9 @@ static void perform_transport_op_locked(void* stream_op,
|
|
1874
1988
|
}
|
1875
1989
|
|
1876
1990
|
if (op->send_ping.on_initiate != nullptr || op->send_ping.on_ack != nullptr) {
|
1877
|
-
send_ping_locked(t, op->send_ping.on_initiate, op->send_ping.on_ack);
|
1878
|
-
grpc_chttp2_initiate_write(t,
|
1991
|
+
send_ping_locked(t.get(), op->send_ping.on_initiate, op->send_ping.on_ack);
|
1992
|
+
grpc_chttp2_initiate_write(t.get(),
|
1993
|
+
GRPC_CHTTP2_INITIATE_WRITE_APPLICATION_PING);
|
1879
1994
|
}
|
1880
1995
|
|
1881
1996
|
if (op->start_connectivity_watch != nullptr) {
|
@@ -1887,27 +2002,24 @@ static void perform_transport_op_locked(void* stream_op,
|
|
1887
2002
|
}
|
1888
2003
|
|
1889
2004
|
if (!op->disconnect_with_error.ok()) {
|
1890
|
-
send_goaway(t, op->disconnect_with_error,
|
2005
|
+
send_goaway(t.get(), op->disconnect_with_error,
|
1891
2006
|
/*immediate_disconnect_hint=*/true);
|
1892
|
-
close_transport_locked(t, op->disconnect_with_error);
|
2007
|
+
close_transport_locked(t.get(), op->disconnect_with_error);
|
1893
2008
|
}
|
1894
2009
|
|
1895
2010
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
|
1896
|
-
|
1897
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "transport_op");
|
1898
2011
|
}
|
1899
2012
|
|
1900
|
-
|
1901
|
-
grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
|
2013
|
+
void grpc_chttp2_transport::PerformOp(grpc_transport_op* op) {
|
1902
2014
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
|
1903
|
-
gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s",
|
2015
|
+
gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", this,
|
1904
2016
|
grpc_transport_op_string(op).c_str());
|
1905
2017
|
}
|
1906
|
-
op->handler_private.extra_arg =
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
2018
|
+
op->handler_private.extra_arg = this;
|
2019
|
+
Ref().release()->combiner->Run(
|
2020
|
+
GRPC_CLOSURE_INIT(&op->handler_private.closure,
|
2021
|
+
perform_transport_op_locked, op, nullptr),
|
2022
|
+
absl::OkStatus());
|
1911
2023
|
}
|
1912
2024
|
|
1913
2025
|
//
|
@@ -1933,6 +2045,10 @@ void grpc_chttp2_maybe_complete_recv_initial_metadata(grpc_chttp2_transport* t,
|
|
1933
2045
|
*s->trailing_metadata_available = true;
|
1934
2046
|
s->trailing_metadata_available = nullptr;
|
1935
2047
|
}
|
2048
|
+
if (t->registered_method_matcher_cb != nullptr) {
|
2049
|
+
t->registered_method_matcher_cb(t->accept_stream_cb_user_data,
|
2050
|
+
s->recv_initial_metadata);
|
2051
|
+
}
|
1936
2052
|
null_then_sched_closure(&s->recv_initial_metadata_ready);
|
1937
2053
|
}
|
1938
2054
|
}
|
@@ -2043,8 +2159,8 @@ void grpc_chttp2_maybe_complete_recv_trailing_metadata(grpc_chttp2_transport* t,
|
|
2043
2159
|
}
|
2044
2160
|
}
|
2045
2161
|
|
2046
|
-
static
|
2047
|
-
|
2162
|
+
static grpc_chttp2_transport::RemovedStreamHandle remove_stream(
|
2163
|
+
grpc_chttp2_transport* t, uint32_t id, grpc_error_handle error) {
|
2048
2164
|
grpc_chttp2_stream* s = t->stream_map.extract(id).mapped();
|
2049
2165
|
GPR_DEBUG_ASSERT(s);
|
2050
2166
|
if (t->incoming_stream == s) {
|
@@ -2067,29 +2183,74 @@ static void remove_stream(grpc_chttp2_transport* t, uint32_t id,
|
|
2067
2183
|
grpc_chttp2_list_remove_stalled_by_transport(t, s);
|
2068
2184
|
|
2069
2185
|
maybe_start_some_streams(t);
|
2186
|
+
|
2187
|
+
if (t->is_client) return grpc_chttp2_transport::RemovedStreamHandle();
|
2188
|
+
return grpc_chttp2_transport::RemovedStreamHandle(t->Ref());
|
2070
2189
|
}
|
2071
2190
|
|
2191
|
+
namespace grpc_core {
|
2192
|
+
namespace {
|
2193
|
+
|
2194
|
+
Duration TarpitDuration(grpc_chttp2_transport* t) {
|
2195
|
+
return Duration::Milliseconds(absl::LogUniform<int>(
|
2196
|
+
absl::BitGen(), t->min_tarpit_duration_ms, t->max_tarpit_duration_ms));
|
2197
|
+
}
|
2198
|
+
|
2199
|
+
template <typename F>
|
2200
|
+
void MaybeTarpit(grpc_chttp2_transport* t, bool tarpit, F fn) {
|
2201
|
+
if (!tarpit || !t->allow_tarpit || t->is_client) {
|
2202
|
+
fn(t);
|
2203
|
+
return;
|
2204
|
+
}
|
2205
|
+
const auto duration = TarpitDuration(t);
|
2206
|
+
t->event_engine->RunAfter(
|
2207
|
+
duration, [t = t->Ref(), fn = std::move(fn)]() mutable {
|
2208
|
+
ApplicationCallbackExecCtx app_exec_ctx;
|
2209
|
+
ExecCtx exec_ctx;
|
2210
|
+
t->combiner->Run(
|
2211
|
+
NewClosure([t, fn = std::move(fn)](grpc_error_handle) mutable {
|
2212
|
+
// TODO(ctiller): this can result in not sending RST_STREAMS if a
|
2213
|
+
// request gets tarpit behind a transport close.
|
2214
|
+
if (!t->closed_with_error.ok()) return;
|
2215
|
+
fn(t.get());
|
2216
|
+
}),
|
2217
|
+
absl::OkStatus());
|
2218
|
+
});
|
2219
|
+
}
|
2220
|
+
|
2221
|
+
} // namespace
|
2222
|
+
} // namespace grpc_core
|
2223
|
+
|
2072
2224
|
void grpc_chttp2_cancel_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
2073
|
-
grpc_error_handle due_to_error) {
|
2225
|
+
grpc_error_handle due_to_error, bool tarpit) {
|
2074
2226
|
if (!t->is_client && !s->sent_trailing_metadata &&
|
2075
|
-
grpc_error_has_clear_grpc_status(due_to_error)
|
2076
|
-
|
2227
|
+
grpc_error_has_clear_grpc_status(due_to_error) &&
|
2228
|
+
!(s->read_closed && s->write_closed)) {
|
2229
|
+
close_from_api(t, s, due_to_error, tarpit);
|
2077
2230
|
return;
|
2078
2231
|
}
|
2079
2232
|
|
2233
|
+
if (!due_to_error.ok() && !s->seen_error) {
|
2234
|
+
s->seen_error = true;
|
2235
|
+
}
|
2080
2236
|
if (!s->read_closed || !s->write_closed) {
|
2081
2237
|
if (s->id != 0) {
|
2082
2238
|
grpc_http2_error_code http_error;
|
2083
2239
|
grpc_error_get_status(due_to_error, s->deadline, nullptr, nullptr,
|
2084
2240
|
&http_error, nullptr);
|
2085
|
-
|
2086
|
-
t,
|
2087
|
-
|
2241
|
+
grpc_core::MaybeTarpit(
|
2242
|
+
t, tarpit,
|
2243
|
+
[id = s->id, http_error,
|
2244
|
+
remove_stream_handle = grpc_chttp2_mark_stream_closed(
|
2245
|
+
t, s, 1, 1, due_to_error)](grpc_chttp2_transport* t) {
|
2246
|
+
grpc_chttp2_add_rst_stream_to_next_write(
|
2247
|
+
t, id, static_cast<uint32_t>(http_error), nullptr);
|
2248
|
+
grpc_chttp2_initiate_write(t,
|
2249
|
+
GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM);
|
2250
|
+
});
|
2251
|
+
return;
|
2088
2252
|
}
|
2089
2253
|
}
|
2090
|
-
if (!due_to_error.ok() && !s->seen_error) {
|
2091
|
-
s->seen_error = true;
|
2092
|
-
}
|
2093
2254
|
grpc_chttp2_mark_stream_closed(t, s, 1, 1, due_to_error);
|
2094
2255
|
}
|
2095
2256
|
|
@@ -2182,9 +2343,10 @@ void grpc_chttp2_fail_pending_writes(grpc_chttp2_transport* t,
|
|
2182
2343
|
flush_write_list(t, s, &s->on_flow_controlled_cbs, error);
|
2183
2344
|
}
|
2184
2345
|
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2346
|
+
grpc_chttp2_transport::RemovedStreamHandle grpc_chttp2_mark_stream_closed(
|
2347
|
+
grpc_chttp2_transport* t, grpc_chttp2_stream* s, int close_reads,
|
2348
|
+
int close_writes, grpc_error_handle error) {
|
2349
|
+
grpc_chttp2_transport::RemovedStreamHandle rsh;
|
2188
2350
|
if (grpc_http_trace.enabled()) {
|
2189
2351
|
gpr_log(
|
2190
2352
|
GPR_DEBUG, "MARK_STREAM_CLOSED: t=%p s=%p(id=%d) %s [%s]", t, s, s->id,
|
@@ -2200,7 +2362,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
|
|
2200
2362
|
grpc_chttp2_fake_status(t, s, overall_error);
|
2201
2363
|
}
|
2202
2364
|
grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
|
2203
|
-
return;
|
2365
|
+
return rsh;
|
2204
2366
|
}
|
2205
2367
|
bool closed_read = false;
|
2206
2368
|
bool became_closed = false;
|
@@ -2218,7 +2380,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
|
|
2218
2380
|
became_closed = true;
|
2219
2381
|
grpc_error_handle overall_error = removal_error(error, s, "Stream removed");
|
2220
2382
|
if (s->id != 0) {
|
2221
|
-
remove_stream(t, s->id, overall_error);
|
2383
|
+
rsh = remove_stream(t, s->id, overall_error);
|
2222
2384
|
} else {
|
2223
2385
|
// Purge streams waiting on concurrency still waiting for id assignment
|
2224
2386
|
grpc_chttp2_list_remove_waiting_for_concurrency(t, s);
|
@@ -2242,17 +2404,11 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
|
|
2242
2404
|
grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
|
2243
2405
|
GRPC_CHTTP2_STREAM_UNREF(s, "chttp2");
|
2244
2406
|
}
|
2407
|
+
return rsh;
|
2245
2408
|
}
|
2246
2409
|
|
2247
2410
|
static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
2248
|
-
grpc_error_handle error) {
|
2249
|
-
grpc_slice hdr;
|
2250
|
-
grpc_slice status_hdr;
|
2251
|
-
grpc_slice http_status_hdr;
|
2252
|
-
grpc_slice content_type_hdr;
|
2253
|
-
grpc_slice message_pfx;
|
2254
|
-
uint8_t* p;
|
2255
|
-
uint32_t len = 0;
|
2411
|
+
grpc_error_handle error, bool tarpit) {
|
2256
2412
|
grpc_status_code grpc_status;
|
2257
2413
|
std::string message;
|
2258
2414
|
grpc_error_get_status(error, s->deadline, &grpc_status, &message, nullptr,
|
@@ -2260,147 +2416,167 @@ static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
|
2260
2416
|
|
2261
2417
|
GPR_ASSERT(grpc_status >= 0 && (int)grpc_status < 100);
|
2262
2418
|
|
2263
|
-
|
2264
|
-
|
2265
|
-
|
2266
|
-
|
2267
|
-
|
2268
|
-
|
2269
|
-
|
2270
|
-
|
2271
|
-
|
2272
|
-
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
|
2285
|
-
|
2286
|
-
|
2287
|
-
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
2301
|
-
|
2302
|
-
|
2303
|
-
|
2304
|
-
|
2305
|
-
|
2306
|
-
|
2307
|
-
|
2308
|
-
|
2309
|
-
|
2310
|
-
|
2311
|
-
|
2312
|
-
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
2316
|
-
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
|
2321
|
-
|
2322
|
-
|
2323
|
-
|
2324
|
-
|
2325
|
-
|
2326
|
-
|
2327
|
-
|
2328
|
-
|
2329
|
-
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2337
|
-
|
2338
|
-
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
|
2343
|
-
|
2344
|
-
|
2345
|
-
|
2346
|
-
|
2347
|
-
|
2348
|
-
|
2349
|
-
|
2350
|
-
|
2351
|
-
|
2352
|
-
|
2353
|
-
|
2354
|
-
|
2355
|
-
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2359
|
-
|
2360
|
-
|
2361
|
-
|
2362
|
-
|
2363
|
-
|
2364
|
-
|
2365
|
-
|
2366
|
-
|
2367
|
-
|
2368
|
-
|
2369
|
-
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2373
|
-
|
2374
|
-
|
2375
|
-
|
2376
|
-
|
2377
|
-
|
2378
|
-
|
2379
|
-
|
2380
|
-
|
2381
|
-
|
2382
|
-
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
|
2389
|
-
|
2390
|
-
|
2391
|
-
|
2392
|
-
|
2393
|
-
|
2394
|
-
|
2395
|
-
|
2396
|
-
|
2397
|
-
|
2398
|
-
|
2399
|
-
|
2400
|
-
|
2401
|
-
|
2402
|
-
|
2403
|
-
|
2419
|
+
auto remove_stream_handle = grpc_chttp2_mark_stream_closed(t, s, 1, 1, error);
|
2420
|
+
grpc_core::MaybeTarpit(
|
2421
|
+
t, tarpit,
|
2422
|
+
[error = std::move(error),
|
2423
|
+
sent_initial_metadata = s->sent_initial_metadata, id = s->id,
|
2424
|
+
grpc_status, message = std::move(message),
|
2425
|
+
remove_stream_handle =
|
2426
|
+
std::move(remove_stream_handle)](grpc_chttp2_transport* t) mutable {
|
2427
|
+
grpc_slice hdr;
|
2428
|
+
grpc_slice status_hdr;
|
2429
|
+
grpc_slice http_status_hdr;
|
2430
|
+
grpc_slice content_type_hdr;
|
2431
|
+
grpc_slice message_pfx;
|
2432
|
+
uint8_t* p;
|
2433
|
+
uint32_t len = 0;
|
2434
|
+
|
2435
|
+
// Hand roll a header block.
|
2436
|
+
// This is unnecessarily ugly - at some point we should find a more
|
2437
|
+
// elegant solution.
|
2438
|
+
// It's complicated by the fact that our send machinery would be dead
|
2439
|
+
// by the time we got around to sending this, so instead we ignore
|
2440
|
+
// HPACK compression and just write the uncompressed bytes onto the
|
2441
|
+
// wire.
|
2442
|
+
if (!sent_initial_metadata) {
|
2443
|
+
http_status_hdr = GRPC_SLICE_MALLOC(13);
|
2444
|
+
p = GRPC_SLICE_START_PTR(http_status_hdr);
|
2445
|
+
*p++ = 0x00;
|
2446
|
+
*p++ = 7;
|
2447
|
+
*p++ = ':';
|
2448
|
+
*p++ = 's';
|
2449
|
+
*p++ = 't';
|
2450
|
+
*p++ = 'a';
|
2451
|
+
*p++ = 't';
|
2452
|
+
*p++ = 'u';
|
2453
|
+
*p++ = 's';
|
2454
|
+
*p++ = 3;
|
2455
|
+
*p++ = '2';
|
2456
|
+
*p++ = '0';
|
2457
|
+
*p++ = '0';
|
2458
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr));
|
2459
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(http_status_hdr);
|
2460
|
+
|
2461
|
+
content_type_hdr = GRPC_SLICE_MALLOC(31);
|
2462
|
+
p = GRPC_SLICE_START_PTR(content_type_hdr);
|
2463
|
+
*p++ = 0x00;
|
2464
|
+
*p++ = 12;
|
2465
|
+
*p++ = 'c';
|
2466
|
+
*p++ = 'o';
|
2467
|
+
*p++ = 'n';
|
2468
|
+
*p++ = 't';
|
2469
|
+
*p++ = 'e';
|
2470
|
+
*p++ = 'n';
|
2471
|
+
*p++ = 't';
|
2472
|
+
*p++ = '-';
|
2473
|
+
*p++ = 't';
|
2474
|
+
*p++ = 'y';
|
2475
|
+
*p++ = 'p';
|
2476
|
+
*p++ = 'e';
|
2477
|
+
*p++ = 16;
|
2478
|
+
*p++ = 'a';
|
2479
|
+
*p++ = 'p';
|
2480
|
+
*p++ = 'p';
|
2481
|
+
*p++ = 'l';
|
2482
|
+
*p++ = 'i';
|
2483
|
+
*p++ = 'c';
|
2484
|
+
*p++ = 'a';
|
2485
|
+
*p++ = 't';
|
2486
|
+
*p++ = 'i';
|
2487
|
+
*p++ = 'o';
|
2488
|
+
*p++ = 'n';
|
2489
|
+
*p++ = '/';
|
2490
|
+
*p++ = 'g';
|
2491
|
+
*p++ = 'r';
|
2492
|
+
*p++ = 'p';
|
2493
|
+
*p++ = 'c';
|
2494
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr));
|
2495
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(content_type_hdr);
|
2496
|
+
}
|
2497
|
+
|
2498
|
+
status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10));
|
2499
|
+
p = GRPC_SLICE_START_PTR(status_hdr);
|
2500
|
+
*p++ = 0x00; // literal header, not indexed
|
2501
|
+
*p++ = 11; // len(grpc-status)
|
2502
|
+
*p++ = 'g';
|
2503
|
+
*p++ = 'r';
|
2504
|
+
*p++ = 'p';
|
2505
|
+
*p++ = 'c';
|
2506
|
+
*p++ = '-';
|
2507
|
+
*p++ = 's';
|
2508
|
+
*p++ = 't';
|
2509
|
+
*p++ = 'a';
|
2510
|
+
*p++ = 't';
|
2511
|
+
*p++ = 'u';
|
2512
|
+
*p++ = 's';
|
2513
|
+
if (grpc_status < 10) {
|
2514
|
+
*p++ = 1;
|
2515
|
+
*p++ = static_cast<uint8_t>('0' + grpc_status);
|
2516
|
+
} else {
|
2517
|
+
*p++ = 2;
|
2518
|
+
*p++ = static_cast<uint8_t>('0' + (grpc_status / 10));
|
2519
|
+
*p++ = static_cast<uint8_t>('0' + (grpc_status % 10));
|
2520
|
+
}
|
2521
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr));
|
2522
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(status_hdr);
|
2523
|
+
|
2524
|
+
size_t msg_len = message.length();
|
2525
|
+
GPR_ASSERT(msg_len <= UINT32_MAX);
|
2526
|
+
grpc_core::VarintWriter<1> msg_len_writer(
|
2527
|
+
static_cast<uint32_t>(msg_len));
|
2528
|
+
message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length());
|
2529
|
+
p = GRPC_SLICE_START_PTR(message_pfx);
|
2530
|
+
*p++ = 0x00; // literal header, not indexed
|
2531
|
+
*p++ = 12; // len(grpc-message)
|
2532
|
+
*p++ = 'g';
|
2533
|
+
*p++ = 'r';
|
2534
|
+
*p++ = 'p';
|
2535
|
+
*p++ = 'c';
|
2536
|
+
*p++ = '-';
|
2537
|
+
*p++ = 'm';
|
2538
|
+
*p++ = 'e';
|
2539
|
+
*p++ = 's';
|
2540
|
+
*p++ = 's';
|
2541
|
+
*p++ = 'a';
|
2542
|
+
*p++ = 'g';
|
2543
|
+
*p++ = 'e';
|
2544
|
+
msg_len_writer.Write(0, p);
|
2545
|
+
p += msg_len_writer.length();
|
2546
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx));
|
2547
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(message_pfx);
|
2548
|
+
len += static_cast<uint32_t>(msg_len);
|
2549
|
+
|
2550
|
+
hdr = GRPC_SLICE_MALLOC(9);
|
2551
|
+
p = GRPC_SLICE_START_PTR(hdr);
|
2552
|
+
*p++ = static_cast<uint8_t>(len >> 16);
|
2553
|
+
*p++ = static_cast<uint8_t>(len >> 8);
|
2554
|
+
*p++ = static_cast<uint8_t>(len);
|
2555
|
+
*p++ = GRPC_CHTTP2_FRAME_HEADER;
|
2556
|
+
*p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM |
|
2557
|
+
GRPC_CHTTP2_DATA_FLAG_END_HEADERS;
|
2558
|
+
*p++ = static_cast<uint8_t>(id >> 24);
|
2559
|
+
*p++ = static_cast<uint8_t>(id >> 16);
|
2560
|
+
*p++ = static_cast<uint8_t>(id >> 8);
|
2561
|
+
*p++ = static_cast<uint8_t>(id);
|
2562
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr));
|
2563
|
+
|
2564
|
+
grpc_slice_buffer_add(&t->qbuf, hdr);
|
2565
|
+
if (!sent_initial_metadata) {
|
2566
|
+
grpc_slice_buffer_add(&t->qbuf, http_status_hdr);
|
2567
|
+
grpc_slice_buffer_add(&t->qbuf, content_type_hdr);
|
2568
|
+
}
|
2569
|
+
grpc_slice_buffer_add(&t->qbuf, status_hdr);
|
2570
|
+
grpc_slice_buffer_add(&t->qbuf, message_pfx);
|
2571
|
+
grpc_slice_buffer_add(&t->qbuf,
|
2572
|
+
grpc_slice_from_cpp_string(std::move(message)));
|
2573
|
+
grpc_chttp2_reset_ping_clock(t);
|
2574
|
+
grpc_chttp2_add_rst_stream_to_next_write(t, id, GRPC_HTTP2_NO_ERROR,
|
2575
|
+
nullptr);
|
2576
|
+
|
2577
|
+
grpc_chttp2_initiate_write(t,
|
2578
|
+
GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
|
2579
|
+
});
|
2404
2580
|
}
|
2405
2581
|
|
2406
2582
|
static void end_all_the_calls(grpc_chttp2_transport* t,
|
@@ -2413,13 +2589,13 @@ static void end_all_the_calls(grpc_chttp2_transport* t,
|
|
2413
2589
|
error = grpc_error_set_int(error, grpc_core::StatusIntProperty::kRpcStatus,
|
2414
2590
|
GRPC_STATUS_UNAVAILABLE);
|
2415
2591
|
}
|
2416
|
-
cancel_unstarted_streams(t, error);
|
2592
|
+
cancel_unstarted_streams(t, error, false);
|
2417
2593
|
std::vector<grpc_chttp2_stream*> to_cancel;
|
2418
2594
|
for (auto id_stream : t->stream_map) {
|
2419
2595
|
to_cancel.push_back(id_stream.second);
|
2420
2596
|
}
|
2421
2597
|
for (auto s : to_cancel) {
|
2422
|
-
grpc_chttp2_cancel_stream(t, s, error);
|
2598
|
+
grpc_chttp2_cancel_stream(t, s, error, false);
|
2423
2599
|
}
|
2424
2600
|
}
|
2425
2601
|
|
@@ -2456,21 +2632,19 @@ void grpc_chttp2_act_on_flowctl_action(
|
|
2456
2632
|
GRPC_CHTTP2_INITIATE_WRITE_TRANSPORT_FLOW_CONTROL, []() {});
|
2457
2633
|
WithUrgency(t, action.send_initial_window_update(),
|
2458
2634
|
GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
|
2459
|
-
|
2460
|
-
|
2461
|
-
action.initial_window_size());
|
2462
|
-
});
|
2463
|
-
WithUrgency(t, action.send_max_frame_size_update(),
|
2464
|
-
GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
|
2465
|
-
queue_setting_update(t, GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE,
|
2466
|
-
action.max_frame_size());
|
2635
|
+
t->settings.mutable_local().SetInitialWindowSize(
|
2636
|
+
action.initial_window_size());
|
2467
2637
|
});
|
2638
|
+
WithUrgency(
|
2639
|
+
t, action.send_max_frame_size_update(),
|
2640
|
+
GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
|
2641
|
+
t->settings.mutable_local().SetMaxFrameSize(action.max_frame_size());
|
2642
|
+
});
|
2468
2643
|
if (t->enable_preferred_rx_crypto_frame_advertisement) {
|
2469
2644
|
WithUrgency(
|
2470
2645
|
t, action.preferred_rx_crypto_frame_size_update(),
|
2471
2646
|
GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() {
|
2472
|
-
|
2473
|
-
t, GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE,
|
2647
|
+
t->settings.mutable_local().SetPreferredReceiveCryptoMessageSize(
|
2474
2648
|
action.preferred_rx_crypto_frame_size());
|
2475
2649
|
});
|
2476
2650
|
}
|
@@ -2504,31 +2678,45 @@ static grpc_error_handle try_http_parsing(grpc_chttp2_transport* t) {
|
|
2504
2678
|
return error;
|
2505
2679
|
}
|
2506
2680
|
|
2507
|
-
static void read_action(
|
2508
|
-
|
2509
|
-
t
|
2510
|
-
|
2511
|
-
|
2681
|
+
static void read_action(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2682
|
+
grpc_error_handle error) {
|
2683
|
+
auto* tp = t.get();
|
2684
|
+
tp->combiner->Run(grpc_core::InitTransportClosure<read_action_locked>(
|
2685
|
+
std::move(t), &tp->read_action_locked),
|
2686
|
+
error);
|
2512
2687
|
}
|
2513
2688
|
|
2514
|
-
static void
|
2515
|
-
|
2516
|
-
|
2517
|
-
grpc_error_handle err = error;
|
2518
|
-
if (!err.ok()) {
|
2519
|
-
err = grpc_error_set_int(
|
2520
|
-
GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
|
2521
|
-
grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
|
2522
|
-
}
|
2523
|
-
std::swap(err, error);
|
2689
|
+
static void read_action_parse_loop_locked(
|
2690
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2691
|
+
grpc_error_handle error) {
|
2524
2692
|
if (t->closed_with_error.ok()) {
|
2525
|
-
size_t i = 0;
|
2526
2693
|
grpc_error_handle errors[3] = {error, absl::OkStatus(), absl::OkStatus()};
|
2527
|
-
|
2528
|
-
|
2694
|
+
size_t requests_started = 0;
|
2695
|
+
for (size_t i = 0;
|
2696
|
+
i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) {
|
2697
|
+
auto r = grpc_chttp2_perform_read(t.get(), t->read_buffer.slices[i],
|
2698
|
+
requests_started);
|
2699
|
+
if (auto* partial_read_size = absl::get_if<size_t>(&r)) {
|
2700
|
+
for (size_t j = 0; j < i; j++) {
|
2701
|
+
grpc_core::CSliceUnref(grpc_slice_buffer_take_first(&t->read_buffer));
|
2702
|
+
}
|
2703
|
+
grpc_slice_buffer_sub_first(
|
2704
|
+
&t->read_buffer, *partial_read_size,
|
2705
|
+
GRPC_SLICE_LENGTH(t->read_buffer.slices[0]));
|
2706
|
+
t->combiner->ForceOffload();
|
2707
|
+
auto* tp = t.get();
|
2708
|
+
tp->combiner->Run(
|
2709
|
+
grpc_core::InitTransportClosure<read_action_parse_loop_locked>(
|
2710
|
+
std::move(t), &tp->read_action_locked),
|
2711
|
+
std::move(errors[0]));
|
2712
|
+
// Early return: we queued to retry later.
|
2713
|
+
return;
|
2714
|
+
} else {
|
2715
|
+
errors[1] = std::move(absl::get<absl::Status>(r));
|
2716
|
+
}
|
2529
2717
|
}
|
2530
2718
|
if (errors[1] != absl::OkStatus()) {
|
2531
|
-
errors[2] = try_http_parsing(t);
|
2719
|
+
errors[2] = try_http_parsing(t.get());
|
2532
2720
|
error = GRPC_ERROR_CREATE_REFERENCING("Failed parsing HTTP/2", errors,
|
2533
2721
|
GPR_ARRAY_SIZE(errors));
|
2534
2722
|
}
|
@@ -2536,10 +2724,11 @@ static void read_action_locked(void* tp, grpc_error_handle error) {
|
|
2536
2724
|
if (t->initial_window_update != 0) {
|
2537
2725
|
if (t->initial_window_update > 0) {
|
2538
2726
|
grpc_chttp2_stream* s;
|
2539
|
-
while (grpc_chttp2_list_pop_stalled_by_stream(t, &s)) {
|
2540
|
-
grpc_chttp2_mark_stream_writable(t, s);
|
2727
|
+
while (grpc_chttp2_list_pop_stalled_by_stream(t.get(), &s)) {
|
2728
|
+
grpc_chttp2_mark_stream_writable(t.get(), s);
|
2541
2729
|
grpc_chttp2_initiate_write(
|
2542
|
-
t,
|
2730
|
+
t.get(),
|
2731
|
+
GRPC_CHTTP2_INITIATE_WRITE_FLOW_CONTROL_UNSTALLED_BY_SETTING);
|
2543
2732
|
}
|
2544
2733
|
}
|
2545
2734
|
t->initial_window_update = 0;
|
@@ -2558,13 +2747,12 @@ static void read_action_locked(void* tp, grpc_error_handle error) {
|
|
2558
2747
|
error = grpc_error_add_child(error, t->goaway_error);
|
2559
2748
|
}
|
2560
2749
|
|
2561
|
-
close_transport_locked(t, error);
|
2562
|
-
t->endpoint_reading = 0;
|
2750
|
+
close_transport_locked(t.get(), error);
|
2563
2751
|
} else if (t->closed_with_error.ok()) {
|
2564
2752
|
keep_reading = true;
|
2565
2753
|
// Since we have read a byte, reset the keepalive timer
|
2566
2754
|
if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING) {
|
2567
|
-
maybe_reset_keepalive_ping_timer_locked(t);
|
2755
|
+
maybe_reset_keepalive_ping_timer_locked(t.get());
|
2568
2756
|
}
|
2569
2757
|
}
|
2570
2758
|
grpc_slice_buffer_reset_and_unref(&t->read_buffer);
|
@@ -2576,45 +2764,73 @@ static void read_action_locked(void* tp, grpc_error_handle error) {
|
|
2576
2764
|
gpr_log(GPR_INFO,
|
2577
2765
|
"transport %p : Pausing reading due to too "
|
2578
2766
|
"many unwritten SETTINGS ACK and RST_STREAM frames",
|
2579
|
-
t));
|
2767
|
+
t.get()));
|
2580
2768
|
} else {
|
2581
|
-
continue_read_action_locked(t);
|
2769
|
+
continue_read_action_locked(std::move(t));
|
2582
2770
|
}
|
2583
|
-
} else {
|
2584
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "reading_action");
|
2585
2771
|
}
|
2586
2772
|
}
|
2587
2773
|
|
2588
|
-
static void
|
2774
|
+
static void read_action_locked(
|
2775
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2776
|
+
grpc_error_handle error) {
|
2777
|
+
// got an incoming read, cancel any pending keepalive timers
|
2778
|
+
t->keepalive_incoming_data_wanted = false;
|
2779
|
+
if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
|
2780
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace) ||
|
2781
|
+
GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
|
2782
|
+
gpr_log(GPR_INFO,
|
2783
|
+
"%s[%p]: Clear keepalive timer because data was received",
|
2784
|
+
t->is_client ? "CLIENT" : "SERVER", t.get());
|
2785
|
+
}
|
2786
|
+
t->event_engine->Cancel(
|
2787
|
+
std::exchange(t->keepalive_ping_timeout_handle, TaskHandle::kInvalid));
|
2788
|
+
}
|
2789
|
+
grpc_error_handle err = error;
|
2790
|
+
if (!err.ok()) {
|
2791
|
+
err = grpc_error_set_int(
|
2792
|
+
GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
|
2793
|
+
grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
|
2794
|
+
}
|
2795
|
+
std::swap(err, error);
|
2796
|
+
read_action_parse_loop_locked(std::move(t), std::move(err));
|
2797
|
+
}
|
2798
|
+
|
2799
|
+
static void continue_read_action_locked(
|
2800
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
2589
2801
|
const bool urgent = !t->goaway_error.ok();
|
2590
|
-
|
2591
|
-
|
2592
|
-
|
2593
|
-
|
2802
|
+
auto* tp = t.get();
|
2803
|
+
grpc_endpoint_read(tp->ep, &tp->read_buffer,
|
2804
|
+
grpc_core::InitTransportClosure<read_action>(
|
2805
|
+
std::move(t), &tp->read_action_locked),
|
2806
|
+
urgent, grpc_chttp2_min_read_progress_size(tp));
|
2594
2807
|
}
|
2595
2808
|
|
2596
2809
|
// t is reffed prior to calling the first time, and once the callback chain
|
2597
2810
|
// that kicks off finishes, it's unreffed
|
2598
|
-
void schedule_bdp_ping_locked(
|
2599
|
-
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2605
|
-
|
2606
|
-
|
2607
|
-
|
2608
|
-
|
2609
|
-
|
2610
|
-
|
2611
|
-
|
2612
|
-
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2617
|
-
|
2811
|
+
void schedule_bdp_ping_locked(
|
2812
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
2813
|
+
auto* tp = t.get();
|
2814
|
+
tp->flow_control.bdp_estimator()->SchedulePing();
|
2815
|
+
send_ping_locked(tp,
|
2816
|
+
grpc_core::InitTransportClosure<start_bdp_ping>(
|
2817
|
+
tp->Ref(), &tp->start_bdp_ping_locked),
|
2818
|
+
grpc_core::InitTransportClosure<finish_bdp_ping>(
|
2819
|
+
std::move(t), &tp->finish_bdp_ping_locked));
|
2820
|
+
grpc_chttp2_initiate_write(tp, GRPC_CHTTP2_INITIATE_WRITE_BDP_PING);
|
2821
|
+
}
|
2822
|
+
|
2823
|
+
static void start_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2824
|
+
grpc_error_handle error) {
|
2825
|
+
grpc_chttp2_transport* tp = t.get();
|
2826
|
+
tp->combiner->Run(grpc_core::InitTransportClosure<start_bdp_ping_locked>(
|
2827
|
+
std::move(t), &tp->start_bdp_ping_locked),
|
2828
|
+
error);
|
2829
|
+
}
|
2830
|
+
|
2831
|
+
static void start_bdp_ping_locked(
|
2832
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2833
|
+
grpc_error_handle error) {
|
2618
2834
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
|
2619
2835
|
gpr_log(GPR_INFO, "%s: Start BDP ping err=%s",
|
2620
2836
|
std::string(t->peer_string.as_string_view()).c_str(),
|
@@ -2625,71 +2841,69 @@ static void start_bdp_ping_locked(void* tp, grpc_error_handle error) {
|
|
2625
2841
|
}
|
2626
2842
|
// Reset the keepalive ping timer
|
2627
2843
|
if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING) {
|
2628
|
-
maybe_reset_keepalive_ping_timer_locked(t);
|
2844
|
+
maybe_reset_keepalive_ping_timer_locked(t.get());
|
2629
2845
|
}
|
2630
2846
|
t->flow_control.bdp_estimator()->StartPing();
|
2631
2847
|
t->bdp_ping_started = true;
|
2632
2848
|
}
|
2633
2849
|
|
2634
|
-
static void finish_bdp_ping(
|
2635
|
-
|
2636
|
-
t
|
2637
|
-
|
2638
|
-
|
2850
|
+
static void finish_bdp_ping(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2851
|
+
grpc_error_handle error) {
|
2852
|
+
grpc_chttp2_transport* tp = t.get();
|
2853
|
+
tp->combiner->Run(grpc_core::InitTransportClosure<finish_bdp_ping_locked>(
|
2854
|
+
std::move(t), &tp->finish_bdp_ping_locked),
|
2855
|
+
error);
|
2639
2856
|
}
|
2640
2857
|
|
2641
|
-
static void finish_bdp_ping_locked(
|
2642
|
-
|
2858
|
+
static void finish_bdp_ping_locked(
|
2859
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2860
|
+
grpc_error_handle error) {
|
2643
2861
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
|
2644
2862
|
gpr_log(GPR_INFO, "%s: Complete BDP ping err=%s",
|
2645
2863
|
std::string(t->peer_string.as_string_view()).c_str(),
|
2646
2864
|
grpc_core::StatusToString(error).c_str());
|
2647
2865
|
}
|
2648
2866
|
if (!error.ok() || !t->closed_with_error.ok()) {
|
2649
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
|
2650
2867
|
return;
|
2651
2868
|
}
|
2652
2869
|
if (!t->bdp_ping_started) {
|
2653
2870
|
// start_bdp_ping_locked has not been run yet. Schedule
|
2654
2871
|
// finish_bdp_ping_locked to be run later.
|
2655
|
-
|
2656
|
-
finish_bdp_ping_locked, t, nullptr),
|
2657
|
-
error);
|
2872
|
+
finish_bdp_ping(std::move(t), std::move(error));
|
2658
2873
|
return;
|
2659
2874
|
}
|
2660
2875
|
t->bdp_ping_started = false;
|
2661
2876
|
grpc_core::Timestamp next_ping =
|
2662
2877
|
t->flow_control.bdp_estimator()->CompletePing();
|
2663
|
-
grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t,
|
2878
|
+
grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t.get(),
|
2664
2879
|
nullptr);
|
2665
|
-
GPR_ASSERT(
|
2880
|
+
GPR_ASSERT(t->next_bdp_ping_timer_handle == TaskHandle::kInvalid);
|
2666
2881
|
t->next_bdp_ping_timer_handle =
|
2667
2882
|
t->event_engine->RunAfter(next_ping - grpc_core::Timestamp::Now(), [t] {
|
2668
2883
|
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
2669
2884
|
grpc_core::ExecCtx exec_ctx;
|
2670
|
-
next_bdp_ping_timer_expired(t);
|
2885
|
+
next_bdp_ping_timer_expired(t.get());
|
2671
2886
|
});
|
2672
2887
|
}
|
2673
2888
|
|
2674
2889
|
static void next_bdp_ping_timer_expired(grpc_chttp2_transport* t) {
|
2675
2890
|
t->combiner->Run(
|
2676
|
-
|
2677
|
-
|
2891
|
+
grpc_core::InitTransportClosure<next_bdp_ping_timer_expired_locked>(
|
2892
|
+
t->Ref(), &t->next_bdp_ping_timer_expired_locked),
|
2678
2893
|
absl::OkStatus());
|
2679
2894
|
}
|
2680
2895
|
|
2681
2896
|
static void next_bdp_ping_timer_expired_locked(
|
2682
|
-
|
2897
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2898
|
+
GRPC_UNUSED grpc_error_handle error) {
|
2683
2899
|
GPR_DEBUG_ASSERT(error.ok());
|
2684
|
-
|
2685
|
-
|
2686
|
-
t->next_bdp_ping_timer_handle.reset();
|
2900
|
+
GPR_ASSERT(t->next_bdp_ping_timer_handle != TaskHandle::kInvalid);
|
2901
|
+
t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
|
2687
2902
|
if (t->flow_control.bdp_estimator()->accumulator() == 0) {
|
2688
2903
|
// Block the bdp ping till we receive more data.
|
2689
2904
|
t->bdp_ping_blocked = true;
|
2690
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "bdp_ping");
|
2691
2905
|
} else {
|
2692
|
-
schedule_bdp_ping_locked(t);
|
2906
|
+
schedule_bdp_ping_locked(std::move(t));
|
2693
2907
|
}
|
2694
2908
|
}
|
2695
2909
|
|
@@ -2736,45 +2950,34 @@ void grpc_chttp2_config_default_keepalive_args(
|
|
2736
2950
|
keepalive_permit_without_calls;
|
2737
2951
|
}
|
2738
2952
|
|
2739
|
-
|
2740
|
-
|
2741
|
-
.value_or(g_default_max_ping_strikes));
|
2742
|
-
|
2743
|
-
g_default_max_pings_without_data =
|
2744
|
-
std::max(0, channel_args.GetInt(GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA)
|
2745
|
-
.value_or(g_default_max_pings_without_data));
|
2746
|
-
|
2747
|
-
g_default_min_recv_ping_interval_without_data =
|
2748
|
-
std::max(grpc_core::Duration::Zero(),
|
2749
|
-
channel_args
|
2750
|
-
.GetDurationFromIntMillis(
|
2751
|
-
GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS)
|
2752
|
-
.value_or(g_default_min_recv_ping_interval_without_data));
|
2953
|
+
grpc_core::Chttp2PingAbusePolicy::SetDefaults(channel_args);
|
2954
|
+
grpc_core::Chttp2PingRatePolicy::SetDefaults(channel_args);
|
2753
2955
|
}
|
2754
2956
|
|
2755
|
-
static void init_keepalive_ping(
|
2756
|
-
|
2757
|
-
|
2758
|
-
|
2957
|
+
static void init_keepalive_ping(
|
2958
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
2959
|
+
auto* tp = t.get();
|
2960
|
+
tp->combiner->Run(grpc_core::InitTransportClosure<init_keepalive_ping_locked>(
|
2961
|
+
std::move(t), &tp->init_keepalive_ping_locked),
|
2962
|
+
absl::OkStatus());
|
2759
2963
|
}
|
2760
2964
|
|
2761
|
-
static void init_keepalive_ping_locked(
|
2762
|
-
|
2965
|
+
static void init_keepalive_ping_locked(
|
2966
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2967
|
+
GRPC_UNUSED grpc_error_handle error) {
|
2763
2968
|
GPR_DEBUG_ASSERT(error.ok());
|
2764
|
-
grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
|
2765
2969
|
GPR_ASSERT(t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING);
|
2766
|
-
GPR_ASSERT(t->keepalive_ping_timer_handle
|
2767
|
-
t->keepalive_ping_timer_handle
|
2970
|
+
GPR_ASSERT(t->keepalive_ping_timer_handle != TaskHandle::kInvalid);
|
2971
|
+
t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
|
2768
2972
|
if (t->destroying || !t->closed_with_error.ok()) {
|
2769
2973
|
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
|
2770
2974
|
} else {
|
2771
2975
|
if (t->keepalive_permit_without_calls || !t->stream_map.empty()) {
|
2772
2976
|
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_PINGING;
|
2773
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "keepalive ping end");
|
2774
2977
|
send_keepalive_ping_locked(t);
|
2775
|
-
grpc_chttp2_initiate_write(t,
|
2978
|
+
grpc_chttp2_initiate_write(t.get(),
|
2979
|
+
GRPC_CHTTP2_INITIATE_WRITE_KEEPALIVE_PING);
|
2776
2980
|
} else {
|
2777
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
|
2778
2981
|
t->keepalive_ping_timer_handle =
|
2779
2982
|
t->event_engine->RunAfter(t->keepalive_time, [t] {
|
2780
2983
|
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
@@ -2783,48 +2986,21 @@ static void init_keepalive_ping_locked(void* arg,
|
|
2783
2986
|
});
|
2784
2987
|
}
|
2785
2988
|
}
|
2786
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "init keepalive ping");
|
2787
|
-
}
|
2788
|
-
|
2789
|
-
static void start_keepalive_ping(void* arg, grpc_error_handle error) {
|
2790
|
-
grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
|
2791
|
-
t->combiner->Run(GRPC_CLOSURE_INIT(&t->start_keepalive_ping_locked,
|
2792
|
-
start_keepalive_ping_locked, t, nullptr),
|
2793
|
-
error);
|
2794
|
-
}
|
2795
|
-
|
2796
|
-
static void start_keepalive_ping_locked(void* arg, grpc_error_handle error) {
|
2797
|
-
grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
|
2798
|
-
if (!error.ok()) {
|
2799
|
-
return;
|
2800
|
-
}
|
2801
|
-
if (t->channelz_socket != nullptr) {
|
2802
|
-
t->channelz_socket->RecordKeepaliveSent();
|
2803
|
-
}
|
2804
|
-
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
|
2805
|
-
GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
|
2806
|
-
gpr_log(GPR_INFO, "%s: Start keepalive ping",
|
2807
|
-
std::string(t->peer_string.as_string_view()).c_str());
|
2808
|
-
}
|
2809
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "keepalive watchdog");
|
2810
|
-
t->keepalive_watchdog_timer_handle =
|
2811
|
-
t->event_engine->RunAfter(t->keepalive_timeout, [t] {
|
2812
|
-
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
2813
|
-
grpc_core::ExecCtx exec_ctx;
|
2814
|
-
keepalive_watchdog_fired(t);
|
2815
|
-
});
|
2816
|
-
t->keepalive_ping_started = true;
|
2817
2989
|
}
|
2818
2990
|
|
2819
|
-
static void finish_keepalive_ping(
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
|
2991
|
+
static void finish_keepalive_ping(
|
2992
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2993
|
+
grpc_error_handle error) {
|
2994
|
+
auto* tp = t.get();
|
2995
|
+
tp->combiner->Run(
|
2996
|
+
grpc_core::InitTransportClosure<finish_keepalive_ping_locked>(
|
2997
|
+
std::move(t), &tp->finish_keepalive_ping_locked),
|
2998
|
+
error);
|
2824
2999
|
}
|
2825
3000
|
|
2826
|
-
static void finish_keepalive_ping_locked(
|
2827
|
-
|
3001
|
+
static void finish_keepalive_ping_locked(
|
3002
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
3003
|
+
grpc_error_handle error) {
|
2828
3004
|
if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
|
2829
3005
|
if (error.ok()) {
|
2830
3006
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
|
@@ -2832,25 +3008,8 @@ static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error) {
|
|
2832
3008
|
gpr_log(GPR_INFO, "%s: Finish keepalive ping",
|
2833
3009
|
std::string(t->peer_string.as_string_view()).c_str());
|
2834
3010
|
}
|
2835
|
-
if (!t->keepalive_ping_started) {
|
2836
|
-
// start_keepalive_ping_locked has not run yet. Reschedule
|
2837
|
-
// finish_keepalive_ping_locked for it to be run later.
|
2838
|
-
t->combiner->Run(
|
2839
|
-
GRPC_CLOSURE_INIT(&t->finish_keepalive_ping_locked,
|
2840
|
-
finish_keepalive_ping_locked, t, nullptr),
|
2841
|
-
error);
|
2842
|
-
return;
|
2843
|
-
}
|
2844
|
-
t->keepalive_ping_started = false;
|
2845
3011
|
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
|
2846
|
-
|
2847
|
-
if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
|
2848
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive watchdog");
|
2849
|
-
t->keepalive_watchdog_timer_handle.reset();
|
2850
|
-
}
|
2851
|
-
}
|
2852
|
-
GPR_ASSERT(!t->keepalive_ping_timer_handle.has_value());
|
2853
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "init keepalive ping");
|
3012
|
+
GPR_ASSERT(t->keepalive_ping_timer_handle == TaskHandle::kInvalid);
|
2854
3013
|
t->keepalive_ping_timer_handle =
|
2855
3014
|
t->event_engine->RunAfter(t->keepalive_time, [t] {
|
2856
3015
|
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
@@ -2859,57 +3018,24 @@ static void finish_keepalive_ping_locked(void* arg, grpc_error_handle error) {
|
|
2859
3018
|
});
|
2860
3019
|
}
|
2861
3020
|
}
|
2862
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive ping end");
|
2863
|
-
}
|
2864
|
-
|
2865
|
-
static void keepalive_watchdog_fired(grpc_chttp2_transport* t) {
|
2866
|
-
t->combiner->Run(
|
2867
|
-
GRPC_CLOSURE_INIT(&t->keepalive_watchdog_fired_locked,
|
2868
|
-
keepalive_watchdog_fired_locked, t, nullptr),
|
2869
|
-
absl::OkStatus());
|
2870
|
-
}
|
2871
|
-
|
2872
|
-
static void keepalive_watchdog_fired_locked(
|
2873
|
-
void* arg, GRPC_UNUSED grpc_error_handle error) {
|
2874
|
-
GPR_DEBUG_ASSERT(error.ok());
|
2875
|
-
grpc_chttp2_transport* t = static_cast<grpc_chttp2_transport*>(arg);
|
2876
|
-
GPR_ASSERT(t->keepalive_watchdog_timer_handle.has_value());
|
2877
|
-
t->keepalive_watchdog_timer_handle.reset();
|
2878
|
-
if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
|
2879
|
-
gpr_log(GPR_INFO, "%s: Keepalive watchdog fired. Closing transport.",
|
2880
|
-
std::string(t->peer_string.as_string_view()).c_str());
|
2881
|
-
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
|
2882
|
-
close_transport_locked(
|
2883
|
-
t, grpc_error_set_int(GRPC_ERROR_CREATE("keepalive watchdog timeout"),
|
2884
|
-
grpc_core::StatusIntProperty::kRpcStatus,
|
2885
|
-
GRPC_STATUS_UNAVAILABLE));
|
2886
|
-
} else {
|
2887
|
-
// If keepalive_state is not PINGING, we consider it as an error. Maybe the
|
2888
|
-
// cancellation failed in finish_keepalive_ping_locked. Users have seen
|
2889
|
-
// other states: https://github.com/grpc/grpc/issues/32085.
|
2890
|
-
gpr_log(GPR_ERROR, "keepalive_ping_end state error: %d (expect: %d)",
|
2891
|
-
t->keepalive_state, GRPC_CHTTP2_KEEPALIVE_STATE_PINGING);
|
2892
|
-
}
|
2893
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "keepalive watchdog");
|
2894
3021
|
}
|
2895
3022
|
|
2896
3023
|
static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t) {
|
2897
|
-
if (t->keepalive_ping_timer_handle
|
2898
|
-
|
2899
|
-
|
2900
|
-
|
2901
|
-
|
2902
|
-
|
2903
|
-
|
2904
|
-
|
2905
|
-
}
|
2906
|
-
t->keepalive_ping_timer_handle =
|
2907
|
-
t->event_engine->RunAfter(t->keepalive_time, [t] {
|
2908
|
-
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
2909
|
-
grpc_core::ExecCtx exec_ctx;
|
2910
|
-
init_keepalive_ping(t);
|
2911
|
-
});
|
3024
|
+
if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
|
3025
|
+
t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
|
3026
|
+
// Cancel succeeds, resets the keepalive ping timer. Note that we don't
|
3027
|
+
// need to Ref or Unref here since we still hold the Ref.
|
3028
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
|
3029
|
+
GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
|
3030
|
+
gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.",
|
3031
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
2912
3032
|
}
|
3033
|
+
t->keepalive_ping_timer_handle =
|
3034
|
+
t->event_engine->RunAfter(t->keepalive_time, [t = t->Ref()]() mutable {
|
3035
|
+
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
3036
|
+
grpc_core::ExecCtx exec_ctx;
|
3037
|
+
init_keepalive_ping(std::move(t));
|
3038
|
+
});
|
2913
3039
|
}
|
2914
3040
|
}
|
2915
3041
|
|
@@ -2931,16 +3057,14 @@ static void connectivity_state_set(grpc_chttp2_transport* t,
|
|
2931
3057
|
// POLLSET STUFF
|
2932
3058
|
//
|
2933
3059
|
|
2934
|
-
|
2935
|
-
|
2936
|
-
|
2937
|
-
grpc_endpoint_add_to_pollset(t->ep, pollset);
|
3060
|
+
void grpc_chttp2_transport::SetPollset(grpc_stream* /*gs*/,
|
3061
|
+
grpc_pollset* pollset) {
|
3062
|
+
grpc_endpoint_add_to_pollset(ep, pollset);
|
2938
3063
|
}
|
2939
3064
|
|
2940
|
-
|
2941
|
-
|
2942
|
-
|
2943
|
-
grpc_endpoint_add_to_pollset_set(t->ep, pollset_set);
|
3065
|
+
void grpc_chttp2_transport::SetPollsetSet(grpc_stream* /*gs*/,
|
3066
|
+
grpc_pollset_set* pollset_set) {
|
3067
|
+
grpc_endpoint_add_to_pollset_set(ep, pollset_set);
|
2944
3068
|
}
|
2945
3069
|
|
2946
3070
|
//
|
@@ -2950,18 +3074,17 @@ static void set_pollset_set(grpc_transport* gt, grpc_stream* /*gs*/,
|
|
2950
3074
|
static void post_benign_reclaimer(grpc_chttp2_transport* t) {
|
2951
3075
|
if (!t->benign_reclaimer_registered) {
|
2952
3076
|
t->benign_reclaimer_registered = true;
|
2953
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "benign_reclaimer");
|
2954
3077
|
t->memory_owner.PostReclaimer(
|
2955
3078
|
grpc_core::ReclamationPass::kBenign,
|
2956
|
-
[t](
|
3079
|
+
[t = t->Ref()](
|
3080
|
+
absl::optional<grpc_core::ReclamationSweep> sweep) mutable {
|
2957
3081
|
if (sweep.has_value()) {
|
2958
|
-
|
2959
|
-
|
2960
|
-
|
2961
|
-
|
2962
|
-
|
2963
|
-
|
2964
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "benign_reclaimer");
|
3082
|
+
auto* tp = t.get();
|
3083
|
+
tp->active_reclamation = std::move(*sweep);
|
3084
|
+
tp->combiner->Run(
|
3085
|
+
grpc_core::InitTransportClosure<benign_reclaimer_locked>(
|
3086
|
+
std::move(t), &tp->benign_reclaimer_locked),
|
3087
|
+
absl::OkStatus());
|
2965
3088
|
}
|
2966
3089
|
});
|
2967
3090
|
}
|
@@ -2970,26 +3093,25 @@ static void post_benign_reclaimer(grpc_chttp2_transport* t) {
|
|
2970
3093
|
static void post_destructive_reclaimer(grpc_chttp2_transport* t) {
|
2971
3094
|
if (!t->destructive_reclaimer_registered) {
|
2972
3095
|
t->destructive_reclaimer_registered = true;
|
2973
|
-
GRPC_CHTTP2_REF_TRANSPORT(t, "destructive_reclaimer");
|
2974
3096
|
t->memory_owner.PostReclaimer(
|
2975
3097
|
grpc_core::ReclamationPass::kDestructive,
|
2976
|
-
[t](
|
3098
|
+
[t = t->Ref()](
|
3099
|
+
absl::optional<grpc_core::ReclamationSweep> sweep) mutable {
|
2977
3100
|
if (sweep.has_value()) {
|
2978
|
-
|
2979
|
-
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
2983
|
-
|
2984
|
-
} else {
|
2985
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "destructive_reclaimer");
|
3101
|
+
auto* tp = t.get();
|
3102
|
+
tp->active_reclamation = std::move(*sweep);
|
3103
|
+
tp->combiner->Run(
|
3104
|
+
grpc_core::InitTransportClosure<destructive_reclaimer_locked>(
|
3105
|
+
std::move(t), &tp->destructive_reclaimer_locked),
|
3106
|
+
absl::OkStatus());
|
2986
3107
|
}
|
2987
3108
|
});
|
2988
3109
|
}
|
2989
3110
|
}
|
2990
3111
|
|
2991
|
-
static void benign_reclaimer_locked(
|
2992
|
-
|
3112
|
+
static void benign_reclaimer_locked(
|
3113
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
3114
|
+
grpc_error_handle error) {
|
2993
3115
|
if (error.ok() && t->stream_map.empty()) {
|
2994
3116
|
// Channel with no active streams: send a goaway to try and make it
|
2995
3117
|
// disconnect cleanly
|
@@ -2997,7 +3119,7 @@ static void benign_reclaimer_locked(void* arg, grpc_error_handle error) {
|
|
2997
3119
|
gpr_log(GPR_INFO, "HTTP2: %s - send goaway to free memory",
|
2998
3120
|
std::string(t->peer_string.as_string_view()).c_str());
|
2999
3121
|
}
|
3000
|
-
send_goaway(t,
|
3122
|
+
send_goaway(t.get(),
|
3001
3123
|
grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
|
3002
3124
|
grpc_core::StatusIntProperty::kHttp2Error,
|
3003
3125
|
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
@@ -3013,11 +3135,11 @@ static void benign_reclaimer_locked(void* arg, grpc_error_handle error) {
|
|
3013
3135
|
if (error != absl::CancelledError()) {
|
3014
3136
|
t->active_reclamation.Finish();
|
3015
3137
|
}
|
3016
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "benign_reclaimer");
|
3017
3138
|
}
|
3018
3139
|
|
3019
|
-
static void destructive_reclaimer_locked(
|
3020
|
-
|
3140
|
+
static void destructive_reclaimer_locked(
|
3141
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
3142
|
+
grpc_error_handle error) {
|
3021
3143
|
t->destructive_reclaimer_registered = false;
|
3022
3144
|
if (error.ok() && !t->stream_map.empty()) {
|
3023
3145
|
// As stream_map is a hash map, this selects effectively a random stream.
|
@@ -3027,22 +3149,22 @@ static void destructive_reclaimer_locked(void* arg, grpc_error_handle error) {
|
|
3027
3149
|
std::string(t->peer_string.as_string_view()).c_str(), s->id);
|
3028
3150
|
}
|
3029
3151
|
grpc_chttp2_cancel_stream(
|
3030
|
-
t, s,
|
3152
|
+
t.get(), s,
|
3031
3153
|
grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
|
3032
3154
|
grpc_core::StatusIntProperty::kHttp2Error,
|
3033
|
-
GRPC_HTTP2_ENHANCE_YOUR_CALM)
|
3155
|
+
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
3156
|
+
false);
|
3034
3157
|
if (!t->stream_map.empty()) {
|
3035
3158
|
// Since we cancel one stream per destructive reclamation, if
|
3036
3159
|
// there are more streams left, we can immediately post a new
|
3037
3160
|
// reclaimer in case the resource quota needs to free more
|
3038
3161
|
// memory
|
3039
|
-
post_destructive_reclaimer(t);
|
3162
|
+
post_destructive_reclaimer(t.get());
|
3040
3163
|
}
|
3041
3164
|
}
|
3042
3165
|
if (error != absl::CancelledError()) {
|
3043
3166
|
t->active_reclamation.Finish();
|
3044
3167
|
}
|
3045
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "destructive_reclaimer");
|
3046
3168
|
}
|
3047
3169
|
|
3048
3170
|
//
|
@@ -3100,53 +3222,46 @@ const char* grpc_chttp2_initiate_write_reason_string(
|
|
3100
3222
|
GPR_UNREACHABLE_CODE(return "unknown");
|
3101
3223
|
}
|
3102
3224
|
|
3103
|
-
|
3104
|
-
|
3225
|
+
grpc_endpoint* grpc_chttp2_transport::GetEndpoint() { return ep; }
|
3226
|
+
|
3227
|
+
size_t grpc_chttp2_transport::SizeOfStream() const {
|
3228
|
+
return sizeof(grpc_chttp2_stream);
|
3105
3229
|
}
|
3106
3230
|
|
3107
|
-
|
3108
|
-
|
3109
|
-
|
3110
|
-
|
3111
|
-
nullptr,
|
3112
|
-
set_pollset,
|
3113
|
-
set_pollset_set,
|
3114
|
-
perform_stream_op,
|
3115
|
-
perform_transport_op,
|
3116
|
-
destroy_stream,
|
3117
|
-
destroy_transport,
|
3118
|
-
chttp2_get_endpoint};
|
3231
|
+
bool grpc_chttp2_transport::
|
3232
|
+
HackyDisableStreamOpBatchCoalescingInConnectedChannel() const {
|
3233
|
+
return false;
|
3234
|
+
}
|
3119
3235
|
|
3120
|
-
|
3236
|
+
absl::string_view grpc_chttp2_transport::GetTransportName() const {
|
3237
|
+
return "chttp2";
|
3238
|
+
}
|
3121
3239
|
|
3122
3240
|
grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode>
|
3123
|
-
grpc_chttp2_transport_get_socket_node(
|
3241
|
+
grpc_chttp2_transport_get_socket_node(grpc_core::Transport* transport) {
|
3124
3242
|
grpc_chttp2_transport* t =
|
3125
3243
|
reinterpret_cast<grpc_chttp2_transport*>(transport);
|
3126
3244
|
return t->channelz_socket;
|
3127
3245
|
}
|
3128
3246
|
|
3129
|
-
|
3247
|
+
grpc_core::Transport* grpc_create_chttp2_transport(
|
3130
3248
|
const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
|
3131
3249
|
bool is_client) {
|
3132
|
-
|
3133
|
-
return &t->base;
|
3250
|
+
return new grpc_chttp2_transport(channel_args, ep, is_client);
|
3134
3251
|
}
|
3135
3252
|
|
3136
3253
|
void grpc_chttp2_transport_start_reading(
|
3137
|
-
|
3254
|
+
grpc_core::Transport* transport, grpc_slice_buffer* read_buffer,
|
3138
3255
|
grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close) {
|
3139
|
-
|
3140
|
-
reinterpret_cast<grpc_chttp2_transport*>(transport);
|
3141
|
-
GRPC_CHTTP2_REF_TRANSPORT(
|
3142
|
-
t, "reading_action"); // matches unref inside reading_action
|
3256
|
+
auto t = reinterpret_cast<grpc_chttp2_transport*>(transport)->Ref();
|
3143
3257
|
if (read_buffer != nullptr) {
|
3144
3258
|
grpc_slice_buffer_move_into(read_buffer, &t->read_buffer);
|
3145
3259
|
gpr_free(read_buffer);
|
3146
3260
|
}
|
3147
|
-
t
|
3148
|
-
|
3149
|
-
|
3261
|
+
auto* tp = t.get();
|
3262
|
+
tp->combiner->Run(
|
3263
|
+
grpc_core::NewClosure([t = std::move(t), notify_on_receive_settings,
|
3264
|
+
notify_on_close](grpc_error_handle) mutable {
|
3150
3265
|
if (!t->closed_with_error.ok()) {
|
3151
3266
|
if (notify_on_receive_settings != nullptr) {
|
3152
3267
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, notify_on_receive_settings,
|
@@ -3156,12 +3271,11 @@ void grpc_chttp2_transport_start_reading(
|
|
3156
3271
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, notify_on_close,
|
3157
3272
|
t->closed_with_error);
|
3158
3273
|
}
|
3159
|
-
GRPC_CHTTP2_UNREF_TRANSPORT(t, "reading_action");
|
3160
3274
|
return;
|
3161
3275
|
}
|
3162
3276
|
t->notify_on_receive_settings = notify_on_receive_settings;
|
3163
3277
|
t->notify_on_close = notify_on_close;
|
3164
|
-
read_action_locked(t, absl::OkStatus());
|
3278
|
+
read_action_locked(std::move(t), absl::OkStatus());
|
3165
3279
|
}),
|
3166
3280
|
absl::OkStatus());
|
3167
3281
|
}
|