grpc 1.67.0.pre1 → 1.68.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +52 -42
- data/include/grpc/compression.h +1 -2
- data/include/grpc/credentials.h +1 -2
- data/include/grpc/event_engine/endpoint_config.h +2 -2
- data/include/grpc/event_engine/event_engine.h +6 -6
- data/include/grpc/event_engine/extensible.h +2 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +4 -4
- data/include/grpc/event_engine/memory_allocator.h +3 -4
- data/include/grpc/event_engine/memory_request.h +1 -2
- data/include/grpc/event_engine/slice.h +3 -4
- data/include/grpc/event_engine/slice_buffer.h +6 -7
- data/include/grpc/grpc.h +1 -2
- data/include/grpc/grpc_audit_logging.h +3 -3
- data/include/grpc/grpc_crl_provider.h +4 -4
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -2
- data/include/grpc/impl/call.h +2 -2
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +1 -2
- data/include/grpc/passive_listener.h +2 -2
- data/include/grpc/support/alloc.h +1 -2
- data/include/grpc/support/json.h +1 -2
- data/include/grpc/support/log.h +1 -2
- data/include/grpc/support/metrics.h +7 -3
- data/include/grpc/support/port_platform.h +6 -1
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +1 -2
- data/src/core/channelz/channel_trace.cc +5 -6
- data/src/core/channelz/channel_trace.h +5 -7
- data/src/core/channelz/channelz.cc +5 -6
- data/src/core/channelz/channelz.h +8 -10
- data/src/core/channelz/channelz_registry.cc +6 -7
- data/src/core/channelz/channelz_registry.h +4 -5
- data/src/core/client_channel/backup_poller.cc +20 -10
- data/src/core/client_channel/client_channel.cc +21 -17
- data/src/core/client_channel/client_channel.h +4 -2
- data/src/core/client_channel/client_channel_factory.cc +2 -2
- data/src/core/client_channel/client_channel_factory.h +1 -2
- data/src/core/client_channel/client_channel_filter.cc +24 -21
- data/src/core/client_channel/client_channel_filter.h +11 -11
- data/src/core/client_channel/client_channel_internal.h +2 -3
- data/src/core/client_channel/client_channel_plugin.cc +1 -3
- data/src/core/client_channel/client_channel_service_config.cc +2 -3
- data/src/core/client_channel/client_channel_service_config.h +3 -5
- data/src/core/client_channel/config_selector.h +4 -7
- data/src/core/client_channel/connector.h +3 -3
- data/src/core/client_channel/direct_channel.cc +1 -1
- data/src/core/client_channel/dynamic_filters.cc +10 -8
- data/src/core/client_channel/dynamic_filters.h +8 -7
- data/src/core/client_channel/global_subchannel_pool.cc +2 -2
- data/src/core/client_channel/global_subchannel_pool.h +2 -3
- data/src/core/client_channel/lb_metadata.h +2 -3
- data/src/core/client_channel/load_balanced_call_destination.cc +1 -2
- data/src/core/client_channel/load_balanced_call_destination.h +0 -1
- data/src/core/client_channel/local_subchannel_pool.cc +2 -3
- data/src/core/client_channel/local_subchannel_pool.h +1 -1
- data/src/core/client_channel/retry_filter.cc +5 -7
- data/src/core/client_channel/retry_filter.h +4 -7
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +9 -11
- data/src/core/client_channel/retry_filter_legacy_call_data.h +9 -12
- data/src/core/client_channel/retry_service_config.cc +5 -7
- data/src/core/client_channel/retry_service_config.h +2 -4
- data/src/core/client_channel/retry_throttle.cc +3 -4
- data/src/core/client_channel/retry_throttle.h +4 -7
- data/src/core/client_channel/subchannel.cc +11 -14
- data/src/core/client_channel/subchannel.h +17 -16
- data/src/core/client_channel/subchannel_interface_internal.h +1 -1
- data/src/core/client_channel/subchannel_pool_interface.cc +1 -3
- data/src/core/client_channel/subchannel_pool_interface.h +2 -3
- data/src/core/client_channel/subchannel_stream_client.cc +6 -9
- data/src/core/client_channel/subchannel_stream_client.h +8 -10
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +8 -8
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +0 -1
- data/src/core/ext/filters/census/grpc_context.cc +1 -2
- data/src/core/ext/filters/channel_idle/idle_filter_state.cc +1 -2
- data/src/core/ext/filters/channel_idle/idle_filter_state.h +0 -1
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +14 -16
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +6 -8
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +9 -6
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +1 -3
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +2 -3
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +3 -6
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +54 -16
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +28 -13
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +2 -3
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +1 -2
- data/src/core/ext/filters/http/client/http_client_filter.cc +12 -7
- data/src/core/ext/filters/http/client/http_client_filter.h +0 -1
- data/src/core/ext/filters/http/client_authority_filter.cc +6 -5
- data/src/core/ext/filters/http/client_authority_filter.h +0 -1
- data/src/core/ext/filters/http/http_filters_plugin.cc +0 -1
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +22 -8
- data/src/core/ext/filters/http/message_compress/compression_filter.h +1 -4
- data/src/core/ext/filters/http/server/http_server_filter.cc +11 -6
- data/src/core/ext/filters/http/server/http_server_filter.h +0 -1
- data/src/core/ext/filters/message_size/message_size_filter.cc +12 -6
- data/src/core/ext/filters/message_size/message_size_filter.h +1 -3
- data/src/core/ext/filters/rbac/rbac_filter.cc +5 -5
- data/src/core/ext/filters/rbac/rbac_filter.h +0 -2
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +14 -8
- data/src/core/ext/filters/rbac/rbac_service_config_parser.h +1 -3
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +10 -5
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +2 -4
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +2 -3
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +2 -4
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +1 -2
- data/src/core/ext/transport/chttp2/alpn/alpn.h +1 -2
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +13 -15
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +4 -5
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +150 -89
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +2 -2
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +3 -4
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +2 -3
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +1 -3
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.cc +53 -0
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.h +72 -0
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +66 -88
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +5 -6
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +1 -2
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +1 -3
- data/src/core/ext/transport/chttp2/transport/flow_control.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +2 -4
- data/src/core/ext/transport/chttp2/transport/frame.h +2 -3
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/frame_data.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +3 -5
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +2 -4
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +3 -5
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +3 -4
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_constants.h +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +5 -6
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +3 -5
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +2 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +4 -6
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +3 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +3 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +1 -3
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +2 -4
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +1 -3
- data/src/core/ext/transport/chttp2/transport/internal.h +12 -99
- data/src/core/ext/transport/chttp2/transport/parsing.cc +22 -9
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +3 -3
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +3 -5
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +2 -4
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/stream_lists.h +65 -0
- data/src/core/ext/transport/chttp2/transport/varint.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/varint.h +1 -2
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +2 -3
- data/src/core/ext/transport/chttp2/transport/writing.cc +11 -11
- data/src/core/ext/transport/inproc/inproc_transport.cc +5 -6
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +11 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +32 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +21 -14
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +7 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +33 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +21 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +36 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +24 -17
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +7 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +134 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +86 -65
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +21 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +7 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +7 -3
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +14 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +16 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +14 -10
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +58 -1
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +55 -37
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +18 -1
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +180 -1
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +112 -87
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +25 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +28 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +19 -14
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +182 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +127 -100
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +27 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +53 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +29 -26
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +93 -1
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +66 -49
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +17 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +41 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +31 -21
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +10 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +106 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +87 -56
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +31 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +43 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +31 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +9 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +7 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +7 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +68 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +52 -36
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +16 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +89 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +50 -39
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +11 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +9 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +96 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +74 -56
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +18 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +7 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +9 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +7 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +7 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +13 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +32 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +45 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +34 -25
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +9 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +41 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +24 -16
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +8 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +80 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +48 -36
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +12 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +63 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +40 -31
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +9 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +24 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +16 -13
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +8 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +30 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +28 -18
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +10 -1
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +48 -1
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +34 -22
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +12 -1
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +93 -1
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +58 -45
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +13 -1
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +49 -1
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +21 -16
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +432 -1
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +261 -201
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +60 -1
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +11 -1
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +11 -6
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +66 -1
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +50 -36
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +14 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +8 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +13 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +9 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +8 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +10 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +99 -1
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +63 -45
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +18 -1
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +14 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +16 -9
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +7 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +21 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +16 -11
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +14 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +15 -9
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +12 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +18 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +178 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +113 -90
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +23 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +14 -1
- 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 +11 -8
- 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 +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +18 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +20 -13
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +7 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +12 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +10 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +106 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +56 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +37 -27
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +10 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +14 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +15 -10
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +74 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +46 -37
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +9 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +9 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +39 -1
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +28 -22
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +83 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +53 -37
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +16 -1
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +11 -1
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +42 -1
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +27 -20
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +7 -1
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +11 -1
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +12 -6
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +8 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +7 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +9 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +9 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +8 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +12 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +5 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +11 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +9 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +19 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +15 -1
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +17 -8
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +9 -1
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +14 -1
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +16 -9
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +7 -1
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +9 -4
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +5 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +6 -1
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +6 -1
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +2 -1
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +84 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +56 -41
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +15 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +82 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +59 -41
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +18 -1
- data/src/core/ext/upb-gen/google/api/http.upb.h +14 -1
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +11 -6
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +7 -1
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +2 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +198 -1
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +153 -118
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +35 -1
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +2 -1
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +2 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +23 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +16 -10
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +2 -1
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +2 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +12 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +11 -1
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +7 -1
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +8 -1
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +10 -1
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +60 -1
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +43 -29
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +14 -1
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +6 -1
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +2 -1
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +5 -1
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +26 -1
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +26 -15
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +11 -1
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +8 -1
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +8 -3
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +54 -1
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +29 -18
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +11 -1
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +2 -1
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +17 -7
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +2 -1
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +2 -1
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +2 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +2 -1
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/validate/validate.upb.h +84 -1
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +109 -80
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +25 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +17 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +2 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +17 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +8 -1
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +8 -1
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +7 -3
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +6 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +11 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +20 -1
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +6 -1
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +4 -1
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +4 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +9 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +3 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +14 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +60 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +45 -33
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +12 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +38 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +24 -16
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +8 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +4 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +7 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +9 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +10 -1
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +4 -1
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +2 -1
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +6 -1
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +5 -1
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +4 -1
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +6 -3
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +3 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.h +33 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +8 -7
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +2 -1
- data/src/core/filter/blackboard.cc +33 -0
- data/src/core/filter/blackboard.h +70 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.cc +4 -5
- data/src/core/handshaker/handshaker.cc +8 -11
- data/src/core/handshaker/handshaker.h +8 -10
- data/src/core/handshaker/handshaker_registry.cc +1 -2
- data/src/core/handshaker/handshaker_registry.h +2 -2
- data/src/core/handshaker/http_connect/http_connect_handshaker.cc +7 -10
- data/src/core/handshaker/http_connect/http_proxy_mapper.cc +7 -9
- data/src/core/handshaker/http_connect/http_proxy_mapper.h +2 -3
- data/src/core/handshaker/http_connect/xds_http_proxy_mapper.cc +57 -0
- data/src/core/handshaker/http_connect/xds_http_proxy_mapper.h +46 -0
- data/src/core/handshaker/proxy_mapper.h +2 -3
- data/src/core/handshaker/proxy_mapper_registry.cc +2 -2
- data/src/core/handshaker/proxy_mapper_registry.h +2 -3
- data/src/core/handshaker/security/secure_endpoint.cc +12 -14
- data/src/core/handshaker/security/secure_endpoint.h +2 -3
- data/src/core/handshaker/security/security_handshaker.cc +14 -20
- data/src/core/handshaker/security/security_handshaker.h +2 -3
- data/src/core/handshaker/tcp_connect/tcp_connect_handshaker.cc +9 -10
- data/src/core/lib/address_utils/parse_address.cc +3 -4
- data/src/core/lib/address_utils/parse_address.h +2 -4
- data/src/core/lib/address_utils/sockaddr_utils.cc +4 -6
- data/src/core/lib/address_utils/sockaddr_utils.h +1 -3
- data/src/core/lib/channel/call_finalization.h +2 -2
- data/src/core/lib/channel/channel_args.cc +4 -6
- data/src/core/lib/channel/channel_args.h +10 -12
- data/src/core/lib/channel/channel_args_preconditioning.cc +2 -2
- data/src/core/lib/channel/channel_args_preconditioning.h +3 -3
- data/src/core/lib/channel/channel_stack.cc +5 -4
- data/src/core/lib/channel/channel_stack.h +17 -17
- data/src/core/lib/channel/channel_stack_builder.cc +2 -2
- data/src/core/lib/channel/channel_stack_builder.h +3 -4
- data/src/core/lib/channel/channel_stack_builder_impl.cc +5 -7
- data/src/core/lib/channel/channel_stack_builder_impl.h +15 -3
- data/src/core/lib/channel/connected_channel.cc +8 -10
- data/src/core/lib/channel/promise_based_filter.cc +32 -23
- data/src/core/lib/channel/promise_based_filter.h +43 -14
- data/src/core/lib/channel/status_util.cc +1 -3
- data/src/core/lib/channel/status_util.h +3 -3
- data/src/core/lib/compression/compression.cc +3 -5
- data/src/core/lib/compression/compression_internal.cc +5 -7
- data/src/core/lib/compression/compression_internal.h +3 -5
- data/src/core/lib/compression/message_compress.cc +3 -6
- data/src/core/lib/config/config_vars.cc +2 -3
- data/src/core/lib/config/config_vars.h +1 -2
- data/src/core/lib/config/config_vars_non_generated.cc +2 -2
- data/src/core/lib/config/core_configuration.cc +2 -2
- data/src/core/lib/config/core_configuration.h +2 -3
- data/src/core/lib/config/load_config.cc +2 -4
- data/src/core/lib/config/load_config.h +1 -2
- data/src/core/lib/debug/trace.cc +4 -5
- data/src/core/lib/debug/trace_flags.cc +1 -2
- data/src/core/lib/debug/trace_impl.h +2 -2
- data/src/core/lib/event_engine/ares_resolver.cc +10 -12
- data/src/core/lib/event_engine/ares_resolver.h +7 -10
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +2 -4
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +1 -1
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +1 -2
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +4 -6
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +2 -3
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +3 -5
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +3 -4
- data/src/core/lib/event_engine/channel_args_endpoint_config.h +2 -3
- data/src/core/lib/event_engine/common_closures.h +3 -3
- data/src/core/lib/event_engine/default_event_engine.cc +6 -7
- data/src/core/lib/event_engine/default_event_engine.h +3 -3
- data/src/core/lib/event_engine/default_event_engine_factory.cc +2 -2
- data/src/core/lib/event_engine/default_event_engine_factory.h +2 -2
- data/src/core/lib/event_engine/event_engine.cc +2 -2
- data/src/core/lib/event_engine/extensions/can_track_errors.h +2 -2
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +1 -2
- data/src/core/lib/event_engine/extensions/supports_fd.h +20 -3
- data/src/core/lib/event_engine/extensions/tcp_trace.h +0 -1
- data/src/core/lib/event_engine/forkable.cc +2 -2
- data/src/core/lib/event_engine/forkable.h +2 -2
- data/src/core/lib/event_engine/grpc_polled_fd.h +3 -4
- data/src/core/lib/event_engine/handle_containers.h +2 -3
- data/src/core/lib/event_engine/memory_allocator_factory.h +3 -4
- data/src/core/lib/event_engine/poller.h +2 -2
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +9 -11
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +4 -5
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +13 -16
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -5
- data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -4
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +3 -4
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +2 -2
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +4 -6
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +2 -3
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +1 -2
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +5 -6
- data/src/core/lib/event_engine/posix_engine/lockfree_event.h +2 -3
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +2 -3
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +2 -3
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +14 -16
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +8 -9
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +43 -27
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +16 -14
- data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +3 -3
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +6 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +12 -11
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +4 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +1 -2
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +8 -11
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -8
- data/src/core/lib/event_engine/posix_engine/timer.cc +4 -4
- data/src/core/lib/event_engine/posix_engine/timer.h +5 -7
- data/src/core/lib/event_engine/posix_engine/timer_heap.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/timer_heap.h +2 -2
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +3 -4
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +5 -7
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +4 -6
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +3 -5
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +5 -6
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +2 -3
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +4 -5
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +2 -3
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +2 -3
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h +2 -2
- data/src/core/lib/event_engine/query_extensions.h +2 -2
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +3 -5
- data/src/core/lib/event_engine/resolved_address.cc +5 -4
- data/src/core/lib/event_engine/slice.cc +3 -5
- data/src/core/lib/event_engine/slice_buffer.cc +1 -2
- data/src/core/lib/event_engine/tcp_socket_utils.cc +3 -4
- data/src/core/lib/event_engine/tcp_socket_utils.h +3 -3
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +2 -4
- data/src/core/lib/event_engine/thread_pool/thread_count.h +5 -6
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +2 -4
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +2 -3
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +8 -10
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +7 -9
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +5 -5
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +5 -5
- data/src/core/lib/event_engine/time_util.cc +2 -2
- data/src/core/lib/event_engine/time_util.h +1 -2
- data/src/core/lib/event_engine/utils.cc +19 -5
- data/src/core/lib/event_engine/utils.h +10 -4
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +4 -7
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +4 -6
- data/src/core/lib/event_engine/windows/iocp.cc +4 -5
- data/src/core/lib/event_engine/windows/iocp.h +1 -2
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +4 -6
- data/src/core/lib/event_engine/windows/win_socket.cc +4 -5
- data/src/core/lib/event_engine/windows/win_socket.h +4 -5
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +5 -6
- data/src/core/lib/event_engine/windows/windows_engine.cc +10 -11
- data/src/core/lib/event_engine/windows/windows_engine.h +7 -8
- data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
- data/src/core/lib/event_engine/windows/windows_listener.h +4 -5
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +3 -3
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +3 -5
- data/src/core/lib/event_engine/work_queue/work_queue.h +2 -3
- data/src/core/lib/experiments/config.cc +8 -11
- data/src/core/lib/experiments/config.h +1 -2
- data/src/core/lib/experiments/experiments.cc +65 -26
- data/src/core/lib/experiments/experiments.h +28 -13
- data/src/core/lib/iomgr/buffer_list.cc +3 -4
- data/src/core/lib/iomgr/buffer_list.h +2 -3
- data/src/core/lib/iomgr/call_combiner.cc +2 -4
- data/src/core/lib/iomgr/call_combiner.h +5 -7
- data/src/core/lib/iomgr/cfstream_handle.cc +2 -4
- data/src/core/lib/iomgr/cfstream_handle.h +1 -1
- data/src/core/lib/iomgr/closure.cc +2 -2
- data/src/core/lib/iomgr/closure.h +6 -8
- data/src/core/lib/iomgr/combiner.cc +4 -6
- data/src/core/lib/iomgr/combiner.h +1 -2
- data/src/core/lib/iomgr/endpoint.h +1 -2
- data/src/core/lib/iomgr/endpoint_cfstream.cc +2 -4
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +2 -4
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +1 -2
- data/src/core/lib/iomgr/error.cc +6 -8
- data/src/core/lib/iomgr/error.h +6 -8
- data/src/core/lib/iomgr/error_cfstream.cc +1 -3
- data/src/core/lib/iomgr/ev_apple.cc +2 -3
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +5 -7
- data/src/core/lib/iomgr/ev_poll_posix.cc +3 -5
- data/src/core/lib/iomgr/ev_posix.cc +3 -5
- data/src/core/lib/iomgr/ev_posix.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/closure.cc +3 -4
- data/src/core/lib/iomgr/event_engine_shims/closure.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +10 -11
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +2 -2
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +2 -3
- data/src/core/lib/iomgr/exec_ctx.cc +4 -5
- data/src/core/lib/iomgr/exec_ctx.h +6 -8
- data/src/core/lib/iomgr/executor.cc +6 -8
- data/src/core/lib/iomgr/executor.h +1 -1
- data/src/core/lib/iomgr/fork_posix.cc +5 -7
- data/src/core/lib/iomgr/fork_windows.cc +2 -2
- data/src/core/lib/iomgr/internal_errqueue.cc +2 -3
- data/src/core/lib/iomgr/iocp_windows.cc +4 -6
- data/src/core/lib/iomgr/iomgr.cc +6 -8
- data/src/core/lib/iomgr/iomgr.h +1 -2
- data/src/core/lib/iomgr/iomgr_internal.cc +1 -2
- data/src/core/lib/iomgr/iomgr_internal.h +1 -2
- data/src/core/lib/iomgr/iomgr_windows.cc +1 -2
- data/src/core/lib/iomgr/lockfree_event.cc +3 -4
- data/src/core/lib/iomgr/polling_entity.cc +3 -4
- data/src/core/lib/iomgr/pollset_set_windows.cc +1 -2
- data/src/core/lib/iomgr/pollset_windows.cc +2 -2
- data/src/core/lib/iomgr/port.h +2 -2
- data/src/core/lib/iomgr/resolve_address.cc +3 -4
- data/src/core/lib/iomgr/resolve_address.h +4 -6
- data/src/core/lib/iomgr/resolve_address_impl.h +1 -2
- data/src/core/lib/iomgr/resolve_address_posix.cc +6 -7
- data/src/core/lib/iomgr/resolve_address_posix.h +2 -2
- data/src/core/lib/iomgr/resolve_address_windows.cc +8 -10
- data/src/core/lib/iomgr/resolve_address_windows.h +2 -2
- data/src/core/lib/iomgr/resolved_address.h +1 -2
- data/src/core/lib/iomgr/sockaddr_utils_posix.cc +3 -5
- data/src/core/lib/iomgr/socket_mutator.cc +1 -1
- data/src/core/lib/iomgr/socket_mutator.h +1 -2
- data/src/core/lib/iomgr/socket_utils.h +1 -2
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +5 -7
- data/src/core/lib/iomgr/socket_utils_linux.cc +1 -1
- data/src/core/lib/iomgr/socket_utils_posix.cc +4 -6
- data/src/core/lib/iomgr/socket_utils_windows.cc +1 -1
- data/src/core/lib/iomgr/socket_windows.cc +3 -5
- data/src/core/lib/iomgr/socket_windows.h +1 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +5 -7
- data/src/core/lib/iomgr/tcp_client_posix.cc +3 -5
- data/src/core/lib/iomgr/tcp_client_windows.cc +3 -5
- data/src/core/lib/iomgr/tcp_posix.cc +13 -16
- data/src/core/lib/iomgr/tcp_server.h +2 -2
- data/src/core/lib/iomgr/tcp_server_posix.cc +9 -11
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +2 -3
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +3 -5
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +2 -4
- data/src/core/lib/iomgr/tcp_server_windows.cc +8 -10
- data/src/core/lib/iomgr/tcp_windows.cc +4 -6
- data/src/core/lib/iomgr/timer.h +2 -2
- data/src/core/lib/iomgr/timer_generic.cc +8 -10
- data/src/core/lib/iomgr/timer_heap.cc +1 -2
- data/src/core/lib/iomgr/timer_manager.cc +4 -6
- data/src/core/lib/iomgr/timer_manager.h +1 -2
- data/src/core/lib/iomgr/unix_sockets_posix.cc +3 -4
- data/src/core/lib/iomgr/unix_sockets_posix.h +3 -4
- data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +0 -2
- data/src/core/lib/iomgr/vsock.cc +2 -4
- data/src/core/lib/iomgr/vsock.h +3 -4
- data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +2 -2
- data/src/core/lib/iomgr/wakeup_fd_pipe.cc +2 -3
- data/src/core/lib/promise/activity.cc +2 -4
- data/src/core/lib/promise/activity.h +9 -11
- data/src/core/lib/promise/all_ok.h +3 -4
- data/src/core/lib/promise/arena_promise.h +2 -4
- data/src/core/lib/promise/cancel_callback.h +4 -4
- data/src/core/lib/promise/context.h +7 -8
- data/src/core/lib/promise/detail/basic_seq.h +1 -1
- data/src/core/lib/promise/detail/join_state.h +4 -5
- data/src/core/lib/promise/detail/promise_factory.h +6 -7
- data/src/core/lib/promise/detail/promise_like.h +3 -4
- data/src/core/lib/promise/detail/seq_state.h +3 -5
- data/src/core/lib/promise/detail/status.h +5 -5
- data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +2 -3
- data/src/core/lib/promise/for_each.h +9 -10
- data/src/core/lib/promise/if.h +9 -9
- data/src/core/lib/promise/interceptor_list.h +3 -5
- data/src/core/lib/promise/latch.h +1 -3
- data/src/core/lib/promise/loop.h +4 -5
- data/src/core/lib/promise/map.h +4 -5
- data/src/core/lib/promise/observable.h +3 -4
- data/src/core/lib/promise/party.cc +24 -16
- data/src/core/lib/promise/party.h +10 -10
- data/src/core/lib/promise/pipe.h +3 -5
- data/src/core/lib/promise/poll.h +6 -7
- data/src/core/lib/promise/prioritized_race.h +2 -2
- data/src/core/lib/promise/promise.h +5 -6
- data/src/core/lib/promise/race.h +4 -4
- data/src/core/lib/promise/seq.h +11 -10
- data/src/core/lib/promise/sleep.cc +3 -3
- data/src/core/lib/promise/sleep.h +4 -5
- data/src/core/lib/promise/status_flag.h +2 -3
- data/src/core/lib/promise/try_join.h +5 -5
- data/src/core/lib/promise/try_seq.h +10 -10
- data/src/core/lib/resource_quota/api.cc +4 -6
- data/src/core/lib/resource_quota/api.h +1 -2
- data/src/core/lib/resource_quota/arena.cc +3 -4
- data/src/core/lib/resource_quota/arena.h +4 -5
- data/src/core/lib/resource_quota/connection_quota.cc +2 -2
- data/src/core/lib/resource_quota/connection_quota.h +5 -6
- data/src/core/lib/resource_quota/memory_quota.cc +4 -6
- data/src/core/lib/resource_quota/memory_quota.h +16 -12
- data/src/core/lib/resource_quota/periodic_update.cc +3 -3
- data/src/core/lib/resource_quota/periodic_update.h +2 -4
- data/src/core/lib/resource_quota/resource_quota.h +7 -8
- data/src/core/lib/resource_quota/thread_quota.cc +2 -2
- data/src/core/lib/resource_quota/thread_quota.h +5 -6
- data/src/core/lib/security/authorization/audit_logging.cc +5 -6
- data/src/core/lib/security/authorization/audit_logging.h +5 -6
- data/src/core/lib/security/authorization/authorization_engine.h +3 -3
- data/src/core/lib/security/authorization/authorization_policy_provider.h +3 -4
- data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +1 -1
- data/src/core/lib/security/authorization/evaluate_args.cc +4 -6
- data/src/core/lib/security/authorization/evaluate_args.h +3 -4
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +2 -3
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +2 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +5 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +2 -3
- data/src/core/lib/security/authorization/matchers.cc +2 -4
- data/src/core/lib/security/authorization/matchers.h +2 -4
- data/src/core/lib/security/authorization/rbac_policy.cc +2 -2
- data/src/core/lib/security/authorization/rbac_policy.h +3 -5
- data/src/core/lib/security/authorization/stdout_logger.cc +4 -4
- data/src/core/lib/security/authorization/stdout_logger.h +4 -4
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +6 -7
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +2 -2
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +2 -3
- data/src/core/lib/security/context/security_context.cc +6 -8
- data/src/core/lib/security/context/security_context.h +8 -10
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +5 -5
- data/src/core/lib/security/credentials/alts/alts_credentials.h +8 -4
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +2 -3
- data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +1 -2
- data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +1 -2
- data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +3 -4
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +2 -2
- data/src/core/lib/security/credentials/call_creds_util.cc +6 -5
- data/src/core/lib/security/credentials/call_creds_util.h +2 -2
- data/src/core/lib/security/credentials/channel_creds_registry.h +5 -6
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +9 -10
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +3 -4
- data/src/core/lib/security/credentials/composite/composite_credentials.h +8 -9
- data/src/core/lib/security/credentials/credentials.cc +1 -4
- data/src/core/lib/security/credentials/credentials.h +11 -12
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +10 -12
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +7 -6
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +4 -5
- data/src/core/lib/security/credentials/external/aws_request_signer.h +3 -3
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +9 -11
- data/src/core/lib/security/credentials/external/external_account_credentials.h +5 -7
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +6 -7
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +6 -5
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +8 -10
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +8 -7
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +2 -4
- data/src/core/lib/security/credentials/fake/fake_credentials.h +5 -6
- data/src/core/lib/security/credentials/gcp_service_account_identity/gcp_service_account_identity_credentials.cc +5 -6
- data/src/core/lib/security/credentials/gcp_service_account_identity/gcp_service_account_identity_credentials.h +7 -7
- data/src/core/lib/security/credentials/google_default/credentials_generic.cc +3 -4
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +17 -20
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +7 -5
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +2 -4
- data/src/core/lib/security/credentials/iam/iam_credentials.h +5 -6
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +2 -2
- data/src/core/lib/security/credentials/insecure/insecure_credentials.h +2 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +11 -14
- data/src/core/lib/security/credentials/jwt/json_token.h +1 -2
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +8 -10
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +7 -9
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +18 -21
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +2 -3
- data/src/core/lib/security/credentials/local/local_credentials.cc +2 -2
- data/src/core/lib/security/credentials/local/local_credentials.h +2 -2
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +14 -16
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +12 -13
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +3 -4
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +9 -11
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +4 -6
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +4 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +3 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +4 -5
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +1 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +79 -9
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +13 -11
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +4 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +8 -9
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +4 -5
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +1 -1
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +3 -5
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +8 -10
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +6 -7
- data/src/core/lib/security/credentials/tls/tls_credentials.h +5 -3
- data/src/core/lib/security/credentials/tls/tls_utils.cc +1 -2
- data/src/core/lib/security/credentials/tls/tls_utils.h +3 -3
- data/src/core/lib/security/credentials/token_fetcher/token_fetcher_credentials.h +8 -9
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +2 -3
- data/src/core/lib/security/credentials/xds/xds_credentials.h +7 -9
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +9 -11
- data/src/core/lib/security/security_connector/alts/alts_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +9 -11
- data/src/core/lib/security/security_connector/fake/fake_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +4 -6
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +5 -6
- data/src/core/lib/security/security_connector/load_system_roots_supported.cc +4 -6
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +3 -4
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +17 -13
- data/src/core/lib/security/security_connector/local/local_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/security_connector.cc +2 -4
- data/src/core/lib/security/security_connector/security_connector.h +7 -8
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +6 -8
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +2 -3
- data/src/core/lib/security/security_connector/ssl_utils.cc +11 -13
- data/src/core/lib/security/security_connector/ssl_utils.h +6 -8
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +8 -10
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +7 -8
- data/src/core/lib/security/transport/auth_filters.h +2 -3
- data/src/core/lib/security/transport/client_auth_filter.cc +8 -10
- data/src/core/lib/security/transport/server_auth_filter.cc +10 -11
- data/src/core/lib/security/util/json_util.cc +4 -5
- data/src/core/lib/slice/percent_encoding.cc +2 -4
- data/src/core/lib/slice/slice.cc +4 -6
- data/src/core/lib/slice/slice.h +5 -7
- data/src/core/lib/slice/slice_buffer.cc +4 -6
- data/src/core/lib/slice/slice_buffer.h +3 -4
- data/src/core/lib/slice/slice_internal.h +3 -5
- data/src/core/lib/slice/slice_refcount.h +2 -3
- data/src/core/lib/slice/slice_string_helpers.h +1 -2
- data/src/core/lib/surface/byte_buffer.cc +1 -2
- data/src/core/lib/surface/byte_buffer_reader.cc +3 -5
- data/src/core/lib/surface/call.cc +22 -24
- data/src/core/lib/surface/call.h +6 -8
- data/src/core/lib/surface/call_log_batch.cc +3 -5
- data/src/core/lib/surface/call_test_only.h +1 -2
- data/src/core/lib/surface/call_utils.cc +16 -59
- data/src/core/lib/surface/call_utils.h +53 -19
- data/src/core/lib/surface/channel.cc +1 -2
- data/src/core/lib/surface/channel.h +11 -12
- data/src/core/lib/surface/channel_create.cc +1 -2
- data/src/core/lib/surface/channel_create.h +2 -3
- data/src/core/lib/surface/channel_init.cc +4 -6
- data/src/core/lib/surface/channel_init.h +3 -5
- data/src/core/lib/surface/client_call.cc +17 -19
- data/src/core/lib/surface/client_call.h +18 -18
- data/src/core/lib/surface/completion_queue.cc +11 -13
- data/src/core/lib/surface/completion_queue.h +3 -4
- data/src/core/lib/surface/completion_queue_factory.cc +1 -2
- data/src/core/lib/surface/event_string.cc +2 -2
- data/src/core/lib/surface/event_string.h +2 -2
- data/src/core/lib/surface/filter_stack_call.cc +18 -20
- data/src/core/lib/surface/filter_stack_call.h +15 -17
- data/src/core/lib/surface/init.cc +24 -6
- data/src/core/lib/surface/init.h +5 -0
- data/src/core/lib/surface/lame_client.cc +9 -10
- data/src/core/lib/surface/lame_client.h +4 -5
- data/src/core/lib/surface/legacy_channel.cc +10 -11
- data/src/core/lib/surface/legacy_channel.h +6 -7
- data/src/core/lib/surface/metadata_array.cc +1 -2
- data/src/core/lib/surface/server_call.cc +11 -13
- data/src/core/lib/surface/server_call.h +19 -19
- data/src/core/lib/surface/validate_metadata.cc +3 -4
- data/src/core/lib/surface/validate_metadata.h +2 -4
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.cc +1 -2
- data/src/core/lib/transport/bdp_estimator.h +3 -5
- data/src/core/lib/transport/call_arena_allocator.cc +2 -2
- data/src/core/lib/transport/call_arena_allocator.h +2 -3
- data/src/core/lib/transport/call_destination.h +1 -1
- data/src/core/lib/transport/call_filters.cc +5 -117
- data/src/core/lib/transport/call_filters.h +400 -33
- data/src/core/lib/transport/call_final_info.cc +2 -2
- data/src/core/lib/transport/call_final_info.h +2 -2
- data/src/core/lib/transport/call_spine.cc +1 -2
- data/src/core/lib/transport/call_spine.h +29 -12
- data/src/core/lib/transport/call_state.h +145 -41
- data/src/core/lib/transport/connectivity_state.cc +3 -4
- data/src/core/lib/transport/connectivity_state.h +5 -6
- data/src/core/lib/transport/error_utils.cc +3 -4
- data/src/core/lib/transport/error_utils.h +4 -5
- data/src/core/lib/transport/interception_chain.cc +3 -3
- data/src/core/lib/transport/interception_chain.h +16 -7
- data/src/core/lib/transport/message.cc +2 -2
- data/src/core/lib/transport/message.h +5 -0
- data/src/core/lib/transport/metadata_batch.cc +1 -3
- data/src/core/lib/transport/metadata_batch.h +8 -10
- data/src/core/lib/transport/metadata_compression_traits.h +1 -2
- data/src/core/lib/transport/parsed_metadata.h +3 -5
- data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
- data/src/core/lib/transport/status_conversion.h +1 -1
- data/src/core/lib/transport/timeout_encoding.cc +3 -3
- data/src/core/lib/transport/timeout_encoding.h +2 -4
- data/src/core/lib/transport/transport.cc +4 -6
- data/src/core/lib/transport/transport.h +7 -9
- data/src/core/lib/transport/transport_op_string.cc +4 -5
- data/src/core/load_balancing/address_filtering.cc +2 -4
- data/src/core/load_balancing/address_filtering.h +4 -5
- data/src/core/load_balancing/backend_metric_data.h +2 -2
- data/src/core/load_balancing/backend_metric_parser.cc +1 -2
- data/src/core/load_balancing/backend_metric_parser.h +1 -3
- data/src/core/load_balancing/child_policy_handler.cc +4 -5
- data/src/core/load_balancing/child_policy_handler.h +4 -5
- data/src/core/load_balancing/delegating_helper.h +6 -7
- data/src/core/load_balancing/endpoint_list.cc +6 -8
- data/src/core/load_balancing/endpoint_list.h +6 -8
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +10 -4
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +1 -2
- data/src/core/load_balancing/grpclb/grpclb.cc +19 -21
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +1 -2
- data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +2 -3
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +5 -7
- data/src/core/load_balancing/grpclb/load_balancer_api.cc +4 -6
- data/src/core/load_balancing/grpclb/load_balancer_api.h +4 -6
- data/src/core/load_balancing/health_check_client.cc +20 -20
- data/src/core/load_balancing/health_check_client.h +3 -3
- data/src/core/load_balancing/health_check_client_internal.h +8 -9
- data/src/core/load_balancing/lb_policy.h +12 -14
- data/src/core/load_balancing/lb_policy_factory.h +4 -5
- data/src/core/load_balancing/lb_policy_registry.cc +3 -4
- data/src/core/load_balancing/lb_policy_registry.h +4 -5
- data/src/core/load_balancing/oob_backend_metric.cc +14 -16
- data/src/core/load_balancing/oob_backend_metric.h +3 -3
- data/src/core/load_balancing/oob_backend_metric_internal.h +8 -9
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +29 -24
- data/src/core/load_balancing/outlier_detection/outlier_detection.h +3 -5
- data/src/core/load_balancing/pick_first/pick_first.cc +17 -17
- data/src/core/load_balancing/priority/priority.cc +11 -13
- data/src/core/load_balancing/ring_hash/ring_hash.cc +12 -14
- data/src/core/load_balancing/ring_hash/ring_hash.h +3 -4
- data/src/core/load_balancing/rls/rls.cc +26 -28
- data/src/core/load_balancing/round_robin/round_robin.cc +8 -14
- data/src/core/load_balancing/subchannel_interface.h +13 -6
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +2 -2
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +1 -2
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +14 -18
- data/src/core/load_balancing/weighted_target/weighted_target.cc +10 -12
- data/src/core/load_balancing/xds/cds.cc +22 -19
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +41 -44
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +9 -11
- data/src/core/load_balancing/xds/xds_override_host.cc +11 -13
- data/src/core/load_balancing/xds/xds_override_host.h +3 -4
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +10 -11
- data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -6
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +2 -0
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +11 -14
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +1 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +4 -6
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -4
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +7 -10
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +15 -19
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +3 -6
- data/src/core/resolver/dns/dns_resolver_plugin.cc +3 -4
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +9 -11
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +3 -4
- data/src/core/resolver/dns/event_engine/service_config_helper.cc +3 -5
- data/src/core/resolver/dns/event_engine/service_config_helper.h +2 -2
- data/src/core/resolver/dns/native/dns_resolver.cc +9 -10
- data/src/core/resolver/endpoint_addresses.cc +1 -3
- data/src/core/resolver/endpoint_addresses.h +2 -3
- data/src/core/resolver/fake/fake_resolver.cc +6 -7
- data/src/core/resolver/fake/fake_resolver.h +7 -8
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +10 -11
- data/src/core/resolver/polling_resolver.cc +6 -8
- data/src/core/resolver/polling_resolver.h +7 -8
- data/src/core/resolver/resolver.h +4 -5
- data/src/core/resolver/resolver_factory.h +4 -5
- data/src/core/resolver/resolver_registry.cc +2 -2
- data/src/core/resolver/resolver_registry.h +4 -5
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +4 -5
- data/src/core/resolver/xds/xds_config.cc +1 -2
- data/src/core/resolver/xds/xds_config.h +1 -2
- data/src/core/resolver/xds/xds_dependency_manager.cc +1 -4
- data/src/core/resolver/xds/xds_dependency_manager.h +1 -2
- data/src/core/resolver/xds/xds_resolver.cc +14 -16
- data/src/core/resolver/xds/xds_resolver_attributes.h +2 -3
- data/src/core/server/server.cc +95 -73
- data/src/core/server/server.h +13 -15
- data/src/core/server/server_call_tracer_filter.cc +10 -3
- data/src/core/server/server_config_selector.h +5 -6
- data/src/core/server/server_config_selector_filter.cc +8 -6
- data/src/core/server/xds_channel_stack_modifier.cc +2 -2
- data/src/core/server/xds_channel_stack_modifier.h +5 -6
- data/src/core/server/xds_server_config_fetcher.cc +22 -23
- data/src/core/service_config/service_config.h +3 -5
- data/src/core/service_config/service_config_call_data.h +5 -6
- data/src/core/service_config/service_config_channel_arg_filter.cc +7 -5
- data/src/core/service_config/service_config_impl.cc +3 -5
- data/src/core/service_config/service_config_impl.h +4 -6
- data/src/core/service_config/service_config_parser.cc +1 -2
- data/src/core/service_config/service_config_parser.h +2 -4
- data/src/core/telemetry/call_tracer.cc +2 -3
- data/src/core/telemetry/call_tracer.h +4 -5
- data/src/core/telemetry/histogram_view.h +1 -2
- data/src/core/telemetry/metrics.cc +3 -4
- data/src/core/telemetry/metrics.h +6 -7
- data/src/core/telemetry/stats.cc +1 -2
- data/src/core/telemetry/stats.h +2 -4
- data/src/core/telemetry/stats_data.cc +20 -2
- data/src/core/telemetry/stats_data.h +21 -4
- data/src/core/telemetry/tcp_tracer.h +1 -2
- data/src/core/tsi/alts/crypt/aes_gcm.cc +5 -8
- data/src/core/tsi/alts/crypt/gsec.cc +2 -3
- data/src/core/tsi/alts/crypt/gsec.h +3 -4
- data/src/core/tsi/alts/frame_protector/alts_counter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_counter.h +2 -3
- data/src/core/tsi/alts/frame_protector/alts_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_crypter.h +2 -3
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +4 -5
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +1 -2
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +4 -6
- data/src/core/tsi/alts/frame_protector/frame_handler.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +11 -12
- data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +2 -3
- data/src/core/tsi/alts/handshaker/alts_shared_resource.h +1 -1
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +19 -17
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +2 -3
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +2 -2
- data/src/core/tsi/alts/handshaker/transport_security_common_api.h +1 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +3 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +2 -3
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +3 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +3 -4
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +2 -4
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +1 -2
- data/src/core/tsi/fake_transport_security.cc +4 -7
- data/src/core/tsi/local_transport_security.cc +4 -6
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +4 -5
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +8 -10
- data/src/core/tsi/ssl/session_cache/ssl_session.h +4 -5
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +4 -5
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +7 -8
- data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +2 -4
- data/src/core/tsi/ssl_transport_security.cc +18 -13
- data/src/core/tsi/ssl_transport_security.h +4 -6
- data/src/core/tsi/ssl_transport_security_utils.cc +1 -3
- data/src/core/tsi/ssl_transport_security_utils.h +2 -4
- data/src/core/tsi/ssl_types.h +1 -2
- data/src/core/tsi/transport_security.cc +2 -3
- data/src/core/tsi/transport_security.h +1 -2
- data/src/core/tsi/transport_security_interface.h +1 -2
- data/src/core/util/alloc.cc +2 -5
- data/src/core/util/atm.cc +1 -2
- data/src/core/{lib/gprpp → util}/atomic_utils.h +5 -5
- data/src/core/{lib/avl → util}/avl.h +6 -7
- data/src/core/{lib/backoff → util}/backoff.cc +3 -1
- data/src/core/{lib/backoff → util}/backoff.h +4 -5
- data/src/core/{lib/gprpp → util}/bitset.h +4 -5
- data/src/core/{lib/gprpp → util}/chunked_vector.h +6 -7
- data/src/core/{lib/gprpp → util}/construct_destruct.h +8 -7
- data/src/core/{lib/gprpp → util}/cpp_impl_of.h +3 -3
- data/src/core/{lib/gprpp → util}/crash.cc +2 -3
- data/src/core/{lib/gprpp → util}/crash.h +5 -6
- data/src/core/{lib/gprpp → util}/debug_location.h +5 -5
- data/src/core/{lib/gprpp → util}/directory_reader.h +5 -5
- data/src/core/{lib/gprpp → util}/down_cast.h +7 -7
- data/src/core/{lib/gprpp → util}/dual_ref_counted.h +10 -11
- data/src/core/{lib/gprpp → util}/dump_args.cc +1 -1
- data/src/core/{lib/gprpp → util}/dump_args.h +12 -7
- data/src/core/{lib/gprpp → util}/env.h +5 -5
- data/src/core/{lib/debug → util}/event_log.cc +3 -3
- data/src/core/{lib/debug → util}/event_log.h +6 -8
- data/src/core/{lib/gprpp → util}/examine_stack.cc +1 -1
- data/src/core/{lib/gprpp → util}/examine_stack.h +5 -5
- data/src/core/{lib/gprpp → util}/fork.cc +4 -4
- data/src/core/{lib/gprpp → util}/fork.h +5 -5
- data/src/core/util/gcp_metadata_query.cc +8 -11
- data/src/core/util/gcp_metadata_query.h +2 -3
- data/src/core/{lib/iomgr → util}/gethostname.h +3 -3
- data/src/core/{lib/iomgr → util}/gethostname_fallback.cc +1 -1
- data/src/core/{lib/iomgr → util}/gethostname_host_name_max.cc +2 -3
- data/src/core/{lib/iomgr → util}/gethostname_sysconf.cc +2 -3
- data/src/core/{lib/gprpp → util}/glob.h +3 -3
- data/src/core/util/gpr_time.cc +268 -0
- data/src/core/{lib/iomgr → util}/grpc_if_nametoindex.h +4 -5
- data/src/core/{lib/iomgr → util}/grpc_if_nametoindex_posix.cc +2 -3
- data/src/core/{lib/iomgr → util}/grpc_if_nametoindex_unsupported.cc +2 -3
- data/src/core/{lib/gprpp → util}/host_port.cc +2 -3
- data/src/core/{lib/gprpp → util}/host_port.h +5 -5
- data/src/core/util/http_client/format_request.cc +2 -5
- data/src/core/util/http_client/format_request.h +1 -2
- data/src/core/util/http_client/httpcli.cc +5 -8
- data/src/core/util/http_client/httpcli.h +8 -11
- data/src/core/util/http_client/httpcli_security_connector.cc +9 -12
- data/src/core/util/http_client/httpcli_ssl_credentials.h +2 -3
- data/src/core/util/http_client/parser.cc +2 -4
- data/src/core/util/http_client/parser.h +1 -3
- data/src/core/{lib/gprpp → util}/if_list.h +3 -3
- data/src/core/util/iphone/cpu.cc +1 -2
- data/src/core/util/json/json.h +1 -2
- data/src/core/util/json/json_channel_args.h +0 -1
- data/src/core/util/json/json_object_loader.cc +3 -4
- data/src/core/util/json/json_object_loader.h +4 -5
- data/src/core/util/json/json_reader.cc +2 -5
- data/src/core/util/json/json_reader.h +0 -1
- data/src/core/util/json/json_util.cc +4 -4
- data/src/core/util/json/json_util.h +1 -2
- data/src/core/util/json/json_writer.cc +0 -2
- data/src/core/util/latent_see.cc +17 -8
- data/src/core/util/latent_see.h +22 -4
- data/src/core/util/linux/cpu.cc +4 -6
- data/src/core/{lib/gprpp → util}/linux/env.cc +3 -3
- data/src/core/{lib/gprpp → util}/load_file.cc +4 -5
- data/src/core/{lib/gprpp → util}/load_file.h +5 -6
- data/src/core/util/log.cc +9 -12
- data/src/core/util/lru_cache.h +27 -9
- data/src/core/{lib/gprpp → util}/manual_constructor.h +5 -6
- data/src/core/{lib/gprpp → util}/match.h +6 -7
- data/src/core/{lib/matchers → util}/matchers.cc +10 -3
- data/src/core/{lib/matchers → util}/matchers.h +9 -5
- data/src/core/{lib/gprpp → util}/memory.h +6 -6
- data/src/core/{lib/gprpp → util}/mpscq.cc +1 -1
- data/src/core/{lib/gprpp → util}/mpscq.h +6 -7
- data/src/core/util/msys/tmpfile.cc +3 -4
- data/src/core/{lib/gprpp → util}/no_destruct.h +6 -6
- data/src/core/{lib/gprpp → util}/notification.h +6 -7
- data/src/core/{lib/gprpp → util}/orphanable.h +9 -9
- data/src/core/{lib/gprpp → util}/overload.h +5 -5
- data/src/core/{lib/gprpp → util}/packed_table.h +5 -5
- data/src/core/{lib/gprpp → util}/per_cpu.cc +1 -1
- data/src/core/{lib/gprpp → util}/per_cpu.h +5 -6
- data/src/core/util/posix/cpu.cc +3 -5
- data/src/core/{lib/gprpp → util}/posix/directory_reader.cc +4 -4
- data/src/core/{lib/gprpp → util}/posix/env.cc +1 -1
- data/src/core/{lib/gprpp → util}/posix/stat.cc +4 -5
- data/src/core/util/posix/string.cc +2 -3
- data/src/core/util/posix/sync.cc +3 -5
- data/src/core/{lib/gprpp → util}/posix/thd.cc +8 -11
- data/src/core/util/posix/time.cc +4 -5
- data/src/core/util/posix/tmpfile.cc +4 -6
- data/src/core/{lib/backoff → util}/random_early_detection.cc +3 -3
- data/src/core/{lib/backoff → util}/random_early_detection.h +4 -5
- data/src/core/{lib/gprpp → util}/ref_counted.h +9 -10
- data/src/core/{lib/gprpp → util}/ref_counted_ptr.h +6 -8
- data/src/core/{lib/gprpp → util}/ref_counted_string.cc +3 -4
- data/src/core/{lib/gprpp → util}/ref_counted_string.h +6 -8
- data/src/core/{lib/gprpp → util}/single_set_ptr.h +5 -5
- data/src/core/{lib/gprpp → util}/sorted_pack.h +6 -6
- data/src/core/util/spinlock.h +1 -2
- data/src/core/{lib/gprpp → util}/stat.h +4 -5
- data/src/core/{lib/gprpp → util}/status_helper.cc +4 -6
- data/src/core/{lib/gprpp → util}/status_helper.h +5 -7
- data/src/core/{lib/gprpp → util}/strerror.cc +2 -3
- data/src/core/{lib/gprpp → util}/strerror.h +5 -5
- data/src/core/util/string.cc +4 -7
- data/src/core/util/string.h +1 -3
- data/src/core/util/sync.cc +3 -5
- data/src/core/{lib/gprpp → util}/sync.h +7 -7
- data/src/core/util/sync_abseil.cc +5 -7
- data/src/core/{lib/gprpp → util}/table.h +5 -7
- data/src/core/{lib/gprpp → util}/tchar.cc +1 -1
- data/src/core/{lib/gprpp → util}/tchar.h +3 -3
- data/src/core/{lib/gprpp → util}/thd.h +5 -6
- data/src/core/util/time.cc +174 -204
- data/src/core/{lib/gprpp → util}/time.h +14 -8
- data/src/core/{lib/gprpp → util}/time_averaged_stats.cc +1 -1
- data/src/core/{lib/gprpp → util}/time_averaged_stats.h +3 -3
- data/src/core/util/time_precise.cc +3 -4
- data/src/core/util/time_precise.h +0 -1
- data/src/core/{lib/gprpp → util}/time_util.cc +3 -4
- data/src/core/{lib/gprpp → util}/time_util.h +5 -5
- data/src/core/util/tmpfile.h +0 -1
- data/src/core/{lib/gprpp → util}/type_list.h +3 -3
- data/src/core/{lib/gprpp → util}/unique_type_name.h +5 -6
- data/src/core/{lib/uri/uri_parser.cc → util/uri.cc} +2 -3
- data/src/core/{lib/uri/uri_parser.h → util/uri.h} +5 -5
- data/src/core/{lib/gprpp → util}/uuid_v4.cc +3 -3
- data/src/core/{lib/gprpp → util}/uuid_v4.h +4 -5
- data/src/core/{lib/gprpp → util}/validation_errors.cc +2 -3
- data/src/core/{lib/gprpp → util}/validation_errors.h +4 -5
- data/src/core/util/windows/cpu.cc +1 -1
- data/src/core/{lib/gprpp → util}/windows/directory_reader.cc +1 -1
- data/src/core/{lib/gprpp → util}/windows/env.cc +2 -2
- data/src/core/{lib/gprpp → util}/windows/stat.cc +3 -4
- data/src/core/util/windows/string.cc +2 -3
- data/src/core/util/windows/string_util.cc +5 -7
- data/src/core/util/windows/sync.cc +2 -3
- data/src/core/{lib/gprpp → util}/windows/thd.cc +6 -8
- data/src/core/util/windows/time.cc +2 -4
- data/src/core/util/windows/tmpfile.cc +4 -5
- data/src/core/{lib/gprpp → util}/work_serializer.cc +7 -12
- data/src/core/{lib/gprpp → util}/work_serializer.h +8 -9
- data/src/core/{lib/gprpp → util}/xxhash_inline.h +3 -3
- data/src/core/xds/grpc/certificate_provider_store.cc +2 -3
- data/src/core/xds/grpc/certificate_provider_store.h +8 -9
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.cc +3 -4
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.h +6 -7
- data/src/core/xds/grpc/xds_audit_logger_registry.cc +4 -5
- data/src/core/xds/grpc/xds_audit_logger_registry.h +3 -4
- data/src/core/xds/grpc/xds_bootstrap_grpc.cc +4 -5
- data/src/core/xds/grpc/xds_bootstrap_grpc.h +4 -4
- data/src/core/xds/grpc/xds_certificate_provider.cc +2 -3
- data/src/core/xds/grpc/xds_certificate_provider.h +8 -9
- data/src/core/xds/grpc/xds_client_grpc.cc +63 -39
- data/src/core/xds/grpc/xds_client_grpc.h +14 -8
- data/src/core/xds/grpc/xds_cluster.cc +9 -4
- data/src/core/xds/grpc/xds_cluster.h +30 -4
- data/src/core/xds/grpc/xds_cluster_parser.cc +105 -25
- data/src/core/xds/grpc/xds_cluster_parser.h +6 -2
- data/src/core/xds/grpc/xds_cluster_specifier_plugin.cc +5 -7
- data/src/core/xds/grpc/xds_cluster_specifier_plugin.h +5 -6
- data/src/core/xds/grpc/xds_common_types.cc +1 -2
- data/src/core/xds/grpc/xds_common_types.h +2 -3
- data/src/core/xds/grpc/xds_common_types_parser.cc +45 -9
- data/src/core/xds/grpc/xds_common_types_parser.h +8 -3
- data/src/core/xds/grpc/xds_endpoint.h +7 -5
- data/src/core/xds/grpc/xds_endpoint_parser.cc +45 -40
- data/src/core/xds/grpc/xds_endpoint_parser.h +1 -2
- data/src/core/xds/grpc/xds_health_status.h +0 -1
- data/src/core/xds/grpc/xds_http_fault_filter.cc +5 -7
- data/src/core/xds/grpc/xds_http_fault_filter.h +4 -5
- data/src/core/xds/grpc/xds_http_filter.h +2 -3
- data/src/core/xds/grpc/xds_http_filter_registry.cc +2 -3
- data/src/core/xds/grpc/xds_http_filter_registry.h +2 -3
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +3 -4
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +2 -3
- data/src/core/xds/grpc/xds_http_rbac_filter.cc +42 -39
- data/src/core/xds/grpc/xds_http_rbac_filter.h +4 -5
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +5 -6
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +4 -5
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +4 -6
- data/src/core/xds/grpc/xds_lb_policy_registry.h +3 -4
- data/src/core/xds/grpc/xds_listener.cc +1 -2
- data/src/core/xds/grpc/xds_listener.h +1 -2
- data/src/core/xds/grpc/xds_listener_parser.cc +5 -8
- data/src/core/xds/grpc/xds_listener_parser.h +1 -2
- data/src/core/xds/grpc/xds_metadata.h +26 -3
- data/src/core/xds/grpc/xds_metadata_parser.cc +51 -10
- data/src/core/xds/grpc/xds_metadata_parser.h +1 -2
- data/src/core/xds/grpc/xds_route_config.cc +2 -3
- data/src/core/xds/grpc/xds_route_config.h +2 -3
- data/src/core/xds/grpc/xds_route_config_parser.cc +10 -12
- data/src/core/xds/grpc/xds_route_config_parser.h +4 -7
- data/src/core/xds/grpc/xds_routing.cc +2 -4
- data/src/core/xds/grpc/xds_routing.h +1 -3
- data/src/core/xds/grpc/xds_server_grpc.cc +0 -1
- data/src/core/xds/grpc/xds_server_grpc.h +2 -2
- data/src/core/xds/grpc/xds_transport_grpc.cc +94 -49
- data/src/core/xds/grpc/xds_transport_grpc.h +33 -22
- data/src/core/xds/xds_client/lrs_client.cc +1292 -0
- data/src/core/xds/xds_client/lrs_client.h +394 -0
- data/src/core/xds/xds_client/xds_api.cc +31 -245
- data/src/core/xds/xds_client/xds_api.h +13 -36
- data/src/core/xds/xds_client/xds_backend_metric_propagation.cc +63 -0
- data/src/core/xds/xds_client/xds_backend_metric_propagation.h +59 -0
- data/src/core/xds/xds_client/xds_bootstrap.cc +2 -3
- data/src/core/xds/xds_client/xds_bootstrap.h +2 -2
- data/src/core/xds/xds_client/xds_client.cc +57 -595
- data/src/core/xds/xds_client/xds_client.h +33 -86
- data/src/core/xds/xds_client/xds_locality.h +102 -0
- data/src/core/xds/xds_client/xds_metrics.h +2 -2
- data/src/core/xds/xds_client/xds_resource_type.h +4 -5
- data/src/core/xds/xds_client/xds_resource_type_impl.h +3 -4
- data/src/core/xds/xds_client/xds_transport.h +29 -14
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/ext/grpc/rb_byte_buffer.c +3 -3
- data/src/ruby/ext/grpc/rb_call.c +5 -5
- data/src/ruby/ext/grpc/rb_call_credentials.c +5 -6
- data/src/ruby/ext/grpc/rb_channel.c +6 -7
- data/src/ruby/ext/grpc/rb_channel_args.c +3 -3
- data/src/ruby/ext/grpc/rb_channel_credentials.c +5 -6
- data/src/ruby/ext/grpc/rb_channel_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_completion_queue.c +3 -4
- data/src/ruby/ext/grpc/rb_compression_options.c +6 -7
- data/src/ruby/ext/grpc/rb_event_thread.c +4 -5
- data/src/ruby/ext/grpc/rb_grpc.c +3 -4
- data/src/ruby/ext/grpc/rb_grpc.h +1 -2
- data/src/ruby/ext/grpc/rb_server.c +6 -6
- data/src/ruby/ext/grpc/rb_server_credentials.c +3 -3
- data/src/ruby/ext/grpc/rb_server_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +5 -6
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +4 -4
- data/src/ruby/ext/grpc/rb_xds_server_credentials.h +1 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/client_stub_spec.rb +20 -20
- data/third_party/abseil-cpp/absl/algorithm/container.h +57 -18
- data/third_party/abseil-cpp/absl/base/attributes.h +84 -0
- data/third_party/abseil-cpp/absl/base/config.h +32 -51
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +0 -16
- data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +3 -1
- data/third_party/abseil-cpp/absl/base/internal/spinlock.h +13 -3
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +0 -12
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h +4 -4
- data/third_party/abseil-cpp/absl/base/macros.h +48 -0
- data/third_party/abseil-cpp/absl/base/no_destructor.h +35 -40
- data/third_party/abseil-cpp/absl/base/nullability.h +33 -7
- data/third_party/abseil-cpp/absl/base/optimization.h +11 -0
- data/third_party/abseil-cpp/absl/base/options.h +1 -1
- data/third_party/abseil-cpp/absl/base/prefetch.h +1 -1
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +68 -12
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +60 -6
- data/third_party/abseil-cpp/absl/container/hash_container_defaults.h +45 -0
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +13 -0
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +20 -11
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +15 -16
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +34 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +68 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_policy_traits.h +50 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +22 -7
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +26 -8
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +39 -35
- data/third_party/abseil-cpp/absl/container/internal/layout.h +190 -74
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +8 -6
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +334 -71
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +1299 -458
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +19 -17
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +4 -3
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +2 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +12 -8
- data/third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +11 -7
- data/third_party/abseil-cpp/absl/crc/internal/non_temporal_memcpy.h +18 -17
- data/third_party/abseil-cpp/absl/debugging/internal/bounded_utf8_length_sequence.h +126 -0
- data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.cc +258 -0
- data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.h +55 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +1057 -86
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +3 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.cc +925 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.h +42 -0
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc +43 -16
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +8 -7
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +10 -7
- data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.cc +70 -0
- data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.h +47 -0
- data/third_party/abseil-cpp/absl/flags/commandlineflag.h +11 -0
- data/third_party/abseil-cpp/absl/flags/flag.h +2 -0
- data/third_party/abseil-cpp/absl/flags/internal/flag.cc +117 -30
- data/third_party/abseil-cpp/absl/flags/internal/flag.h +192 -30
- data/third_party/abseil-cpp/absl/flags/reflection.cc +10 -0
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +13 -3
- data/third_party/abseil-cpp/absl/functional/bind_front.h +3 -2
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +7 -7
- data/third_party/abseil-cpp/absl/functional/internal/front_binder.h +9 -9
- data/third_party/abseil-cpp/absl/hash/internal/hash.cc +1 -1
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +13 -3
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +60 -28
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.h +4 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +3 -3
- data/third_party/abseil-cpp/absl/log/globals.h +28 -15
- data/third_party/abseil-cpp/absl/log/internal/check_op.cc +20 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.h +63 -21
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +2 -2
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +23 -23
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +104 -47
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +23 -4
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +1 -10
- data/third_party/abseil-cpp/absl/log/internal/strip.h +36 -0
- data/third_party/abseil-cpp/absl/log/log.h +5 -1
- data/third_party/abseil-cpp/absl/log/log_sink.h +11 -4
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +3 -3
- data/third_party/abseil-cpp/absl/meta/type_traits.h +138 -42
- data/third_party/abseil-cpp/absl/numeric/int128.cc +0 -3
- data/third_party/abseil-cpp/absl/numeric/int128.h +35 -5
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +14 -0
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +18 -0
- data/third_party/abseil-cpp/absl/numeric/internal/bits.h +6 -2
- data/third_party/abseil-cpp/absl/random/beta_distribution.h +8 -8
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +9 -7
- data/third_party/abseil-cpp/absl/random/distributions.h +11 -11
- data/third_party/abseil-cpp/absl/random/seed_sequences.h +2 -0
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +61 -2
- data/third_party/abseil-cpp/absl/status/status.cc +0 -4
- data/third_party/abseil-cpp/absl/status/status.h +4 -4
- data/third_party/abseil-cpp/absl/status/statusor.h +108 -142
- data/third_party/abseil-cpp/absl/strings/ascii.cc +32 -71
- data/third_party/abseil-cpp/absl/strings/cord.cc +20 -15
- data/third_party/abseil-cpp/absl/strings/cord.h +68 -7
- data/third_party/abseil-cpp/absl/strings/escaping.cc +96 -21
- data/third_party/abseil-cpp/absl/strings/escaping.h +25 -8
- data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +10 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +29 -9
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +2 -2
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc +19 -13
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.h +23 -13
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +24 -24
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +12 -7
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.h +9 -4
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +5 -2
- data/third_party/abseil-cpp/absl/strings/internal/str_join_internal.h +23 -2
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +5 -1
- data/third_party/abseil-cpp/absl/strings/numbers.cc +107 -333
- data/third_party/abseil-cpp/absl/strings/numbers.h +12 -151
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +49 -142
- data/third_party/abseil-cpp/absl/strings/str_cat.h +70 -85
- data/third_party/abseil-cpp/absl/strings/str_format.h +1 -1
- data/third_party/abseil-cpp/absl/strings/str_join.h +19 -5
- data/third_party/abseil-cpp/absl/strings/str_split.h +2 -2
- data/third_party/abseil-cpp/absl/strings/string_view.h +3 -2
- data/third_party/abseil-cpp/absl/strings/substitute.cc +4 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -2
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.h +5 -0
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +5 -4
- data/third_party/abseil-cpp/absl/time/civil_time.h +2 -2
- data/third_party/abseil-cpp/absl/time/clock.cc +15 -1
- data/third_party/abseil-cpp/absl/time/duration.cc +58 -53
- data/third_party/abseil-cpp/absl/time/format.cc +2 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +0 -29
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +3 -3
- data/third_party/abseil-cpp/absl/time/time.h +73 -29
- data/third_party/abseil-cpp/absl/types/compare.h +505 -0
- data/third_party/abseil-cpp/absl/types/internal/optional.h +2 -2
- data/third_party/abseil-cpp/absl/types/internal/variant.h +55 -67
- data/third_party/abseil-cpp/absl/types/optional.h +15 -18
- data/third_party/abseil-cpp/absl/types/span.h +3 -2
- data/third_party/abseil-cpp/absl/types/variant.h +19 -24
- data/third_party/abseil-cpp/absl/utility/utility.h +3 -41
- data/third_party/upb/upb/json/decode.c +20 -3
- data/third_party/upb/upb/json/encode.c +2 -2
- data/third_party/upb/upb/lex/round_trip.c +10 -0
- data/third_party/upb/upb/mem/arena.c +12 -1
- data/third_party/upb/upb/mem/arena.h +9 -0
- data/third_party/upb/upb/mem/arena.hpp +5 -1
- data/third_party/upb/upb/message/accessors.c +2 -4
- data/third_party/upb/upb/message/accessors.h +172 -381
- data/third_party/upb/upb/message/copy.c +11 -7
- data/third_party/upb/upb/message/internal/accessors.h +571 -26
- data/third_party/upb/upb/message/internal/extension.c +1 -0
- data/third_party/upb/upb/message/internal/message.c +10 -11
- data/third_party/upb/upb/message/internal/message.h +8 -7
- data/third_party/upb/upb/message/merge.c +38 -0
- data/third_party/upb/upb/message/merge.h +26 -0
- data/third_party/upb/upb/message/message.h +6 -10
- data/third_party/upb/upb/message/value.h +26 -0
- data/third_party/upb/upb/mini_descriptor/decode.c +7 -2
- data/third_party/upb/upb/mini_descriptor/link.c +7 -3
- data/third_party/upb/upb/mini_table/extension_registry.c +18 -0
- data/third_party/upb/upb/mini_table/extension_registry.h +17 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +9 -0
- data/third_party/upb/upb/mini_table/internal/message.c +21 -1
- data/third_party/upb/upb/mini_table/internal/message.h +40 -20
- data/third_party/upb/upb/mini_table/internal/sub.h +5 -0
- data/third_party/upb/upb/mini_table/message.h +11 -1
- data/third_party/upb/upb/port/def.inc +75 -4
- data/third_party/upb/upb/port/undef.inc +4 -0
- data/third_party/upb/upb/reflection/def.hpp +8 -0
- data/third_party/upb/upb/reflection/field_def.c +8 -5
- data/third_party/upb/upb/reflection/field_def.h +1 -0
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message.c +8 -3
- data/third_party/upb/upb/reflection/message.h +2 -2
- data/third_party/upb/upb/text/encode.c +51 -387
- data/third_party/upb/upb/text/encode.h +1 -11
- data/third_party/upb/upb/text/internal/encode.c +180 -0
- data/third_party/upb/upb/text/internal/encode.h +240 -0
- data/third_party/upb/upb/text/options.h +22 -0
- data/third_party/upb/upb/wire/decode.c +71 -39
- data/third_party/upb/upb/wire/decode.h +3 -0
- data/third_party/upb/upb/wire/encode.c +41 -18
- data/third_party/upb/upb/wire/encode.h +3 -0
- data/third_party/upb/upb/wire/internal/decode_fast.c +3 -0
- metadata +129 -102
- data/src/core/lib/gprpp/time.cc +0 -241
- data/src/core/resolver/binder/binder_resolver.cc +0 -153
- data/src/core/xds/xds_client/xds_client_stats.cc +0 -164
- data/src/core/xds/xds_client/xds_client_stats.h +0 -258
- data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +0 -44
- /data/src/core/{lib/gprpp → util}/glob.cc +0 -0
@@ -0,0 +1,925 @@
|
|
1
|
+
// Copyright 2024 The Abseil Authors
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
#include "absl/debugging/internal/demangle_rust.h"
|
16
|
+
|
17
|
+
#include <cstddef>
|
18
|
+
#include <cstdint>
|
19
|
+
#include <cstring>
|
20
|
+
#include <limits>
|
21
|
+
|
22
|
+
#include "absl/base/attributes.h"
|
23
|
+
#include "absl/base/config.h"
|
24
|
+
#include "absl/debugging/internal/decode_rust_punycode.h"
|
25
|
+
|
26
|
+
namespace absl {
|
27
|
+
ABSL_NAMESPACE_BEGIN
|
28
|
+
namespace debugging_internal {
|
29
|
+
|
30
|
+
namespace {
|
31
|
+
|
32
|
+
// Same step limit as the C++ demangler in demangle.cc uses.
|
33
|
+
constexpr int kMaxReturns = 1 << 17;
|
34
|
+
|
35
|
+
bool IsDigit(char c) { return '0' <= c && c <= '9'; }
|
36
|
+
bool IsLower(char c) { return 'a' <= c && c <= 'z'; }
|
37
|
+
bool IsUpper(char c) { return 'A' <= c && c <= 'Z'; }
|
38
|
+
bool IsAlpha(char c) { return IsLower(c) || IsUpper(c); }
|
39
|
+
bool IsIdentifierChar(char c) { return IsAlpha(c) || IsDigit(c) || c == '_'; }
|
40
|
+
bool IsLowerHexDigit(char c) { return IsDigit(c) || ('a' <= c && c <= 'f'); }
|
41
|
+
|
42
|
+
const char* BasicTypeName(char c) {
|
43
|
+
switch (c) {
|
44
|
+
case 'a': return "i8";
|
45
|
+
case 'b': return "bool";
|
46
|
+
case 'c': return "char";
|
47
|
+
case 'd': return "f64";
|
48
|
+
case 'e': return "str";
|
49
|
+
case 'f': return "f32";
|
50
|
+
case 'h': return "u8";
|
51
|
+
case 'i': return "isize";
|
52
|
+
case 'j': return "usize";
|
53
|
+
case 'l': return "i32";
|
54
|
+
case 'm': return "u32";
|
55
|
+
case 'n': return "i128";
|
56
|
+
case 'o': return "u128";
|
57
|
+
case 'p': return "_";
|
58
|
+
case 's': return "i16";
|
59
|
+
case 't': return "u16";
|
60
|
+
case 'u': return "()";
|
61
|
+
case 'v': return "...";
|
62
|
+
case 'x': return "i64";
|
63
|
+
case 'y': return "u64";
|
64
|
+
case 'z': return "!";
|
65
|
+
}
|
66
|
+
return nullptr;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Parser for Rust symbol mangling v0, whose grammar is defined here:
|
70
|
+
//
|
71
|
+
// https://doc.rust-lang.org/rustc/symbol-mangling/v0.html#symbol-grammar-summary
|
72
|
+
class RustSymbolParser {
|
73
|
+
public:
|
74
|
+
// Prepares to demangle the given encoding, a Rust symbol name starting with
|
75
|
+
// _R, into the output buffer [out, out_end). The caller is expected to
|
76
|
+
// continue by calling the new object's Parse function.
|
77
|
+
RustSymbolParser(const char* encoding, char* out, char* const out_end)
|
78
|
+
: encoding_(encoding), out_(out), out_end_(out_end) {
|
79
|
+
if (out_ != out_end_) *out_ = '\0';
|
80
|
+
}
|
81
|
+
|
82
|
+
// Parses the constructor's encoding argument, writing output into the range
|
83
|
+
// [out, out_end). Returns true on success and false for input whose
|
84
|
+
// structure was not recognized or exceeded implementation limits, such as by
|
85
|
+
// nesting structures too deep. In either case *this should not be used
|
86
|
+
// again.
|
87
|
+
ABSL_MUST_USE_RESULT bool Parse() && {
|
88
|
+
// Recursively parses the grammar production named by callee, then resumes
|
89
|
+
// execution at the next statement.
|
90
|
+
//
|
91
|
+
// Recursive-descent parsing is a beautifully readable translation of a
|
92
|
+
// grammar, but it risks stack overflow if implemented by naive recursion on
|
93
|
+
// the C++ call stack. So we simulate recursion by goto and switch instead,
|
94
|
+
// keeping a bounded stack of "return addresses" in the recursion_stack_
|
95
|
+
// member.
|
96
|
+
//
|
97
|
+
// The callee argument is a statement label. We goto that label after
|
98
|
+
// saving the "return address" on recursion_stack_. The next continue
|
99
|
+
// statement in the for loop below "returns" from this "call".
|
100
|
+
//
|
101
|
+
// The caller argument names the return point. Each value of caller must
|
102
|
+
// appear in only one ABSL_DEMANGLER_RECURSE call and be listed in the
|
103
|
+
// definition of enum ReturnAddress. The switch implements the control
|
104
|
+
// transfer from the end of a "called" subroutine back to the statement
|
105
|
+
// after the "call".
|
106
|
+
//
|
107
|
+
// Note that not all the grammar productions have to be packed into the
|
108
|
+
// switch, but only those which appear in a cycle in the grammar. Anything
|
109
|
+
// acyclic can be written as ordinary functions and function calls, e.g.,
|
110
|
+
// ParseIdentifier.
|
111
|
+
#define ABSL_DEMANGLER_RECURSE(callee, caller) \
|
112
|
+
do { \
|
113
|
+
if (recursion_depth_ == kStackSize) return false; \
|
114
|
+
/* The next continue will switch on this saved value ... */ \
|
115
|
+
recursion_stack_[recursion_depth_++] = caller; \
|
116
|
+
goto callee; \
|
117
|
+
/* ... and will land here, resuming the suspended code. */ \
|
118
|
+
case caller: {} \
|
119
|
+
} while (0)
|
120
|
+
|
121
|
+
// Parse the encoding, counting completed recursive calls to guard against
|
122
|
+
// excessively complex input and infinite-loop bugs.
|
123
|
+
int iter = 0;
|
124
|
+
goto whole_encoding;
|
125
|
+
for (; iter < kMaxReturns && recursion_depth_ > 0; ++iter) {
|
126
|
+
// This switch resumes the code path most recently suspended by
|
127
|
+
// ABSL_DEMANGLER_RECURSE.
|
128
|
+
switch (recursion_stack_[--recursion_depth_]) {
|
129
|
+
//
|
130
|
+
// symbol-name ->
|
131
|
+
// _R decimal-number? path instantiating-crate? vendor-specific-suffix?
|
132
|
+
whole_encoding:
|
133
|
+
if (!Eat('_') || !Eat('R')) return false;
|
134
|
+
// decimal-number? is always empty today, so proceed to path, which
|
135
|
+
// can't start with a decimal digit.
|
136
|
+
ABSL_DEMANGLER_RECURSE(path, kInstantiatingCrate);
|
137
|
+
if (IsAlpha(Peek())) {
|
138
|
+
++silence_depth_; // Print nothing more from here on.
|
139
|
+
ABSL_DEMANGLER_RECURSE(path, kVendorSpecificSuffix);
|
140
|
+
}
|
141
|
+
switch (Take()) {
|
142
|
+
case '.': case '$': case '\0': return true;
|
143
|
+
}
|
144
|
+
return false; // unexpected trailing content
|
145
|
+
|
146
|
+
// path -> crate-root | inherent-impl | trait-impl | trait-definition |
|
147
|
+
// nested-path | generic-args | backref
|
148
|
+
//
|
149
|
+
// Note that ABSL_DEMANGLER_RECURSE does not work inside a nested switch
|
150
|
+
// (which would hide the generated case label). Thus we jump out of the
|
151
|
+
// inner switch with gotos before performing any fake recursion.
|
152
|
+
path:
|
153
|
+
switch (Take()) {
|
154
|
+
case 'C': goto crate_root;
|
155
|
+
case 'M': goto inherent_impl;
|
156
|
+
case 'X': goto trait_impl;
|
157
|
+
case 'Y': goto trait_definition;
|
158
|
+
case 'N': goto nested_path;
|
159
|
+
case 'I': goto generic_args;
|
160
|
+
case 'B': goto path_backref;
|
161
|
+
default: return false;
|
162
|
+
}
|
163
|
+
|
164
|
+
// crate-root -> C identifier (C consumed above)
|
165
|
+
crate_root:
|
166
|
+
if (!ParseIdentifier()) return false;
|
167
|
+
continue;
|
168
|
+
|
169
|
+
// inherent-impl -> M impl-path type (M already consumed)
|
170
|
+
inherent_impl:
|
171
|
+
if (!Emit("<")) return false;
|
172
|
+
ABSL_DEMANGLER_RECURSE(impl_path, kInherentImplType);
|
173
|
+
ABSL_DEMANGLER_RECURSE(type, kInherentImplEnding);
|
174
|
+
if (!Emit(">")) return false;
|
175
|
+
continue;
|
176
|
+
|
177
|
+
// trait-impl -> X impl-path type path (X already consumed)
|
178
|
+
trait_impl:
|
179
|
+
if (!Emit("<")) return false;
|
180
|
+
ABSL_DEMANGLER_RECURSE(impl_path, kTraitImplType);
|
181
|
+
ABSL_DEMANGLER_RECURSE(type, kTraitImplInfix);
|
182
|
+
if (!Emit(" as ")) return false;
|
183
|
+
ABSL_DEMANGLER_RECURSE(path, kTraitImplEnding);
|
184
|
+
if (!Emit(">")) return false;
|
185
|
+
continue;
|
186
|
+
|
187
|
+
// impl-path -> disambiguator? path (but never print it!)
|
188
|
+
impl_path:
|
189
|
+
++silence_depth_;
|
190
|
+
{
|
191
|
+
int ignored_disambiguator;
|
192
|
+
if (!ParseDisambiguator(ignored_disambiguator)) return false;
|
193
|
+
}
|
194
|
+
ABSL_DEMANGLER_RECURSE(path, kImplPathEnding);
|
195
|
+
--silence_depth_;
|
196
|
+
continue;
|
197
|
+
|
198
|
+
// trait-definition -> Y type path (Y already consumed)
|
199
|
+
trait_definition:
|
200
|
+
if (!Emit("<")) return false;
|
201
|
+
ABSL_DEMANGLER_RECURSE(type, kTraitDefinitionInfix);
|
202
|
+
if (!Emit(" as ")) return false;
|
203
|
+
ABSL_DEMANGLER_RECURSE(path, kTraitDefinitionEnding);
|
204
|
+
if (!Emit(">")) return false;
|
205
|
+
continue;
|
206
|
+
|
207
|
+
// nested-path -> N namespace path identifier (N already consumed)
|
208
|
+
// namespace -> lower | upper
|
209
|
+
nested_path:
|
210
|
+
// Uppercase namespaces must be saved on a stack so we can print
|
211
|
+
// ::{closure#0} or ::{shim:vtable#0} or ::{X:name#0} as needed.
|
212
|
+
if (IsUpper(Peek())) {
|
213
|
+
if (!PushNamespace(Take())) return false;
|
214
|
+
ABSL_DEMANGLER_RECURSE(path, kIdentifierInUppercaseNamespace);
|
215
|
+
if (!Emit("::")) return false;
|
216
|
+
if (!ParseIdentifier(PopNamespace())) return false;
|
217
|
+
continue;
|
218
|
+
}
|
219
|
+
|
220
|
+
// Lowercase namespaces, however, are never represented in the output;
|
221
|
+
// they all emit just ::name.
|
222
|
+
if (IsLower(Take())) {
|
223
|
+
ABSL_DEMANGLER_RECURSE(path, kIdentifierInLowercaseNamespace);
|
224
|
+
if (!Emit("::")) return false;
|
225
|
+
if (!ParseIdentifier()) return false;
|
226
|
+
continue;
|
227
|
+
}
|
228
|
+
|
229
|
+
// Neither upper or lower
|
230
|
+
return false;
|
231
|
+
|
232
|
+
// type -> basic-type | array-type | slice-type | tuple-type |
|
233
|
+
// ref-type | mut-ref-type | const-ptr-type | mut-ptr-type |
|
234
|
+
// fn-type | dyn-trait-type | path | backref
|
235
|
+
//
|
236
|
+
// We use ifs instead of switch (Take()) because the default case jumps
|
237
|
+
// to path, which will need to see the first character not yet Taken
|
238
|
+
// from the input. Because we do not use a nested switch here,
|
239
|
+
// ABSL_DEMANGLER_RECURSE works fine in the 'S' case.
|
240
|
+
type:
|
241
|
+
if (IsLower(Peek())) {
|
242
|
+
const char* type_name = BasicTypeName(Take());
|
243
|
+
if (type_name == nullptr || !Emit(type_name)) return false;
|
244
|
+
continue;
|
245
|
+
}
|
246
|
+
if (Eat('A')) {
|
247
|
+
// array-type = A type const
|
248
|
+
if (!Emit("[")) return false;
|
249
|
+
ABSL_DEMANGLER_RECURSE(type, kArraySize);
|
250
|
+
if (!Emit("; ")) return false;
|
251
|
+
ABSL_DEMANGLER_RECURSE(constant, kFinishArray);
|
252
|
+
if (!Emit("]")) return false;
|
253
|
+
continue;
|
254
|
+
}
|
255
|
+
if (Eat('S')) {
|
256
|
+
if (!Emit("[")) return false;
|
257
|
+
ABSL_DEMANGLER_RECURSE(type, kSliceEnding);
|
258
|
+
if (!Emit("]")) return false;
|
259
|
+
continue;
|
260
|
+
}
|
261
|
+
if (Eat('T')) goto tuple_type;
|
262
|
+
if (Eat('R')) {
|
263
|
+
if (!Emit("&")) return false;
|
264
|
+
if (!ParseOptionalLifetime()) return false;
|
265
|
+
goto type;
|
266
|
+
}
|
267
|
+
if (Eat('Q')) {
|
268
|
+
if (!Emit("&mut ")) return false;
|
269
|
+
if (!ParseOptionalLifetime()) return false;
|
270
|
+
goto type;
|
271
|
+
}
|
272
|
+
if (Eat('P')) {
|
273
|
+
if (!Emit("*const ")) return false;
|
274
|
+
goto type;
|
275
|
+
}
|
276
|
+
if (Eat('O')) {
|
277
|
+
if (!Emit("*mut ")) return false;
|
278
|
+
goto type;
|
279
|
+
}
|
280
|
+
if (Eat('F')) goto fn_type;
|
281
|
+
if (Eat('D')) goto dyn_trait_type;
|
282
|
+
if (Eat('B')) goto type_backref;
|
283
|
+
goto path;
|
284
|
+
|
285
|
+
// tuple-type -> T type* E (T already consumed)
|
286
|
+
tuple_type:
|
287
|
+
if (!Emit("(")) return false;
|
288
|
+
|
289
|
+
// The toolchain should call the unit type u instead of TE, but the
|
290
|
+
// grammar and other demanglers also recognize TE, so we do too.
|
291
|
+
if (Eat('E')) {
|
292
|
+
if (!Emit(")")) return false;
|
293
|
+
continue;
|
294
|
+
}
|
295
|
+
|
296
|
+
// A tuple with one element is rendered (type,) instead of (type).
|
297
|
+
ABSL_DEMANGLER_RECURSE(type, kAfterFirstTupleElement);
|
298
|
+
if (Eat('E')) {
|
299
|
+
if (!Emit(",)")) return false;
|
300
|
+
continue;
|
301
|
+
}
|
302
|
+
|
303
|
+
// A tuple with two elements is of course (x, y).
|
304
|
+
if (!Emit(", ")) return false;
|
305
|
+
ABSL_DEMANGLER_RECURSE(type, kAfterSecondTupleElement);
|
306
|
+
if (Eat('E')) {
|
307
|
+
if (!Emit(")")) return false;
|
308
|
+
continue;
|
309
|
+
}
|
310
|
+
|
311
|
+
// And (x, y, z) for three elements.
|
312
|
+
if (!Emit(", ")) return false;
|
313
|
+
ABSL_DEMANGLER_RECURSE(type, kAfterThirdTupleElement);
|
314
|
+
if (Eat('E')) {
|
315
|
+
if (!Emit(")")) return false;
|
316
|
+
continue;
|
317
|
+
}
|
318
|
+
|
319
|
+
// For longer tuples we write (x, y, z, ...), printing none of the
|
320
|
+
// content of the fourth and later types. Thus we avoid exhausting
|
321
|
+
// output buffers and human readers' patience when some library has a
|
322
|
+
// long tuple as an implementation detail, without having to
|
323
|
+
// completely obfuscate all tuples.
|
324
|
+
if (!Emit(", ...)")) return false;
|
325
|
+
++silence_depth_;
|
326
|
+
while (!Eat('E')) {
|
327
|
+
ABSL_DEMANGLER_RECURSE(type, kAfterSubsequentTupleElement);
|
328
|
+
}
|
329
|
+
--silence_depth_;
|
330
|
+
continue;
|
331
|
+
|
332
|
+
// fn-type -> F fn-sig (F already consumed)
|
333
|
+
// fn-sig -> binder? U? (K abi)? type* E type
|
334
|
+
// abi -> C | undisambiguated-identifier
|
335
|
+
//
|
336
|
+
// We follow the C++ demangler in suppressing details of function
|
337
|
+
// signatures. Every function type is rendered "fn...".
|
338
|
+
fn_type:
|
339
|
+
if (!Emit("fn...")) return false;
|
340
|
+
++silence_depth_;
|
341
|
+
if (!ParseOptionalBinder()) return false;
|
342
|
+
(void)Eat('U');
|
343
|
+
if (Eat('K')) {
|
344
|
+
if (!Eat('C') && !ParseUndisambiguatedIdentifier()) return false;
|
345
|
+
}
|
346
|
+
while (!Eat('E')) {
|
347
|
+
ABSL_DEMANGLER_RECURSE(type, kContinueParameterList);
|
348
|
+
}
|
349
|
+
ABSL_DEMANGLER_RECURSE(type, kFinishFn);
|
350
|
+
--silence_depth_;
|
351
|
+
continue;
|
352
|
+
|
353
|
+
// dyn-trait-type -> D dyn-bounds lifetime (D already consumed)
|
354
|
+
// dyn-bounds -> binder? dyn-trait* E
|
355
|
+
//
|
356
|
+
// The grammar strangely allows an empty trait list, even though the
|
357
|
+
// compiler should never output one. We follow existing demanglers in
|
358
|
+
// rendering DEL_ as "dyn ".
|
359
|
+
//
|
360
|
+
// Because auto traits lengthen a type name considerably without
|
361
|
+
// providing much value to a search for related source code, it would be
|
362
|
+
// desirable to abbreviate
|
363
|
+
// dyn main::Trait + std::marker::Copy + std::marker::Send
|
364
|
+
// to
|
365
|
+
// dyn main::Trait + ...,
|
366
|
+
// eliding the auto traits. But it is difficult to do so correctly, in
|
367
|
+
// part because there is no guarantee that the mangling will list the
|
368
|
+
// main trait first. So we just print all the traits in their order of
|
369
|
+
// appearance in the mangled name.
|
370
|
+
dyn_trait_type:
|
371
|
+
if (!Emit("dyn ")) return false;
|
372
|
+
if (!ParseOptionalBinder()) return false;
|
373
|
+
if (!Eat('E')) {
|
374
|
+
ABSL_DEMANGLER_RECURSE(dyn_trait, kBeginAutoTraits);
|
375
|
+
while (!Eat('E')) {
|
376
|
+
if (!Emit(" + ")) return false;
|
377
|
+
ABSL_DEMANGLER_RECURSE(dyn_trait, kContinueAutoTraits);
|
378
|
+
}
|
379
|
+
}
|
380
|
+
if (!ParseRequiredLifetime()) return false;
|
381
|
+
continue;
|
382
|
+
|
383
|
+
// dyn-trait -> path dyn-trait-assoc-binding*
|
384
|
+
// dyn-trait-assoc-binding -> p undisambiguated-identifier type
|
385
|
+
//
|
386
|
+
// We render nonempty binding lists as <>, omitting their contents as
|
387
|
+
// for generic-args.
|
388
|
+
dyn_trait:
|
389
|
+
ABSL_DEMANGLER_RECURSE(path, kContinueDynTrait);
|
390
|
+
if (Peek() == 'p') {
|
391
|
+
if (!Emit("<>")) return false;
|
392
|
+
++silence_depth_;
|
393
|
+
while (Eat('p')) {
|
394
|
+
if (!ParseUndisambiguatedIdentifier()) return false;
|
395
|
+
ABSL_DEMANGLER_RECURSE(type, kContinueAssocBinding);
|
396
|
+
}
|
397
|
+
--silence_depth_;
|
398
|
+
}
|
399
|
+
continue;
|
400
|
+
|
401
|
+
// const -> type const-data | p | backref
|
402
|
+
//
|
403
|
+
// const is a C++ keyword, so we use the label `constant` instead.
|
404
|
+
constant:
|
405
|
+
if (Eat('B')) goto const_backref;
|
406
|
+
if (Eat('p')) {
|
407
|
+
if (!Emit("_")) return false;
|
408
|
+
continue;
|
409
|
+
}
|
410
|
+
|
411
|
+
// Scan the type without printing it.
|
412
|
+
//
|
413
|
+
// The Rust language restricts the type of a const generic argument
|
414
|
+
// much more than the mangling grammar does. We do not enforce this.
|
415
|
+
//
|
416
|
+
// We also do not bother printing false, true, 'A', and '\u{abcd}' for
|
417
|
+
// the types bool and char. Because we do not print generic-args
|
418
|
+
// contents, we expect to print constants only in array sizes, and
|
419
|
+
// those should not be bool or char.
|
420
|
+
++silence_depth_;
|
421
|
+
ABSL_DEMANGLER_RECURSE(type, kConstData);
|
422
|
+
--silence_depth_;
|
423
|
+
|
424
|
+
// const-data -> n? hex-digit* _
|
425
|
+
//
|
426
|
+
// Although the grammar doesn't say this, existing demanglers expect
|
427
|
+
// that zero is 0, not an empty digit sequence, and no nonzero value
|
428
|
+
// may have leading zero digits. Also n0_ is accepted and printed as
|
429
|
+
// -0, though a toolchain will probably never write that encoding.
|
430
|
+
if (Eat('n') && !EmitChar('-')) return false;
|
431
|
+
if (!Emit("0x")) return false;
|
432
|
+
if (Eat('0')) {
|
433
|
+
if (!EmitChar('0')) return false;
|
434
|
+
if (!Eat('_')) return false;
|
435
|
+
continue;
|
436
|
+
}
|
437
|
+
while (IsLowerHexDigit(Peek())) {
|
438
|
+
if (!EmitChar(Take())) return false;
|
439
|
+
}
|
440
|
+
if (!Eat('_')) return false;
|
441
|
+
continue;
|
442
|
+
|
443
|
+
// generic-args -> I path generic-arg* E (I already consumed)
|
444
|
+
//
|
445
|
+
// We follow the C++ demangler in omitting all the arguments from the
|
446
|
+
// output, printing only the list opening and closing tokens.
|
447
|
+
generic_args:
|
448
|
+
ABSL_DEMANGLER_RECURSE(path, kBeginGenericArgList);
|
449
|
+
if (!Emit("::<>")) return false;
|
450
|
+
++silence_depth_;
|
451
|
+
while (!Eat('E')) {
|
452
|
+
ABSL_DEMANGLER_RECURSE(generic_arg, kContinueGenericArgList);
|
453
|
+
}
|
454
|
+
--silence_depth_;
|
455
|
+
continue;
|
456
|
+
|
457
|
+
// generic-arg -> lifetime | type | K const
|
458
|
+
generic_arg:
|
459
|
+
if (Peek() == 'L') {
|
460
|
+
if (!ParseOptionalLifetime()) return false;
|
461
|
+
continue;
|
462
|
+
}
|
463
|
+
if (Eat('K')) goto constant;
|
464
|
+
goto type;
|
465
|
+
|
466
|
+
// backref -> B base-62-number (B already consumed)
|
467
|
+
//
|
468
|
+
// The BeginBackref call parses and range-checks the base-62-number. We
|
469
|
+
// always do that much.
|
470
|
+
//
|
471
|
+
// The recursive call parses and prints what the backref points at. We
|
472
|
+
// save CPU and stack by skipping this work if the output would be
|
473
|
+
// suppressed anyway.
|
474
|
+
path_backref:
|
475
|
+
if (!BeginBackref()) return false;
|
476
|
+
if (silence_depth_ == 0) {
|
477
|
+
ABSL_DEMANGLER_RECURSE(path, kPathBackrefEnding);
|
478
|
+
}
|
479
|
+
EndBackref();
|
480
|
+
continue;
|
481
|
+
|
482
|
+
// This represents the same backref production as in path_backref but
|
483
|
+
// parses the target as a type instead of a path.
|
484
|
+
type_backref:
|
485
|
+
if (!BeginBackref()) return false;
|
486
|
+
if (silence_depth_ == 0) {
|
487
|
+
ABSL_DEMANGLER_RECURSE(type, kTypeBackrefEnding);
|
488
|
+
}
|
489
|
+
EndBackref();
|
490
|
+
continue;
|
491
|
+
|
492
|
+
const_backref:
|
493
|
+
if (!BeginBackref()) return false;
|
494
|
+
if (silence_depth_ == 0) {
|
495
|
+
ABSL_DEMANGLER_RECURSE(constant, kConstantBackrefEnding);
|
496
|
+
}
|
497
|
+
EndBackref();
|
498
|
+
continue;
|
499
|
+
}
|
500
|
+
}
|
501
|
+
|
502
|
+
return false; // hit iteration limit or a bug in our stack handling
|
503
|
+
}
|
504
|
+
|
505
|
+
private:
|
506
|
+
// Enumerates resumption points for ABSL_DEMANGLER_RECURSE calls.
|
507
|
+
enum ReturnAddress : uint8_t {
|
508
|
+
kInstantiatingCrate,
|
509
|
+
kVendorSpecificSuffix,
|
510
|
+
kIdentifierInUppercaseNamespace,
|
511
|
+
kIdentifierInLowercaseNamespace,
|
512
|
+
kInherentImplType,
|
513
|
+
kInherentImplEnding,
|
514
|
+
kTraitImplType,
|
515
|
+
kTraitImplInfix,
|
516
|
+
kTraitImplEnding,
|
517
|
+
kImplPathEnding,
|
518
|
+
kTraitDefinitionInfix,
|
519
|
+
kTraitDefinitionEnding,
|
520
|
+
kArraySize,
|
521
|
+
kFinishArray,
|
522
|
+
kSliceEnding,
|
523
|
+
kAfterFirstTupleElement,
|
524
|
+
kAfterSecondTupleElement,
|
525
|
+
kAfterThirdTupleElement,
|
526
|
+
kAfterSubsequentTupleElement,
|
527
|
+
kContinueParameterList,
|
528
|
+
kFinishFn,
|
529
|
+
kBeginAutoTraits,
|
530
|
+
kContinueAutoTraits,
|
531
|
+
kContinueDynTrait,
|
532
|
+
kContinueAssocBinding,
|
533
|
+
kConstData,
|
534
|
+
kBeginGenericArgList,
|
535
|
+
kContinueGenericArgList,
|
536
|
+
kPathBackrefEnding,
|
537
|
+
kTypeBackrefEnding,
|
538
|
+
kConstantBackrefEnding,
|
539
|
+
};
|
540
|
+
|
541
|
+
// Element counts for the stack arrays. Larger stack sizes accommodate more
|
542
|
+
// deeply nested names at the cost of a larger footprint on the C++ call
|
543
|
+
// stack.
|
544
|
+
enum {
|
545
|
+
// Maximum recursive calls outstanding at one time.
|
546
|
+
kStackSize = 256,
|
547
|
+
|
548
|
+
// Maximum N<uppercase> nested-paths open at once. We do not expect
|
549
|
+
// closures inside closures inside closures as much as functions inside
|
550
|
+
// modules inside other modules, so we can use a smaller array here.
|
551
|
+
kNamespaceStackSize = 64,
|
552
|
+
|
553
|
+
// Maximum number of nested backrefs. We can keep this stack pretty small
|
554
|
+
// because we do not follow backrefs inside generic-args or other contexts
|
555
|
+
// that suppress printing, so deep stacking is unlikely in practice.
|
556
|
+
kPositionStackSize = 16,
|
557
|
+
};
|
558
|
+
|
559
|
+
// Returns the next input character without consuming it.
|
560
|
+
char Peek() const { return encoding_[pos_]; }
|
561
|
+
|
562
|
+
// Consumes and returns the next input character.
|
563
|
+
char Take() { return encoding_[pos_++]; }
|
564
|
+
|
565
|
+
// If the next input character is the given character, consumes it and returns
|
566
|
+
// true; otherwise returns false without consuming a character.
|
567
|
+
ABSL_MUST_USE_RESULT bool Eat(char want) {
|
568
|
+
if (encoding_[pos_] != want) return false;
|
569
|
+
++pos_;
|
570
|
+
return true;
|
571
|
+
}
|
572
|
+
|
573
|
+
// Provided there is enough remaining output space, appends c to the output,
|
574
|
+
// writing a fresh NUL terminator afterward, and returns true. Returns false
|
575
|
+
// if the output buffer had less than two bytes free.
|
576
|
+
ABSL_MUST_USE_RESULT bool EmitChar(char c) {
|
577
|
+
if (silence_depth_ > 0) return true;
|
578
|
+
if (out_end_ - out_ < 2) return false;
|
579
|
+
*out_++ = c;
|
580
|
+
*out_ = '\0';
|
581
|
+
return true;
|
582
|
+
}
|
583
|
+
|
584
|
+
// Provided there is enough remaining output space, appends the C string token
|
585
|
+
// to the output, followed by a NUL character, and returns true. Returns
|
586
|
+
// false if not everything fit into the output buffer.
|
587
|
+
ABSL_MUST_USE_RESULT bool Emit(const char* token) {
|
588
|
+
if (silence_depth_ > 0) return true;
|
589
|
+
const size_t token_length = std::strlen(token);
|
590
|
+
const size_t bytes_to_copy = token_length + 1; // token and final NUL
|
591
|
+
if (static_cast<size_t>(out_end_ - out_) < bytes_to_copy) return false;
|
592
|
+
std::memcpy(out_, token, bytes_to_copy);
|
593
|
+
out_ += token_length;
|
594
|
+
return true;
|
595
|
+
}
|
596
|
+
|
597
|
+
// Provided there is enough remaining output space, appends the decimal form
|
598
|
+
// of disambiguator (if it's nonnegative) or "?" (if it's negative) to the
|
599
|
+
// output, followed by a NUL character, and returns true. Returns false if
|
600
|
+
// not everything fit into the output buffer.
|
601
|
+
ABSL_MUST_USE_RESULT bool EmitDisambiguator(int disambiguator) {
|
602
|
+
if (disambiguator < 0) return EmitChar('?'); // parsed but too large
|
603
|
+
if (disambiguator == 0) return EmitChar('0');
|
604
|
+
// Convert disambiguator to decimal text. Three digits per byte is enough
|
605
|
+
// because 999 > 256. The bound will remain correct even if future
|
606
|
+
// maintenance changes the type of the disambiguator variable.
|
607
|
+
char digits[3 * sizeof(disambiguator)] = {};
|
608
|
+
size_t leading_digit_index = sizeof(digits) - 1;
|
609
|
+
for (; disambiguator > 0; disambiguator /= 10) {
|
610
|
+
digits[--leading_digit_index] =
|
611
|
+
static_cast<char>('0' + disambiguator % 10);
|
612
|
+
}
|
613
|
+
return Emit(digits + leading_digit_index);
|
614
|
+
}
|
615
|
+
|
616
|
+
// Consumes an optional disambiguator (s123_) from the input.
|
617
|
+
//
|
618
|
+
// On success returns true and fills value with the encoded value if it was
|
619
|
+
// not too big, otherwise with -1. If the optional disambiguator was omitted,
|
620
|
+
// value is 0. On parse failure returns false and sets value to -1.
|
621
|
+
ABSL_MUST_USE_RESULT bool ParseDisambiguator(int& value) {
|
622
|
+
value = -1;
|
623
|
+
|
624
|
+
// disambiguator = s base-62-number
|
625
|
+
//
|
626
|
+
// Disambiguators are optional. An omitted disambiguator is zero.
|
627
|
+
if (!Eat('s')) {
|
628
|
+
value = 0;
|
629
|
+
return true;
|
630
|
+
}
|
631
|
+
int base_62_value = 0;
|
632
|
+
if (!ParseBase62Number(base_62_value)) return false;
|
633
|
+
value = base_62_value < 0 ? -1 : base_62_value + 1;
|
634
|
+
return true;
|
635
|
+
}
|
636
|
+
|
637
|
+
// Consumes a base-62 number like _ or 123_ from the input.
|
638
|
+
//
|
639
|
+
// On success returns true and fills value with the encoded value if it was
|
640
|
+
// not too big, otherwise with -1. On parse failure returns false and sets
|
641
|
+
// value to -1.
|
642
|
+
ABSL_MUST_USE_RESULT bool ParseBase62Number(int& value) {
|
643
|
+
value = -1;
|
644
|
+
|
645
|
+
// base-62-number = (digit | lower | upper)* _
|
646
|
+
//
|
647
|
+
// An empty base-62 digit sequence means 0.
|
648
|
+
if (Eat('_')) {
|
649
|
+
value = 0;
|
650
|
+
return true;
|
651
|
+
}
|
652
|
+
|
653
|
+
// A nonempty digit sequence denotes its base-62 value plus 1.
|
654
|
+
int encoded_number = 0;
|
655
|
+
bool overflowed = false;
|
656
|
+
while (IsAlpha(Peek()) || IsDigit(Peek())) {
|
657
|
+
const char c = Take();
|
658
|
+
if (encoded_number >= std::numeric_limits<int>::max()/62) {
|
659
|
+
// If we are close to overflowing an int, keep parsing but stop updating
|
660
|
+
// encoded_number and remember to return -1 at the end. The point is to
|
661
|
+
// avoid undefined behavior while parsing crate-root disambiguators,
|
662
|
+
// which are large in practice but not shown in demangling, while
|
663
|
+
// successfully computing closure and shim disambiguators, which are
|
664
|
+
// typically small and are printed out.
|
665
|
+
overflowed = true;
|
666
|
+
} else {
|
667
|
+
int digit;
|
668
|
+
if (IsDigit(c)) {
|
669
|
+
digit = c - '0';
|
670
|
+
} else if (IsLower(c)) {
|
671
|
+
digit = c - 'a' + 10;
|
672
|
+
} else {
|
673
|
+
digit = c - 'A' + 36;
|
674
|
+
}
|
675
|
+
encoded_number = 62 * encoded_number + digit;
|
676
|
+
}
|
677
|
+
}
|
678
|
+
|
679
|
+
if (!Eat('_')) return false;
|
680
|
+
if (!overflowed) value = encoded_number + 1;
|
681
|
+
return true;
|
682
|
+
}
|
683
|
+
|
684
|
+
// Consumes an identifier from the input, returning true on success.
|
685
|
+
//
|
686
|
+
// A nonzero uppercase_namespace specifies the character after the N in a
|
687
|
+
// nested-identifier, e.g., 'C' for a closure, allowing ParseIdentifier to
|
688
|
+
// write out the name with the conventional decoration for that namespace.
|
689
|
+
ABSL_MUST_USE_RESULT bool ParseIdentifier(char uppercase_namespace = '\0') {
|
690
|
+
// identifier -> disambiguator? undisambiguated-identifier
|
691
|
+
int disambiguator = 0;
|
692
|
+
if (!ParseDisambiguator(disambiguator)) return false;
|
693
|
+
|
694
|
+
return ParseUndisambiguatedIdentifier(uppercase_namespace, disambiguator);
|
695
|
+
}
|
696
|
+
|
697
|
+
// Consumes from the input an identifier with no preceding disambiguator,
|
698
|
+
// returning true on success.
|
699
|
+
//
|
700
|
+
// When ParseIdentifier calls this, it passes the N<namespace> character and
|
701
|
+
// disambiguator value so that "{closure#42}" and similar forms can be
|
702
|
+
// rendered correctly.
|
703
|
+
//
|
704
|
+
// At other appearances of undisambiguated-identifier in the grammar, this
|
705
|
+
// treatment is not applicable, and the call site omits both arguments.
|
706
|
+
ABSL_MUST_USE_RESULT bool ParseUndisambiguatedIdentifier(
|
707
|
+
char uppercase_namespace = '\0', int disambiguator = 0) {
|
708
|
+
// undisambiguated-identifier -> u? decimal-number _? bytes
|
709
|
+
const bool is_punycoded = Eat('u');
|
710
|
+
if (!IsDigit(Peek())) return false;
|
711
|
+
int num_bytes = 0;
|
712
|
+
if (!ParseDecimalNumber(num_bytes)) return false;
|
713
|
+
(void)Eat('_'); // optional separator, needed if a digit follows
|
714
|
+
if (is_punycoded) {
|
715
|
+
DecodeRustPunycodeOptions options;
|
716
|
+
options.punycode_begin = &encoding_[pos_];
|
717
|
+
options.punycode_end = &encoding_[pos_] + num_bytes;
|
718
|
+
options.out_begin = out_;
|
719
|
+
options.out_end = out_end_;
|
720
|
+
out_ = DecodeRustPunycode(options);
|
721
|
+
if (out_ == nullptr) return false;
|
722
|
+
pos_ += static_cast<size_t>(num_bytes);
|
723
|
+
}
|
724
|
+
|
725
|
+
// Emit the beginnings of braced forms like {shim:vtable#0}.
|
726
|
+
if (uppercase_namespace != '\0') {
|
727
|
+
switch (uppercase_namespace) {
|
728
|
+
case 'C':
|
729
|
+
if (!Emit("{closure")) return false;
|
730
|
+
break;
|
731
|
+
case 'S':
|
732
|
+
if (!Emit("{shim")) return false;
|
733
|
+
break;
|
734
|
+
default:
|
735
|
+
if (!EmitChar('{') || !EmitChar(uppercase_namespace)) return false;
|
736
|
+
break;
|
737
|
+
}
|
738
|
+
if (num_bytes > 0 && !Emit(":")) return false;
|
739
|
+
}
|
740
|
+
|
741
|
+
// Emit the name itself.
|
742
|
+
if (!is_punycoded) {
|
743
|
+
for (int i = 0; i < num_bytes; ++i) {
|
744
|
+
const char c = Take();
|
745
|
+
if (!IsIdentifierChar(c) &&
|
746
|
+
// The spec gives toolchains the choice of Punycode or raw UTF-8 for
|
747
|
+
// identifiers containing code points above 0x7f, so accept bytes
|
748
|
+
// with the high bit set.
|
749
|
+
(c & 0x80) == 0) {
|
750
|
+
return false;
|
751
|
+
}
|
752
|
+
if (!EmitChar(c)) return false;
|
753
|
+
}
|
754
|
+
}
|
755
|
+
|
756
|
+
// Emit the endings of braced forms, e.g., "#42}".
|
757
|
+
if (uppercase_namespace != '\0') {
|
758
|
+
if (!EmitChar('#')) return false;
|
759
|
+
if (!EmitDisambiguator(disambiguator)) return false;
|
760
|
+
if (!EmitChar('}')) return false;
|
761
|
+
}
|
762
|
+
|
763
|
+
return true;
|
764
|
+
}
|
765
|
+
|
766
|
+
// Consumes a decimal number like 0 or 123 from the input. On success returns
|
767
|
+
// true and fills value with the encoded value. If the encoded value is too
|
768
|
+
// large or otherwise unparsable, returns false and sets value to -1.
|
769
|
+
ABSL_MUST_USE_RESULT bool ParseDecimalNumber(int& value) {
|
770
|
+
value = -1;
|
771
|
+
if (!IsDigit(Peek())) return false;
|
772
|
+
int encoded_number = Take() - '0';
|
773
|
+
if (encoded_number == 0) {
|
774
|
+
// Decimal numbers are never encoded with extra leading zeroes.
|
775
|
+
value = 0;
|
776
|
+
return true;
|
777
|
+
}
|
778
|
+
while (IsDigit(Peek()) &&
|
779
|
+
// avoid overflow
|
780
|
+
encoded_number < std::numeric_limits<int>::max()/10) {
|
781
|
+
encoded_number = 10 * encoded_number + (Take() - '0');
|
782
|
+
}
|
783
|
+
if (IsDigit(Peek())) return false; // too big
|
784
|
+
value = encoded_number;
|
785
|
+
return true;
|
786
|
+
}
|
787
|
+
|
788
|
+
// Consumes a binder of higher-ranked lifetimes if one is present. On success
|
789
|
+
// returns true and discards the encoded lifetime count. On parse failure
|
790
|
+
// returns false.
|
791
|
+
ABSL_MUST_USE_RESULT bool ParseOptionalBinder() {
|
792
|
+
// binder -> G base-62-number
|
793
|
+
if (!Eat('G')) return true;
|
794
|
+
int ignored_binding_count;
|
795
|
+
return ParseBase62Number(ignored_binding_count);
|
796
|
+
}
|
797
|
+
|
798
|
+
// Consumes a lifetime if one is present.
|
799
|
+
//
|
800
|
+
// On success returns true and discards the lifetime index. We do not print
|
801
|
+
// or even range-check lifetimes because they are a finer detail than other
|
802
|
+
// things we omit from output, such as the entire contents of generic-args.
|
803
|
+
//
|
804
|
+
// On parse failure returns false.
|
805
|
+
ABSL_MUST_USE_RESULT bool ParseOptionalLifetime() {
|
806
|
+
// lifetime -> L base-62-number
|
807
|
+
if (!Eat('L')) return true;
|
808
|
+
int ignored_de_bruijn_index;
|
809
|
+
return ParseBase62Number(ignored_de_bruijn_index);
|
810
|
+
}
|
811
|
+
|
812
|
+
// Consumes a lifetime just like ParseOptionalLifetime, but returns false if
|
813
|
+
// there is no lifetime here.
|
814
|
+
ABSL_MUST_USE_RESULT bool ParseRequiredLifetime() {
|
815
|
+
if (Peek() != 'L') return false;
|
816
|
+
return ParseOptionalLifetime();
|
817
|
+
}
|
818
|
+
|
819
|
+
// Pushes ns onto the namespace stack and returns true if the stack is not
|
820
|
+
// full, else returns false.
|
821
|
+
ABSL_MUST_USE_RESULT bool PushNamespace(char ns) {
|
822
|
+
if (namespace_depth_ == kNamespaceStackSize) return false;
|
823
|
+
namespace_stack_[namespace_depth_++] = ns;
|
824
|
+
return true;
|
825
|
+
}
|
826
|
+
|
827
|
+
// Pops the last pushed namespace. Requires that the namespace stack is not
|
828
|
+
// empty (namespace_depth_ > 0).
|
829
|
+
char PopNamespace() { return namespace_stack_[--namespace_depth_]; }
|
830
|
+
|
831
|
+
// Pushes position onto the position stack and returns true if the stack is
|
832
|
+
// not full, else returns false.
|
833
|
+
ABSL_MUST_USE_RESULT bool PushPosition(int position) {
|
834
|
+
if (position_depth_ == kPositionStackSize) return false;
|
835
|
+
position_stack_[position_depth_++] = position;
|
836
|
+
return true;
|
837
|
+
}
|
838
|
+
|
839
|
+
// Pops the last pushed input position. Requires that the position stack is
|
840
|
+
// not empty (position_depth_ > 0).
|
841
|
+
int PopPosition() { return position_stack_[--position_depth_]; }
|
842
|
+
|
843
|
+
// Consumes a base-62-number denoting a backref target, pushes the current
|
844
|
+
// input position on the data stack, and sets the input position to the
|
845
|
+
// beginning of the backref target. Returns true on success. Returns false
|
846
|
+
// if parsing failed, the stack is exhausted, or the backref target position
|
847
|
+
// is out of range.
|
848
|
+
ABSL_MUST_USE_RESULT bool BeginBackref() {
|
849
|
+
// backref = B base-62-number (B already consumed)
|
850
|
+
//
|
851
|
+
// Reject backrefs that don't parse, overflow int, or don't point backward.
|
852
|
+
// If the offset looks fine, adjust it to account for the _R prefix.
|
853
|
+
int offset = 0;
|
854
|
+
const int offset_of_this_backref =
|
855
|
+
pos_ - 2 /* _R */ - 1 /* B already consumed */;
|
856
|
+
if (!ParseBase62Number(offset) || offset < 0 ||
|
857
|
+
offset >= offset_of_this_backref) {
|
858
|
+
return false;
|
859
|
+
}
|
860
|
+
offset += 2;
|
861
|
+
|
862
|
+
// Save the old position to restore later.
|
863
|
+
if (!PushPosition(pos_)) return false;
|
864
|
+
|
865
|
+
// Move the input position to the backref target.
|
866
|
+
//
|
867
|
+
// Note that we do not check whether the new position points to the
|
868
|
+
// beginning of a construct matching the context in which the backref
|
869
|
+
// appeared. We just jump to it and see whether nested parsing succeeds.
|
870
|
+
// We therefore accept various wrong manglings, e.g., a type backref
|
871
|
+
// pointing to an 'l' character inside an identifier, which happens to mean
|
872
|
+
// i32 when parsed as a type mangling. This saves the complexity and RAM
|
873
|
+
// footprint of remembering which offsets began which kinds of
|
874
|
+
// substructures. Existing demanglers take similar shortcuts.
|
875
|
+
pos_ = offset;
|
876
|
+
return true;
|
877
|
+
}
|
878
|
+
|
879
|
+
// Cleans up after a backref production by restoring the previous input
|
880
|
+
// position from the data stack.
|
881
|
+
void EndBackref() { pos_ = PopPosition(); }
|
882
|
+
|
883
|
+
// The leftmost recursion_depth_ elements of recursion_stack_ contain the
|
884
|
+
// ReturnAddresses pushed by ABSL_DEMANGLER_RECURSE calls not yet completed.
|
885
|
+
ReturnAddress recursion_stack_[kStackSize] = {};
|
886
|
+
int recursion_depth_ = 0;
|
887
|
+
|
888
|
+
// The leftmost namespace_depth_ elements of namespace_stack_ contain the
|
889
|
+
// uppercase namespace identifiers for open nested-paths, e.g., 'C' for a
|
890
|
+
// closure.
|
891
|
+
char namespace_stack_[kNamespaceStackSize] = {};
|
892
|
+
int namespace_depth_ = 0;
|
893
|
+
|
894
|
+
// The leftmost position_depth_ elements of position_stack_ contain the input
|
895
|
+
// positions to return to after fully printing the targets of backrefs.
|
896
|
+
int position_stack_[kPositionStackSize] = {};
|
897
|
+
int position_depth_ = 0;
|
898
|
+
|
899
|
+
// Anything parsed while silence_depth_ > 0 contributes nothing to the
|
900
|
+
// demangled output. For constructs omitted from the demangling, such as
|
901
|
+
// impl-path and the contents of generic-args, we will increment
|
902
|
+
// silence_depth_ on the way in and decrement silence_depth_ on the way out.
|
903
|
+
int silence_depth_ = 0;
|
904
|
+
|
905
|
+
// Input: encoding_ points to a Rust mangled symbol, and encoding_[pos_] is
|
906
|
+
// the next input character to be scanned.
|
907
|
+
int pos_ = 0;
|
908
|
+
const char* encoding_ = nullptr;
|
909
|
+
|
910
|
+
// Output: *out_ is where the next output character should be written, and
|
911
|
+
// out_end_ points past the last byte of available space.
|
912
|
+
char* out_ = nullptr;
|
913
|
+
char* out_end_ = nullptr;
|
914
|
+
};
|
915
|
+
|
916
|
+
} // namespace
|
917
|
+
|
918
|
+
bool DemangleRustSymbolEncoding(const char* mangled, char* out,
|
919
|
+
size_t out_size) {
|
920
|
+
return RustSymbolParser(mangled, out, out + out_size).Parse();
|
921
|
+
}
|
922
|
+
|
923
|
+
} // namespace debugging_internal
|
924
|
+
ABSL_NAMESPACE_END
|
925
|
+
} // namespace absl
|