grpc 1.58.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 +1083 -952
- data/include/grpc/event_engine/event_engine.h +28 -23
- 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 +3 -1
- 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 +29 -0
- data/include/grpc/impl/slice_type.h +1 -1
- data/include/grpc/module.modulemap +2 -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 +55 -15
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +48 -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 +20 -23
- 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 +29 -39
- data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
- data/src/core/ext/filters/http/client_authority_filter.cc +22 -24
- 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 +55 -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 +54 -52
- data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
- data/src/core/ext/filters/message_size/message_size_filter.cc +79 -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.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 +9 -12
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +21 -20
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +725 -610
- 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 +18 -1
- 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 +19 -10
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +10 -6
- 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 +206 -121
- 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 +131 -44
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +10 -0
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +4 -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 +27 -5
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +16 -1
- 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 +171 -114
- data/src/core/ext/transport/inproc/inproc_transport.cc +168 -1228
- 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 +56 -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_filters.cc +1 -5
- data/src/core/ext/xds/xds_http_rbac_filter.cc +5 -3
- data/src/core/ext/xds/xds_http_stateful_session_filter.cc +1 -4
- data/src/core/ext/xds/xds_lb_policy_registry.cc +1 -1
- 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_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 +64 -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 +1 -0
- 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 +27 -2
- data/src/core/lib/channel/call_tracer.h +28 -4
- data/src/core/lib/channel/channel_args.cc +24 -15
- data/src/core/lib/channel/channel_args.h +89 -14
- 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 -92
- data/src/core/lib/channel/context.h +3 -0
- data/src/core/lib/channel/promise_based_filter.cc +19 -10
- 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 +2 -3
- 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 +146 -51
- data/src/core/lib/debug/stats_data.h +81 -20
- data/src/core/lib/event_engine/ares_resolver.cc +172 -90
- data/src/core/lib/event_engine/ares_resolver.h +13 -12
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +3 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +7 -0
- 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 +24 -4
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +3 -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 +40 -57
- data/src/core/lib/event_engine/forkable.h +33 -27
- data/src/core/lib/event_engine/grpc_polled_fd.h +23 -4
- 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 +11 -16
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -11
- 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 +12 -4
- 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 +32 -9
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +89 -51
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +25 -27
- 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 +10 -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/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 +28 -7
- data/src/core/lib/event_engine/thread_pool/thread_count.h +21 -1
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +19 -17
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +126 -12
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +9 -0
- 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 +32 -33
- 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 +32 -3
- data/src/core/lib/experiments/config.h +9 -0
- data/src/core/lib/experiments/experiments.cc +759 -183
- data/src/core/lib/experiments/experiments.h +329 -89
- 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 +63 -22
- data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
- data/src/core/lib/gprpp/ref_counted_string.h +15 -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 +4 -3
- 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 +300 -25
- data/src/core/lib/gprpp/work_serializer.h +25 -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/iomgr/combiner.cc +25 -19
- data/src/core/lib/iomgr/combiner.h +8 -3
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +55 -18
- 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 +24 -15
- 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/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 +3751 -26
- 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 +107 -8
- data/src/core/lib/promise/sleep.cc +1 -1
- data/src/core/lib/promise/status_flag.h +226 -0
- data/src/core/lib/promise/try_join.h +132 -0
- data/src/core/lib/promise/try_seq.h +132 -10
- data/src/core/lib/resource_quota/arena.h +2 -2
- data/src/core/lib/resource_quota/memory_quota.cc +132 -24
- data/src/core/lib/resource_quota/memory_quota.h +12 -12
- data/src/core/lib/security/authorization/audit_logging.cc +0 -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/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 +0 -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 +11 -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/jwt_credentials.h +0 -1
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +1 -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 +115 -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 -83
- 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 +25 -1
- data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +22 -30
- data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -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 +34 -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 +2 -5
- 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 +1 -11
- data/src/core/lib/security/transport/security_handshaker.h +0 -6
- data/src/core/lib/security/transport/server_auth_filter.cc +70 -94
- 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 +907 -242
- 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 +25 -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 +0 -7
- data/src/core/lib/surface/event_string.cc +0 -1
- data/src/core/lib/surface/init.cc +21 -48
- data/src/core/lib/surface/lame_client.cc +8 -1
- data/src/core/lib/surface/server.cc +465 -252
- data/src/core/lib/surface/server.h +67 -29
- 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 +137 -109
- 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 +189 -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/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/third_party/abseil-cpp/absl/algorithm/algorithm.h +8 -103
- data/third_party/abseil-cpp/absl/algorithm/container.h +57 -71
- data/third_party/abseil-cpp/absl/base/attributes.h +51 -12
- data/third_party/abseil-cpp/absl/base/call_once.h +15 -9
- data/third_party/abseil-cpp/absl/base/casts.h +1 -1
- data/third_party/abseil-cpp/absl/base/config.h +91 -24
- 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 +1 -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 +9 -11
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +2 -0
- data/third_party/abseil-cpp/absl/base/internal/spinlock.h +17 -4
- data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +20 -0
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +10 -4
- data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +13 -6
- 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/prefetch.h +25 -14
- data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -2
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +3 -3
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +1 -1
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +4 -2
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +13 -9
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +2 -12
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +12 -1
- data/third_party/abseil-cpp/absl/container/internal/layout.h +6 -21
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +11 -2
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +148 -31
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +717 -278
- data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +26 -2
- data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.h +6 -0
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +34 -5
- 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 +10 -2
- 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/stacktrace_aarch64-inl.inc +41 -17
- data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +108 -44
- 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/flag.h +0 -5
- data/third_party/abseil-cpp/absl/flags/marshalling.cc +10 -1
- data/third_party/abseil-cpp/absl/flags/reflection.cc +2 -1
- data/third_party/abseil-cpp/absl/functional/function_ref.h +8 -0
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +2 -2
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +49 -2
- data/third_party/abseil-cpp/absl/numeric/bits.h +37 -18
- 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/status/internal/status_internal.cc +248 -0
- data/third_party/abseil-cpp/absl/status/internal/status_internal.h +55 -14
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +53 -2
- data/third_party/abseil-cpp/absl/status/status.cc +36 -238
- data/third_party/abseil-cpp/absl/status/status.h +95 -53
- 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 +43 -3
- data/third_party/abseil-cpp/absl/strings/ascii.cc +84 -12
- data/third_party/abseil-cpp/absl/strings/ascii.h +8 -6
- data/third_party/abseil-cpp/absl/strings/charconv.cc +19 -12
- data/third_party/abseil-cpp/absl/strings/charconv.h +6 -3
- data/third_party/abseil-cpp/absl/strings/charset.h +164 -0
- data/third_party/abseil-cpp/absl/strings/cord.cc +266 -69
- data/third_party/abseil-cpp/absl/strings/cord.h +138 -92
- data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +19 -33
- data/third_party/abseil-cpp/absl/strings/cord_analysis.h +4 -3
- data/third_party/abseil-cpp/absl/strings/escaping.cc +5 -4
- 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/cord_internal.cc +0 -6
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +19 -45
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +23 -28
- data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +15 -26
- data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +12 -4
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +145 -8
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +72 -24
- 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 +7 -4
- data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +8 -3
- data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +10 -4
- data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +5 -4
- data/third_party/abseil-cpp/absl/strings/match.cc +3 -0
- data/third_party/abseil-cpp/absl/strings/numbers.cc +396 -153
- data/third_party/abseil-cpp/absl/strings/numbers.h +193 -35
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +151 -21
- data/third_party/abseil-cpp/absl/strings/str_cat.h +127 -25
- data/third_party/abseil-cpp/absl/strings/str_format.h +30 -20
- 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 +8 -6
- data/third_party/abseil-cpp/absl/strings/str_split.h +18 -0
- data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -5
- 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/pthread_waiter.h +2 -2
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +2 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +4 -2
- data/third_party/abseil-cpp/absl/synchronization/mutex.cc +296 -332
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +89 -34
- data/third_party/abseil-cpp/absl/time/civil_time.h +26 -0
- data/third_party/abseil-cpp/absl/time/clock.h +5 -1
- data/third_party/abseil-cpp/absl/time/duration.cc +3 -3
- 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/src/time_zone_format.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +9 -14
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +0 -8
- 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/variant.h +3 -3
- data/third_party/abseil-cpp/absl/types/optional.h +3 -2
- data/third_party/abseil-cpp/absl/types/span.h +9 -4
- data/third_party/abseil-cpp/absl/utility/utility.h +11 -93
- data/third_party/boringssl-with-bazel/err_data.c +278 -276
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +1 -1
- 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 +8 -21
- 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 +1 -1
- 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 +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +1 -4
- 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/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 +87 -96
- data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +5 -1
- 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/dsa/dsa.c +2 -15
- data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +1 -9
- 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/dh.c +2 -6
- 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/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/internal.h +254 -54
- 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 +36 -16
- 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/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 +4 -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 +14 -9
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +23 -33
- 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_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 +3 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +24 -0
- 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/ec.h +33 -11
- 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/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 +18 -20
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +76 -60
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +31 -6
- 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 -941
- 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_key_share.cc +4 -5
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +9 -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 +1125 -877
- 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 -3246
- 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 -74
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -117
- 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 -1867
- 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 -480
- 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 -335
- 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 -598
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +0 -20
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -897
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -881
- 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 -2457
- 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 -1019
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -752
- 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 -1158
- 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 -206
- 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 -1211
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -139
- 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 -66
- 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 -586
- 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 -274
- 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 -122
- 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 -778
- data/src/core/ext/filters/client_channel/subchannel.h +0 -378
- 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/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 -137
- 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 -432
- 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/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 -635
- 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/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/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/boringssl-with-bazel/src/crypto/{x509v3 → x509}/ext_dat.h +0 -0
@@ -0,0 +1,1935 @@
|
|
1
|
+
//
|
2
|
+
// Copyright 2016 gRPC authors.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
|
+
|
17
|
+
/// Implementation of the gRPC LB policy.
|
18
|
+
///
|
19
|
+
/// This policy takes as input a list of resolved addresses, which must
|
20
|
+
/// include at least one balancer address.
|
21
|
+
///
|
22
|
+
/// An internal channel (\a lb_channel_) is created for the addresses
|
23
|
+
/// from that are balancers. This channel behaves just like a regular
|
24
|
+
/// channel that uses pick_first to select from the list of balancer
|
25
|
+
/// addresses.
|
26
|
+
///
|
27
|
+
/// When we get our initial update, we instantiate the internal *streaming*
|
28
|
+
/// call to the LB server (whichever address pick_first chose). The call
|
29
|
+
/// will be complete when either the balancer sends status or when we cancel
|
30
|
+
/// the call (e.g., because we are shutting down). In needed, we retry the
|
31
|
+
/// call. If we received at least one valid message from the server, a new
|
32
|
+
/// call attempt will be made immediately; otherwise, we apply back-off
|
33
|
+
/// delays between attempts.
|
34
|
+
///
|
35
|
+
/// We maintain an internal round_robin policy instance for distributing
|
36
|
+
/// requests across backends. Whenever we receive a new serverlist from
|
37
|
+
/// the balancer, we update the round_robin policy with the new list of
|
38
|
+
/// addresses. If we cannot communicate with the balancer on startup,
|
39
|
+
/// however, we may enter fallback mode, in which case we will populate
|
40
|
+
/// the child policy's addresses from the backend addresses returned by the
|
41
|
+
/// resolver.
|
42
|
+
///
|
43
|
+
/// Once a child policy instance is in place (and getting updated as described),
|
44
|
+
/// calls for a pick, a ping, or a cancellation will be serviced right
|
45
|
+
/// away by forwarding them to the child policy instance. Any time there's no
|
46
|
+
/// child policy available (i.e., right after the creation of the gRPCLB
|
47
|
+
/// policy), pick requests are queued.
|
48
|
+
///
|
49
|
+
/// \see https://github.com/grpc/grpc/blob/master/doc/load-balancing.md for the
|
50
|
+
/// high level design and details.
|
51
|
+
|
52
|
+
#include <grpc/support/port_platform.h>
|
53
|
+
|
54
|
+
#include "src/core/load_balancing/grpclb/grpclb.h"
|
55
|
+
|
56
|
+
#include <grpc/event_engine/event_engine.h>
|
57
|
+
#include <grpc/impl/channel_arg_names.h>
|
58
|
+
#include <grpc/support/json.h>
|
59
|
+
|
60
|
+
// IWYU pragma: no_include <sys/socket.h>
|
61
|
+
|
62
|
+
#include <inttypes.h>
|
63
|
+
#include <string.h>
|
64
|
+
|
65
|
+
#include <algorithm>
|
66
|
+
#include <atomic>
|
67
|
+
#include <map>
|
68
|
+
#include <memory>
|
69
|
+
#include <string>
|
70
|
+
#include <type_traits>
|
71
|
+
#include <utility>
|
72
|
+
#include <vector>
|
73
|
+
|
74
|
+
#include "absl/container/inlined_vector.h"
|
75
|
+
#include "absl/functional/function_ref.h"
|
76
|
+
#include "absl/status/status.h"
|
77
|
+
#include "absl/status/statusor.h"
|
78
|
+
#include "absl/strings/str_cat.h"
|
79
|
+
#include "absl/strings/str_format.h"
|
80
|
+
#include "absl/strings/str_join.h"
|
81
|
+
#include "absl/strings/string_view.h"
|
82
|
+
#include "absl/types/optional.h"
|
83
|
+
#include "absl/types/variant.h"
|
84
|
+
#include "upb/mem/arena.hpp"
|
85
|
+
|
86
|
+
#include <grpc/byte_buffer.h>
|
87
|
+
#include <grpc/byte_buffer_reader.h>
|
88
|
+
#include <grpc/grpc.h>
|
89
|
+
#include <grpc/impl/connectivity_state.h>
|
90
|
+
#include <grpc/impl/propagation_bits.h>
|
91
|
+
#include <grpc/slice.h>
|
92
|
+
#include <grpc/status.h>
|
93
|
+
#include <grpc/support/alloc.h>
|
94
|
+
#include <grpc/support/log.h>
|
95
|
+
|
96
|
+
#include "src/core/client_channel/client_channel_filter.h"
|
97
|
+
#include "src/core/lib/address_utils/sockaddr_utils.h"
|
98
|
+
#include "src/core/lib/backoff/backoff.h"
|
99
|
+
#include "src/core/lib/channel/channel_args.h"
|
100
|
+
#include "src/core/lib/channel/channelz.h"
|
101
|
+
#include "src/core/lib/config/core_configuration.h"
|
102
|
+
#include "src/core/lib/debug/trace.h"
|
103
|
+
#include "src/core/lib/experiments/experiments.h"
|
104
|
+
#include "src/core/lib/gpr/string.h"
|
105
|
+
#include "src/core/lib/gpr/useful.h"
|
106
|
+
#include "src/core/lib/gprpp/crash.h"
|
107
|
+
#include "src/core/lib/gprpp/debug_location.h"
|
108
|
+
#include "src/core/lib/gprpp/orphanable.h"
|
109
|
+
#include "src/core/lib/gprpp/ref_counted.h"
|
110
|
+
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
111
|
+
#include "src/core/lib/gprpp/status_helper.h"
|
112
|
+
#include "src/core/lib/gprpp/time.h"
|
113
|
+
#include "src/core/lib/gprpp/validation_errors.h"
|
114
|
+
#include "src/core/lib/gprpp/work_serializer.h"
|
115
|
+
#include "src/core/lib/iomgr/closure.h"
|
116
|
+
#include "src/core/lib/iomgr/error.h"
|
117
|
+
#include "src/core/lib/iomgr/exec_ctx.h"
|
118
|
+
#include "src/core/lib/iomgr/pollset_set.h"
|
119
|
+
#include "src/core/lib/iomgr/resolved_address.h"
|
120
|
+
#include "src/core/lib/iomgr/sockaddr.h"
|
121
|
+
#include "src/core/lib/iomgr/socket_utils.h"
|
122
|
+
#include "src/core/lib/json/json.h"
|
123
|
+
#include "src/core/lib/json/json_args.h"
|
124
|
+
#include "src/core/lib/json/json_object_loader.h"
|
125
|
+
#include "src/core/lib/security/credentials/credentials.h"
|
126
|
+
#include "src/core/lib/slice/slice.h"
|
127
|
+
#include "src/core/lib/slice/slice_string_helpers.h"
|
128
|
+
#include "src/core/lib/surface/call.h"
|
129
|
+
#include "src/core/lib/surface/channel.h"
|
130
|
+
#include "src/core/lib/surface/channel_stack_type.h"
|
131
|
+
#include "src/core/lib/transport/connectivity_state.h"
|
132
|
+
#include "src/core/lib/transport/metadata_batch.h"
|
133
|
+
#include "src/core/load_balancing/child_policy_handler.h"
|
134
|
+
#include "src/core/load_balancing/delegating_helper.h"
|
135
|
+
#include "src/core/load_balancing/grpclb/client_load_reporting_filter.h"
|
136
|
+
#include "src/core/load_balancing/grpclb/grpclb_balancer_addresses.h"
|
137
|
+
#include "src/core/load_balancing/grpclb/grpclb_client_stats.h"
|
138
|
+
#include "src/core/load_balancing/grpclb/load_balancer_api.h"
|
139
|
+
#include "src/core/load_balancing/lb_policy.h"
|
140
|
+
#include "src/core/load_balancing/lb_policy_factory.h"
|
141
|
+
#include "src/core/load_balancing/lb_policy_registry.h"
|
142
|
+
#include "src/core/load_balancing/subchannel_interface.h"
|
143
|
+
#include "src/core/resolver/fake/fake_resolver.h"
|
144
|
+
#include "src/core/resolver/endpoint_addresses.h"
|
145
|
+
#include "src/core/resolver/resolver.h"
|
146
|
+
|
147
|
+
#define GRPC_GRPCLB_INITIAL_CONNECT_BACKOFF_SECONDS 1
|
148
|
+
#define GRPC_GRPCLB_RECONNECT_BACKOFF_MULTIPLIER 1.6
|
149
|
+
#define GRPC_GRPCLB_RECONNECT_MAX_BACKOFF_SECONDS 120
|
150
|
+
#define GRPC_GRPCLB_RECONNECT_JITTER 0.2
|
151
|
+
#define GRPC_GRPCLB_DEFAULT_FALLBACK_TIMEOUT_MS 10000
|
152
|
+
#define GRPC_GRPCLB_DEFAULT_SUBCHANNEL_DELETION_DELAY_MS 10000
|
153
|
+
|
154
|
+
// Channel arg used to enable load reporting filter.
|
155
|
+
#define GRPC_ARG_GRPCLB_ENABLE_LOAD_REPORTING_FILTER \
|
156
|
+
"grpc.internal.grpclb_enable_load_reporting_filter"
|
157
|
+
|
158
|
+
namespace grpc_core {
|
159
|
+
|
160
|
+
TraceFlag grpc_lb_glb_trace(false, "glb");
|
161
|
+
|
162
|
+
namespace {
|
163
|
+
|
164
|
+
using ::grpc_event_engine::experimental::EventEngine;
|
165
|
+
|
166
|
+
constexpr absl::string_view kGrpclb = "grpclb";
|
167
|
+
|
168
|
+
class GrpcLbConfig : public LoadBalancingPolicy::Config {
|
169
|
+
public:
|
170
|
+
GrpcLbConfig() = default;
|
171
|
+
|
172
|
+
GrpcLbConfig(const GrpcLbConfig&) = delete;
|
173
|
+
GrpcLbConfig& operator=(const GrpcLbConfig&) = delete;
|
174
|
+
|
175
|
+
GrpcLbConfig(GrpcLbConfig&& other) = delete;
|
176
|
+
GrpcLbConfig& operator=(GrpcLbConfig&& other) = delete;
|
177
|
+
|
178
|
+
static const JsonLoaderInterface* JsonLoader(const JsonArgs&) {
|
179
|
+
static const auto* loader =
|
180
|
+
JsonObjectLoader<GrpcLbConfig>()
|
181
|
+
// Note: "childPolicy" field requires custom parsing, so
|
182
|
+
// it's handled in JsonPostLoad() instead.
|
183
|
+
.OptionalField("serviceName", &GrpcLbConfig::service_name_)
|
184
|
+
.Finish();
|
185
|
+
return loader;
|
186
|
+
}
|
187
|
+
|
188
|
+
void JsonPostLoad(const Json& json, const JsonArgs&,
|
189
|
+
ValidationErrors* errors) {
|
190
|
+
ValidationErrors::ScopedField field(errors, ".childPolicy");
|
191
|
+
Json child_policy_config_json_tmp;
|
192
|
+
const Json* child_policy_config_json;
|
193
|
+
auto it = json.object().find("childPolicy");
|
194
|
+
if (it == json.object().end()) {
|
195
|
+
child_policy_config_json_tmp = Json::FromArray({Json::FromObject({
|
196
|
+
{"round_robin", Json::FromObject({})},
|
197
|
+
})});
|
198
|
+
child_policy_config_json = &child_policy_config_json_tmp;
|
199
|
+
} else {
|
200
|
+
child_policy_config_json = &it->second;
|
201
|
+
}
|
202
|
+
auto child_policy_config =
|
203
|
+
CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig(
|
204
|
+
*child_policy_config_json);
|
205
|
+
if (!child_policy_config.ok()) {
|
206
|
+
errors->AddError(child_policy_config.status().message());
|
207
|
+
return;
|
208
|
+
}
|
209
|
+
child_policy_ = std::move(*child_policy_config);
|
210
|
+
}
|
211
|
+
|
212
|
+
absl::string_view name() const override { return kGrpclb; }
|
213
|
+
|
214
|
+
RefCountedPtr<LoadBalancingPolicy::Config> child_policy() const {
|
215
|
+
return child_policy_;
|
216
|
+
}
|
217
|
+
|
218
|
+
const std::string& service_name() const { return service_name_; }
|
219
|
+
|
220
|
+
private:
|
221
|
+
RefCountedPtr<LoadBalancingPolicy::Config> child_policy_;
|
222
|
+
std::string service_name_;
|
223
|
+
};
|
224
|
+
|
225
|
+
class GrpcLb : public LoadBalancingPolicy {
|
226
|
+
public:
|
227
|
+
explicit GrpcLb(Args args);
|
228
|
+
|
229
|
+
absl::string_view name() const override { return kGrpclb; }
|
230
|
+
|
231
|
+
absl::Status UpdateLocked(UpdateArgs args) override;
|
232
|
+
void ResetBackoffLocked() override;
|
233
|
+
|
234
|
+
private:
|
235
|
+
/// Contains a call to the LB server and all the data related to the call.
|
236
|
+
class BalancerCallState : public InternallyRefCounted<BalancerCallState> {
|
237
|
+
public:
|
238
|
+
explicit BalancerCallState(
|
239
|
+
RefCountedPtr<LoadBalancingPolicy> parent_grpclb_policy);
|
240
|
+
~BalancerCallState() override;
|
241
|
+
|
242
|
+
// It's the caller's responsibility to ensure that Orphan() is called from
|
243
|
+
// inside the combiner.
|
244
|
+
void Orphan() override;
|
245
|
+
|
246
|
+
void StartQuery();
|
247
|
+
|
248
|
+
GrpcLbClientStats* client_stats() const { return client_stats_.get(); }
|
249
|
+
|
250
|
+
bool seen_initial_response() const { return seen_initial_response_; }
|
251
|
+
bool seen_serverlist() const { return seen_serverlist_; }
|
252
|
+
|
253
|
+
private:
|
254
|
+
GrpcLb* grpclb_policy() const {
|
255
|
+
return static_cast<GrpcLb*>(grpclb_policy_.get());
|
256
|
+
}
|
257
|
+
|
258
|
+
void ScheduleNextClientLoadReportLocked();
|
259
|
+
void SendClientLoadReportLocked();
|
260
|
+
|
261
|
+
// EventEngine callbacks
|
262
|
+
void MaybeSendClientLoadReportLocked();
|
263
|
+
|
264
|
+
static void ClientLoadReportDone(void* arg, grpc_error_handle error);
|
265
|
+
static void OnInitialRequestSent(void* arg, grpc_error_handle error);
|
266
|
+
static void OnBalancerMessageReceived(void* arg, grpc_error_handle error);
|
267
|
+
static void OnBalancerStatusReceived(void* arg, grpc_error_handle error);
|
268
|
+
|
269
|
+
void ClientLoadReportDoneLocked(grpc_error_handle error);
|
270
|
+
void OnInitialRequestSentLocked();
|
271
|
+
void OnBalancerMessageReceivedLocked();
|
272
|
+
void OnBalancerStatusReceivedLocked(grpc_error_handle error);
|
273
|
+
|
274
|
+
// The owning LB policy.
|
275
|
+
RefCountedPtr<LoadBalancingPolicy> grpclb_policy_;
|
276
|
+
|
277
|
+
// The streaming call to the LB server. Always non-NULL.
|
278
|
+
grpc_call* lb_call_ = nullptr;
|
279
|
+
|
280
|
+
// recv_initial_metadata
|
281
|
+
grpc_metadata_array lb_initial_metadata_recv_;
|
282
|
+
|
283
|
+
// send_message
|
284
|
+
grpc_byte_buffer* send_message_payload_ = nullptr;
|
285
|
+
grpc_closure lb_on_initial_request_sent_;
|
286
|
+
|
287
|
+
// recv_message
|
288
|
+
grpc_byte_buffer* recv_message_payload_ = nullptr;
|
289
|
+
grpc_closure lb_on_balancer_message_received_;
|
290
|
+
bool seen_initial_response_ = false;
|
291
|
+
bool seen_serverlist_ = false;
|
292
|
+
|
293
|
+
// recv_trailing_metadata
|
294
|
+
grpc_closure lb_on_balancer_status_received_;
|
295
|
+
grpc_metadata_array lb_trailing_metadata_recv_;
|
296
|
+
grpc_status_code lb_call_status_;
|
297
|
+
grpc_slice lb_call_status_details_;
|
298
|
+
|
299
|
+
// The stats for client-side load reporting associated with this LB call.
|
300
|
+
// Created after the first serverlist is received.
|
301
|
+
RefCountedPtr<GrpcLbClientStats> client_stats_;
|
302
|
+
Duration client_stats_report_interval_;
|
303
|
+
absl::optional<EventEngine::TaskHandle> client_load_report_handle_;
|
304
|
+
bool last_client_load_report_counters_were_zero_ = false;
|
305
|
+
bool client_load_report_is_due_ = false;
|
306
|
+
// The closure used for the completion of sending the load report.
|
307
|
+
grpc_closure client_load_report_done_closure_;
|
308
|
+
};
|
309
|
+
|
310
|
+
class SubchannelWrapper : public DelegatingSubchannel {
|
311
|
+
public:
|
312
|
+
SubchannelWrapper(RefCountedPtr<SubchannelInterface> subchannel,
|
313
|
+
RefCountedPtr<GrpcLb> lb_policy, std::string lb_token,
|
314
|
+
RefCountedPtr<GrpcLbClientStats> client_stats)
|
315
|
+
: DelegatingSubchannel(std::move(subchannel)),
|
316
|
+
lb_policy_(std::move(lb_policy)),
|
317
|
+
lb_token_(std::move(lb_token)),
|
318
|
+
client_stats_(std::move(client_stats)) {}
|
319
|
+
|
320
|
+
void Orphan() override {
|
321
|
+
if (!IsWorkSerializerDispatchEnabled()) {
|
322
|
+
if (!lb_policy_->shutting_down_) {
|
323
|
+
lb_policy_->CacheDeletedSubchannelLocked(wrapped_subchannel());
|
324
|
+
}
|
325
|
+
return;
|
326
|
+
}
|
327
|
+
lb_policy_->work_serializer()->Run(
|
328
|
+
[self = WeakRefAsSubclass<SubchannelWrapper>()]() {
|
329
|
+
if (!self->lb_policy_->shutting_down_) {
|
330
|
+
self->lb_policy_->CacheDeletedSubchannelLocked(
|
331
|
+
self->wrapped_subchannel());
|
332
|
+
}
|
333
|
+
},
|
334
|
+
DEBUG_LOCATION);
|
335
|
+
}
|
336
|
+
|
337
|
+
const std::string& lb_token() const { return lb_token_; }
|
338
|
+
GrpcLbClientStats* client_stats() const { return client_stats_.get(); }
|
339
|
+
|
340
|
+
private:
|
341
|
+
RefCountedPtr<GrpcLb> lb_policy_;
|
342
|
+
std::string lb_token_;
|
343
|
+
RefCountedPtr<GrpcLbClientStats> client_stats_;
|
344
|
+
};
|
345
|
+
|
346
|
+
class TokenAndClientStatsArg : public RefCounted<TokenAndClientStatsArg> {
|
347
|
+
public:
|
348
|
+
TokenAndClientStatsArg(std::string lb_token,
|
349
|
+
RefCountedPtr<GrpcLbClientStats> client_stats)
|
350
|
+
: lb_token_(std::move(lb_token)),
|
351
|
+
client_stats_(std::move(client_stats)) {}
|
352
|
+
|
353
|
+
static absl::string_view ChannelArgName() {
|
354
|
+
return GRPC_ARG_NO_SUBCHANNEL_PREFIX "grpclb_token_and_client_stats";
|
355
|
+
}
|
356
|
+
|
357
|
+
static int ChannelArgsCompare(const TokenAndClientStatsArg* a,
|
358
|
+
const TokenAndClientStatsArg* b) {
|
359
|
+
int r = a->lb_token_.compare(b->lb_token_);
|
360
|
+
if (r != 0) return r;
|
361
|
+
return QsortCompare(a->client_stats_.get(), b->client_stats_.get());
|
362
|
+
}
|
363
|
+
|
364
|
+
const std::string& lb_token() const { return lb_token_; }
|
365
|
+
RefCountedPtr<GrpcLbClientStats> client_stats() const {
|
366
|
+
return client_stats_;
|
367
|
+
}
|
368
|
+
|
369
|
+
private:
|
370
|
+
std::string lb_token_;
|
371
|
+
RefCountedPtr<GrpcLbClientStats> client_stats_;
|
372
|
+
};
|
373
|
+
|
374
|
+
class Serverlist : public RefCounted<Serverlist> {
|
375
|
+
public:
|
376
|
+
// Takes ownership of serverlist.
|
377
|
+
explicit Serverlist(std::vector<GrpcLbServer> serverlist)
|
378
|
+
: serverlist_(std::move(serverlist)) {}
|
379
|
+
|
380
|
+
bool operator==(const Serverlist& other) const;
|
381
|
+
|
382
|
+
const std::vector<GrpcLbServer>& serverlist() const { return serverlist_; }
|
383
|
+
|
384
|
+
// Returns a text representation suitable for logging.
|
385
|
+
std::string AsText() const;
|
386
|
+
|
387
|
+
// Extracts all non-drop entries into an EndpointAddressesIterator.
|
388
|
+
std::shared_ptr<EndpointAddressesIterator> GetServerAddressList(
|
389
|
+
GrpcLbClientStats* client_stats);
|
390
|
+
|
391
|
+
// Returns true if the serverlist contains at least one drop entry and
|
392
|
+
// no backend address entries.
|
393
|
+
bool ContainsAllDropEntries() const;
|
394
|
+
|
395
|
+
// Returns the LB token to use for a drop, or null if the call
|
396
|
+
// should not be dropped.
|
397
|
+
//
|
398
|
+
// Note: This is called from the picker, NOT from inside the control
|
399
|
+
// plane work_serializer.
|
400
|
+
const char* ShouldDrop();
|
401
|
+
|
402
|
+
private:
|
403
|
+
class AddressIterator;
|
404
|
+
|
405
|
+
std::vector<GrpcLbServer> serverlist_;
|
406
|
+
|
407
|
+
// Accessed from the picker, so needs synchronization.
|
408
|
+
std::atomic<size_t> drop_index_{0};
|
409
|
+
};
|
410
|
+
|
411
|
+
class Picker : public SubchannelPicker {
|
412
|
+
public:
|
413
|
+
Picker(RefCountedPtr<Serverlist> serverlist,
|
414
|
+
RefCountedPtr<SubchannelPicker> child_picker,
|
415
|
+
RefCountedPtr<GrpcLbClientStats> client_stats)
|
416
|
+
: serverlist_(std::move(serverlist)),
|
417
|
+
child_picker_(std::move(child_picker)),
|
418
|
+
client_stats_(std::move(client_stats)) {}
|
419
|
+
|
420
|
+
PickResult Pick(PickArgs args) override;
|
421
|
+
|
422
|
+
private:
|
423
|
+
// A subchannel call tracker that unrefs the GrpcLbClientStats object
|
424
|
+
// in the case where the subchannel call is never actually started,
|
425
|
+
// since the client load reporting filter will not be able to do it
|
426
|
+
// in that case.
|
427
|
+
class SubchannelCallTracker : public SubchannelCallTrackerInterface {
|
428
|
+
public:
|
429
|
+
SubchannelCallTracker(
|
430
|
+
RefCountedPtr<GrpcLbClientStats> client_stats,
|
431
|
+
std::unique_ptr<SubchannelCallTrackerInterface> original_call_tracker)
|
432
|
+
: client_stats_(std::move(client_stats)),
|
433
|
+
original_call_tracker_(std::move(original_call_tracker)) {}
|
434
|
+
|
435
|
+
void Start() override {
|
436
|
+
if (original_call_tracker_ != nullptr) {
|
437
|
+
original_call_tracker_->Start();
|
438
|
+
}
|
439
|
+
// If we're actually starting the subchannel call, then the
|
440
|
+
// client load reporting filter will take ownership of the ref
|
441
|
+
// passed down to it via metadata.
|
442
|
+
client_stats_.release();
|
443
|
+
}
|
444
|
+
|
445
|
+
void Finish(FinishArgs args) override {
|
446
|
+
if (original_call_tracker_ != nullptr) {
|
447
|
+
original_call_tracker_->Finish(args);
|
448
|
+
}
|
449
|
+
}
|
450
|
+
|
451
|
+
private:
|
452
|
+
RefCountedPtr<GrpcLbClientStats> client_stats_;
|
453
|
+
std::unique_ptr<SubchannelCallTrackerInterface> original_call_tracker_;
|
454
|
+
};
|
455
|
+
|
456
|
+
// Serverlist to be used for determining drops.
|
457
|
+
RefCountedPtr<Serverlist> serverlist_;
|
458
|
+
|
459
|
+
RefCountedPtr<SubchannelPicker> child_picker_;
|
460
|
+
RefCountedPtr<GrpcLbClientStats> client_stats_;
|
461
|
+
};
|
462
|
+
|
463
|
+
class Helper : public ParentOwningDelegatingChannelControlHelper<GrpcLb> {
|
464
|
+
public:
|
465
|
+
explicit Helper(RefCountedPtr<GrpcLb> parent)
|
466
|
+
: ParentOwningDelegatingChannelControlHelper(std::move(parent)) {}
|
467
|
+
|
468
|
+
RefCountedPtr<SubchannelInterface> CreateSubchannel(
|
469
|
+
const grpc_resolved_address& address,
|
470
|
+
const ChannelArgs& per_address_args, const ChannelArgs& args) override;
|
471
|
+
void UpdateState(grpc_connectivity_state state, const absl::Status& status,
|
472
|
+
RefCountedPtr<SubchannelPicker> picker) override;
|
473
|
+
void RequestReresolution() override;
|
474
|
+
};
|
475
|
+
|
476
|
+
class StateWatcher : public AsyncConnectivityStateWatcherInterface {
|
477
|
+
public:
|
478
|
+
explicit StateWatcher(RefCountedPtr<GrpcLb> parent)
|
479
|
+
: AsyncConnectivityStateWatcherInterface(parent->work_serializer()),
|
480
|
+
parent_(std::move(parent)) {}
|
481
|
+
|
482
|
+
~StateWatcher() override { parent_.reset(DEBUG_LOCATION, "StateWatcher"); }
|
483
|
+
|
484
|
+
private:
|
485
|
+
void OnConnectivityStateChange(grpc_connectivity_state new_state,
|
486
|
+
const absl::Status& status) override {
|
487
|
+
if (parent_->fallback_at_startup_checks_pending_ &&
|
488
|
+
new_state == GRPC_CHANNEL_TRANSIENT_FAILURE) {
|
489
|
+
// In TRANSIENT_FAILURE. Cancel the fallback timer and go into
|
490
|
+
// fallback mode immediately.
|
491
|
+
gpr_log(GPR_INFO,
|
492
|
+
"[grpclb %p] balancer channel in state:TRANSIENT_FAILURE (%s); "
|
493
|
+
"entering fallback mode",
|
494
|
+
parent_.get(), status.ToString().c_str());
|
495
|
+
parent_->fallback_at_startup_checks_pending_ = false;
|
496
|
+
parent_->channel_control_helper()->GetEventEngine()->Cancel(
|
497
|
+
*parent_->lb_fallback_timer_handle_);
|
498
|
+
parent_->fallback_mode_ = true;
|
499
|
+
parent_->CreateOrUpdateChildPolicyLocked();
|
500
|
+
// Cancel the watch, since we don't care about the channel state once we
|
501
|
+
// go into fallback mode.
|
502
|
+
parent_->CancelBalancerChannelConnectivityWatchLocked();
|
503
|
+
}
|
504
|
+
}
|
505
|
+
|
506
|
+
RefCountedPtr<GrpcLb> parent_;
|
507
|
+
};
|
508
|
+
|
509
|
+
class NullLbTokenEndpointIterator;
|
510
|
+
|
511
|
+
void ShutdownLocked() override;
|
512
|
+
|
513
|
+
// Helper functions used in UpdateLocked().
|
514
|
+
absl::Status UpdateBalancerChannelLocked();
|
515
|
+
|
516
|
+
void CancelBalancerChannelConnectivityWatchLocked();
|
517
|
+
|
518
|
+
// Methods for dealing with fallback state.
|
519
|
+
void MaybeEnterFallbackModeAfterStartup();
|
520
|
+
void OnFallbackTimerLocked();
|
521
|
+
|
522
|
+
// Methods for dealing with the balancer call.
|
523
|
+
void StartBalancerCallLocked();
|
524
|
+
void StartBalancerCallRetryTimerLocked();
|
525
|
+
void OnBalancerCallRetryTimerLocked();
|
526
|
+
|
527
|
+
// Methods for dealing with the child policy.
|
528
|
+
ChannelArgs CreateChildPolicyArgsLocked(
|
529
|
+
bool is_backend_from_grpclb_load_balancer);
|
530
|
+
OrphanablePtr<LoadBalancingPolicy> CreateChildPolicyLocked(
|
531
|
+
const ChannelArgs& args);
|
532
|
+
void CreateOrUpdateChildPolicyLocked();
|
533
|
+
|
534
|
+
// Subchannel caching.
|
535
|
+
void CacheDeletedSubchannelLocked(
|
536
|
+
RefCountedPtr<SubchannelInterface> subchannel);
|
537
|
+
void StartSubchannelCacheTimerLocked();
|
538
|
+
void OnSubchannelCacheTimerLocked();
|
539
|
+
|
540
|
+
// Configurations for the policy.
|
541
|
+
RefCountedPtr<GrpcLbConfig> config_;
|
542
|
+
|
543
|
+
// Current channel args from the resolver.
|
544
|
+
ChannelArgs args_;
|
545
|
+
|
546
|
+
// Internal state.
|
547
|
+
bool shutting_down_ = false;
|
548
|
+
|
549
|
+
// The channel for communicating with the LB server.
|
550
|
+
grpc_channel* lb_channel_ = nullptr;
|
551
|
+
StateWatcher* watcher_ = nullptr;
|
552
|
+
// Response generator to inject address updates into lb_channel_.
|
553
|
+
RefCountedPtr<FakeResolverResponseGenerator> response_generator_;
|
554
|
+
// Parent channelz node.
|
555
|
+
RefCountedPtr<channelz::ChannelNode> parent_channelz_node_;
|
556
|
+
|
557
|
+
// The data associated with the current LB call. It holds a ref to this LB
|
558
|
+
// policy. It's initialized every time we query for backends. It's reset to
|
559
|
+
// NULL whenever the current LB call is no longer needed (e.g., the LB policy
|
560
|
+
// is shutting down, or the LB call has ended). A non-NULL lb_calld_ always
|
561
|
+
// contains a non-NULL lb_call_.
|
562
|
+
OrphanablePtr<BalancerCallState> lb_calld_;
|
563
|
+
// Timeout for the LB call. 0 means no deadline.
|
564
|
+
const Duration lb_call_timeout_;
|
565
|
+
// Balancer call retry state.
|
566
|
+
BackOff lb_call_backoff_;
|
567
|
+
absl::optional<EventEngine::TaskHandle> lb_call_retry_timer_handle_;
|
568
|
+
|
569
|
+
// The deserialized response from the balancer. May be nullptr until one
|
570
|
+
// such response has arrived.
|
571
|
+
RefCountedPtr<Serverlist> serverlist_;
|
572
|
+
|
573
|
+
// Whether we're in fallback mode.
|
574
|
+
bool fallback_mode_ = false;
|
575
|
+
// The backend addresses from the resolver.
|
576
|
+
absl::StatusOr<std::shared_ptr<NullLbTokenEndpointIterator>>
|
577
|
+
fallback_backend_addresses_;
|
578
|
+
// The last resolution note from our parent.
|
579
|
+
// To be passed to child policy when fallback_backend_addresses_ is empty.
|
580
|
+
std::string resolution_note_;
|
581
|
+
// State for fallback-at-startup checks.
|
582
|
+
// Timeout after startup after which we will go into fallback mode if
|
583
|
+
// we have not received a serverlist from the balancer.
|
584
|
+
const Duration fallback_at_startup_timeout_;
|
585
|
+
bool fallback_at_startup_checks_pending_ = false;
|
586
|
+
absl::optional<EventEngine::TaskHandle> lb_fallback_timer_handle_;
|
587
|
+
|
588
|
+
// The child policy to use for the backends.
|
589
|
+
OrphanablePtr<LoadBalancingPolicy> child_policy_;
|
590
|
+
// Child policy in state READY.
|
591
|
+
bool child_policy_ready_ = false;
|
592
|
+
|
593
|
+
// Deleted subchannel caching.
|
594
|
+
const Duration subchannel_cache_interval_;
|
595
|
+
std::map<Timestamp /*deletion time*/,
|
596
|
+
std::vector<RefCountedPtr<SubchannelInterface>>>
|
597
|
+
cached_subchannels_;
|
598
|
+
absl::optional<EventEngine::TaskHandle> subchannel_cache_timer_handle_;
|
599
|
+
};
|
600
|
+
|
601
|
+
//
|
602
|
+
// GrpcLb::Serverlist::AddressIterator
|
603
|
+
//
|
604
|
+
|
605
|
+
bool IsServerValid(const GrpcLbServer& server, size_t idx, bool log) {
|
606
|
+
if (server.drop) return false;
|
607
|
+
if (GPR_UNLIKELY(server.port >> 16 != 0)) {
|
608
|
+
if (log) {
|
609
|
+
gpr_log(GPR_ERROR,
|
610
|
+
"Invalid port '%d' at index %" PRIuPTR
|
611
|
+
" of serverlist. Ignoring.",
|
612
|
+
server.port, idx);
|
613
|
+
}
|
614
|
+
return false;
|
615
|
+
}
|
616
|
+
if (GPR_UNLIKELY(server.ip_size != 4 && server.ip_size != 16)) {
|
617
|
+
if (log) {
|
618
|
+
gpr_log(GPR_ERROR,
|
619
|
+
"Expected IP to be 4 or 16 bytes, got %d at index %" PRIuPTR
|
620
|
+
" of serverlist. Ignoring",
|
621
|
+
server.ip_size, idx);
|
622
|
+
}
|
623
|
+
return false;
|
624
|
+
}
|
625
|
+
return true;
|
626
|
+
}
|
627
|
+
|
628
|
+
void ParseServer(const GrpcLbServer& server, grpc_resolved_address* addr) {
|
629
|
+
memset(addr, 0, sizeof(*addr));
|
630
|
+
if (server.drop) return;
|
631
|
+
const uint16_t netorder_port = grpc_htons(static_cast<uint16_t>(server.port));
|
632
|
+
// the addresses are given in binary format (a in(6)_addr struct) in
|
633
|
+
// server->ip_address.bytes.
|
634
|
+
if (server.ip_size == 4) {
|
635
|
+
addr->len = static_cast<socklen_t>(sizeof(grpc_sockaddr_in));
|
636
|
+
grpc_sockaddr_in* addr4 = reinterpret_cast<grpc_sockaddr_in*>(&addr->addr);
|
637
|
+
addr4->sin_family = GRPC_AF_INET;
|
638
|
+
memcpy(&addr4->sin_addr, server.ip_addr, server.ip_size);
|
639
|
+
addr4->sin_port = netorder_port;
|
640
|
+
} else if (server.ip_size == 16) {
|
641
|
+
addr->len = static_cast<socklen_t>(sizeof(grpc_sockaddr_in6));
|
642
|
+
grpc_sockaddr_in6* addr6 =
|
643
|
+
reinterpret_cast<grpc_sockaddr_in6*>(&addr->addr);
|
644
|
+
addr6->sin6_family = GRPC_AF_INET6;
|
645
|
+
memcpy(&addr6->sin6_addr, server.ip_addr, server.ip_size);
|
646
|
+
addr6->sin6_port = netorder_port;
|
647
|
+
}
|
648
|
+
}
|
649
|
+
|
650
|
+
class GrpcLb::Serverlist::AddressIterator : public EndpointAddressesIterator {
|
651
|
+
public:
|
652
|
+
AddressIterator(RefCountedPtr<Serverlist> serverlist,
|
653
|
+
RefCountedPtr<GrpcLbClientStats> client_stats)
|
654
|
+
: serverlist_(std::move(serverlist)),
|
655
|
+
client_stats_(std::move(client_stats)) {}
|
656
|
+
|
657
|
+
void ForEach(absl::FunctionRef<void(const EndpointAddresses&)> callback)
|
658
|
+
const override {
|
659
|
+
for (size_t i = 0; i < serverlist_->serverlist_.size(); ++i) {
|
660
|
+
const GrpcLbServer& server = serverlist_->serverlist_[i];
|
661
|
+
if (!IsServerValid(server, i, false)) continue;
|
662
|
+
// Address processing.
|
663
|
+
grpc_resolved_address addr;
|
664
|
+
ParseServer(server, &addr);
|
665
|
+
// LB token processing.
|
666
|
+
const size_t lb_token_length = strnlen(
|
667
|
+
server.load_balance_token, GPR_ARRAY_SIZE(server.load_balance_token));
|
668
|
+
std::string lb_token(server.load_balance_token, lb_token_length);
|
669
|
+
if (lb_token.empty()) {
|
670
|
+
auto addr_uri = grpc_sockaddr_to_uri(&addr);
|
671
|
+
gpr_log(GPR_INFO,
|
672
|
+
"Missing LB token for backend address '%s'. The empty token "
|
673
|
+
"will be used instead",
|
674
|
+
addr_uri.ok() ? addr_uri->c_str()
|
675
|
+
: addr_uri.status().ToString().c_str());
|
676
|
+
}
|
677
|
+
// Return address with a channel arg containing LB token and stats object.
|
678
|
+
callback(EndpointAddresses(
|
679
|
+
addr, ChannelArgs().SetObject(MakeRefCounted<TokenAndClientStatsArg>(
|
680
|
+
std::move(lb_token), client_stats_))));
|
681
|
+
}
|
682
|
+
}
|
683
|
+
|
684
|
+
private:
|
685
|
+
RefCountedPtr<Serverlist> serverlist_;
|
686
|
+
RefCountedPtr<GrpcLbClientStats> client_stats_;
|
687
|
+
};
|
688
|
+
|
689
|
+
//
|
690
|
+
// GrpcLb::Serverlist
|
691
|
+
//
|
692
|
+
|
693
|
+
bool GrpcLb::Serverlist::operator==(const Serverlist& other) const {
|
694
|
+
return serverlist_ == other.serverlist_;
|
695
|
+
}
|
696
|
+
|
697
|
+
std::string GrpcLb::Serverlist::AsText() const {
|
698
|
+
std::vector<std::string> entries;
|
699
|
+
for (size_t i = 0; i < serverlist_.size(); ++i) {
|
700
|
+
const GrpcLbServer& server = serverlist_[i];
|
701
|
+
std::string ipport;
|
702
|
+
if (server.drop) {
|
703
|
+
ipport = "(drop)";
|
704
|
+
} else {
|
705
|
+
grpc_resolved_address addr;
|
706
|
+
ParseServer(server, &addr);
|
707
|
+
auto addr_str = grpc_sockaddr_to_string(&addr, false);
|
708
|
+
ipport = addr_str.ok() ? *addr_str : addr_str.status().ToString();
|
709
|
+
}
|
710
|
+
entries.push_back(absl::StrFormat(" %" PRIuPTR ": %s token=%s\n", i,
|
711
|
+
ipport, server.load_balance_token));
|
712
|
+
}
|
713
|
+
return absl::StrJoin(entries, "");
|
714
|
+
}
|
715
|
+
|
716
|
+
// Returns addresses extracted from the serverlist.
|
717
|
+
std::shared_ptr<EndpointAddressesIterator>
|
718
|
+
GrpcLb::Serverlist::GetServerAddressList(GrpcLbClientStats* client_stats) {
|
719
|
+
RefCountedPtr<GrpcLbClientStats> stats;
|
720
|
+
if (client_stats != nullptr) stats = client_stats->Ref();
|
721
|
+
return std::make_shared<AddressIterator>(Ref(), std::move(stats));
|
722
|
+
}
|
723
|
+
|
724
|
+
bool GrpcLb::Serverlist::ContainsAllDropEntries() const {
|
725
|
+
if (serverlist_.empty()) return false;
|
726
|
+
for (const GrpcLbServer& server : serverlist_) {
|
727
|
+
if (!server.drop) return false;
|
728
|
+
}
|
729
|
+
return true;
|
730
|
+
}
|
731
|
+
|
732
|
+
const char* GrpcLb::Serverlist::ShouldDrop() {
|
733
|
+
if (serverlist_.empty()) return nullptr;
|
734
|
+
size_t index = drop_index_.fetch_add(1, std::memory_order_relaxed);
|
735
|
+
GrpcLbServer& server = serverlist_[index % serverlist_.size()];
|
736
|
+
return server.drop ? server.load_balance_token : nullptr;
|
737
|
+
}
|
738
|
+
|
739
|
+
//
|
740
|
+
// GrpcLb::Picker
|
741
|
+
//
|
742
|
+
|
743
|
+
GrpcLb::PickResult GrpcLb::Picker::Pick(PickArgs args) {
|
744
|
+
// Check if we should drop the call.
|
745
|
+
const char* drop_token =
|
746
|
+
serverlist_ == nullptr ? nullptr : serverlist_->ShouldDrop();
|
747
|
+
if (drop_token != nullptr) {
|
748
|
+
// Update client load reporting stats to indicate the number of
|
749
|
+
// dropped calls. Note that we have to do this here instead of in
|
750
|
+
// the client_load_reporting filter, because we do not create a
|
751
|
+
// subchannel call (and therefore no client_load_reporting filter)
|
752
|
+
// for dropped calls.
|
753
|
+
if (client_stats_ != nullptr) {
|
754
|
+
client_stats_->AddCallDropped(drop_token);
|
755
|
+
}
|
756
|
+
return PickResult::Drop(
|
757
|
+
absl::UnavailableError("drop directed by grpclb balancer"));
|
758
|
+
}
|
759
|
+
// Forward pick to child policy.
|
760
|
+
PickResult result = child_picker_->Pick(args);
|
761
|
+
// If pick succeeded, add LB token to initial metadata.
|
762
|
+
auto* complete_pick = absl::get_if<PickResult::Complete>(&result.result);
|
763
|
+
if (complete_pick != nullptr) {
|
764
|
+
const SubchannelWrapper* subchannel_wrapper =
|
765
|
+
static_cast<SubchannelWrapper*>(complete_pick->subchannel.get());
|
766
|
+
// Encode client stats object into metadata for use by
|
767
|
+
// client_load_reporting filter.
|
768
|
+
GrpcLbClientStats* client_stats = subchannel_wrapper->client_stats();
|
769
|
+
if (client_stats != nullptr) {
|
770
|
+
complete_pick->subchannel_call_tracker =
|
771
|
+
std::make_unique<SubchannelCallTracker>(
|
772
|
+
client_stats->Ref(),
|
773
|
+
std::move(complete_pick->subchannel_call_tracker));
|
774
|
+
// The metadata value is a hack: we pretend the pointer points to
|
775
|
+
// a string and rely on the client_load_reporting filter to know
|
776
|
+
// how to interpret it.
|
777
|
+
// NOLINTBEGIN(bugprone-string-constructor)
|
778
|
+
args.initial_metadata->Add(
|
779
|
+
GrpcLbClientStatsMetadata::key(),
|
780
|
+
absl::string_view(reinterpret_cast<const char*>(client_stats), 0));
|
781
|
+
// NOLINTEND(bugprone-string-constructor)
|
782
|
+
// Update calls-started.
|
783
|
+
client_stats->AddCallStarted();
|
784
|
+
}
|
785
|
+
// Encode the LB token in metadata.
|
786
|
+
// Create a new copy on the call arena, since the subchannel list
|
787
|
+
// may get refreshed between when we return this pick and when the
|
788
|
+
// initial metadata goes out on the wire.
|
789
|
+
if (!subchannel_wrapper->lb_token().empty()) {
|
790
|
+
char* lb_token = static_cast<char*>(
|
791
|
+
args.call_state->Alloc(subchannel_wrapper->lb_token().size() + 1));
|
792
|
+
strcpy(lb_token, subchannel_wrapper->lb_token().c_str());
|
793
|
+
args.initial_metadata->Add(LbTokenMetadata::key(), lb_token);
|
794
|
+
}
|
795
|
+
// Unwrap subchannel to pass up to the channel.
|
796
|
+
complete_pick->subchannel = subchannel_wrapper->wrapped_subchannel();
|
797
|
+
}
|
798
|
+
return result;
|
799
|
+
}
|
800
|
+
|
801
|
+
//
|
802
|
+
// GrpcLb::Helper
|
803
|
+
//
|
804
|
+
|
805
|
+
RefCountedPtr<SubchannelInterface> GrpcLb::Helper::CreateSubchannel(
|
806
|
+
const grpc_resolved_address& address, const ChannelArgs& per_address_args,
|
807
|
+
const ChannelArgs& args) {
|
808
|
+
if (parent()->shutting_down_) return nullptr;
|
809
|
+
const auto* arg = per_address_args.GetObject<TokenAndClientStatsArg>();
|
810
|
+
if (arg == nullptr) {
|
811
|
+
auto addr_str = grpc_sockaddr_to_string(&address, false);
|
812
|
+
Crash(
|
813
|
+
absl::StrFormat("[grpclb %p] no TokenAndClientStatsArg for address %s",
|
814
|
+
parent(), addr_str.value_or("N/A").c_str()));
|
815
|
+
}
|
816
|
+
std::string lb_token = arg->lb_token();
|
817
|
+
RefCountedPtr<GrpcLbClientStats> client_stats = arg->client_stats();
|
818
|
+
return MakeRefCounted<SubchannelWrapper>(
|
819
|
+
parent()->channel_control_helper()->CreateSubchannel(
|
820
|
+
address, per_address_args, args),
|
821
|
+
parent()->RefAsSubclass<GrpcLb>(DEBUG_LOCATION, "SubchannelWrapper"),
|
822
|
+
std::move(lb_token), std::move(client_stats));
|
823
|
+
}
|
824
|
+
|
825
|
+
void GrpcLb::Helper::UpdateState(grpc_connectivity_state state,
|
826
|
+
const absl::Status& status,
|
827
|
+
RefCountedPtr<SubchannelPicker> picker) {
|
828
|
+
if (parent()->shutting_down_) return;
|
829
|
+
// Record whether child policy reports READY.
|
830
|
+
parent()->child_policy_ready_ = state == GRPC_CHANNEL_READY;
|
831
|
+
// Enter fallback mode if needed.
|
832
|
+
parent()->MaybeEnterFallbackModeAfterStartup();
|
833
|
+
// We pass the serverlist to the picker so that it can handle drops.
|
834
|
+
// However, we don't want to handle drops in the case where the child
|
835
|
+
// policy is reporting a state other than READY (unless we are
|
836
|
+
// dropping *all* calls), because we don't want to process drops for picks
|
837
|
+
// that yield a QUEUE result; this would result in dropping too many calls,
|
838
|
+
// since we will see the queued picks multiple times, and we'd consider each
|
839
|
+
// one a separate call for the drop calculation. So in this case, we pass
|
840
|
+
// a null serverlist to the picker, which tells it not to do drops.
|
841
|
+
RefCountedPtr<Serverlist> serverlist;
|
842
|
+
if (state == GRPC_CHANNEL_READY ||
|
843
|
+
(parent()->serverlist_ != nullptr &&
|
844
|
+
parent()->serverlist_->ContainsAllDropEntries())) {
|
845
|
+
serverlist = parent()->serverlist_;
|
846
|
+
}
|
847
|
+
RefCountedPtr<GrpcLbClientStats> client_stats;
|
848
|
+
if (parent()->lb_calld_ != nullptr &&
|
849
|
+
parent()->lb_calld_->client_stats() != nullptr) {
|
850
|
+
client_stats = parent()->lb_calld_->client_stats()->Ref();
|
851
|
+
}
|
852
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
853
|
+
gpr_log(GPR_INFO,
|
854
|
+
"[grpclb %p helper %p] state=%s (%s) wrapping child "
|
855
|
+
"picker %p (serverlist=%p, client_stats=%p)",
|
856
|
+
parent(), this, ConnectivityStateName(state),
|
857
|
+
status.ToString().c_str(), picker.get(), serverlist.get(),
|
858
|
+
client_stats.get());
|
859
|
+
}
|
860
|
+
parent()->channel_control_helper()->UpdateState(
|
861
|
+
state, status,
|
862
|
+
MakeRefCounted<Picker>(std::move(serverlist), std::move(picker),
|
863
|
+
std::move(client_stats)));
|
864
|
+
}
|
865
|
+
|
866
|
+
void GrpcLb::Helper::RequestReresolution() {
|
867
|
+
if (parent()->shutting_down_) return;
|
868
|
+
// Ignore if we're not in fallback mode, because if we got the backend
|
869
|
+
// addresses from the balancer, re-resolving is not going to fix it.
|
870
|
+
if (!parent()->fallback_mode_) return;
|
871
|
+
parent()->channel_control_helper()->RequestReresolution();
|
872
|
+
}
|
873
|
+
|
874
|
+
//
|
875
|
+
// GrpcLb::BalancerCallState
|
876
|
+
//
|
877
|
+
|
878
|
+
GrpcLb::BalancerCallState::BalancerCallState(
|
879
|
+
RefCountedPtr<LoadBalancingPolicy> parent_grpclb_policy)
|
880
|
+
: InternallyRefCounted<BalancerCallState>(
|
881
|
+
GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace) ? "BalancerCallState"
|
882
|
+
: nullptr),
|
883
|
+
grpclb_policy_(std::move(parent_grpclb_policy)) {
|
884
|
+
GPR_ASSERT(grpclb_policy_ != nullptr);
|
885
|
+
GPR_ASSERT(!grpclb_policy()->shutting_down_);
|
886
|
+
// Init the LB call. Note that the LB call will progress every time there's
|
887
|
+
// activity in grpclb_policy_->interested_parties(), which is comprised of
|
888
|
+
// the polling entities from client_channel.
|
889
|
+
GRPC_CLOSURE_INIT(&lb_on_initial_request_sent_, OnInitialRequestSent, this,
|
890
|
+
grpc_schedule_on_exec_ctx);
|
891
|
+
GRPC_CLOSURE_INIT(&lb_on_balancer_message_received_,
|
892
|
+
OnBalancerMessageReceived, this, grpc_schedule_on_exec_ctx);
|
893
|
+
GRPC_CLOSURE_INIT(&lb_on_balancer_status_received_, OnBalancerStatusReceived,
|
894
|
+
this, grpc_schedule_on_exec_ctx);
|
895
|
+
GRPC_CLOSURE_INIT(&client_load_report_done_closure_, ClientLoadReportDone,
|
896
|
+
this, grpc_schedule_on_exec_ctx);
|
897
|
+
const Timestamp deadline =
|
898
|
+
grpclb_policy()->lb_call_timeout_ == Duration::Zero()
|
899
|
+
? Timestamp::InfFuture()
|
900
|
+
: Timestamp::Now() + grpclb_policy()->lb_call_timeout_;
|
901
|
+
lb_call_ = grpc_channel_create_pollset_set_call(
|
902
|
+
grpclb_policy()->lb_channel_, nullptr, GRPC_PROPAGATE_DEFAULTS,
|
903
|
+
grpclb_policy_->interested_parties(),
|
904
|
+
Slice::FromStaticString("/grpc.lb.v1.LoadBalancer/BalanceLoad").c_slice(),
|
905
|
+
nullptr, deadline, nullptr);
|
906
|
+
// Init the LB call request payload.
|
907
|
+
upb::Arena arena;
|
908
|
+
grpc_slice request_payload_slice = GrpcLbRequestCreate(
|
909
|
+
grpclb_policy()->config_->service_name().empty()
|
910
|
+
? grpclb_policy()->channel_control_helper()->GetAuthority()
|
911
|
+
: grpclb_policy()->config_->service_name(),
|
912
|
+
arena.ptr());
|
913
|
+
send_message_payload_ =
|
914
|
+
grpc_raw_byte_buffer_create(&request_payload_slice, 1);
|
915
|
+
CSliceUnref(request_payload_slice);
|
916
|
+
// Init other data associated with the LB call.
|
917
|
+
grpc_metadata_array_init(&lb_initial_metadata_recv_);
|
918
|
+
grpc_metadata_array_init(&lb_trailing_metadata_recv_);
|
919
|
+
}
|
920
|
+
|
921
|
+
GrpcLb::BalancerCallState::~BalancerCallState() {
|
922
|
+
GPR_ASSERT(lb_call_ != nullptr);
|
923
|
+
grpc_call_unref(lb_call_);
|
924
|
+
grpc_metadata_array_destroy(&lb_initial_metadata_recv_);
|
925
|
+
grpc_metadata_array_destroy(&lb_trailing_metadata_recv_);
|
926
|
+
grpc_byte_buffer_destroy(send_message_payload_);
|
927
|
+
grpc_byte_buffer_destroy(recv_message_payload_);
|
928
|
+
CSliceUnref(lb_call_status_details_);
|
929
|
+
}
|
930
|
+
|
931
|
+
void GrpcLb::BalancerCallState::Orphan() {
|
932
|
+
GPR_ASSERT(lb_call_ != nullptr);
|
933
|
+
// If we are here because grpclb_policy wants to cancel the call,
|
934
|
+
// lb_on_balancer_status_received_ will complete the cancellation and clean
|
935
|
+
// up. Otherwise, we are here because grpclb_policy has to orphan a failed
|
936
|
+
// call, then the following cancellation will be a no-op.
|
937
|
+
grpc_call_cancel_internal(lb_call_);
|
938
|
+
if (client_load_report_handle_.has_value() &&
|
939
|
+
grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
|
940
|
+
client_load_report_handle_.value())) {
|
941
|
+
Unref(DEBUG_LOCATION, "client_load_report cancelled");
|
942
|
+
}
|
943
|
+
// Note that the initial ref is hold by lb_on_balancer_status_received_
|
944
|
+
// instead of the caller of this function. So the corresponding unref happens
|
945
|
+
// in lb_on_balancer_status_received_ instead of here.
|
946
|
+
}
|
947
|
+
|
948
|
+
void GrpcLb::BalancerCallState::StartQuery() {
|
949
|
+
GPR_ASSERT(lb_call_ != nullptr);
|
950
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
951
|
+
gpr_log(GPR_INFO, "[grpclb %p] lb_calld=%p: Starting LB call %p",
|
952
|
+
grpclb_policy_.get(), this, lb_call_);
|
953
|
+
}
|
954
|
+
// Create the ops.
|
955
|
+
grpc_call_error call_error;
|
956
|
+
grpc_op ops[3];
|
957
|
+
memset(ops, 0, sizeof(ops));
|
958
|
+
// Op: send initial metadata.
|
959
|
+
grpc_op* op = ops;
|
960
|
+
op->op = GRPC_OP_SEND_INITIAL_METADATA;
|
961
|
+
op->data.send_initial_metadata.count = 0;
|
962
|
+
op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY |
|
963
|
+
GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET;
|
964
|
+
op->reserved = nullptr;
|
965
|
+
op++;
|
966
|
+
// Op: send request message.
|
967
|
+
GPR_ASSERT(send_message_payload_ != nullptr);
|
968
|
+
op->op = GRPC_OP_SEND_MESSAGE;
|
969
|
+
op->data.send_message.send_message = send_message_payload_;
|
970
|
+
op->flags = 0;
|
971
|
+
op->reserved = nullptr;
|
972
|
+
op++;
|
973
|
+
// TODO(roth): We currently track this ref manually. Once the
|
974
|
+
// ClosureRef API is ready, we should pass the RefCountedPtr<> along
|
975
|
+
// with the callback.
|
976
|
+
auto self = Ref(DEBUG_LOCATION, "on_initial_request_sent");
|
977
|
+
self.release();
|
978
|
+
call_error = grpc_call_start_batch_and_execute(lb_call_, ops,
|
979
|
+
static_cast<size_t>(op - ops),
|
980
|
+
&lb_on_initial_request_sent_);
|
981
|
+
GPR_ASSERT(GRPC_CALL_OK == call_error);
|
982
|
+
// Op: recv initial metadata.
|
983
|
+
op = ops;
|
984
|
+
op->op = GRPC_OP_RECV_INITIAL_METADATA;
|
985
|
+
op->data.recv_initial_metadata.recv_initial_metadata =
|
986
|
+
&lb_initial_metadata_recv_;
|
987
|
+
op->flags = 0;
|
988
|
+
op->reserved = nullptr;
|
989
|
+
op++;
|
990
|
+
// Op: recv response.
|
991
|
+
op->op = GRPC_OP_RECV_MESSAGE;
|
992
|
+
op->data.recv_message.recv_message = &recv_message_payload_;
|
993
|
+
op->flags = 0;
|
994
|
+
op->reserved = nullptr;
|
995
|
+
op++;
|
996
|
+
// TODO(roth): We currently track this ref manually. Once the
|
997
|
+
// ClosureRef API is ready, we should pass the RefCountedPtr<> along
|
998
|
+
// with the callback.
|
999
|
+
self = Ref(DEBUG_LOCATION, "on_message_received");
|
1000
|
+
self.release();
|
1001
|
+
call_error = grpc_call_start_batch_and_execute(
|
1002
|
+
lb_call_, ops, static_cast<size_t>(op - ops),
|
1003
|
+
&lb_on_balancer_message_received_);
|
1004
|
+
GPR_ASSERT(GRPC_CALL_OK == call_error);
|
1005
|
+
// Op: recv server status.
|
1006
|
+
op = ops;
|
1007
|
+
op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
|
1008
|
+
op->data.recv_status_on_client.trailing_metadata =
|
1009
|
+
&lb_trailing_metadata_recv_;
|
1010
|
+
op->data.recv_status_on_client.status = &lb_call_status_;
|
1011
|
+
op->data.recv_status_on_client.status_details = &lb_call_status_details_;
|
1012
|
+
op->flags = 0;
|
1013
|
+
op->reserved = nullptr;
|
1014
|
+
op++;
|
1015
|
+
// This callback signals the end of the LB call, so it relies on the initial
|
1016
|
+
// ref instead of a new ref. When it's invoked, it's the initial ref that is
|
1017
|
+
// unreffed.
|
1018
|
+
call_error = grpc_call_start_batch_and_execute(
|
1019
|
+
lb_call_, ops, static_cast<size_t>(op - ops),
|
1020
|
+
&lb_on_balancer_status_received_);
|
1021
|
+
GPR_ASSERT(GRPC_CALL_OK == call_error);
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
void GrpcLb::BalancerCallState::ScheduleNextClientLoadReportLocked() {
|
1025
|
+
client_load_report_handle_ =
|
1026
|
+
grpclb_policy()->channel_control_helper()->GetEventEngine()->RunAfter(
|
1027
|
+
client_stats_report_interval_, [this] {
|
1028
|
+
ApplicationCallbackExecCtx callback_exec_ctx;
|
1029
|
+
ExecCtx exec_ctx;
|
1030
|
+
grpclb_policy()->work_serializer()->Run(
|
1031
|
+
[this] { MaybeSendClientLoadReportLocked(); }, DEBUG_LOCATION);
|
1032
|
+
});
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
void GrpcLb::BalancerCallState::MaybeSendClientLoadReportLocked() {
|
1036
|
+
client_load_report_handle_.reset();
|
1037
|
+
if (this != grpclb_policy()->lb_calld_.get()) {
|
1038
|
+
Unref(DEBUG_LOCATION, "client_load_report");
|
1039
|
+
return;
|
1040
|
+
}
|
1041
|
+
// If we've already sent the initial request, then we can go ahead and send
|
1042
|
+
// the load report. Otherwise, we need to wait until the initial request has
|
1043
|
+
// been sent to send this (see OnInitialRequestSentLocked()).
|
1044
|
+
if (send_message_payload_ == nullptr) {
|
1045
|
+
SendClientLoadReportLocked();
|
1046
|
+
} else {
|
1047
|
+
client_load_report_is_due_ = true;
|
1048
|
+
}
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
void GrpcLb::BalancerCallState::SendClientLoadReportLocked() {
|
1052
|
+
// Construct message payload.
|
1053
|
+
GPR_ASSERT(send_message_payload_ == nullptr);
|
1054
|
+
// Get snapshot of stats.
|
1055
|
+
int64_t num_calls_started;
|
1056
|
+
int64_t num_calls_finished;
|
1057
|
+
int64_t num_calls_finished_with_client_failed_to_send;
|
1058
|
+
int64_t num_calls_finished_known_received;
|
1059
|
+
std::unique_ptr<GrpcLbClientStats::DroppedCallCounts> drop_token_counts;
|
1060
|
+
client_stats_->Get(&num_calls_started, &num_calls_finished,
|
1061
|
+
&num_calls_finished_with_client_failed_to_send,
|
1062
|
+
&num_calls_finished_known_received, &drop_token_counts);
|
1063
|
+
// Skip client load report if the counters were all zero in the last
|
1064
|
+
// report and they are still zero in this one.
|
1065
|
+
if (num_calls_started == 0 && num_calls_finished == 0 &&
|
1066
|
+
num_calls_finished_with_client_failed_to_send == 0 &&
|
1067
|
+
num_calls_finished_known_received == 0 &&
|
1068
|
+
(drop_token_counts == nullptr || drop_token_counts->empty())) {
|
1069
|
+
if (last_client_load_report_counters_were_zero_) {
|
1070
|
+
ScheduleNextClientLoadReportLocked();
|
1071
|
+
return;
|
1072
|
+
}
|
1073
|
+
last_client_load_report_counters_were_zero_ = true;
|
1074
|
+
} else {
|
1075
|
+
last_client_load_report_counters_were_zero_ = false;
|
1076
|
+
}
|
1077
|
+
// Populate load report.
|
1078
|
+
upb::Arena arena;
|
1079
|
+
grpc_slice request_payload_slice = GrpcLbLoadReportRequestCreate(
|
1080
|
+
num_calls_started, num_calls_finished,
|
1081
|
+
num_calls_finished_with_client_failed_to_send,
|
1082
|
+
num_calls_finished_known_received, drop_token_counts.get(), arena.ptr());
|
1083
|
+
send_message_payload_ =
|
1084
|
+
grpc_raw_byte_buffer_create(&request_payload_slice, 1);
|
1085
|
+
CSliceUnref(request_payload_slice);
|
1086
|
+
// Send the report.
|
1087
|
+
grpc_op op;
|
1088
|
+
memset(&op, 0, sizeof(op));
|
1089
|
+
op.op = GRPC_OP_SEND_MESSAGE;
|
1090
|
+
op.data.send_message.send_message = send_message_payload_;
|
1091
|
+
grpc_call_error call_error = grpc_call_start_batch_and_execute(
|
1092
|
+
lb_call_, &op, 1, &client_load_report_done_closure_);
|
1093
|
+
if (GPR_UNLIKELY(call_error != GRPC_CALL_OK)) {
|
1094
|
+
gpr_log(GPR_ERROR,
|
1095
|
+
"[grpclb %p] lb_calld=%p call_error=%d sending client load report",
|
1096
|
+
grpclb_policy_.get(), this, call_error);
|
1097
|
+
GPR_ASSERT(GRPC_CALL_OK == call_error);
|
1098
|
+
}
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
void GrpcLb::BalancerCallState::ClientLoadReportDone(void* arg,
|
1102
|
+
grpc_error_handle error) {
|
1103
|
+
BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
|
1104
|
+
lb_calld->grpclb_policy()->work_serializer()->Run(
|
1105
|
+
[lb_calld, error]() { lb_calld->ClientLoadReportDoneLocked(error); },
|
1106
|
+
DEBUG_LOCATION);
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
void GrpcLb::BalancerCallState::ClientLoadReportDoneLocked(
|
1110
|
+
grpc_error_handle error) {
|
1111
|
+
grpc_byte_buffer_destroy(send_message_payload_);
|
1112
|
+
send_message_payload_ = nullptr;
|
1113
|
+
if (!error.ok() || this != grpclb_policy()->lb_calld_.get()) {
|
1114
|
+
Unref(DEBUG_LOCATION, "client_load_report");
|
1115
|
+
return;
|
1116
|
+
}
|
1117
|
+
ScheduleNextClientLoadReportLocked();
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
void GrpcLb::BalancerCallState::OnInitialRequestSent(
|
1121
|
+
void* arg, grpc_error_handle /*error*/) {
|
1122
|
+
BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
|
1123
|
+
lb_calld->grpclb_policy()->work_serializer()->Run(
|
1124
|
+
[lb_calld]() { lb_calld->OnInitialRequestSentLocked(); }, DEBUG_LOCATION);
|
1125
|
+
}
|
1126
|
+
|
1127
|
+
void GrpcLb::BalancerCallState::OnInitialRequestSentLocked() {
|
1128
|
+
grpc_byte_buffer_destroy(send_message_payload_);
|
1129
|
+
send_message_payload_ = nullptr;
|
1130
|
+
// If we attempted to send a client load report before the initial request was
|
1131
|
+
// sent (and this lb_calld is still in use), send the load report now.
|
1132
|
+
if (client_load_report_is_due_ && this == grpclb_policy()->lb_calld_.get()) {
|
1133
|
+
SendClientLoadReportLocked();
|
1134
|
+
client_load_report_is_due_ = false;
|
1135
|
+
}
|
1136
|
+
Unref(DEBUG_LOCATION, "on_initial_request_sent");
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
void GrpcLb::BalancerCallState::OnBalancerMessageReceived(
|
1140
|
+
void* arg, grpc_error_handle /*error*/) {
|
1141
|
+
BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
|
1142
|
+
lb_calld->grpclb_policy()->work_serializer()->Run(
|
1143
|
+
[lb_calld]() { lb_calld->OnBalancerMessageReceivedLocked(); },
|
1144
|
+
DEBUG_LOCATION);
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
void GrpcLb::BalancerCallState::OnBalancerMessageReceivedLocked() {
|
1148
|
+
// Null payload means the LB call was cancelled.
|
1149
|
+
if (this != grpclb_policy()->lb_calld_.get() ||
|
1150
|
+
recv_message_payload_ == nullptr) {
|
1151
|
+
Unref(DEBUG_LOCATION, "on_message_received");
|
1152
|
+
return;
|
1153
|
+
}
|
1154
|
+
grpc_byte_buffer_reader bbr;
|
1155
|
+
grpc_byte_buffer_reader_init(&bbr, recv_message_payload_);
|
1156
|
+
grpc_slice response_slice = grpc_byte_buffer_reader_readall(&bbr);
|
1157
|
+
grpc_byte_buffer_reader_destroy(&bbr);
|
1158
|
+
grpc_byte_buffer_destroy(recv_message_payload_);
|
1159
|
+
recv_message_payload_ = nullptr;
|
1160
|
+
GrpcLbResponse response;
|
1161
|
+
upb::Arena arena;
|
1162
|
+
if (!GrpcLbResponseParse(response_slice, arena.ptr(), &response) ||
|
1163
|
+
(response.type == response.INITIAL && seen_initial_response_)) {
|
1164
|
+
if (gpr_should_log(GPR_LOG_SEVERITY_ERROR)) {
|
1165
|
+
char* response_slice_str =
|
1166
|
+
grpc_dump_slice(response_slice, GPR_DUMP_ASCII | GPR_DUMP_HEX);
|
1167
|
+
gpr_log(GPR_ERROR,
|
1168
|
+
"[grpclb %p] lb_calld=%p: Invalid LB response received: '%s'. "
|
1169
|
+
"Ignoring.",
|
1170
|
+
grpclb_policy(), this, response_slice_str);
|
1171
|
+
gpr_free(response_slice_str);
|
1172
|
+
}
|
1173
|
+
} else {
|
1174
|
+
switch (response.type) {
|
1175
|
+
case response.INITIAL: {
|
1176
|
+
if (response.client_stats_report_interval != Duration::Zero()) {
|
1177
|
+
client_stats_report_interval_ = std::max(
|
1178
|
+
Duration::Seconds(1), response.client_stats_report_interval);
|
1179
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1180
|
+
gpr_log(GPR_INFO,
|
1181
|
+
"[grpclb %p] lb_calld=%p: Received initial LB response "
|
1182
|
+
"message; client load reporting interval = %" PRId64
|
1183
|
+
" milliseconds",
|
1184
|
+
grpclb_policy(), this,
|
1185
|
+
client_stats_report_interval_.millis());
|
1186
|
+
}
|
1187
|
+
} else if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1188
|
+
gpr_log(GPR_INFO,
|
1189
|
+
"[grpclb %p] lb_calld=%p: Received initial LB response "
|
1190
|
+
"message; client load reporting NOT enabled",
|
1191
|
+
grpclb_policy(), this);
|
1192
|
+
}
|
1193
|
+
seen_initial_response_ = true;
|
1194
|
+
break;
|
1195
|
+
}
|
1196
|
+
case response.SERVERLIST: {
|
1197
|
+
GPR_ASSERT(lb_call_ != nullptr);
|
1198
|
+
auto serverlist_wrapper =
|
1199
|
+
MakeRefCounted<Serverlist>(std::move(response.serverlist));
|
1200
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1201
|
+
gpr_log(GPR_INFO,
|
1202
|
+
"[grpclb %p] lb_calld=%p: Serverlist with %" PRIuPTR
|
1203
|
+
" servers received:\n%s",
|
1204
|
+
grpclb_policy(), this,
|
1205
|
+
serverlist_wrapper->serverlist().size(),
|
1206
|
+
serverlist_wrapper->AsText().c_str());
|
1207
|
+
}
|
1208
|
+
seen_serverlist_ = true;
|
1209
|
+
// Start sending client load report only after we start using the
|
1210
|
+
// serverlist returned from the current LB call.
|
1211
|
+
if (client_stats_report_interval_ > Duration::Zero() &&
|
1212
|
+
client_stats_ == nullptr) {
|
1213
|
+
client_stats_ = MakeRefCounted<GrpcLbClientStats>();
|
1214
|
+
// Ref held by callback.
|
1215
|
+
Ref(DEBUG_LOCATION, "client_load_report").release();
|
1216
|
+
ScheduleNextClientLoadReportLocked();
|
1217
|
+
}
|
1218
|
+
// Check if the serverlist differs from the previous one.
|
1219
|
+
if (grpclb_policy()->serverlist_ != nullptr &&
|
1220
|
+
*grpclb_policy()->serverlist_ == *serverlist_wrapper) {
|
1221
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1222
|
+
gpr_log(GPR_INFO,
|
1223
|
+
"[grpclb %p] lb_calld=%p: Incoming server list identical "
|
1224
|
+
"to current, ignoring.",
|
1225
|
+
grpclb_policy(), this);
|
1226
|
+
}
|
1227
|
+
} else { // New serverlist.
|
1228
|
+
// Dispose of the fallback.
|
1229
|
+
// TODO(roth): Ideally, we should stay in fallback mode until we
|
1230
|
+
// know that we can reach at least one of the backends in the new
|
1231
|
+
// serverlist. Unfortunately, we can't do that, since we need to
|
1232
|
+
// send the new addresses to the child policy in order to determine
|
1233
|
+
// if they are reachable, and if we don't exit fallback mode now,
|
1234
|
+
// CreateOrUpdateChildPolicyLocked() will use the fallback
|
1235
|
+
// addresses instead of the addresses from the new serverlist.
|
1236
|
+
// However, if we can't reach any of the servers in the new
|
1237
|
+
// serverlist, then the child policy will never switch away from
|
1238
|
+
// the fallback addresses, but the grpclb policy will still think
|
1239
|
+
// that we're not in fallback mode, which means that we won't send
|
1240
|
+
// updates to the child policy when the fallback addresses are
|
1241
|
+
// updated by the resolver. This is sub-optimal, but the only way
|
1242
|
+
// to fix it is to maintain a completely separate child policy for
|
1243
|
+
// fallback mode, and that's more work than we want to put into
|
1244
|
+
// the grpclb implementation at this point, since we're deprecating
|
1245
|
+
// it in favor of the xds policy. We will implement this the
|
1246
|
+
// right way in the xds policy instead.
|
1247
|
+
if (grpclb_policy()->fallback_mode_) {
|
1248
|
+
gpr_log(GPR_INFO,
|
1249
|
+
"[grpclb %p] Received response from balancer; exiting "
|
1250
|
+
"fallback mode",
|
1251
|
+
grpclb_policy());
|
1252
|
+
grpclb_policy()->fallback_mode_ = false;
|
1253
|
+
}
|
1254
|
+
if (grpclb_policy()->fallback_at_startup_checks_pending_) {
|
1255
|
+
grpclb_policy()->fallback_at_startup_checks_pending_ = false;
|
1256
|
+
grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
|
1257
|
+
*grpclb_policy()->lb_fallback_timer_handle_);
|
1258
|
+
grpclb_policy()->CancelBalancerChannelConnectivityWatchLocked();
|
1259
|
+
}
|
1260
|
+
// Update the serverlist in the GrpcLb instance. This serverlist
|
1261
|
+
// instance will be destroyed either upon the next update or when the
|
1262
|
+
// GrpcLb instance is destroyed.
|
1263
|
+
grpclb_policy()->serverlist_ = std::move(serverlist_wrapper);
|
1264
|
+
grpclb_policy()->CreateOrUpdateChildPolicyLocked();
|
1265
|
+
}
|
1266
|
+
break;
|
1267
|
+
}
|
1268
|
+
case response.FALLBACK: {
|
1269
|
+
if (!grpclb_policy()->fallback_mode_) {
|
1270
|
+
gpr_log(GPR_INFO,
|
1271
|
+
"[grpclb %p] Entering fallback mode as requested by balancer",
|
1272
|
+
grpclb_policy());
|
1273
|
+
if (grpclb_policy()->fallback_at_startup_checks_pending_) {
|
1274
|
+
grpclb_policy()->fallback_at_startup_checks_pending_ = false;
|
1275
|
+
grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
|
1276
|
+
*grpclb_policy()->lb_fallback_timer_handle_);
|
1277
|
+
grpclb_policy()->CancelBalancerChannelConnectivityWatchLocked();
|
1278
|
+
}
|
1279
|
+
grpclb_policy()->fallback_mode_ = true;
|
1280
|
+
grpclb_policy()->CreateOrUpdateChildPolicyLocked();
|
1281
|
+
// Reset serverlist, so that if the balancer exits fallback
|
1282
|
+
// mode by sending the same serverlist we were previously
|
1283
|
+
// using, we don't incorrectly ignore it as a duplicate.
|
1284
|
+
grpclb_policy()->serverlist_.reset();
|
1285
|
+
}
|
1286
|
+
break;
|
1287
|
+
}
|
1288
|
+
}
|
1289
|
+
}
|
1290
|
+
CSliceUnref(response_slice);
|
1291
|
+
if (!grpclb_policy()->shutting_down_) {
|
1292
|
+
// Keep listening for serverlist updates.
|
1293
|
+
grpc_op op;
|
1294
|
+
memset(&op, 0, sizeof(op));
|
1295
|
+
op.op = GRPC_OP_RECV_MESSAGE;
|
1296
|
+
op.data.recv_message.recv_message = &recv_message_payload_;
|
1297
|
+
op.flags = 0;
|
1298
|
+
op.reserved = nullptr;
|
1299
|
+
// Reuse the "OnBalancerMessageReceivedLocked" ref taken in StartQuery().
|
1300
|
+
const grpc_call_error call_error = grpc_call_start_batch_and_execute(
|
1301
|
+
lb_call_, &op, 1, &lb_on_balancer_message_received_);
|
1302
|
+
GPR_ASSERT(GRPC_CALL_OK == call_error);
|
1303
|
+
} else {
|
1304
|
+
Unref(DEBUG_LOCATION, "on_message_received+grpclb_shutdown");
|
1305
|
+
}
|
1306
|
+
}
|
1307
|
+
|
1308
|
+
void GrpcLb::BalancerCallState::OnBalancerStatusReceived(
|
1309
|
+
void* arg, grpc_error_handle error) {
|
1310
|
+
BalancerCallState* lb_calld = static_cast<BalancerCallState*>(arg);
|
1311
|
+
lb_calld->grpclb_policy()->work_serializer()->Run(
|
1312
|
+
[lb_calld, error]() { lb_calld->OnBalancerStatusReceivedLocked(error); },
|
1313
|
+
DEBUG_LOCATION);
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
void GrpcLb::BalancerCallState::OnBalancerStatusReceivedLocked(
|
1317
|
+
grpc_error_handle error) {
|
1318
|
+
GPR_ASSERT(lb_call_ != nullptr);
|
1319
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1320
|
+
char* status_details = grpc_slice_to_c_string(lb_call_status_details_);
|
1321
|
+
gpr_log(GPR_INFO,
|
1322
|
+
"[grpclb %p] lb_calld=%p: Status from LB server received. "
|
1323
|
+
"Status = %d, details = '%s', (lb_call: %p), error '%s'",
|
1324
|
+
grpclb_policy(), this, lb_call_status_, status_details, lb_call_,
|
1325
|
+
StatusToString(error).c_str());
|
1326
|
+
gpr_free(status_details);
|
1327
|
+
}
|
1328
|
+
// If this lb_calld is still in use, this call ended because of a failure so
|
1329
|
+
// we want to retry connecting. Otherwise, we have deliberately ended this
|
1330
|
+
// call and no further action is required.
|
1331
|
+
if (this == grpclb_policy()->lb_calld_.get()) {
|
1332
|
+
// If the fallback-at-startup checks are pending, go into fallback mode
|
1333
|
+
// immediately. This short-circuits the timeout for the fallback-at-startup
|
1334
|
+
// case.
|
1335
|
+
grpclb_policy()->lb_calld_.reset();
|
1336
|
+
if (grpclb_policy()->fallback_at_startup_checks_pending_) {
|
1337
|
+
GPR_ASSERT(!seen_serverlist_);
|
1338
|
+
gpr_log(GPR_INFO,
|
1339
|
+
"[grpclb %p] Balancer call finished without receiving "
|
1340
|
+
"serverlist; entering fallback mode",
|
1341
|
+
grpclb_policy());
|
1342
|
+
grpclb_policy()->fallback_at_startup_checks_pending_ = false;
|
1343
|
+
grpclb_policy()->channel_control_helper()->GetEventEngine()->Cancel(
|
1344
|
+
*grpclb_policy()->lb_fallback_timer_handle_);
|
1345
|
+
grpclb_policy()->CancelBalancerChannelConnectivityWatchLocked();
|
1346
|
+
grpclb_policy()->fallback_mode_ = true;
|
1347
|
+
grpclb_policy()->CreateOrUpdateChildPolicyLocked();
|
1348
|
+
} else {
|
1349
|
+
// This handles the fallback-after-startup case.
|
1350
|
+
grpclb_policy()->MaybeEnterFallbackModeAfterStartup();
|
1351
|
+
}
|
1352
|
+
GPR_ASSERT(!grpclb_policy()->shutting_down_);
|
1353
|
+
grpclb_policy()->channel_control_helper()->RequestReresolution();
|
1354
|
+
if (seen_initial_response_) {
|
1355
|
+
// If we lose connection to the LB server, reset the backoff and restart
|
1356
|
+
// the LB call immediately.
|
1357
|
+
grpclb_policy()->lb_call_backoff_.Reset();
|
1358
|
+
grpclb_policy()->StartBalancerCallLocked();
|
1359
|
+
} else {
|
1360
|
+
// If this LB call fails establishing any connection to the LB server,
|
1361
|
+
// retry later.
|
1362
|
+
grpclb_policy()->StartBalancerCallRetryTimerLocked();
|
1363
|
+
}
|
1364
|
+
}
|
1365
|
+
Unref(DEBUG_LOCATION, "lb_call_ended");
|
1366
|
+
}
|
1367
|
+
|
1368
|
+
//
|
1369
|
+
// helper code for creating balancer channel
|
1370
|
+
//
|
1371
|
+
|
1372
|
+
EndpointAddressesList ExtractBalancerAddresses(const ChannelArgs& args) {
|
1373
|
+
const EndpointAddressesList* endpoints =
|
1374
|
+
FindGrpclbBalancerAddressesInChannelArgs(args);
|
1375
|
+
if (endpoints != nullptr) return *endpoints;
|
1376
|
+
return EndpointAddressesList();
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
// Returns the channel args for the LB channel, used to create a bidirectional
|
1380
|
+
// stream for the reception of load balancing updates.
|
1381
|
+
//
|
1382
|
+
// Inputs:
|
1383
|
+
// - \a response_generator: in order to propagate updates from the resolver
|
1384
|
+
// above the grpclb policy.
|
1385
|
+
// - \a args: other args inherited from the grpclb policy.
|
1386
|
+
ChannelArgs BuildBalancerChannelArgs(
|
1387
|
+
FakeResolverResponseGenerator* response_generator,
|
1388
|
+
const ChannelArgs& args) {
|
1389
|
+
ChannelArgs grpclb_channel_args;
|
1390
|
+
const grpc_channel_args* lb_channel_specific_args =
|
1391
|
+
args.GetPointer<grpc_channel_args>(
|
1392
|
+
GRPC_ARG_EXPERIMENTAL_GRPCLB_CHANNEL_ARGS);
|
1393
|
+
if (lb_channel_specific_args != nullptr) {
|
1394
|
+
grpclb_channel_args = ChannelArgs::FromC(lb_channel_specific_args);
|
1395
|
+
} else {
|
1396
|
+
// Set grpclb_channel_args based on the parent channel's channel args.
|
1397
|
+
grpclb_channel_args =
|
1398
|
+
args
|
1399
|
+
// LB policy name, since we want to use the default (pick_first) in
|
1400
|
+
// the LB channel.
|
1401
|
+
.Remove(GRPC_ARG_LB_POLICY_NAME)
|
1402
|
+
// Strip out the service config, since we don't want the LB policy
|
1403
|
+
// config specified for the parent channel to affect the LB channel.
|
1404
|
+
.Remove(GRPC_ARG_SERVICE_CONFIG)
|
1405
|
+
// The fake resolver response generator, because we are replacing it
|
1406
|
+
// with the one from the grpclb policy, used to propagate updates to
|
1407
|
+
// the LB channel.
|
1408
|
+
.Remove(GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR)
|
1409
|
+
// The LB channel should use the authority indicated by the target
|
1410
|
+
// authority table (see \a ModifyGrpclbBalancerChannelArgs),
|
1411
|
+
// as opposed to the authority from the parent channel.
|
1412
|
+
.Remove(GRPC_ARG_DEFAULT_AUTHORITY)
|
1413
|
+
// Just as for \a GRPC_ARG_DEFAULT_AUTHORITY, the LB channel should
|
1414
|
+
// be treated as a stand-alone channel and not inherit this argument
|
1415
|
+
// from the args of the parent channel.
|
1416
|
+
.Remove(GRPC_SSL_TARGET_NAME_OVERRIDE_ARG)
|
1417
|
+
// Don't want to pass down channelz node from parent; the balancer
|
1418
|
+
// channel will get its own.
|
1419
|
+
.Remove(GRPC_ARG_CHANNELZ_CHANNEL_NODE)
|
1420
|
+
// Remove the channel args for channel credentials and replace it
|
1421
|
+
// with a version that does not contain call credentials. The
|
1422
|
+
// loadbalancer is not necessarily trusted to handle bearer token
|
1423
|
+
// credentials.
|
1424
|
+
.Remove(GRPC_ARG_CHANNEL_CREDENTIALS);
|
1425
|
+
}
|
1426
|
+
return grpclb_channel_args
|
1427
|
+
// A channel arg indicating the target is a grpclb load balancer.
|
1428
|
+
.Set(GRPC_ARG_ADDRESS_IS_GRPCLB_LOAD_BALANCER, 1)
|
1429
|
+
// Tells channelz that this is an internal channel.
|
1430
|
+
.Set(GRPC_ARG_CHANNELZ_IS_INTERNAL_CHANNEL, 1)
|
1431
|
+
// The fake resolver response generator, which we use to inject
|
1432
|
+
// address updates into the LB channel.
|
1433
|
+
.SetObject(response_generator->Ref());
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
//
|
1437
|
+
// ctor and dtor
|
1438
|
+
//
|
1439
|
+
|
1440
|
+
GrpcLb::GrpcLb(Args args)
|
1441
|
+
: LoadBalancingPolicy(std::move(args)),
|
1442
|
+
response_generator_(MakeRefCounted<FakeResolverResponseGenerator>()),
|
1443
|
+
lb_call_timeout_(std::max(
|
1444
|
+
Duration::Zero(),
|
1445
|
+
channel_args()
|
1446
|
+
.GetDurationFromIntMillis(GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS)
|
1447
|
+
.value_or(Duration::Zero()))),
|
1448
|
+
lb_call_backoff_(
|
1449
|
+
BackOff::Options()
|
1450
|
+
.set_initial_backoff(Duration::Seconds(
|
1451
|
+
GRPC_GRPCLB_INITIAL_CONNECT_BACKOFF_SECONDS))
|
1452
|
+
.set_multiplier(GRPC_GRPCLB_RECONNECT_BACKOFF_MULTIPLIER)
|
1453
|
+
.set_jitter(GRPC_GRPCLB_RECONNECT_JITTER)
|
1454
|
+
.set_max_backoff(Duration::Seconds(
|
1455
|
+
GRPC_GRPCLB_RECONNECT_MAX_BACKOFF_SECONDS))),
|
1456
|
+
fallback_at_startup_timeout_(std::max(
|
1457
|
+
Duration::Zero(),
|
1458
|
+
channel_args()
|
1459
|
+
.GetDurationFromIntMillis(GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS)
|
1460
|
+
.value_or(Duration::Milliseconds(
|
1461
|
+
GRPC_GRPCLB_DEFAULT_FALLBACK_TIMEOUT_MS)))),
|
1462
|
+
subchannel_cache_interval_(std::max(
|
1463
|
+
Duration::Zero(),
|
1464
|
+
channel_args()
|
1465
|
+
.GetDurationFromIntMillis(
|
1466
|
+
GRPC_ARG_GRPCLB_SUBCHANNEL_CACHE_INTERVAL_MS)
|
1467
|
+
.value_or(Duration::Milliseconds(
|
1468
|
+
GRPC_GRPCLB_DEFAULT_SUBCHANNEL_DELETION_DELAY_MS)))) {
|
1469
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1470
|
+
gpr_log(GPR_INFO,
|
1471
|
+
"[grpclb %p] Will use '%s' as the server name for LB request.",
|
1472
|
+
this,
|
1473
|
+
std::string(channel_control_helper()->GetAuthority()).c_str());
|
1474
|
+
}
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
void GrpcLb::ShutdownLocked() {
|
1478
|
+
shutting_down_ = true;
|
1479
|
+
lb_calld_.reset();
|
1480
|
+
if (subchannel_cache_timer_handle_.has_value()) {
|
1481
|
+
channel_control_helper()->GetEventEngine()->Cancel(
|
1482
|
+
*subchannel_cache_timer_handle_);
|
1483
|
+
subchannel_cache_timer_handle_.reset();
|
1484
|
+
}
|
1485
|
+
cached_subchannels_.clear();
|
1486
|
+
if (lb_call_retry_timer_handle_.has_value()) {
|
1487
|
+
channel_control_helper()->GetEventEngine()->Cancel(
|
1488
|
+
*lb_call_retry_timer_handle_);
|
1489
|
+
}
|
1490
|
+
if (fallback_at_startup_checks_pending_) {
|
1491
|
+
fallback_at_startup_checks_pending_ = false;
|
1492
|
+
channel_control_helper()->GetEventEngine()->Cancel(
|
1493
|
+
*lb_fallback_timer_handle_);
|
1494
|
+
CancelBalancerChannelConnectivityWatchLocked();
|
1495
|
+
}
|
1496
|
+
if (child_policy_ != nullptr) {
|
1497
|
+
grpc_pollset_set_del_pollset_set(child_policy_->interested_parties(),
|
1498
|
+
interested_parties());
|
1499
|
+
child_policy_.reset();
|
1500
|
+
}
|
1501
|
+
// We destroy the LB channel here instead of in our destructor because
|
1502
|
+
// destroying the channel triggers a last callback to
|
1503
|
+
// OnBalancerChannelConnectivityChangedLocked(), and we need to be
|
1504
|
+
// alive when that callback is invoked.
|
1505
|
+
if (lb_channel_ != nullptr) {
|
1506
|
+
if (parent_channelz_node_ != nullptr) {
|
1507
|
+
channelz::ChannelNode* child_channelz_node =
|
1508
|
+
grpc_channel_get_channelz_node(lb_channel_);
|
1509
|
+
GPR_ASSERT(child_channelz_node != nullptr);
|
1510
|
+
parent_channelz_node_->RemoveChildChannel(child_channelz_node->uuid());
|
1511
|
+
}
|
1512
|
+
grpc_channel_destroy_internal(lb_channel_);
|
1513
|
+
lb_channel_ = nullptr;
|
1514
|
+
}
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
//
|
1518
|
+
// public methods
|
1519
|
+
//
|
1520
|
+
|
1521
|
+
void GrpcLb::ResetBackoffLocked() {
|
1522
|
+
if (lb_channel_ != nullptr) {
|
1523
|
+
grpc_channel_reset_connect_backoff(lb_channel_);
|
1524
|
+
}
|
1525
|
+
if (child_policy_ != nullptr) {
|
1526
|
+
child_policy_->ResetBackoffLocked();
|
1527
|
+
}
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
// Endpoint iterator wrapper to add null LB token attribute.
|
1531
|
+
class GrpcLb::NullLbTokenEndpointIterator : public EndpointAddressesIterator {
|
1532
|
+
public:
|
1533
|
+
explicit NullLbTokenEndpointIterator(
|
1534
|
+
std::shared_ptr<EndpointAddressesIterator> parent_it)
|
1535
|
+
: parent_it_(std::move(parent_it)) {}
|
1536
|
+
|
1537
|
+
void ForEach(absl::FunctionRef<void(const EndpointAddresses&)> callback)
|
1538
|
+
const override {
|
1539
|
+
parent_it_->ForEach([&](const EndpointAddresses& endpoint) {
|
1540
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1541
|
+
gpr_log(GPR_INFO, "[grpclb %p] fallback address: %s", this,
|
1542
|
+
endpoint.ToString().c_str());
|
1543
|
+
}
|
1544
|
+
callback(EndpointAddresses(endpoint.addresses(),
|
1545
|
+
endpoint.args().SetObject(empty_token_)));
|
1546
|
+
});
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
private:
|
1550
|
+
std::shared_ptr<EndpointAddressesIterator> parent_it_;
|
1551
|
+
RefCountedPtr<TokenAndClientStatsArg> empty_token_ =
|
1552
|
+
MakeRefCounted<TokenAndClientStatsArg>("", nullptr);
|
1553
|
+
};
|
1554
|
+
|
1555
|
+
absl::Status GrpcLb::UpdateLocked(UpdateArgs args) {
|
1556
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1557
|
+
gpr_log(GPR_INFO, "[grpclb %p] received update", this);
|
1558
|
+
}
|
1559
|
+
const bool is_initial_update = lb_channel_ == nullptr;
|
1560
|
+
config_ = args.config.TakeAsSubclass<GrpcLbConfig>();
|
1561
|
+
GPR_ASSERT(config_ != nullptr);
|
1562
|
+
args_ = std::move(args.args);
|
1563
|
+
// Update fallback address list.
|
1564
|
+
if (!args.addresses.ok()) {
|
1565
|
+
fallback_backend_addresses_ = args.addresses.status();
|
1566
|
+
} else {
|
1567
|
+
fallback_backend_addresses_ = std::make_shared<NullLbTokenEndpointIterator>(
|
1568
|
+
std::move(*args.addresses));
|
1569
|
+
}
|
1570
|
+
resolution_note_ = std::move(args.resolution_note);
|
1571
|
+
// Update balancer channel.
|
1572
|
+
absl::Status status = UpdateBalancerChannelLocked();
|
1573
|
+
// Update the existing child policy, if any.
|
1574
|
+
if (child_policy_ != nullptr) CreateOrUpdateChildPolicyLocked();
|
1575
|
+
// If this is the initial update, start the fallback-at-startup checks
|
1576
|
+
// and the balancer call.
|
1577
|
+
if (is_initial_update) {
|
1578
|
+
fallback_at_startup_checks_pending_ = true;
|
1579
|
+
// Start timer.
|
1580
|
+
lb_fallback_timer_handle_ =
|
1581
|
+
channel_control_helper()->GetEventEngine()->RunAfter(
|
1582
|
+
fallback_at_startup_timeout_,
|
1583
|
+
[self = RefAsSubclass<GrpcLb>(DEBUG_LOCATION,
|
1584
|
+
"on_fallback_timer")]() mutable {
|
1585
|
+
ApplicationCallbackExecCtx callback_exec_ctx;
|
1586
|
+
ExecCtx exec_ctx;
|
1587
|
+
auto self_ptr = self.get();
|
1588
|
+
self_ptr->work_serializer()->Run(
|
1589
|
+
[self = std::move(self)]() { self->OnFallbackTimerLocked(); },
|
1590
|
+
DEBUG_LOCATION);
|
1591
|
+
});
|
1592
|
+
// Start watching the channel's connectivity state. If the channel
|
1593
|
+
// goes into state TRANSIENT_FAILURE before the timer fires, we go into
|
1594
|
+
// fallback mode even if the fallback timeout has not elapsed.
|
1595
|
+
ClientChannelFilter* client_channel =
|
1596
|
+
ClientChannelFilter::GetFromChannel(Channel::FromC(lb_channel_));
|
1597
|
+
GPR_ASSERT(client_channel != nullptr);
|
1598
|
+
// Ref held by callback.
|
1599
|
+
watcher_ =
|
1600
|
+
new StateWatcher(RefAsSubclass<GrpcLb>(DEBUG_LOCATION, "StateWatcher"));
|
1601
|
+
client_channel->AddConnectivityWatcher(
|
1602
|
+
GRPC_CHANNEL_IDLE,
|
1603
|
+
OrphanablePtr<AsyncConnectivityStateWatcherInterface>(watcher_));
|
1604
|
+
// Start balancer call.
|
1605
|
+
StartBalancerCallLocked();
|
1606
|
+
}
|
1607
|
+
return status;
|
1608
|
+
}
|
1609
|
+
|
1610
|
+
//
|
1611
|
+
// helpers for UpdateLocked()
|
1612
|
+
//
|
1613
|
+
|
1614
|
+
absl::Status GrpcLb::UpdateBalancerChannelLocked() {
|
1615
|
+
// Get balancer addresses.
|
1616
|
+
EndpointAddressesList balancer_addresses = ExtractBalancerAddresses(args_);
|
1617
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1618
|
+
for (const auto& endpoint : balancer_addresses) {
|
1619
|
+
gpr_log(GPR_INFO, "[grpclb %p] balancer address: %s", this,
|
1620
|
+
endpoint.ToString().c_str());
|
1621
|
+
}
|
1622
|
+
}
|
1623
|
+
absl::Status status;
|
1624
|
+
if (balancer_addresses.empty()) {
|
1625
|
+
status = absl::UnavailableError("balancer address list must be non-empty");
|
1626
|
+
}
|
1627
|
+
// Create channel credentials that do not contain call credentials.
|
1628
|
+
auto channel_credentials = channel_control_helper()->GetChannelCredentials();
|
1629
|
+
// Construct args for balancer channel.
|
1630
|
+
ChannelArgs lb_channel_args =
|
1631
|
+
BuildBalancerChannelArgs(response_generator_.get(), args_);
|
1632
|
+
// Create balancer channel if needed.
|
1633
|
+
if (lb_channel_ == nullptr) {
|
1634
|
+
std::string uri_str =
|
1635
|
+
absl::StrCat("fake:///", channel_control_helper()->GetAuthority());
|
1636
|
+
lb_channel_ =
|
1637
|
+
grpc_channel_create(uri_str.c_str(), channel_credentials.get(),
|
1638
|
+
lb_channel_args.ToC().get());
|
1639
|
+
GPR_ASSERT(lb_channel_ != nullptr);
|
1640
|
+
// Set up channelz linkage.
|
1641
|
+
channelz::ChannelNode* child_channelz_node =
|
1642
|
+
grpc_channel_get_channelz_node(lb_channel_);
|
1643
|
+
auto parent_channelz_node = args_.GetObjectRef<channelz::ChannelNode>();
|
1644
|
+
if (child_channelz_node != nullptr && parent_channelz_node != nullptr) {
|
1645
|
+
parent_channelz_node->AddChildChannel(child_channelz_node->uuid());
|
1646
|
+
parent_channelz_node_ = std::move(parent_channelz_node);
|
1647
|
+
}
|
1648
|
+
}
|
1649
|
+
// Propagate updates to the LB channel (pick_first) through the fake
|
1650
|
+
// resolver.
|
1651
|
+
Resolver::Result result;
|
1652
|
+
result.addresses = std::move(balancer_addresses);
|
1653
|
+
// Pass channel creds via channel args, since the fake resolver won't
|
1654
|
+
// do this automatically.
|
1655
|
+
result.args = lb_channel_args.SetObject(std::move(channel_credentials));
|
1656
|
+
response_generator_->SetResponseAsync(std::move(result));
|
1657
|
+
// Return status.
|
1658
|
+
return status;
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
void GrpcLb::CancelBalancerChannelConnectivityWatchLocked() {
|
1662
|
+
ClientChannelFilter* client_channel =
|
1663
|
+
ClientChannelFilter::GetFromChannel(Channel::FromC(lb_channel_));
|
1664
|
+
GPR_ASSERT(client_channel != nullptr);
|
1665
|
+
client_channel->RemoveConnectivityWatcher(watcher_);
|
1666
|
+
}
|
1667
|
+
|
1668
|
+
//
|
1669
|
+
// code for balancer channel and call
|
1670
|
+
//
|
1671
|
+
|
1672
|
+
void GrpcLb::StartBalancerCallLocked() {
|
1673
|
+
GPR_ASSERT(lb_channel_ != nullptr);
|
1674
|
+
if (shutting_down_) return;
|
1675
|
+
// Init the LB call data.
|
1676
|
+
GPR_ASSERT(lb_calld_ == nullptr);
|
1677
|
+
lb_calld_ = MakeOrphanable<BalancerCallState>(Ref());
|
1678
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1679
|
+
gpr_log(GPR_INFO,
|
1680
|
+
"[grpclb %p] Query for backends (lb_channel: %p, lb_calld: %p)",
|
1681
|
+
this, lb_channel_, lb_calld_.get());
|
1682
|
+
}
|
1683
|
+
lb_calld_->StartQuery();
|
1684
|
+
}
|
1685
|
+
|
1686
|
+
void GrpcLb::StartBalancerCallRetryTimerLocked() {
|
1687
|
+
Duration timeout = lb_call_backoff_.NextAttemptTime() - Timestamp::Now();
|
1688
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1689
|
+
gpr_log(GPR_INFO, "[grpclb %p] Connection to LB server lost...", this);
|
1690
|
+
if (timeout > Duration::Zero()) {
|
1691
|
+
gpr_log(GPR_INFO, "[grpclb %p] ... retry_timer_active in %" PRId64 "ms.",
|
1692
|
+
this, timeout.millis());
|
1693
|
+
} else {
|
1694
|
+
gpr_log(GPR_INFO, "[grpclb %p] ... retry_timer_active immediately.",
|
1695
|
+
this);
|
1696
|
+
}
|
1697
|
+
}
|
1698
|
+
lb_call_retry_timer_handle_ =
|
1699
|
+
channel_control_helper()->GetEventEngine()->RunAfter(
|
1700
|
+
timeout,
|
1701
|
+
[self = RefAsSubclass<GrpcLb>(
|
1702
|
+
DEBUG_LOCATION, "on_balancer_call_retry_timer")]() mutable {
|
1703
|
+
ApplicationCallbackExecCtx callback_exec_ctx;
|
1704
|
+
ExecCtx exec_ctx;
|
1705
|
+
auto self_ptr = self.get();
|
1706
|
+
self_ptr->work_serializer()->Run(
|
1707
|
+
[self = std::move(self)]() {
|
1708
|
+
self->OnBalancerCallRetryTimerLocked();
|
1709
|
+
},
|
1710
|
+
DEBUG_LOCATION);
|
1711
|
+
});
|
1712
|
+
}
|
1713
|
+
|
1714
|
+
void GrpcLb::OnBalancerCallRetryTimerLocked() {
|
1715
|
+
lb_call_retry_timer_handle_.reset();
|
1716
|
+
if (!shutting_down_ && lb_calld_ == nullptr) {
|
1717
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1718
|
+
gpr_log(GPR_INFO, "[grpclb %p] Restarting call to LB server", this);
|
1719
|
+
}
|
1720
|
+
StartBalancerCallLocked();
|
1721
|
+
}
|
1722
|
+
}
|
1723
|
+
|
1724
|
+
//
|
1725
|
+
// code for handling fallback mode
|
1726
|
+
//
|
1727
|
+
|
1728
|
+
void GrpcLb::MaybeEnterFallbackModeAfterStartup() {
|
1729
|
+
// Enter fallback mode if all of the following are true:
|
1730
|
+
// - We are not currently in fallback mode.
|
1731
|
+
// - We are not currently waiting for the initial fallback timeout.
|
1732
|
+
// - We are not currently in contact with the balancer.
|
1733
|
+
// - The child policy is not in state READY.
|
1734
|
+
if (!fallback_mode_ && !fallback_at_startup_checks_pending_ &&
|
1735
|
+
(lb_calld_ == nullptr || !lb_calld_->seen_serverlist()) &&
|
1736
|
+
!child_policy_ready_) {
|
1737
|
+
gpr_log(GPR_INFO,
|
1738
|
+
"[grpclb %p] lost contact with balancer and backends from "
|
1739
|
+
"most recent serverlist; entering fallback mode",
|
1740
|
+
this);
|
1741
|
+
fallback_mode_ = true;
|
1742
|
+
CreateOrUpdateChildPolicyLocked();
|
1743
|
+
}
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
void GrpcLb::OnFallbackTimerLocked() {
|
1747
|
+
// If we receive a serverlist after the timer fires but before this callback
|
1748
|
+
// actually runs, don't fall back.
|
1749
|
+
if (fallback_at_startup_checks_pending_ && !shutting_down_) {
|
1750
|
+
gpr_log(GPR_INFO,
|
1751
|
+
"[grpclb %p] No response from balancer after fallback timeout; "
|
1752
|
+
"entering fallback mode",
|
1753
|
+
this);
|
1754
|
+
fallback_at_startup_checks_pending_ = false;
|
1755
|
+
CancelBalancerChannelConnectivityWatchLocked();
|
1756
|
+
fallback_mode_ = true;
|
1757
|
+
CreateOrUpdateChildPolicyLocked();
|
1758
|
+
}
|
1759
|
+
}
|
1760
|
+
|
1761
|
+
//
|
1762
|
+
// code for interacting with the child policy
|
1763
|
+
//
|
1764
|
+
|
1765
|
+
ChannelArgs GrpcLb::CreateChildPolicyArgsLocked(
|
1766
|
+
bool is_backend_from_grpclb_load_balancer) {
|
1767
|
+
ChannelArgs r =
|
1768
|
+
args_
|
1769
|
+
.Set(GRPC_ARG_ADDRESS_IS_BACKEND_FROM_GRPCLB_LOAD_BALANCER,
|
1770
|
+
is_backend_from_grpclb_load_balancer)
|
1771
|
+
.Set(GRPC_ARG_GRPCLB_ENABLE_LOAD_REPORTING_FILTER, 1);
|
1772
|
+
if (is_backend_from_grpclb_load_balancer) {
|
1773
|
+
r = r.Set(GRPC_ARG_INHIBIT_HEALTH_CHECKING, 1);
|
1774
|
+
}
|
1775
|
+
return r;
|
1776
|
+
}
|
1777
|
+
|
1778
|
+
OrphanablePtr<LoadBalancingPolicy> GrpcLb::CreateChildPolicyLocked(
|
1779
|
+
const ChannelArgs& args) {
|
1780
|
+
LoadBalancingPolicy::Args lb_policy_args;
|
1781
|
+
lb_policy_args.work_serializer = work_serializer();
|
1782
|
+
lb_policy_args.args = args;
|
1783
|
+
lb_policy_args.channel_control_helper =
|
1784
|
+
std::make_unique<Helper>(RefAsSubclass<GrpcLb>(DEBUG_LOCATION, "Helper"));
|
1785
|
+
OrphanablePtr<LoadBalancingPolicy> lb_policy =
|
1786
|
+
MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args),
|
1787
|
+
&grpc_lb_glb_trace);
|
1788
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1789
|
+
gpr_log(GPR_INFO, "[grpclb %p] Created new child policy handler (%p)", this,
|
1790
|
+
lb_policy.get());
|
1791
|
+
}
|
1792
|
+
// Add the gRPC LB's interested_parties pollset_set to that of the newly
|
1793
|
+
// created child policy. This will make the child policy progress upon
|
1794
|
+
// activity on gRPC LB, which in turn is tied to the application's call.
|
1795
|
+
grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(),
|
1796
|
+
interested_parties());
|
1797
|
+
return lb_policy;
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
bool EndpointIteratorIsEmpty(const EndpointAddressesIterator& endpoints) {
|
1801
|
+
bool empty = true;
|
1802
|
+
endpoints.ForEach([&](const EndpointAddresses&) { empty = false; });
|
1803
|
+
return empty;
|
1804
|
+
}
|
1805
|
+
|
1806
|
+
void GrpcLb::CreateOrUpdateChildPolicyLocked() {
|
1807
|
+
if (shutting_down_) return;
|
1808
|
+
// Construct update args.
|
1809
|
+
UpdateArgs update_args;
|
1810
|
+
bool is_backend_from_grpclb_load_balancer = false;
|
1811
|
+
if (fallback_mode_) {
|
1812
|
+
// If CreateOrUpdateChildPolicyLocked() is invoked when we haven't
|
1813
|
+
// received any serverlist from the balancer, we use the fallback
|
1814
|
+
// backends returned by the resolver. Note that the fallback backend
|
1815
|
+
// list may be empty, in which case the new child policy will fail the
|
1816
|
+
// picks.
|
1817
|
+
update_args.addresses = fallback_backend_addresses_;
|
1818
|
+
if (fallback_backend_addresses_.ok() &&
|
1819
|
+
EndpointIteratorIsEmpty(**fallback_backend_addresses_)) {
|
1820
|
+
update_args.resolution_note = absl::StrCat(
|
1821
|
+
"grpclb in fallback mode without any fallback addresses: ",
|
1822
|
+
resolution_note_);
|
1823
|
+
}
|
1824
|
+
} else {
|
1825
|
+
update_args.addresses = serverlist_->GetServerAddressList(
|
1826
|
+
lb_calld_ == nullptr ? nullptr : lb_calld_->client_stats());
|
1827
|
+
is_backend_from_grpclb_load_balancer = true;
|
1828
|
+
if (update_args.addresses.ok() &&
|
1829
|
+
EndpointIteratorIsEmpty(**update_args.addresses)) {
|
1830
|
+
update_args.resolution_note = "empty serverlist from grpclb balancer";
|
1831
|
+
}
|
1832
|
+
}
|
1833
|
+
update_args.args =
|
1834
|
+
CreateChildPolicyArgsLocked(is_backend_from_grpclb_load_balancer);
|
1835
|
+
GPR_ASSERT(update_args.args != ChannelArgs());
|
1836
|
+
update_args.config = config_->child_policy();
|
1837
|
+
// Create child policy if needed.
|
1838
|
+
if (child_policy_ == nullptr) {
|
1839
|
+
child_policy_ = CreateChildPolicyLocked(update_args.args);
|
1840
|
+
}
|
1841
|
+
// Update the policy.
|
1842
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1843
|
+
gpr_log(GPR_INFO, "[grpclb %p] Updating child policy handler %p", this,
|
1844
|
+
child_policy_.get());
|
1845
|
+
}
|
1846
|
+
// TODO(roth): If we're in fallback mode and the child policy rejects the
|
1847
|
+
// update, we should propagate that failure back to the resolver somehow.
|
1848
|
+
(void)child_policy_->UpdateLocked(std::move(update_args));
|
1849
|
+
}
|
1850
|
+
|
1851
|
+
//
|
1852
|
+
// subchannel caching
|
1853
|
+
//
|
1854
|
+
|
1855
|
+
void GrpcLb::CacheDeletedSubchannelLocked(
|
1856
|
+
RefCountedPtr<SubchannelInterface> subchannel) {
|
1857
|
+
Timestamp deletion_time = Timestamp::Now() + subchannel_cache_interval_;
|
1858
|
+
cached_subchannels_[deletion_time].push_back(std::move(subchannel));
|
1859
|
+
if (!subchannel_cache_timer_handle_.has_value()) {
|
1860
|
+
StartSubchannelCacheTimerLocked();
|
1861
|
+
}
|
1862
|
+
}
|
1863
|
+
|
1864
|
+
void GrpcLb::StartSubchannelCacheTimerLocked() {
|
1865
|
+
GPR_ASSERT(!cached_subchannels_.empty());
|
1866
|
+
subchannel_cache_timer_handle_ =
|
1867
|
+
channel_control_helper()->GetEventEngine()->RunAfter(
|
1868
|
+
cached_subchannels_.begin()->first - Timestamp::Now(),
|
1869
|
+
[self = RefAsSubclass<GrpcLb>(DEBUG_LOCATION,
|
1870
|
+
"OnSubchannelCacheTimer")]() mutable {
|
1871
|
+
ApplicationCallbackExecCtx callback_exec_ctx;
|
1872
|
+
ExecCtx exec_ctx;
|
1873
|
+
auto* self_ptr = self.get();
|
1874
|
+
self_ptr->work_serializer()->Run(
|
1875
|
+
[self = std::move(self)]() mutable {
|
1876
|
+
self->OnSubchannelCacheTimerLocked();
|
1877
|
+
},
|
1878
|
+
DEBUG_LOCATION);
|
1879
|
+
});
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
void GrpcLb::OnSubchannelCacheTimerLocked() {
|
1883
|
+
if (subchannel_cache_timer_handle_.has_value()) {
|
1884
|
+
subchannel_cache_timer_handle_.reset();
|
1885
|
+
auto it = cached_subchannels_.begin();
|
1886
|
+
if (it != cached_subchannels_.end()) {
|
1887
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_glb_trace)) {
|
1888
|
+
gpr_log(GPR_INFO,
|
1889
|
+
"[grpclb %p] removing %" PRIuPTR " subchannels from cache",
|
1890
|
+
this, it->second.size());
|
1891
|
+
}
|
1892
|
+
cached_subchannels_.erase(it);
|
1893
|
+
}
|
1894
|
+
if (!cached_subchannels_.empty()) {
|
1895
|
+
StartSubchannelCacheTimerLocked();
|
1896
|
+
return;
|
1897
|
+
}
|
1898
|
+
}
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
//
|
1902
|
+
// factory
|
1903
|
+
//
|
1904
|
+
|
1905
|
+
class GrpcLbFactory : public LoadBalancingPolicyFactory {
|
1906
|
+
public:
|
1907
|
+
OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy(
|
1908
|
+
LoadBalancingPolicy::Args args) const override {
|
1909
|
+
return MakeOrphanable<GrpcLb>(std::move(args));
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
absl::string_view name() const override { return kGrpclb; }
|
1913
|
+
|
1914
|
+
absl::StatusOr<RefCountedPtr<LoadBalancingPolicy::Config>>
|
1915
|
+
ParseLoadBalancingConfig(const Json& json) const override {
|
1916
|
+
return LoadFromJson<RefCountedPtr<GrpcLbConfig>>(
|
1917
|
+
json, JsonArgs(), "errors validating grpclb LB policy config");
|
1918
|
+
}
|
1919
|
+
};
|
1920
|
+
|
1921
|
+
} // namespace
|
1922
|
+
|
1923
|
+
//
|
1924
|
+
// Plugin registration
|
1925
|
+
//
|
1926
|
+
|
1927
|
+
void RegisterGrpcLbPolicy(CoreConfiguration::Builder* builder) {
|
1928
|
+
builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory(
|
1929
|
+
std::make_unique<GrpcLbFactory>());
|
1930
|
+
builder->channel_init()
|
1931
|
+
->RegisterFilter<ClientLoadReportingFilter>(GRPC_CLIENT_SUBCHANNEL)
|
1932
|
+
.IfChannelArg(GRPC_ARG_GRPCLB_ENABLE_LOAD_REPORTING_FILTER, false);
|
1933
|
+
}
|
1934
|
+
|
1935
|
+
} // namespace grpc_core
|