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
@@ -0,0 +1,1219 @@
|
|
1
|
+
//
|
2
|
+
//
|
3
|
+
// Copyright 2016 gRPC authors.
|
4
|
+
//
|
5
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
// you may not use this file except in compliance with the License.
|
7
|
+
// You may obtain a copy of the License at
|
8
|
+
//
|
9
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
//
|
11
|
+
// Unless required by applicable law or agreed to in writing, software
|
12
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
// See the License for the specific language governing permissions and
|
15
|
+
// limitations under the License.
|
16
|
+
//
|
17
|
+
//
|
18
|
+
|
19
|
+
#include <grpc/support/port_platform.h>
|
20
|
+
|
21
|
+
#include <algorithm>
|
22
|
+
#include <vector>
|
23
|
+
|
24
|
+
#include "absl/strings/string_view.h"
|
25
|
+
|
26
|
+
#include <grpc/impl/channel_arg_names.h>
|
27
|
+
|
28
|
+
#include "src/core/lib/gprpp/status_helper.h"
|
29
|
+
#include "src/core/lib/iomgr/sockaddr.h"
|
30
|
+
|
31
|
+
// IWYU pragma: no_include <arpa/inet.h>
|
32
|
+
// IWYU pragma: no_include <arpa/nameser.h>
|
33
|
+
// IWYU pragma: no_include <inttypes.h>
|
34
|
+
// IWYU pragma: no_include <netdb.h>
|
35
|
+
// IWYU pragma: no_include <netinet/in.h>
|
36
|
+
// IWYU pragma: no_include <stdlib.h>
|
37
|
+
// IWYU pragma: no_include <sys/socket.h>
|
38
|
+
|
39
|
+
#if GRPC_ARES == 1
|
40
|
+
|
41
|
+
#include <string.h>
|
42
|
+
#include <sys/types.h> // IWYU pragma: keep
|
43
|
+
|
44
|
+
#include <string>
|
45
|
+
#include <utility>
|
46
|
+
|
47
|
+
#include <address_sorting/address_sorting.h>
|
48
|
+
#include <ares.h>
|
49
|
+
|
50
|
+
#include "absl/status/status.h"
|
51
|
+
#include "absl/status/statusor.h"
|
52
|
+
#include "absl/strings/str_cat.h"
|
53
|
+
#include "absl/strings/str_format.h"
|
54
|
+
|
55
|
+
#include <grpc/support/alloc.h>
|
56
|
+
#include <grpc/support/log.h>
|
57
|
+
#include <grpc/support/string_util.h>
|
58
|
+
#include <grpc/support/sync.h>
|
59
|
+
|
60
|
+
#include "src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h"
|
61
|
+
#include "src/core/resolver/dns/c_ares/grpc_ares_wrapper.h"
|
62
|
+
#include "src/core/lib/address_utils/parse_address.h"
|
63
|
+
#include "src/core/lib/address_utils/sockaddr_utils.h"
|
64
|
+
#include "src/core/lib/channel/channel_args.h"
|
65
|
+
#include "src/core/lib/gpr/string.h"
|
66
|
+
#include "src/core/lib/gprpp/debug_location.h"
|
67
|
+
#include "src/core/lib/gprpp/host_port.h"
|
68
|
+
#include "src/core/lib/gprpp/time.h"
|
69
|
+
#include "src/core/lib/iomgr/error.h"
|
70
|
+
#include "src/core/lib/iomgr/exec_ctx.h"
|
71
|
+
#include "src/core/lib/iomgr/nameser.h" // IWYU pragma: keep
|
72
|
+
#include "src/core/lib/iomgr/resolved_address.h"
|
73
|
+
#include "src/core/lib/iomgr/timer.h"
|
74
|
+
|
75
|
+
using grpc_core::EndpointAddresses;
|
76
|
+
using grpc_core::EndpointAddressesList;
|
77
|
+
|
78
|
+
grpc_core::TraceFlag grpc_trace_cares_address_sorting(false,
|
79
|
+
"cares_address_sorting");
|
80
|
+
|
81
|
+
grpc_core::TraceFlag grpc_trace_cares_resolver(false, "cares_resolver");
|
82
|
+
|
83
|
+
typedef struct fd_node {
|
84
|
+
// default constructor exists only for linked list manipulation
|
85
|
+
fd_node() : ev_driver(nullptr) {}
|
86
|
+
|
87
|
+
explicit fd_node(grpc_ares_ev_driver* ev_driver) : ev_driver(ev_driver) {}
|
88
|
+
|
89
|
+
/// the owner of this fd node
|
90
|
+
grpc_ares_ev_driver* const ev_driver;
|
91
|
+
/// a closure wrapping on_readable_locked, which should be
|
92
|
+
/// invoked when the grpc_fd in this node becomes readable.
|
93
|
+
grpc_closure read_closure ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
94
|
+
/// a closure wrapping on_writable_locked, which should be
|
95
|
+
/// invoked when the grpc_fd in this node becomes writable.
|
96
|
+
grpc_closure write_closure ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
97
|
+
/// next fd node in the list
|
98
|
+
struct fd_node* next ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
99
|
+
|
100
|
+
/// wrapped fd that's polled by grpc's poller for the current platform
|
101
|
+
grpc_core::GrpcPolledFd* grpc_polled_fd
|
102
|
+
ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
103
|
+
/// if the readable closure has been registered
|
104
|
+
bool readable_registered ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
105
|
+
/// if the writable closure has been registered
|
106
|
+
bool writable_registered ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
107
|
+
/// if the fd has been shutdown yet from grpc iomgr perspective
|
108
|
+
bool already_shutdown ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
109
|
+
} fd_node;
|
110
|
+
|
111
|
+
struct grpc_ares_ev_driver {
|
112
|
+
explicit grpc_ares_ev_driver(grpc_ares_request* request) : request(request) {}
|
113
|
+
|
114
|
+
/// the ares_channel owned by this event driver
|
115
|
+
ares_channel channel ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
116
|
+
/// pollset set for driving the IO events of the channel
|
117
|
+
grpc_pollset_set* pollset_set ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
118
|
+
/// refcount of the event driver
|
119
|
+
gpr_refcount refs;
|
120
|
+
|
121
|
+
/// a list of grpc_fd that this event driver is currently using.
|
122
|
+
fd_node* fds ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
123
|
+
/// is this event driver being shut down
|
124
|
+
bool shutting_down ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
125
|
+
/// request object that's using this ev driver
|
126
|
+
grpc_ares_request* const request;
|
127
|
+
/// Owned by the ev_driver. Creates new GrpcPolledFd's
|
128
|
+
std::unique_ptr<grpc_core::GrpcPolledFdFactory> polled_fd_factory
|
129
|
+
ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
130
|
+
/// query timeout in milliseconds
|
131
|
+
int query_timeout_ms ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
132
|
+
/// alarm to cancel active queries
|
133
|
+
grpc_timer query_timeout ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
134
|
+
/// cancels queries on a timeout
|
135
|
+
grpc_closure on_timeout_locked ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
136
|
+
/// alarm to poll ares_process on in case fd events don't happen
|
137
|
+
grpc_timer ares_backup_poll_alarm ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
138
|
+
/// polls ares_process on a periodic timer
|
139
|
+
grpc_closure on_ares_backup_poll_alarm_locked
|
140
|
+
ABSL_GUARDED_BY(&grpc_ares_request::mu);
|
141
|
+
};
|
142
|
+
|
143
|
+
// TODO(apolcyn): make grpc_ares_hostbyname_request a sub-class
|
144
|
+
// of GrpcAresQuery.
|
145
|
+
typedef struct grpc_ares_hostbyname_request {
|
146
|
+
/// following members are set in create_hostbyname_request_locked
|
147
|
+
///
|
148
|
+
/// the top-level request instance
|
149
|
+
grpc_ares_request* parent_request;
|
150
|
+
/// host to resolve, parsed from the name to resolve
|
151
|
+
char* host;
|
152
|
+
/// port to fill in sockaddr_in, parsed from the name to resolve
|
153
|
+
uint16_t port;
|
154
|
+
/// is it a grpclb address
|
155
|
+
bool is_balancer;
|
156
|
+
/// for logging and errors: the query type ("A" or "AAAA")
|
157
|
+
const char* qtype;
|
158
|
+
} grpc_ares_hostbyname_request;
|
159
|
+
|
160
|
+
static void grpc_ares_request_ref_locked(grpc_ares_request* r)
|
161
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu);
|
162
|
+
static void grpc_ares_request_unref_locked(grpc_ares_request* r)
|
163
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu);
|
164
|
+
|
165
|
+
// TODO(apolcyn): as a part of C++-ification, find a way to
|
166
|
+
// organize per-query and per-resolution information in such a way
|
167
|
+
// that doesn't involve allocating a number of different data
|
168
|
+
// structures.
|
169
|
+
class GrpcAresQuery {
|
170
|
+
public:
|
171
|
+
explicit GrpcAresQuery(grpc_ares_request* r, const std::string& name)
|
172
|
+
: r_(r), name_(name) {
|
173
|
+
grpc_ares_request_ref_locked(r_);
|
174
|
+
}
|
175
|
+
|
176
|
+
~GrpcAresQuery() { grpc_ares_request_unref_locked(r_); }
|
177
|
+
|
178
|
+
grpc_ares_request* parent_request() { return r_; }
|
179
|
+
|
180
|
+
const std::string& name() { return name_; }
|
181
|
+
|
182
|
+
private:
|
183
|
+
// the top level request instance
|
184
|
+
grpc_ares_request* r_;
|
185
|
+
/// for logging and errors
|
186
|
+
const std::string name_;
|
187
|
+
};
|
188
|
+
|
189
|
+
static grpc_ares_ev_driver* grpc_ares_ev_driver_ref(
|
190
|
+
grpc_ares_ev_driver* ev_driver)
|
191
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
192
|
+
GRPC_CARES_TRACE_LOG("request:%p Ref ev_driver %p", ev_driver->request,
|
193
|
+
ev_driver);
|
194
|
+
gpr_ref(&ev_driver->refs);
|
195
|
+
return ev_driver;
|
196
|
+
}
|
197
|
+
|
198
|
+
static void grpc_ares_complete_request_locked(grpc_ares_request* r)
|
199
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu);
|
200
|
+
|
201
|
+
static void grpc_ares_ev_driver_unref(grpc_ares_ev_driver* ev_driver)
|
202
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
203
|
+
GRPC_CARES_TRACE_LOG("request:%p Unref ev_driver %p", ev_driver->request,
|
204
|
+
ev_driver);
|
205
|
+
if (gpr_unref(&ev_driver->refs)) {
|
206
|
+
GRPC_CARES_TRACE_LOG("request:%p destroy ev_driver %p", ev_driver->request,
|
207
|
+
ev_driver);
|
208
|
+
GPR_ASSERT(ev_driver->fds == nullptr);
|
209
|
+
ares_destroy(ev_driver->channel);
|
210
|
+
grpc_ares_complete_request_locked(ev_driver->request);
|
211
|
+
delete ev_driver;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
static void fd_node_destroy_locked(fd_node* fdn)
|
216
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
217
|
+
GRPC_CARES_TRACE_LOG("request:%p delete fd: %s", fdn->ev_driver->request,
|
218
|
+
fdn->grpc_polled_fd->GetName());
|
219
|
+
GPR_ASSERT(!fdn->readable_registered);
|
220
|
+
GPR_ASSERT(!fdn->writable_registered);
|
221
|
+
GPR_ASSERT(fdn->already_shutdown);
|
222
|
+
delete fdn->grpc_polled_fd;
|
223
|
+
delete fdn;
|
224
|
+
}
|
225
|
+
|
226
|
+
static void fd_node_shutdown_locked(fd_node* fdn, const char* reason)
|
227
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
228
|
+
if (!fdn->already_shutdown) {
|
229
|
+
fdn->already_shutdown = true;
|
230
|
+
fdn->grpc_polled_fd->ShutdownLocked(GRPC_ERROR_CREATE(reason));
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
void grpc_ares_ev_driver_on_queries_complete_locked(
|
235
|
+
grpc_ares_ev_driver* ev_driver)
|
236
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
237
|
+
// We mark the event driver as being shut down.
|
238
|
+
// grpc_ares_notify_on_event_locked will shut down any remaining
|
239
|
+
// fds.
|
240
|
+
ev_driver->shutting_down = true;
|
241
|
+
grpc_timer_cancel(&ev_driver->query_timeout);
|
242
|
+
grpc_timer_cancel(&ev_driver->ares_backup_poll_alarm);
|
243
|
+
grpc_ares_ev_driver_unref(ev_driver);
|
244
|
+
}
|
245
|
+
|
246
|
+
void grpc_ares_ev_driver_shutdown_locked(grpc_ares_ev_driver* ev_driver)
|
247
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
248
|
+
ev_driver->shutting_down = true;
|
249
|
+
fd_node* fn = ev_driver->fds;
|
250
|
+
while (fn != nullptr) {
|
251
|
+
fd_node_shutdown_locked(fn, "grpc_ares_ev_driver_shutdown");
|
252
|
+
fn = fn->next;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
// Search fd in the fd_node list head. This is an O(n) search, the max possible
|
257
|
+
// value of n is ARES_GETSOCK_MAXNUM (16). n is typically 1 - 2 in our tests.
|
258
|
+
static fd_node* pop_fd_node_locked(fd_node** head, ares_socket_t as)
|
259
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
260
|
+
fd_node phony_head;
|
261
|
+
phony_head.next = *head;
|
262
|
+
fd_node* node = &phony_head;
|
263
|
+
while (node->next != nullptr) {
|
264
|
+
if (node->next->grpc_polled_fd->GetWrappedAresSocketLocked() == as) {
|
265
|
+
fd_node* ret = node->next;
|
266
|
+
node->next = node->next->next;
|
267
|
+
*head = phony_head.next;
|
268
|
+
return ret;
|
269
|
+
}
|
270
|
+
node = node->next;
|
271
|
+
}
|
272
|
+
return nullptr;
|
273
|
+
}
|
274
|
+
|
275
|
+
static grpc_core::Timestamp calculate_next_ares_backup_poll_alarm(
|
276
|
+
grpc_ares_ev_driver* driver)
|
277
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
278
|
+
// An alternative here could be to use ares_timeout to try to be more
|
279
|
+
// accurate, but that would require using "struct timeval"'s, which just makes
|
280
|
+
// things a bit more complicated. So just poll every second, as suggested
|
281
|
+
// by the c-ares code comments.
|
282
|
+
grpc_core::Duration until_next_ares_backup_poll_alarm =
|
283
|
+
grpc_core::Duration::Seconds(1);
|
284
|
+
GRPC_CARES_TRACE_LOG(
|
285
|
+
"request:%p ev_driver=%p. next ares process poll time in "
|
286
|
+
"%" PRId64 " ms",
|
287
|
+
driver->request, driver, until_next_ares_backup_poll_alarm.millis());
|
288
|
+
return grpc_core::Timestamp::Now() + until_next_ares_backup_poll_alarm;
|
289
|
+
}
|
290
|
+
|
291
|
+
static void on_timeout(void* arg, grpc_error_handle error) {
|
292
|
+
grpc_ares_ev_driver* driver = static_cast<grpc_ares_ev_driver*>(arg);
|
293
|
+
grpc_core::MutexLock lock(&driver->request->mu);
|
294
|
+
GRPC_CARES_TRACE_LOG(
|
295
|
+
"request:%p ev_driver=%p on_timeout_locked. driver->shutting_down=%d. "
|
296
|
+
"err=%s",
|
297
|
+
driver->request, driver, driver->shutting_down,
|
298
|
+
grpc_core::StatusToString(error).c_str());
|
299
|
+
if (!driver->shutting_down && error.ok()) {
|
300
|
+
grpc_ares_ev_driver_shutdown_locked(driver);
|
301
|
+
}
|
302
|
+
grpc_ares_ev_driver_unref(driver);
|
303
|
+
}
|
304
|
+
|
305
|
+
static void grpc_ares_notify_on_event_locked(grpc_ares_ev_driver* ev_driver)
|
306
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu);
|
307
|
+
|
308
|
+
// In case of non-responsive DNS servers, dropped packets, etc., c-ares has
|
309
|
+
// intelligent timeout and retry logic, which we can take advantage of by
|
310
|
+
// polling ares_process_fd on time intervals. Overall, the c-ares library is
|
311
|
+
// meant to be called into and given a chance to proceed name resolution:
|
312
|
+
// a) when fd events happen
|
313
|
+
// b) when some time has passed without fd events having happened
|
314
|
+
// For the latter, we use this backup poller. Also see
|
315
|
+
// https://github.com/grpc/grpc/pull/17688 description for more details.
|
316
|
+
static void on_ares_backup_poll_alarm(void* arg, grpc_error_handle error) {
|
317
|
+
grpc_ares_ev_driver* driver = static_cast<grpc_ares_ev_driver*>(arg);
|
318
|
+
grpc_core::MutexLock lock(&driver->request->mu);
|
319
|
+
GRPC_CARES_TRACE_LOG(
|
320
|
+
"request:%p ev_driver=%p on_ares_backup_poll_alarm_locked. "
|
321
|
+
"driver->shutting_down=%d. "
|
322
|
+
"err=%s",
|
323
|
+
driver->request, driver, driver->shutting_down,
|
324
|
+
grpc_core::StatusToString(error).c_str());
|
325
|
+
if (!driver->shutting_down && error.ok()) {
|
326
|
+
fd_node* fdn = driver->fds;
|
327
|
+
while (fdn != nullptr) {
|
328
|
+
if (!fdn->already_shutdown) {
|
329
|
+
GRPC_CARES_TRACE_LOG(
|
330
|
+
"request:%p ev_driver=%p on_ares_backup_poll_alarm_locked; "
|
331
|
+
"ares_process_fd. fd=%s",
|
332
|
+
driver->request, driver, fdn->grpc_polled_fd->GetName());
|
333
|
+
ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked();
|
334
|
+
ares_process_fd(driver->channel, as, as);
|
335
|
+
}
|
336
|
+
fdn = fdn->next;
|
337
|
+
}
|
338
|
+
if (!driver->shutting_down) {
|
339
|
+
// InvalidateNow to avoid getting stuck re-initializing this timer
|
340
|
+
// in a loop while draining the currently-held WorkSerializer.
|
341
|
+
// Also see https://github.com/grpc/grpc/issues/26079.
|
342
|
+
grpc_core::ExecCtx::Get()->InvalidateNow();
|
343
|
+
grpc_core::Timestamp next_ares_backup_poll_alarm =
|
344
|
+
calculate_next_ares_backup_poll_alarm(driver);
|
345
|
+
grpc_ares_ev_driver_ref(driver);
|
346
|
+
GRPC_CLOSURE_INIT(&driver->on_ares_backup_poll_alarm_locked,
|
347
|
+
on_ares_backup_poll_alarm, driver,
|
348
|
+
grpc_schedule_on_exec_ctx);
|
349
|
+
grpc_timer_init(&driver->ares_backup_poll_alarm,
|
350
|
+
next_ares_backup_poll_alarm,
|
351
|
+
&driver->on_ares_backup_poll_alarm_locked);
|
352
|
+
}
|
353
|
+
grpc_ares_notify_on_event_locked(driver);
|
354
|
+
}
|
355
|
+
grpc_ares_ev_driver_unref(driver);
|
356
|
+
}
|
357
|
+
|
358
|
+
static void on_readable(void* arg, grpc_error_handle error) {
|
359
|
+
fd_node* fdn = static_cast<fd_node*>(arg);
|
360
|
+
grpc_core::MutexLock lock(&fdn->ev_driver->request->mu);
|
361
|
+
GPR_ASSERT(fdn->readable_registered);
|
362
|
+
grpc_ares_ev_driver* ev_driver = fdn->ev_driver;
|
363
|
+
const ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked();
|
364
|
+
fdn->readable_registered = false;
|
365
|
+
GRPC_CARES_TRACE_LOG("request:%p readable on %s", fdn->ev_driver->request,
|
366
|
+
fdn->grpc_polled_fd->GetName());
|
367
|
+
if (error.ok() && !ev_driver->shutting_down) {
|
368
|
+
ares_process_fd(ev_driver->channel, as, ARES_SOCKET_BAD);
|
369
|
+
} else {
|
370
|
+
// If error is not absl::OkStatus() or the resolution was cancelled, it
|
371
|
+
// means the fd has been shutdown or timed out. The pending lookups made on
|
372
|
+
// this ev_driver will be cancelled by the following ares_cancel() and the
|
373
|
+
// on_done callbacks will be invoked with a status of ARES_ECANCELLED. The
|
374
|
+
// remaining file descriptors in this ev_driver will be cleaned up in the
|
375
|
+
// follwing grpc_ares_notify_on_event_locked().
|
376
|
+
ares_cancel(ev_driver->channel);
|
377
|
+
}
|
378
|
+
grpc_ares_notify_on_event_locked(ev_driver);
|
379
|
+
grpc_ares_ev_driver_unref(ev_driver);
|
380
|
+
}
|
381
|
+
|
382
|
+
static void on_writable(void* arg, grpc_error_handle error) {
|
383
|
+
fd_node* fdn = static_cast<fd_node*>(arg);
|
384
|
+
grpc_core::MutexLock lock(&fdn->ev_driver->request->mu);
|
385
|
+
GPR_ASSERT(fdn->writable_registered);
|
386
|
+
grpc_ares_ev_driver* ev_driver = fdn->ev_driver;
|
387
|
+
const ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked();
|
388
|
+
fdn->writable_registered = false;
|
389
|
+
GRPC_CARES_TRACE_LOG("request:%p writable on %s", ev_driver->request,
|
390
|
+
fdn->grpc_polled_fd->GetName());
|
391
|
+
if (error.ok() && !ev_driver->shutting_down) {
|
392
|
+
ares_process_fd(ev_driver->channel, ARES_SOCKET_BAD, as);
|
393
|
+
} else {
|
394
|
+
// If error is not absl::OkStatus() or the resolution was cancelled, it
|
395
|
+
// means the fd has been shutdown or timed out. The pending lookups made on
|
396
|
+
// this ev_driver will be cancelled by the following ares_cancel() and the
|
397
|
+
// on_done callbacks will be invoked with a status of ARES_ECANCELLED. The
|
398
|
+
// remaining file descriptors in this ev_driver will be cleaned up in the
|
399
|
+
// follwing grpc_ares_notify_on_event_locked().
|
400
|
+
ares_cancel(ev_driver->channel);
|
401
|
+
}
|
402
|
+
grpc_ares_notify_on_event_locked(ev_driver);
|
403
|
+
grpc_ares_ev_driver_unref(ev_driver);
|
404
|
+
}
|
405
|
+
|
406
|
+
// Get the file descriptors used by the ev_driver's ares channel, register
|
407
|
+
// driver_closure with these filedescriptors.
|
408
|
+
static void grpc_ares_notify_on_event_locked(grpc_ares_ev_driver* ev_driver)
|
409
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
410
|
+
fd_node* new_list = nullptr;
|
411
|
+
if (!ev_driver->shutting_down) {
|
412
|
+
ares_socket_t socks[ARES_GETSOCK_MAXNUM];
|
413
|
+
int socks_bitmask =
|
414
|
+
ares_getsock(ev_driver->channel, socks, ARES_GETSOCK_MAXNUM);
|
415
|
+
for (size_t i = 0; i < ARES_GETSOCK_MAXNUM; i++) {
|
416
|
+
if (ARES_GETSOCK_READABLE(socks_bitmask, i) ||
|
417
|
+
ARES_GETSOCK_WRITABLE(socks_bitmask, i)) {
|
418
|
+
fd_node* fdn = pop_fd_node_locked(&ev_driver->fds, socks[i]);
|
419
|
+
// Create a new fd_node if sock[i] is not in the fd_node list.
|
420
|
+
if (fdn == nullptr) {
|
421
|
+
fdn = new fd_node(ev_driver);
|
422
|
+
fdn->grpc_polled_fd =
|
423
|
+
ev_driver->polled_fd_factory->NewGrpcPolledFdLocked(
|
424
|
+
socks[i], ev_driver->pollset_set);
|
425
|
+
GRPC_CARES_TRACE_LOG("request:%p new fd: %s", ev_driver->request,
|
426
|
+
fdn->grpc_polled_fd->GetName());
|
427
|
+
fdn->readable_registered = false;
|
428
|
+
fdn->writable_registered = false;
|
429
|
+
fdn->already_shutdown = false;
|
430
|
+
}
|
431
|
+
fdn->next = new_list;
|
432
|
+
new_list = fdn;
|
433
|
+
// Register read_closure if the socket is readable and read_closure has
|
434
|
+
// not been registered with this socket.
|
435
|
+
if (ARES_GETSOCK_READABLE(socks_bitmask, i) &&
|
436
|
+
!fdn->readable_registered) {
|
437
|
+
grpc_ares_ev_driver_ref(ev_driver);
|
438
|
+
GRPC_CLOSURE_INIT(&fdn->read_closure, on_readable, fdn,
|
439
|
+
grpc_schedule_on_exec_ctx);
|
440
|
+
if (fdn->grpc_polled_fd->IsFdStillReadableLocked()) {
|
441
|
+
GRPC_CARES_TRACE_LOG("request:%p schedule direct read on: %s",
|
442
|
+
ev_driver->request,
|
443
|
+
fdn->grpc_polled_fd->GetName());
|
444
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, &fdn->read_closure,
|
445
|
+
absl::OkStatus());
|
446
|
+
} else {
|
447
|
+
GRPC_CARES_TRACE_LOG("request:%p notify read on: %s",
|
448
|
+
ev_driver->request,
|
449
|
+
fdn->grpc_polled_fd->GetName());
|
450
|
+
fdn->grpc_polled_fd->RegisterForOnReadableLocked(
|
451
|
+
&fdn->read_closure);
|
452
|
+
}
|
453
|
+
fdn->readable_registered = true;
|
454
|
+
}
|
455
|
+
// Register write_closure if the socket is writable and write_closure
|
456
|
+
// has not been registered with this socket.
|
457
|
+
if (ARES_GETSOCK_WRITABLE(socks_bitmask, i) &&
|
458
|
+
!fdn->writable_registered) {
|
459
|
+
GRPC_CARES_TRACE_LOG("request:%p notify write on: %s",
|
460
|
+
ev_driver->request,
|
461
|
+
fdn->grpc_polled_fd->GetName());
|
462
|
+
grpc_ares_ev_driver_ref(ev_driver);
|
463
|
+
GRPC_CLOSURE_INIT(&fdn->write_closure, on_writable, fdn,
|
464
|
+
grpc_schedule_on_exec_ctx);
|
465
|
+
fdn->grpc_polled_fd->RegisterForOnWriteableLocked(
|
466
|
+
&fdn->write_closure);
|
467
|
+
fdn->writable_registered = true;
|
468
|
+
}
|
469
|
+
}
|
470
|
+
}
|
471
|
+
}
|
472
|
+
// Any remaining fds in ev_driver->fds were not returned by ares_getsock() and
|
473
|
+
// are therefore no longer in use, so they can be shut down and removed from
|
474
|
+
// the list.
|
475
|
+
while (ev_driver->fds != nullptr) {
|
476
|
+
fd_node* cur = ev_driver->fds;
|
477
|
+
ev_driver->fds = ev_driver->fds->next;
|
478
|
+
fd_node_shutdown_locked(cur, "c-ares fd shutdown");
|
479
|
+
if (!cur->readable_registered && !cur->writable_registered) {
|
480
|
+
fd_node_destroy_locked(cur);
|
481
|
+
} else {
|
482
|
+
cur->next = new_list;
|
483
|
+
new_list = cur;
|
484
|
+
}
|
485
|
+
}
|
486
|
+
ev_driver->fds = new_list;
|
487
|
+
}
|
488
|
+
|
489
|
+
void grpc_ares_ev_driver_start_locked(grpc_ares_ev_driver* ev_driver)
|
490
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&grpc_ares_request::mu) {
|
491
|
+
grpc_ares_notify_on_event_locked(ev_driver);
|
492
|
+
// Initialize overall DNS resolution timeout alarm
|
493
|
+
grpc_core::Duration timeout =
|
494
|
+
ev_driver->query_timeout_ms == 0
|
495
|
+
? grpc_core::Duration::Infinity()
|
496
|
+
: grpc_core::Duration::Milliseconds(ev_driver->query_timeout_ms);
|
497
|
+
GRPC_CARES_TRACE_LOG(
|
498
|
+
"request:%p ev_driver=%p grpc_ares_ev_driver_start_locked. timeout in "
|
499
|
+
"%" PRId64 " ms",
|
500
|
+
ev_driver->request, ev_driver, timeout.millis());
|
501
|
+
grpc_ares_ev_driver_ref(ev_driver);
|
502
|
+
GRPC_CLOSURE_INIT(&ev_driver->on_timeout_locked, on_timeout, ev_driver,
|
503
|
+
grpc_schedule_on_exec_ctx);
|
504
|
+
grpc_timer_init(&ev_driver->query_timeout,
|
505
|
+
grpc_core::Timestamp::Now() + timeout,
|
506
|
+
&ev_driver->on_timeout_locked);
|
507
|
+
// Initialize the backup poll alarm
|
508
|
+
grpc_core::Timestamp next_ares_backup_poll_alarm =
|
509
|
+
calculate_next_ares_backup_poll_alarm(ev_driver);
|
510
|
+
grpc_ares_ev_driver_ref(ev_driver);
|
511
|
+
GRPC_CLOSURE_INIT(&ev_driver->on_ares_backup_poll_alarm_locked,
|
512
|
+
on_ares_backup_poll_alarm, ev_driver,
|
513
|
+
grpc_schedule_on_exec_ctx);
|
514
|
+
grpc_timer_init(&ev_driver->ares_backup_poll_alarm,
|
515
|
+
next_ares_backup_poll_alarm,
|
516
|
+
&ev_driver->on_ares_backup_poll_alarm_locked);
|
517
|
+
}
|
518
|
+
|
519
|
+
static void noop_inject_channel_config(ares_channel* /*channel*/) {}
|
520
|
+
|
521
|
+
void (*grpc_ares_test_only_inject_config)(ares_channel* channel) =
|
522
|
+
noop_inject_channel_config;
|
523
|
+
|
524
|
+
bool g_grpc_ares_test_only_force_tcp = false;
|
525
|
+
|
526
|
+
grpc_error_handle grpc_ares_ev_driver_create_locked(
|
527
|
+
grpc_ares_ev_driver** ev_driver, grpc_pollset_set* pollset_set,
|
528
|
+
int query_timeout_ms, grpc_ares_request* request)
|
529
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(request->mu) {
|
530
|
+
*ev_driver = new grpc_ares_ev_driver(request);
|
531
|
+
ares_options opts;
|
532
|
+
memset(&opts, 0, sizeof(opts));
|
533
|
+
opts.flags |= ARES_FLAG_STAYOPEN;
|
534
|
+
if (g_grpc_ares_test_only_force_tcp) {
|
535
|
+
opts.flags |= ARES_FLAG_USEVC;
|
536
|
+
}
|
537
|
+
int status = ares_init_options(&(*ev_driver)->channel, &opts, ARES_OPT_FLAGS);
|
538
|
+
grpc_ares_test_only_inject_config(&(*ev_driver)->channel);
|
539
|
+
GRPC_CARES_TRACE_LOG("request:%p grpc_ares_ev_driver_create_locked", request);
|
540
|
+
if (status != ARES_SUCCESS) {
|
541
|
+
grpc_error_handle err = GRPC_ERROR_CREATE(absl::StrCat(
|
542
|
+
"Failed to init ares channel. C-ares error: ", ares_strerror(status)));
|
543
|
+
delete *ev_driver;
|
544
|
+
return err;
|
545
|
+
}
|
546
|
+
gpr_ref_init(&(*ev_driver)->refs, 1);
|
547
|
+
(*ev_driver)->pollset_set = pollset_set;
|
548
|
+
(*ev_driver)->fds = nullptr;
|
549
|
+
(*ev_driver)->shutting_down = false;
|
550
|
+
(*ev_driver)->polled_fd_factory =
|
551
|
+
grpc_core::NewGrpcPolledFdFactory(&(*ev_driver)->request->mu);
|
552
|
+
(*ev_driver)
|
553
|
+
->polled_fd_factory->ConfigureAresChannelLocked((*ev_driver)->channel);
|
554
|
+
(*ev_driver)->query_timeout_ms = query_timeout_ms;
|
555
|
+
return absl::OkStatus();
|
556
|
+
}
|
557
|
+
|
558
|
+
static void log_address_sorting_list(const grpc_ares_request* r,
|
559
|
+
const EndpointAddressesList& addresses,
|
560
|
+
const char* input_output_str) {
|
561
|
+
for (size_t i = 0; i < addresses.size(); i++) {
|
562
|
+
auto addr_str = grpc_sockaddr_to_string(&addresses[i].address(), true);
|
563
|
+
gpr_log(GPR_INFO,
|
564
|
+
"(c-ares resolver) request:%p c-ares address sorting: %s[%" PRIuPTR
|
565
|
+
"]=%s",
|
566
|
+
r, input_output_str, i,
|
567
|
+
addr_str.ok() ? addr_str->c_str()
|
568
|
+
: addr_str.status().ToString().c_str());
|
569
|
+
}
|
570
|
+
}
|
571
|
+
|
572
|
+
void grpc_cares_wrapper_address_sorting_sort(const grpc_ares_request* r,
|
573
|
+
EndpointAddressesList* addresses) {
|
574
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_trace_cares_address_sorting)) {
|
575
|
+
log_address_sorting_list(r, *addresses, "input");
|
576
|
+
}
|
577
|
+
address_sorting_sortable* sortables = static_cast<address_sorting_sortable*>(
|
578
|
+
gpr_zalloc(sizeof(address_sorting_sortable) * addresses->size()));
|
579
|
+
for (size_t i = 0; i < addresses->size(); ++i) {
|
580
|
+
sortables[i].user_data = &(*addresses)[i];
|
581
|
+
memcpy(&sortables[i].dest_addr.addr, &(*addresses)[i].address().addr,
|
582
|
+
(*addresses)[i].address().len);
|
583
|
+
sortables[i].dest_addr.len = (*addresses)[i].address().len;
|
584
|
+
}
|
585
|
+
address_sorting_rfc_6724_sort(sortables, addresses->size());
|
586
|
+
EndpointAddressesList sorted;
|
587
|
+
sorted.reserve(addresses->size());
|
588
|
+
for (size_t i = 0; i < addresses->size(); ++i) {
|
589
|
+
sorted.emplace_back(
|
590
|
+
*static_cast<EndpointAddresses*>(sortables[i].user_data));
|
591
|
+
}
|
592
|
+
gpr_free(sortables);
|
593
|
+
*addresses = std::move(sorted);
|
594
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_trace_cares_address_sorting)) {
|
595
|
+
log_address_sorting_list(r, *addresses, "output");
|
596
|
+
}
|
597
|
+
}
|
598
|
+
|
599
|
+
static void grpc_ares_request_ref_locked(grpc_ares_request* r)
|
600
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu) {
|
601
|
+
r->pending_queries++;
|
602
|
+
}
|
603
|
+
|
604
|
+
static void grpc_ares_request_unref_locked(grpc_ares_request* r)
|
605
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu) {
|
606
|
+
r->pending_queries--;
|
607
|
+
if (r->pending_queries == 0u) {
|
608
|
+
grpc_ares_ev_driver_on_queries_complete_locked(r->ev_driver);
|
609
|
+
}
|
610
|
+
}
|
611
|
+
|
612
|
+
void grpc_ares_complete_request_locked(grpc_ares_request* r)
|
613
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu) {
|
614
|
+
// Invoke on_done callback and destroy the request
|
615
|
+
r->ev_driver = nullptr;
|
616
|
+
if (r->addresses_out != nullptr && *r->addresses_out != nullptr) {
|
617
|
+
grpc_cares_wrapper_address_sorting_sort(r, r->addresses_out->get());
|
618
|
+
r->error = absl::OkStatus();
|
619
|
+
// TODO(apolcyn): allow c-ares to return a service config
|
620
|
+
// with no addresses along side it
|
621
|
+
}
|
622
|
+
if (r->balancer_addresses_out != nullptr) {
|
623
|
+
EndpointAddressesList* balancer_addresses =
|
624
|
+
r->balancer_addresses_out->get();
|
625
|
+
if (balancer_addresses != nullptr) {
|
626
|
+
grpc_cares_wrapper_address_sorting_sort(r, balancer_addresses);
|
627
|
+
}
|
628
|
+
}
|
629
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, r->on_done, r->error);
|
630
|
+
}
|
631
|
+
|
632
|
+
// Note that the returned object takes a reference to qtype, so
|
633
|
+
// qtype must outlive it.
|
634
|
+
static grpc_ares_hostbyname_request* create_hostbyname_request_locked(
|
635
|
+
grpc_ares_request* parent_request, const char* host, uint16_t port,
|
636
|
+
bool is_balancer, const char* qtype)
|
637
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(parent_request->mu) {
|
638
|
+
GRPC_CARES_TRACE_LOG(
|
639
|
+
"request:%p create_hostbyname_request_locked host:%s port:%d "
|
640
|
+
"is_balancer:%d qtype:%s",
|
641
|
+
parent_request, host, port, is_balancer, qtype);
|
642
|
+
grpc_ares_hostbyname_request* hr = new grpc_ares_hostbyname_request();
|
643
|
+
hr->parent_request = parent_request;
|
644
|
+
hr->host = gpr_strdup(host);
|
645
|
+
hr->port = port;
|
646
|
+
hr->is_balancer = is_balancer;
|
647
|
+
hr->qtype = qtype;
|
648
|
+
grpc_ares_request_ref_locked(parent_request);
|
649
|
+
return hr;
|
650
|
+
}
|
651
|
+
|
652
|
+
static void destroy_hostbyname_request_locked(grpc_ares_hostbyname_request* hr)
|
653
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(hr->parent_request->mu) {
|
654
|
+
grpc_ares_request_unref_locked(hr->parent_request);
|
655
|
+
gpr_free(hr->host);
|
656
|
+
delete hr;
|
657
|
+
}
|
658
|
+
|
659
|
+
static void on_hostbyname_done_locked(void* arg, int status, int /*timeouts*/,
|
660
|
+
struct hostent* hostent)
|
661
|
+
ABSL_NO_THREAD_SAFETY_ANALYSIS {
|
662
|
+
// This callback is invoked from the c-ares library, so disable thread safety
|
663
|
+
// analysis. Note that we are guaranteed to be holding r->mu, though.
|
664
|
+
grpc_ares_hostbyname_request* hr =
|
665
|
+
static_cast<grpc_ares_hostbyname_request*>(arg);
|
666
|
+
grpc_ares_request* r = hr->parent_request;
|
667
|
+
if (status == ARES_SUCCESS) {
|
668
|
+
GRPC_CARES_TRACE_LOG(
|
669
|
+
"request:%p on_hostbyname_done_locked qtype=%s host=%s ARES_SUCCESS", r,
|
670
|
+
hr->qtype, hr->host);
|
671
|
+
std::unique_ptr<EndpointAddressesList>* address_list_ptr =
|
672
|
+
hr->is_balancer ? r->balancer_addresses_out : r->addresses_out;
|
673
|
+
if (*address_list_ptr == nullptr) {
|
674
|
+
*address_list_ptr = std::make_unique<EndpointAddressesList>();
|
675
|
+
}
|
676
|
+
EndpointAddressesList& addresses = **address_list_ptr;
|
677
|
+
for (size_t i = 0; hostent->h_addr_list[i] != nullptr; ++i) {
|
678
|
+
grpc_core::ChannelArgs args;
|
679
|
+
if (hr->is_balancer) {
|
680
|
+
args = args.Set(GRPC_ARG_DEFAULT_AUTHORITY, hr->host);
|
681
|
+
}
|
682
|
+
grpc_resolved_address address;
|
683
|
+
memset(&address, 0, sizeof(address));
|
684
|
+
switch (hostent->h_addrtype) {
|
685
|
+
case AF_INET6: {
|
686
|
+
address.len = sizeof(struct sockaddr_in6);
|
687
|
+
auto* addr = reinterpret_cast<struct sockaddr_in6*>(&address.addr);
|
688
|
+
memcpy(&addr->sin6_addr, hostent->h_addr_list[i],
|
689
|
+
sizeof(struct in6_addr));
|
690
|
+
addr->sin6_family = static_cast<unsigned char>(hostent->h_addrtype);
|
691
|
+
addr->sin6_port = hr->port;
|
692
|
+
char output[INET6_ADDRSTRLEN];
|
693
|
+
ares_inet_ntop(AF_INET6, &addr->sin6_addr, output, INET6_ADDRSTRLEN);
|
694
|
+
GRPC_CARES_TRACE_LOG(
|
695
|
+
"request:%p c-ares resolver gets a AF_INET6 result: \n"
|
696
|
+
" addr: %s\n port: %d\n sin6_scope_id: %d\n",
|
697
|
+
r, output, ntohs(hr->port), addr->sin6_scope_id);
|
698
|
+
break;
|
699
|
+
}
|
700
|
+
case AF_INET: {
|
701
|
+
address.len = sizeof(struct sockaddr_in);
|
702
|
+
auto* addr = reinterpret_cast<struct sockaddr_in*>(&address.addr);
|
703
|
+
memcpy(&addr->sin_addr, hostent->h_addr_list[i],
|
704
|
+
sizeof(struct in_addr));
|
705
|
+
addr->sin_family = static_cast<unsigned char>(hostent->h_addrtype);
|
706
|
+
addr->sin_port = hr->port;
|
707
|
+
char output[INET_ADDRSTRLEN];
|
708
|
+
ares_inet_ntop(AF_INET, &addr->sin_addr, output, INET_ADDRSTRLEN);
|
709
|
+
GRPC_CARES_TRACE_LOG(
|
710
|
+
"request:%p c-ares resolver gets a AF_INET result: \n"
|
711
|
+
" addr: %s\n port: %d\n",
|
712
|
+
r, output, ntohs(hr->port));
|
713
|
+
break;
|
714
|
+
}
|
715
|
+
}
|
716
|
+
addresses.emplace_back(address, args);
|
717
|
+
}
|
718
|
+
} else {
|
719
|
+
std::string error_msg = absl::StrFormat(
|
720
|
+
"C-ares status is not ARES_SUCCESS qtype=%s name=%s is_balancer=%d: %s",
|
721
|
+
hr->qtype, hr->host, hr->is_balancer, ares_strerror(status));
|
722
|
+
GRPC_CARES_TRACE_LOG("request:%p on_hostbyname_done_locked: %s", r,
|
723
|
+
error_msg.c_str());
|
724
|
+
grpc_error_handle error = GRPC_ERROR_CREATE(error_msg);
|
725
|
+
r->error = grpc_error_add_child(error, r->error);
|
726
|
+
}
|
727
|
+
destroy_hostbyname_request_locked(hr);
|
728
|
+
}
|
729
|
+
|
730
|
+
static void on_srv_query_done_locked(void* arg, int status, int /*timeouts*/,
|
731
|
+
unsigned char* abuf,
|
732
|
+
int alen) ABSL_NO_THREAD_SAFETY_ANALYSIS {
|
733
|
+
// This callback is invoked from the c-ares library, so disable thread safety
|
734
|
+
// analysis. Note that we are guaranteed to be holding r->mu, though.
|
735
|
+
GrpcAresQuery* q = static_cast<GrpcAresQuery*>(arg);
|
736
|
+
grpc_ares_request* r = q->parent_request();
|
737
|
+
if (status == ARES_SUCCESS) {
|
738
|
+
GRPC_CARES_TRACE_LOG(
|
739
|
+
"request:%p on_srv_query_done_locked name=%s ARES_SUCCESS", r,
|
740
|
+
q->name().c_str());
|
741
|
+
struct ares_srv_reply* reply;
|
742
|
+
const int parse_status = ares_parse_srv_reply(abuf, alen, &reply);
|
743
|
+
GRPC_CARES_TRACE_LOG("request:%p ares_parse_srv_reply: %d", r,
|
744
|
+
parse_status);
|
745
|
+
if (parse_status == ARES_SUCCESS) {
|
746
|
+
for (struct ares_srv_reply* srv_it = reply; srv_it != nullptr;
|
747
|
+
srv_it = srv_it->next) {
|
748
|
+
if (grpc_ares_query_ipv6()) {
|
749
|
+
grpc_ares_hostbyname_request* hr = create_hostbyname_request_locked(
|
750
|
+
r, srv_it->host, htons(srv_it->port), true /* is_balancer */,
|
751
|
+
"AAAA");
|
752
|
+
ares_gethostbyname(r->ev_driver->channel, hr->host, AF_INET6,
|
753
|
+
on_hostbyname_done_locked, hr);
|
754
|
+
}
|
755
|
+
grpc_ares_hostbyname_request* hr = create_hostbyname_request_locked(
|
756
|
+
r, srv_it->host, htons(srv_it->port), true /* is_balancer */, "A");
|
757
|
+
ares_gethostbyname(r->ev_driver->channel, hr->host, AF_INET,
|
758
|
+
on_hostbyname_done_locked, hr);
|
759
|
+
}
|
760
|
+
}
|
761
|
+
if (reply != nullptr) {
|
762
|
+
ares_free_data(reply);
|
763
|
+
}
|
764
|
+
} else {
|
765
|
+
std::string error_msg = absl::StrFormat(
|
766
|
+
"C-ares status is not ARES_SUCCESS qtype=SRV name=%s: %s", q->name(),
|
767
|
+
ares_strerror(status));
|
768
|
+
GRPC_CARES_TRACE_LOG("request:%p on_srv_query_done_locked: %s", r,
|
769
|
+
error_msg.c_str());
|
770
|
+
grpc_error_handle error = GRPC_ERROR_CREATE(error_msg);
|
771
|
+
r->error = grpc_error_add_child(error, r->error);
|
772
|
+
}
|
773
|
+
delete q;
|
774
|
+
}
|
775
|
+
|
776
|
+
static const char g_service_config_attribute_prefix[] = "grpc_config=";
|
777
|
+
|
778
|
+
static void on_txt_done_locked(void* arg, int status, int /*timeouts*/,
|
779
|
+
unsigned char* buf,
|
780
|
+
int len) ABSL_NO_THREAD_SAFETY_ANALYSIS {
|
781
|
+
// This callback is invoked from the c-ares library, so disable thread safety
|
782
|
+
// analysis. Note that we are guaranteed to be holding r->mu, though.
|
783
|
+
GrpcAresQuery* q = static_cast<GrpcAresQuery*>(arg);
|
784
|
+
std::unique_ptr<GrpcAresQuery> query_deleter(q);
|
785
|
+
grpc_ares_request* r = q->parent_request();
|
786
|
+
const size_t prefix_len = sizeof(g_service_config_attribute_prefix) - 1;
|
787
|
+
struct ares_txt_ext* result = nullptr;
|
788
|
+
struct ares_txt_ext* reply = nullptr;
|
789
|
+
grpc_error_handle error;
|
790
|
+
if (status != ARES_SUCCESS) goto fail;
|
791
|
+
GRPC_CARES_TRACE_LOG("request:%p on_txt_done_locked name=%s ARES_SUCCESS", r,
|
792
|
+
q->name().c_str());
|
793
|
+
status = ares_parse_txt_reply_ext(buf, len, &reply);
|
794
|
+
if (status != ARES_SUCCESS) goto fail;
|
795
|
+
// Find service config in TXT record.
|
796
|
+
for (result = reply; result != nullptr; result = result->next) {
|
797
|
+
if (result->record_start &&
|
798
|
+
memcmp(result->txt, g_service_config_attribute_prefix, prefix_len) ==
|
799
|
+
0) {
|
800
|
+
break;
|
801
|
+
}
|
802
|
+
}
|
803
|
+
// Found a service config record.
|
804
|
+
if (result != nullptr) {
|
805
|
+
size_t service_config_len = result->length - prefix_len;
|
806
|
+
*r->service_config_json_out =
|
807
|
+
static_cast<char*>(gpr_malloc(service_config_len + 1));
|
808
|
+
memcpy(*r->service_config_json_out, result->txt + prefix_len,
|
809
|
+
service_config_len);
|
810
|
+
for (result = result->next; result != nullptr && !result->record_start;
|
811
|
+
result = result->next) {
|
812
|
+
*r->service_config_json_out = static_cast<char*>(
|
813
|
+
gpr_realloc(*r->service_config_json_out,
|
814
|
+
service_config_len + result->length + 1));
|
815
|
+
memcpy(*r->service_config_json_out + service_config_len, result->txt,
|
816
|
+
result->length);
|
817
|
+
service_config_len += result->length;
|
818
|
+
}
|
819
|
+
(*r->service_config_json_out)[service_config_len] = '\0';
|
820
|
+
GRPC_CARES_TRACE_LOG("request:%p found service config: %s", r,
|
821
|
+
*r->service_config_json_out);
|
822
|
+
}
|
823
|
+
// Clean up.
|
824
|
+
ares_free_data(reply);
|
825
|
+
grpc_ares_request_unref_locked(r);
|
826
|
+
return;
|
827
|
+
fail:
|
828
|
+
std::string error_msg =
|
829
|
+
absl::StrFormat("C-ares status is not ARES_SUCCESS qtype=TXT name=%s: %s",
|
830
|
+
q->name(), ares_strerror(status));
|
831
|
+
GRPC_CARES_TRACE_LOG("request:%p on_txt_done_locked %s", r,
|
832
|
+
error_msg.c_str());
|
833
|
+
error = GRPC_ERROR_CREATE(error_msg);
|
834
|
+
r->error = grpc_error_add_child(error, r->error);
|
835
|
+
}
|
836
|
+
|
837
|
+
grpc_error_handle set_request_dns_server(grpc_ares_request* r,
|
838
|
+
absl::string_view dns_server)
|
839
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu) {
|
840
|
+
if (!dns_server.empty()) {
|
841
|
+
GRPC_CARES_TRACE_LOG("request:%p Using DNS server %s", r,
|
842
|
+
dns_server.data());
|
843
|
+
grpc_resolved_address addr;
|
844
|
+
if (grpc_parse_ipv4_hostport(dns_server, &addr, /*log_errors=*/false)) {
|
845
|
+
r->dns_server_addr.family = AF_INET;
|
846
|
+
struct sockaddr_in* in = reinterpret_cast<struct sockaddr_in*>(addr.addr);
|
847
|
+
memcpy(&r->dns_server_addr.addr.addr4, &in->sin_addr,
|
848
|
+
sizeof(struct in_addr));
|
849
|
+
r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr);
|
850
|
+
r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr);
|
851
|
+
} else if (grpc_parse_ipv6_hostport(dns_server, &addr,
|
852
|
+
/*log_errors=*/false)) {
|
853
|
+
r->dns_server_addr.family = AF_INET6;
|
854
|
+
struct sockaddr_in6* in6 =
|
855
|
+
reinterpret_cast<struct sockaddr_in6*>(addr.addr);
|
856
|
+
memcpy(&r->dns_server_addr.addr.addr6, &in6->sin6_addr,
|
857
|
+
sizeof(struct in6_addr));
|
858
|
+
r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr);
|
859
|
+
r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr);
|
860
|
+
} else {
|
861
|
+
return GRPC_ERROR_CREATE(
|
862
|
+
absl::StrCat("cannot parse authority ", dns_server));
|
863
|
+
}
|
864
|
+
int status =
|
865
|
+
ares_set_servers_ports(r->ev_driver->channel, &r->dns_server_addr);
|
866
|
+
if (status != ARES_SUCCESS) {
|
867
|
+
return GRPC_ERROR_CREATE(absl::StrCat(
|
868
|
+
"C-ares status is not ARES_SUCCESS: ", ares_strerror(status)));
|
869
|
+
}
|
870
|
+
}
|
871
|
+
return absl::OkStatus();
|
872
|
+
}
|
873
|
+
|
874
|
+
// Common logic for all lookup methods.
|
875
|
+
// If an error occurs, callers must run the client callback.
|
876
|
+
grpc_error_handle grpc_dns_lookup_ares_continued(
|
877
|
+
grpc_ares_request* r, const char* dns_server, const char* name,
|
878
|
+
const char* default_port, grpc_pollset_set* interested_parties,
|
879
|
+
int query_timeout_ms, std::string* host, std::string* port, bool check_port)
|
880
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu) {
|
881
|
+
grpc_error_handle error;
|
882
|
+
// parse name, splitting it into host and port parts
|
883
|
+
grpc_core::SplitHostPort(name, host, port);
|
884
|
+
if (host->empty()) {
|
885
|
+
error =
|
886
|
+
grpc_error_set_str(GRPC_ERROR_CREATE("unparseable host:port"),
|
887
|
+
grpc_core::StatusStrProperty::kTargetAddress, name);
|
888
|
+
return error;
|
889
|
+
} else if (check_port && port->empty()) {
|
890
|
+
if (default_port == nullptr || strlen(default_port) == 0) {
|
891
|
+
error = grpc_error_set_str(GRPC_ERROR_CREATE("no port in name"),
|
892
|
+
grpc_core::StatusStrProperty::kTargetAddress,
|
893
|
+
name);
|
894
|
+
return error;
|
895
|
+
}
|
896
|
+
*port = default_port;
|
897
|
+
}
|
898
|
+
error = grpc_ares_ev_driver_create_locked(&r->ev_driver, interested_parties,
|
899
|
+
query_timeout_ms, r);
|
900
|
+
if (!error.ok()) return error;
|
901
|
+
// If dns_server is specified, use it.
|
902
|
+
error = set_request_dns_server(r, dns_server);
|
903
|
+
return error;
|
904
|
+
}
|
905
|
+
|
906
|
+
static bool inner_resolve_as_ip_literal_locked(
|
907
|
+
const char* name, const char* default_port,
|
908
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* addrs, std::string* host,
|
909
|
+
std::string* port, std::string* hostport) {
|
910
|
+
if (!grpc_core::SplitHostPort(name, host, port)) {
|
911
|
+
gpr_log(GPR_ERROR,
|
912
|
+
"Failed to parse %s to host:port while attempting to resolve as ip "
|
913
|
+
"literal.",
|
914
|
+
name);
|
915
|
+
return false;
|
916
|
+
}
|
917
|
+
if (port->empty()) {
|
918
|
+
if (default_port == nullptr || strlen(default_port) == 0) {
|
919
|
+
gpr_log(GPR_ERROR,
|
920
|
+
"No port or default port for %s while attempting to resolve as "
|
921
|
+
"ip literal.",
|
922
|
+
name);
|
923
|
+
return false;
|
924
|
+
}
|
925
|
+
*port = default_port;
|
926
|
+
}
|
927
|
+
grpc_resolved_address addr;
|
928
|
+
*hostport = grpc_core::JoinHostPort(*host, atoi(port->c_str()));
|
929
|
+
if (grpc_parse_ipv4_hostport(hostport->c_str(), &addr,
|
930
|
+
false /* log errors */) ||
|
931
|
+
grpc_parse_ipv6_hostport(hostport->c_str(), &addr,
|
932
|
+
false /* log errors */)) {
|
933
|
+
GPR_ASSERT(*addrs == nullptr);
|
934
|
+
*addrs = std::make_unique<EndpointAddressesList>();
|
935
|
+
(*addrs)->emplace_back(addr, grpc_core::ChannelArgs());
|
936
|
+
return true;
|
937
|
+
}
|
938
|
+
return false;
|
939
|
+
}
|
940
|
+
|
941
|
+
static bool resolve_as_ip_literal_locked(
|
942
|
+
const char* name, const char* default_port,
|
943
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* addrs) {
|
944
|
+
std::string host;
|
945
|
+
std::string port;
|
946
|
+
std::string hostport;
|
947
|
+
bool out = inner_resolve_as_ip_literal_locked(name, default_port, addrs,
|
948
|
+
&host, &port, &hostport);
|
949
|
+
return out;
|
950
|
+
}
|
951
|
+
|
952
|
+
static bool target_matches_localhost_inner(const char* name, std::string* host,
|
953
|
+
std::string* port) {
|
954
|
+
if (!grpc_core::SplitHostPort(name, host, port)) {
|
955
|
+
gpr_log(GPR_ERROR, "Unable to split host and port for name: %s", name);
|
956
|
+
return false;
|
957
|
+
}
|
958
|
+
return gpr_stricmp(host->c_str(), "localhost") == 0;
|
959
|
+
}
|
960
|
+
|
961
|
+
static bool target_matches_localhost(const char* name) {
|
962
|
+
std::string host;
|
963
|
+
std::string port;
|
964
|
+
return target_matches_localhost_inner(name, &host, &port);
|
965
|
+
}
|
966
|
+
|
967
|
+
#ifdef GRPC_ARES_RESOLVE_LOCALHOST_MANUALLY
|
968
|
+
static bool inner_maybe_resolve_localhost_manually_locked(
|
969
|
+
const grpc_ares_request* r, const char* name, const char* default_port,
|
970
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* addrs, std::string* host,
|
971
|
+
std::string* port) {
|
972
|
+
grpc_core::SplitHostPort(name, host, port);
|
973
|
+
if (host->empty()) {
|
974
|
+
gpr_log(GPR_ERROR,
|
975
|
+
"Failed to parse %s into host:port during manual localhost "
|
976
|
+
"resolution check.",
|
977
|
+
name);
|
978
|
+
return false;
|
979
|
+
}
|
980
|
+
if (port->empty()) {
|
981
|
+
if (default_port == nullptr || strlen(default_port) == 0) {
|
982
|
+
gpr_log(GPR_ERROR,
|
983
|
+
"No port or default port for %s during manual localhost "
|
984
|
+
"resolution check.",
|
985
|
+
name);
|
986
|
+
return false;
|
987
|
+
}
|
988
|
+
*port = default_port;
|
989
|
+
}
|
990
|
+
if (gpr_stricmp(host->c_str(), "localhost") == 0) {
|
991
|
+
GPR_ASSERT(*addrs == nullptr);
|
992
|
+
*addrs = std::make_unique<grpc_core::EndpointAddressesList>();
|
993
|
+
uint16_t numeric_port = grpc_strhtons(port->c_str());
|
994
|
+
grpc_resolved_address address;
|
995
|
+
// Append the ipv6 loopback address.
|
996
|
+
memset(&address, 0, sizeof(address));
|
997
|
+
auto* ipv6_loopback_addr =
|
998
|
+
reinterpret_cast<struct sockaddr_in6*>(&address.addr);
|
999
|
+
((char*)&ipv6_loopback_addr->sin6_addr)[15] = 1;
|
1000
|
+
ipv6_loopback_addr->sin6_family = AF_INET6;
|
1001
|
+
ipv6_loopback_addr->sin6_port = numeric_port;
|
1002
|
+
address.len = sizeof(struct sockaddr_in6);
|
1003
|
+
(*addrs)->emplace_back(address, grpc_core::ChannelArgs());
|
1004
|
+
// Append the ipv4 loopback address.
|
1005
|
+
memset(&address, 0, sizeof(address));
|
1006
|
+
auto* ipv4_loopback_addr =
|
1007
|
+
reinterpret_cast<struct sockaddr_in*>(&address.addr);
|
1008
|
+
((char*)&ipv4_loopback_addr->sin_addr)[0] = 0x7f;
|
1009
|
+
((char*)&ipv4_loopback_addr->sin_addr)[3] = 0x01;
|
1010
|
+
ipv4_loopback_addr->sin_family = AF_INET;
|
1011
|
+
ipv4_loopback_addr->sin_port = numeric_port;
|
1012
|
+
address.len = sizeof(struct sockaddr_in);
|
1013
|
+
(*addrs)->emplace_back(address, grpc_core::ChannelArgs());
|
1014
|
+
// Let the address sorter figure out which one should be tried first.
|
1015
|
+
grpc_cares_wrapper_address_sorting_sort(r, addrs->get());
|
1016
|
+
return true;
|
1017
|
+
}
|
1018
|
+
return false;
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
static bool grpc_ares_maybe_resolve_localhost_manually_locked(
|
1022
|
+
const grpc_ares_request* r, const char* name, const char* default_port,
|
1023
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* addrs) {
|
1024
|
+
std::string host;
|
1025
|
+
std::string port;
|
1026
|
+
return inner_maybe_resolve_localhost_manually_locked(r, name, default_port,
|
1027
|
+
addrs, &host, &port);
|
1028
|
+
}
|
1029
|
+
#else // GRPC_ARES_RESOLVE_LOCALHOST_MANUALLY
|
1030
|
+
static bool grpc_ares_maybe_resolve_localhost_manually_locked(
|
1031
|
+
const grpc_ares_request* /*r*/, const char* /*name*/,
|
1032
|
+
const char* /*default_port*/,
|
1033
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* /*addrs*/) {
|
1034
|
+
return false;
|
1035
|
+
}
|
1036
|
+
#endif // GRPC_ARES_RESOLVE_LOCALHOST_MANUALLY
|
1037
|
+
|
1038
|
+
static grpc_ares_request* grpc_dns_lookup_hostname_ares_impl(
|
1039
|
+
const char* dns_server, const char* name, const char* default_port,
|
1040
|
+
grpc_pollset_set* interested_parties, grpc_closure* on_done,
|
1041
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* addrs,
|
1042
|
+
int query_timeout_ms) {
|
1043
|
+
grpc_ares_request* r = new grpc_ares_request();
|
1044
|
+
grpc_core::MutexLock lock(&r->mu);
|
1045
|
+
r->ev_driver = nullptr;
|
1046
|
+
r->on_done = on_done;
|
1047
|
+
r->addresses_out = addrs;
|
1048
|
+
GRPC_CARES_TRACE_LOG(
|
1049
|
+
"request:%p c-ares grpc_dns_lookup_hostname_ares_impl name=%s, "
|
1050
|
+
"default_port=%s",
|
1051
|
+
r, name, default_port);
|
1052
|
+
// Early out if the target is an ipv4 or ipv6 literal.
|
1053
|
+
if (resolve_as_ip_literal_locked(name, default_port, addrs)) {
|
1054
|
+
grpc_ares_complete_request_locked(r);
|
1055
|
+
return r;
|
1056
|
+
}
|
1057
|
+
// Early out if the target is localhost and we're on Windows.
|
1058
|
+
if (grpc_ares_maybe_resolve_localhost_manually_locked(r, name, default_port,
|
1059
|
+
addrs)) {
|
1060
|
+
grpc_ares_complete_request_locked(r);
|
1061
|
+
return r;
|
1062
|
+
}
|
1063
|
+
// Look up name using c-ares lib.
|
1064
|
+
std::string host;
|
1065
|
+
std::string port;
|
1066
|
+
grpc_error_handle error = grpc_dns_lookup_ares_continued(
|
1067
|
+
r, dns_server, name, default_port, interested_parties, query_timeout_ms,
|
1068
|
+
&host, &port, true);
|
1069
|
+
if (!error.ok()) {
|
1070
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, r->on_done, error);
|
1071
|
+
return r;
|
1072
|
+
}
|
1073
|
+
r->pending_queries = 1;
|
1074
|
+
grpc_ares_hostbyname_request* hr = nullptr;
|
1075
|
+
if (grpc_ares_query_ipv6()) {
|
1076
|
+
hr = create_hostbyname_request_locked(r, host.c_str(),
|
1077
|
+
grpc_strhtons(port.c_str()),
|
1078
|
+
/*is_balancer=*/false, "AAAA");
|
1079
|
+
ares_gethostbyname(r->ev_driver->channel, hr->host, AF_INET6,
|
1080
|
+
on_hostbyname_done_locked, hr);
|
1081
|
+
}
|
1082
|
+
hr = create_hostbyname_request_locked(r, host.c_str(),
|
1083
|
+
grpc_strhtons(port.c_str()),
|
1084
|
+
/*is_balancer=*/false, "A");
|
1085
|
+
ares_gethostbyname(r->ev_driver->channel, hr->host, AF_INET,
|
1086
|
+
on_hostbyname_done_locked, hr);
|
1087
|
+
grpc_ares_ev_driver_start_locked(r->ev_driver);
|
1088
|
+
grpc_ares_request_unref_locked(r);
|
1089
|
+
return r;
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
grpc_ares_request* grpc_dns_lookup_srv_ares_impl(
|
1093
|
+
const char* dns_server, const char* name,
|
1094
|
+
grpc_pollset_set* interested_parties, grpc_closure* on_done,
|
1095
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* balancer_addresses,
|
1096
|
+
int query_timeout_ms) {
|
1097
|
+
grpc_ares_request* r = new grpc_ares_request();
|
1098
|
+
grpc_core::MutexLock lock(&r->mu);
|
1099
|
+
r->ev_driver = nullptr;
|
1100
|
+
r->on_done = on_done;
|
1101
|
+
r->balancer_addresses_out = balancer_addresses;
|
1102
|
+
GRPC_CARES_TRACE_LOG(
|
1103
|
+
"request:%p c-ares grpc_dns_lookup_srv_ares_impl name=%s", r, name);
|
1104
|
+
grpc_error_handle error;
|
1105
|
+
// Don't query for SRV records if the target is "localhost"
|
1106
|
+
if (target_matches_localhost(name)) {
|
1107
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, r->on_done, error);
|
1108
|
+
return r;
|
1109
|
+
}
|
1110
|
+
// Look up name using c-ares lib.
|
1111
|
+
std::string host;
|
1112
|
+
std::string port;
|
1113
|
+
error = grpc_dns_lookup_ares_continued(r, dns_server, name, nullptr,
|
1114
|
+
interested_parties, query_timeout_ms,
|
1115
|
+
&host, &port, false);
|
1116
|
+
if (!error.ok()) {
|
1117
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, r->on_done, error);
|
1118
|
+
return r;
|
1119
|
+
}
|
1120
|
+
r->pending_queries = 1;
|
1121
|
+
// Query the SRV record
|
1122
|
+
std::string service_name = absl::StrCat("_grpclb._tcp.", host);
|
1123
|
+
GrpcAresQuery* srv_query = new GrpcAresQuery(r, service_name);
|
1124
|
+
ares_query(r->ev_driver->channel, service_name.c_str(), ns_c_in, ns_t_srv,
|
1125
|
+
on_srv_query_done_locked, srv_query);
|
1126
|
+
grpc_ares_ev_driver_start_locked(r->ev_driver);
|
1127
|
+
grpc_ares_request_unref_locked(r);
|
1128
|
+
return r;
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
grpc_ares_request* grpc_dns_lookup_txt_ares_impl(
|
1132
|
+
const char* dns_server, const char* name,
|
1133
|
+
grpc_pollset_set* interested_parties, grpc_closure* on_done,
|
1134
|
+
char** service_config_json, int query_timeout_ms) {
|
1135
|
+
grpc_ares_request* r = new grpc_ares_request();
|
1136
|
+
grpc_core::MutexLock lock(&r->mu);
|
1137
|
+
r->ev_driver = nullptr;
|
1138
|
+
r->on_done = on_done;
|
1139
|
+
r->service_config_json_out = service_config_json;
|
1140
|
+
GRPC_CARES_TRACE_LOG(
|
1141
|
+
"request:%p c-ares grpc_dns_lookup_txt_ares_impl name=%s", r, name);
|
1142
|
+
grpc_error_handle error;
|
1143
|
+
// Don't query for TXT records if the target is "localhost"
|
1144
|
+
if (target_matches_localhost(name)) {
|
1145
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, r->on_done, error);
|
1146
|
+
return r;
|
1147
|
+
}
|
1148
|
+
// Look up name using c-ares lib.
|
1149
|
+
std::string host;
|
1150
|
+
std::string port;
|
1151
|
+
error = grpc_dns_lookup_ares_continued(r, dns_server, name, nullptr,
|
1152
|
+
interested_parties, query_timeout_ms,
|
1153
|
+
&host, &port, false);
|
1154
|
+
if (!error.ok()) {
|
1155
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, r->on_done, error);
|
1156
|
+
return r;
|
1157
|
+
}
|
1158
|
+
r->pending_queries = 1;
|
1159
|
+
// Query the TXT record
|
1160
|
+
std::string config_name = absl::StrCat("_grpc_config.", host);
|
1161
|
+
GrpcAresQuery* txt_query = new GrpcAresQuery(r, config_name);
|
1162
|
+
ares_search(r->ev_driver->channel, config_name.c_str(), ns_c_in, ns_t_txt,
|
1163
|
+
on_txt_done_locked, txt_query);
|
1164
|
+
grpc_ares_ev_driver_start_locked(r->ev_driver);
|
1165
|
+
grpc_ares_request_unref_locked(r);
|
1166
|
+
return r;
|
1167
|
+
}
|
1168
|
+
|
1169
|
+
grpc_ares_request* (*grpc_dns_lookup_hostname_ares)(
|
1170
|
+
const char* dns_server, const char* name, const char* default_port,
|
1171
|
+
grpc_pollset_set* interested_parties, grpc_closure* on_done,
|
1172
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* addrs,
|
1173
|
+
int query_timeout_ms) = grpc_dns_lookup_hostname_ares_impl;
|
1174
|
+
|
1175
|
+
grpc_ares_request* (*grpc_dns_lookup_srv_ares)(
|
1176
|
+
const char* dns_server, const char* name,
|
1177
|
+
grpc_pollset_set* interested_parties, grpc_closure* on_done,
|
1178
|
+
std::unique_ptr<grpc_core::EndpointAddressesList>* balancer_addresses,
|
1179
|
+
int query_timeout_ms) = grpc_dns_lookup_srv_ares_impl;
|
1180
|
+
|
1181
|
+
grpc_ares_request* (*grpc_dns_lookup_txt_ares)(
|
1182
|
+
const char* dns_server, const char* name,
|
1183
|
+
grpc_pollset_set* interested_parties, grpc_closure* on_done,
|
1184
|
+
char** service_config_json,
|
1185
|
+
int query_timeout_ms) = grpc_dns_lookup_txt_ares_impl;
|
1186
|
+
|
1187
|
+
static void grpc_cancel_ares_request_impl(grpc_ares_request* r) {
|
1188
|
+
GPR_ASSERT(r != nullptr);
|
1189
|
+
grpc_core::MutexLock lock(&r->mu);
|
1190
|
+
GRPC_CARES_TRACE_LOG("request:%p grpc_cancel_ares_request ev_driver:%p", r,
|
1191
|
+
r->ev_driver);
|
1192
|
+
if (r->ev_driver != nullptr) {
|
1193
|
+
grpc_ares_ev_driver_shutdown_locked(r->ev_driver);
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
|
1197
|
+
void (*grpc_cancel_ares_request)(grpc_ares_request* r) =
|
1198
|
+
grpc_cancel_ares_request_impl;
|
1199
|
+
|
1200
|
+
// ares_library_init and ares_library_cleanup are currently no-op except under
|
1201
|
+
// Windows. Calling them may cause race conditions when other parts of the
|
1202
|
+
// binary calls these functions concurrently.
|
1203
|
+
#ifdef GPR_WINDOWS
|
1204
|
+
grpc_error_handle grpc_ares_init(void) {
|
1205
|
+
int status = ares_library_init(ARES_LIB_INIT_ALL);
|
1206
|
+
if (status != ARES_SUCCESS) {
|
1207
|
+
return GRPC_ERROR_CREATE(
|
1208
|
+
absl::StrCat("ares_library_init failed: ", ares_strerror(status)));
|
1209
|
+
}
|
1210
|
+
return absl::OkStatus();
|
1211
|
+
}
|
1212
|
+
|
1213
|
+
void grpc_ares_cleanup(void) { ares_library_cleanup(); }
|
1214
|
+
#else
|
1215
|
+
grpc_error_handle grpc_ares_init(void) { return absl::OkStatus(); }
|
1216
|
+
void grpc_ares_cleanup(void) {}
|
1217
|
+
#endif // GPR_WINDOWS
|
1218
|
+
|
1219
|
+
#endif // GRPC_ARES == 1
|