grpc 1.59.5 → 1.60.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +753 -716
- data/include/grpc/grpc_security.h +6 -8
- data/include/grpc/impl/channel_arg_names.h +14 -0
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -10
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +20 -28
- data/src/core/ext/filters/client_channel/client_channel.cc +22 -22
- data/src/core/ext/filters/client_channel/client_channel.h +4 -7
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +10 -11
- data/src/core/ext/filters/client_channel/connector.h +2 -3
- data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -1
- data/src/core/ext/filters/client_channel/http_proxy_mapper.cc +90 -23
- data/src/core/ext/filters/client_channel/http_proxy_mapper.h +5 -4
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +7 -6
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +5 -5
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +5 -4
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +15 -13
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +14 -11
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +53 -45
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +18 -18
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +4 -4
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +197 -104
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +385 -29
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +2 -1
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +95 -70
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +3 -5
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +6 -8
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +11 -13
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +1 -2
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +55 -51
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +5 -4
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -1
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +13 -10
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +5 -5
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +252 -162
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +1 -1
- data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +5 -6
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +8 -9
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +23 -22
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +7 -6
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +1 -1
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +3 -3
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +2 -3
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +66 -197
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +28 -43
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +1 -1
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +6 -6
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +8 -17
- data/src/core/ext/filters/client_channel/retry_filter.cc +0 -1
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +0 -1
- data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +7 -13
- data/src/core/ext/filters/client_channel/subchannel.cc +5 -4
- data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -1
- data/src/core/ext/filters/deadline/deadline_filter.cc +8 -23
- data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +1 -0
- data/src/core/ext/filters/http/client/http_client_filter.cc +6 -7
- data/src/core/ext/filters/http/client_authority_filter.cc +13 -15
- data/src/core/ext/filters/http/http_filters_plugin.cc +36 -38
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +0 -4
- data/src/core/ext/filters/http/server/http_server_filter.cc +0 -2
- data/src/core/ext/filters/message_size/message_size_filter.cc +28 -38
- data/src/core/ext/filters/rbac/rbac_filter.cc +8 -8
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +26 -28
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +21 -4
- data/src/core/ext/gcp/metadata_query.cc +0 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +2 -5
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +9 -17
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +177 -132
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +47 -4
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +12 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +24 -1
- data/src/core/ext/transport/chttp2/transport/flow_control.h +57 -0
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +0 -2
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +0 -2
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +0 -2
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +15 -21
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +7 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +37 -29
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +61 -36
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +27 -36
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +4 -6
- data/src/core/ext/transport/chttp2/transport/internal.h +62 -39
- data/src/core/ext/transport/chttp2/transport/parsing.cc +12 -2
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/writing.cc +21 -5
- data/src/core/ext/transport/inproc/inproc_transport.cc +24 -1259
- data/src/core/ext/transport/inproc/inproc_transport.h +0 -4
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
- data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3420 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +612 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +49 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3890 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +729 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +659 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +123 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1830 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +395 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1041 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +224 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2420 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +577 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2245 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +481 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +255 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +66 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +489 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +138 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +857 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +133 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9666 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1667 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1515 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +325 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +118 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +115 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2691 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +555 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +462 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +194 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3943 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +679 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +67 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1469 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +262 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1467 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +267 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +925 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +183 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +347 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +92 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +101 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +422 -0
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +130 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +566 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +137 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +205 -0
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +131 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +270 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +310 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +69 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +98 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +122 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +979 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +198 -0
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +98 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +401 -0
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +104 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +59 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +601 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +214 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +257 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +154 -0
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +74 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +42 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -1
- data/src/core/ext/xds/xds_api.cc +0 -1
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +0 -1
- data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
- data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
- data/src/core/ext/xds/xds_client.cc +1 -0
- data/src/core/ext/xds/xds_client_grpc.h +1 -1
- data/src/core/ext/xds/xds_client_stats.h +1 -2
- data/src/core/ext/xds/xds_cluster.h +2 -0
- data/src/core/ext/xds/xds_common_types.cc +0 -1
- data/src/core/ext/xds/xds_endpoint.cc +86 -45
- data/src/core/ext/xds/xds_endpoint.h +2 -2
- data/src/core/ext/xds/xds_health_status.cc +2 -0
- data/src/core/ext/xds/xds_health_status.h +1 -1
- data/src/core/ext/xds/xds_http_filters.cc +0 -1
- data/src/core/ext/xds/xds_listener.cc +1 -3
- data/src/core/ext/xds/xds_route_config.cc +0 -1
- data/src/core/ext/xds/xds_transport_grpc.cc +1 -0
- data/src/core/lib/address_utils/sockaddr_utils.cc +0 -1
- data/src/core/lib/avl/avl.h +1 -0
- data/src/core/lib/channel/call_tracer.cc +8 -1
- data/src/core/lib/channel/call_tracer.h +7 -0
- data/src/core/lib/channel/channel_args.cc +0 -1
- data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
- data/src/core/lib/channel/channel_stack.cc +9 -1
- data/src/core/lib/channel/channel_stack_builder.h +4 -15
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
- data/src/core/lib/channel/channel_stack_trace.cc +19 -0
- data/src/core/lib/channel/channel_stack_trace.h +24 -0
- data/src/core/lib/channel/channel_trace.cc +1 -1
- data/src/core/lib/channel/connected_channel.cc +89 -76
- data/src/core/lib/channel/context.h +3 -0
- data/src/core/lib/channel/promise_based_filter.cc +6 -2
- data/src/core/lib/channel/promise_based_filter.h +0 -1
- data/src/core/lib/channel/server_call_tracer_filter.cc +2 -9
- data/src/core/lib/channel/status_util.cc +0 -1
- data/src/core/lib/channel/tcp_tracer.h +140 -0
- data/src/core/lib/compression/compression_internal.cc +2 -0
- data/src/core/lib/config/config_vars.cc +0 -1
- data/src/core/lib/config/config_vars_non_generated.cc +0 -2
- data/src/core/lib/config/core_configuration.cc +0 -1
- data/src/core/lib/event_engine/ares_resolver.cc +23 -18
- data/src/core/lib/event_engine/ares_resolver.h +4 -2
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +1 -0
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
- data/src/core/lib/event_engine/event_engine.cc +0 -2
- data/src/core/lib/event_engine/forkable.cc +40 -59
- data/src/core/lib/event_engine/forkable.h +33 -27
- data/src/core/lib/event_engine/grpc_polled_fd.h +23 -4
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +6 -8
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -16
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -11
- data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +12 -4
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +0 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +35 -12
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +19 -15
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +0 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
- data/src/core/lib/event_engine/shim.cc +4 -2
- data/src/core/lib/event_engine/slice_buffer.cc +0 -1
- data/src/core/lib/event_engine/tcp_socket_utils.cc +0 -1
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +20 -6
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +7 -3
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +823 -0
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
- data/src/core/lib/event_engine/windows/win_socket.cc +20 -13
- data/src/core/lib/event_engine/windows/win_socket.h +19 -7
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +32 -33
- data/src/core/lib/event_engine/windows/windows_endpoint.h +1 -1
- data/src/core/lib/event_engine/windows/windows_engine.cc +82 -37
- data/src/core/lib/event_engine/windows/windows_engine.h +16 -2
- data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -0
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -1
- data/src/core/lib/event_engine/work_queue/work_queue.h +4 -0
- data/src/core/lib/experiments/experiments.cc +677 -506
- data/src/core/lib/experiments/experiments.h +342 -253
- data/src/core/lib/gpr/alloc.cc +1 -0
- data/src/core/lib/gprpp/host_port.cc +0 -2
- data/src/core/lib/gprpp/match.h +1 -1
- data/src/core/lib/gprpp/posix/stat.cc +0 -1
- data/src/core/lib/gprpp/ref_counted_string.h +2 -0
- data/src/core/lib/gprpp/status_helper.cc +0 -1
- data/src/core/lib/gprpp/strerror.cc +0 -2
- data/src/core/lib/gprpp/time.cc +0 -1
- data/src/core/lib/gprpp/validation_errors.cc +0 -1
- data/src/core/lib/gprpp/work_serializer.cc +3 -0
- data/src/core/lib/gprpp/xxhash_inline.h +29 -0
- data/src/core/lib/http/format_request.cc +0 -1
- data/src/core/lib/http/httpcli.cc +0 -2
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -0
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -0
- data/src/core/lib/iomgr/tcp_posix.cc +7 -1
- data/src/core/lib/iomgr/timer_manager.cc +7 -1
- data/src/core/lib/iomgr/timer_manager.h +2 -0
- data/src/core/lib/json/json_object_loader.h +0 -1
- data/src/core/lib/json/json_reader.cc +0 -1
- data/src/core/lib/load_balancing/delegating_helper.h +4 -3
- data/src/core/lib/load_balancing/lb_policy.h +8 -5
- data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -1
- data/src/core/lib/matchers/matchers.cc +0 -1
- data/src/core/lib/promise/activity.cc +0 -1
- data/src/core/lib/promise/cancel_callback.h +0 -2
- data/src/core/lib/promise/context.h +0 -1
- data/src/core/lib/promise/detail/promise_factory.h +0 -1
- data/src/core/lib/promise/detail/seq_state.h +0 -1
- data/src/core/lib/promise/for_each.h +0 -2
- data/src/core/lib/promise/if.h +0 -1
- data/src/core/lib/promise/interceptor_list.h +0 -1
- data/src/core/lib/promise/latch.h +0 -2
- data/src/core/lib/promise/loop.h +1 -1
- data/src/core/lib/promise/map.h +0 -1
- data/src/core/lib/promise/party.cc +0 -2
- data/src/core/lib/promise/party.h +0 -1
- data/src/core/lib/promise/pipe.h +4 -3
- data/src/core/lib/promise/prioritized_race.h +0 -1
- data/src/core/lib/promise/promise.h +0 -1
- data/src/core/lib/promise/race.h +0 -1
- data/src/core/lib/promise/seq.h +0 -1
- data/src/core/lib/resolver/endpoint_addresses.cc +148 -0
- data/src/core/lib/resolver/endpoint_addresses.h +116 -0
- data/src/core/lib/resolver/resolver.h +4 -3
- data/src/core/lib/resolver/resolver_registry.cc +0 -2
- data/src/core/lib/resolver/server_address.h +5 -56
- data/src/core/lib/resource_quota/memory_quota.cc +13 -10
- data/src/core/lib/resource_quota/memory_quota.h +2 -11
- data/src/core/lib/security/authorization/audit_logging.cc +0 -1
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +1 -1
- data/src/core/lib/security/authorization/matchers.cc +0 -1
- data/src/core/lib/security/authorization/rbac_policy.cc +0 -2
- data/src/core/lib/security/authorization/stdout_logger.cc +0 -1
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
- data/src/core/lib/security/credentials/composite/composite_credentials.h +1 -1
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +0 -1
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -2
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +0 -2
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +1 -3
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +0 -1
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +1 -2
- data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +0 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +0 -1
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +12 -13
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +18 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +8 -8
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +1 -0
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +0 -15
- data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +0 -1
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +0 -1
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +0 -2
- data/src/core/lib/security/security_connector/ssl_utils.cc +1 -2
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +0 -1
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
- data/src/core/lib/security/transport/client_auth_filter.cc +0 -1
- data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
- data/src/core/lib/security/transport/security_handshaker.cc +1 -3
- data/src/core/lib/security/transport/server_auth_filter.cc +0 -4
- data/src/core/lib/slice/slice.h +6 -1
- data/src/core/lib/surface/builtins.cc +6 -25
- data/src/core/lib/surface/call.cc +41 -7
- data/src/core/lib/surface/call_log_batch.cc +0 -2
- data/src/core/lib/surface/call_trace.cc +0 -1
- data/src/core/lib/surface/channel.cc +4 -5
- data/src/core/lib/surface/channel.h +2 -2
- data/src/core/lib/surface/channel_init.cc +367 -14
- data/src/core/lib/surface/channel_init.h +149 -27
- data/src/core/lib/surface/completion_queue.cc +0 -7
- data/src/core/lib/surface/event_string.cc +0 -1
- data/src/core/lib/surface/init.cc +14 -47
- data/src/core/lib/surface/lame_client.cc +8 -1
- data/src/core/lib/surface/server.cc +235 -78
- data/src/core/lib/surface/server.h +61 -7
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +4 -4
- data/src/core/lib/transport/batch_builder.h +1 -3
- data/src/core/lib/transport/bdp_estimator.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.h +2 -2
- data/src/core/lib/transport/connectivity_state.cc +0 -2
- data/src/core/lib/transport/error_utils.cc +0 -2
- data/src/core/lib/transport/handshaker.cc +0 -2
- data/src/core/lib/transport/metadata_batch.cc +0 -1
- data/src/core/lib/transport/metadata_batch.h +6 -1
- data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
- data/src/core/lib/transport/timeout_encoding.h +2 -2
- data/src/core/lib/transport/transport.cc +10 -48
- data/src/core/lib/transport/transport.h +89 -62
- data/src/core/lib/transport/transport_fwd.h +3 -1
- data/src/core/lib/transport/transport_op_string.cc +0 -2
- data/src/core/lib/uri/uri_parser.cc +0 -1
- data/src/core/plugin_registry/grpc_plugin_registry.cc +2 -0
- data/src/core/tsi/alts/crypt/aes_gcm.cc +137 -109
- data/src/core/tsi/alts/crypt/gsec.h +387 -319
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +4 -6
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -12
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
- data/src/core/tsi/ssl_transport_security.cc +9 -3
- data/src/ruby/bin/math_pb.rb +1 -1
- data/src/ruby/ext/grpc/extconf.rb +77 -15
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -6
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +7 -2
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -2
- data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
- data/third_party/upb/upb/base/descriptor_constants.h +7 -27
- data/third_party/upb/upb/base/internal/log2.h +38 -0
- data/third_party/upb/upb/base/status.c +6 -26
- data/third_party/upb/upb/base/status.h +6 -26
- data/third_party/upb/upb/base/status.hpp +50 -0
- data/third_party/upb/upb/base/string_view.h +11 -28
- data/third_party/upb/upb/collections/array.h +11 -85
- data/third_party/upb/upb/collections/map.h +11 -134
- data/third_party/upb/upb/generated_code_support.h +13 -34
- data/third_party/upb/upb/hash/common.c +7 -44
- data/third_party/upb/upb/hash/common.h +16 -42
- data/third_party/upb/upb/hash/int_table.h +6 -26
- data/third_party/upb/upb/hash/str_table.h +6 -26
- data/third_party/upb/upb/json/decode.c +31 -28
- data/third_party/upb/upb/json/decode.h +32 -29
- data/third_party/upb/upb/json/encode.c +31 -28
- data/third_party/upb/upb/json/encode.h +35 -32
- data/third_party/upb/upb/lex/atoi.c +6 -26
- data/third_party/upb/upb/lex/atoi.h +8 -26
- data/third_party/upb/upb/lex/round_trip.c +6 -26
- data/third_party/upb/upb/lex/round_trip.h +6 -26
- data/third_party/upb/upb/lex/strtod.c +6 -26
- data/third_party/upb/upb/lex/strtod.h +6 -26
- data/third_party/upb/upb/lex/unicode.c +6 -26
- data/third_party/upb/upb/lex/unicode.h +8 -26
- data/third_party/upb/upb/mem/alloc.c +6 -26
- data/third_party/upb/upb/mem/alloc.h +6 -26
- data/third_party/upb/upb/mem/arena.c +30 -29
- data/third_party/upb/upb/mem/arena.h +16 -44
- data/third_party/upb/upb/mem/arena.hpp +54 -0
- data/third_party/upb/upb/mem/internal/arena.h +94 -0
- data/third_party/upb/upb/message/accessors.c +10 -31
- data/third_party/upb/upb/message/accessors.h +12 -32
- data/third_party/upb/upb/message/array.c +154 -0
- data/third_party/upb/upb/message/array.h +98 -0
- data/third_party/upb/upb/message/internal/accessors.h +367 -0
- data/third_party/upb/upb/message/internal/array.h +138 -0
- data/third_party/upb/upb/message/internal/extension.h +63 -0
- data/third_party/upb/upb/message/internal/map.h +173 -0
- data/third_party/upb/upb/message/internal/map_entry.h +35 -33
- data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
- data/third_party/upb/upb/message/internal/message.h +106 -0
- data/third_party/upb/upb/message/internal/types.h +23 -0
- data/third_party/upb/upb/message/map.c +145 -0
- data/third_party/upb/upb/message/map.h +147 -0
- data/third_party/upb/upb/message/map_gencode_util.h +81 -0
- data/third_party/upb/upb/message/map_sorter.c +170 -0
- data/third_party/upb/upb/message/message.c +8 -28
- data/third_party/upb/upb/message/message.h +9 -26
- data/third_party/upb/upb/message/tagged_ptr.h +8 -28
- data/third_party/upb/upb/message/types.h +15 -0
- data/third_party/upb/upb/message/value.h +46 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +6 -26
- data/third_party/upb/upb/mini_descriptor/build_enum.h +7 -28
- data/third_party/upb/upb/mini_descriptor/decode.c +21 -26
- data/third_party/upb/upb/mini_descriptor/decode.h +6 -26
- data/third_party/upb/upb/mini_descriptor/internal/base92.c +6 -26
- data/third_party/upb/upb/mini_descriptor/internal/base92.h +9 -27
- data/third_party/upb/upb/mini_descriptor/internal/decoder.h +6 -26
- data/third_party/upb/upb/mini_descriptor/internal/encode.c +25 -28
- data/third_party/upb/upb/mini_descriptor/internal/encode.h +8 -26
- data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +21 -39
- data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +8 -26
- data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +7 -26
- data/third_party/upb/upb/mini_descriptor/link.c +8 -28
- data/third_party/upb/upb/mini_descriptor/link.h +6 -26
- data/third_party/upb/upb/mini_table/enum.h +14 -26
- data/third_party/upb/upb/mini_table/extension.h +6 -31
- data/third_party/upb/upb/mini_table/extension_registry.c +6 -26
- data/third_party/upb/upb/mini_table/extension_registry.h +7 -27
- data/third_party/upb/upb/mini_table/field.h +6 -26
- data/third_party/upb/upb/mini_table/file.h +6 -26
- data/third_party/upb/upb/mini_table/internal/enum.h +8 -26
- data/third_party/upb/upb/mini_table/internal/extension.h +6 -26
- data/third_party/upb/upb/mini_table/internal/field.h +8 -30
- data/third_party/upb/upb/mini_table/internal/file.h +9 -29
- data/third_party/upb/upb/mini_table/internal/message.c +6 -26
- data/third_party/upb/upb/mini_table/internal/message.h +7 -32
- data/third_party/upb/upb/mini_table/internal/sub.h +6 -27
- data/third_party/upb/upb/mini_table/message.c +6 -26
- data/third_party/upb/upb/mini_table/message.h +6 -26
- data/third_party/upb/upb/mini_table/sub.h +6 -26
- data/third_party/upb/upb/port/atomic.h +8 -26
- data/third_party/upb/upb/port/def.inc +28 -29
- data/third_party/upb/upb/port/undef.inc +8 -26
- data/third_party/upb/upb/port/vsnprintf_compat.h +6 -26
- data/third_party/upb/upb/reflection/common.h +11 -27
- data/third_party/upb/upb/reflection/def.h +8 -26
- data/third_party/upb/upb/reflection/def.hpp +10 -27
- data/third_party/upb/upb/reflection/def_pool.c +16 -35
- data/third_party/upb/upb/reflection/def_pool.h +15 -36
- data/third_party/upb/upb/reflection/def_type.c +6 -26
- data/third_party/upb/upb/reflection/def_type.h +6 -27
- data/third_party/upb/upb/reflection/desc_state.c +7 -27
- data/third_party/upb/upb/reflection/enum_def.c +18 -36
- data/third_party/upb/upb/reflection/enum_def.h +13 -33
- data/third_party/upb/upb/reflection/enum_reserved_range.c +9 -30
- data/third_party/upb/upb/reflection/enum_reserved_range.h +6 -26
- data/third_party/upb/upb/reflection/enum_value_def.c +13 -32
- data/third_party/upb/upb/reflection/enum_value_def.h +8 -28
- data/third_party/upb/upb/reflection/extension_range.c +9 -28
- data/third_party/upb/upb/reflection/extension_range.h +6 -26
- data/third_party/upb/upb/reflection/field_def.c +68 -51
- data/third_party/upb/upb/reflection/field_def.h +25 -42
- data/third_party/upb/upb/reflection/file_def.c +23 -48
- data/third_party/upb/upb/reflection/file_def.h +10 -30
- data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
- data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
- data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
- data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
- data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
- data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
- data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
- data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
- data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
- data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
- data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
- data/third_party/upb/upb/reflection/message.c +8 -28
- data/third_party/upb/upb/reflection/message.h +27 -40
- data/third_party/upb/upb/reflection/message.hpp +5 -23
- data/third_party/upb/upb/reflection/message_def.c +70 -54
- data/third_party/upb/upb/reflection/message_def.h +25 -43
- data/third_party/upb/upb/reflection/message_reserved_range.c +8 -28
- data/third_party/upb/upb/reflection/message_reserved_range.h +6 -26
- data/third_party/upb/upb/reflection/method_def.c +10 -29
- data/third_party/upb/upb/reflection/method_def.h +6 -26
- data/third_party/upb/upb/reflection/oneof_def.c +15 -33
- data/third_party/upb/upb/reflection/oneof_def.h +11 -30
- data/third_party/upb/upb/reflection/service_def.c +12 -31
- data/third_party/upb/upb/reflection/service_def.h +6 -26
- data/third_party/upb/upb/text/encode.c +8 -28
- data/third_party/upb/upb/text/encode.h +6 -26
- data/third_party/upb/upb/upb.hpp +11 -100
- data/third_party/upb/upb/wire/decode.c +39 -40
- data/third_party/upb/upb/wire/decode.h +10 -26
- data/third_party/upb/upb/wire/decode_fast.c +10 -28
- data/third_party/upb/upb/wire/decode_fast.h +6 -26
- data/third_party/upb/upb/wire/encode.c +30 -34
- data/third_party/upb/upb/wire/encode.h +14 -30
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +6 -26
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +6 -26
- data/third_party/upb/upb/wire/internal/constants.h +27 -0
- data/third_party/upb/upb/wire/internal/decode.h +143 -0
- data/third_party/upb/upb/wire/internal/swap.h +45 -0
- data/third_party/upb/upb/wire/reader.c +6 -26
- data/third_party/upb/upb/wire/reader.h +8 -28
- data/third_party/upb/upb/wire/types.h +6 -26
- metadata +845 -683
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -150
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -727
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -181
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -827
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -158
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -735
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -533
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -2788
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -67
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -248
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -75
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -279
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -57
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -160
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -50
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -120
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -50
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -115
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -151
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -927
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -114
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -61
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -126
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -110
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -376
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1764
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -570
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -3249
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -126
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -524
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -730
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3918
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -114
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -124
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -656
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -396
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1841
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -225
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -1046
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -126
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -578
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -2440
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -226
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -1133
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -114
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -69
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -248
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -379
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1699
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -316
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1943
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -141
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -482
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -2256
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -237
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -73
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -231
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -77
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -285
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -67
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -252
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -128
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -139
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -490
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -205
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -867
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -180
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -912
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -51
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -99
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -267
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1592
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -261
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -1451
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -87
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -323
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -78
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -196
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -65
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -179
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -220
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -980
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -251
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -1189
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -349
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1709
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -134
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -859
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1644
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -9590
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -98
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -339
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -326
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1522
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -115
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -114
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -74
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -188
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -197
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -82
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -405
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -114
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -99
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -86
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -251
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -34
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -40
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -88
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -253
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -66
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -196
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +0 -556
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +0 -2702
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -131
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -117
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -429
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -142
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -656
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -88
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -263
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -102
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -460
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -73
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -193
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -680
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -3965
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -51
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -99
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -68
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -238
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -136
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -491
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +0 -45
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +0 -85
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -69
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -249
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -51
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -99
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -29
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -35
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -263
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -1471
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -109
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -361
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -268
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1474
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -73
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -216
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -39
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -70
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -403
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -2153
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -85
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -323
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -183
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -915
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -129
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -87
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -313
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -106
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -301
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -77
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -258
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -164
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -127
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -97
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -269
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -44
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -109
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -82
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -304
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -228
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -93
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -346
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -128
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -528
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -140
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -508
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -77
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -226
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -27
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -36
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -145
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -65
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -160
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -85
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -238
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -76
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -229
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -27
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -40
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -50
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -115
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -143
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -41
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -55
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -370
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1756
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -400
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1841
- data/src/core/ext/upb-generated/google/api/http.upb.c +0 -112
- data/src/core/ext/upb-generated/google/api/http.upb.h +0 -499
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -53
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -165
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -47
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -100
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -1327
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -6236
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -47
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -100
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -36
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -70
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -116
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -426
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -47
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -100
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -164
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -517
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -53
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -165
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -107
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -389
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -80
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -238
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -343
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1669
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -70
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -199
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -59
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -146
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -222
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -885
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -93
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -300
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -244
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -1341
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -127
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -333
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -62
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -125
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -39
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -55
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -61
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -132
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -58
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -110
- data/src/core/ext/upb-generated/validate/validate.upb.c +0 -948
- data/src/core/ext/upb-generated/validate/validate.upb.h +0 -6536
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -127
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -333
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -62
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -125
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -39
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -55
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -124
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -344
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -58
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -110
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -46
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -85
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -54
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -114
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -79
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -233
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -63
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -134
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -53
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -114
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -56
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -143
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -85
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -330
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -60
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -144
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -127
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -352
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -53
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -160
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -51
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -99
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -73
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -262
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -37
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -70
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -76
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -281
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -266
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -1114
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -158
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -732
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -59
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -159
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -80
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -304
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -80
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -232
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -83
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -238
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -52
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -114
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -126
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -234
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -111
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -408
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -121
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -151
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -106
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -151
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -237
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -101
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -245
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -76
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -311
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -111
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -81
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -76
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -142
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -81
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -223
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -86
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -316
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -91
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +0 -402
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +0 -111
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -123
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -105
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -602
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -136
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -215
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -101
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -152
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -66
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -96
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -101
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -464
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -181
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -76
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -76
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -146
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -31
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -51
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -81
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -61
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -41
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -46
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -36
- data/src/core/lib/resolver/server_address.cc +0 -89
- data/src/core/lib/transport/transport_impl.h +0 -102
- data/third_party/upb/upb/alloc.h +0 -36
- data/third_party/upb/upb/arena.h +0 -36
- data/third_party/upb/upb/array.h +0 -36
- data/third_party/upb/upb/base/log2.h +0 -57
- data/third_party/upb/upb/collections/array.c +0 -151
- data/third_party/upb/upb/collections/array_internal.h +0 -135
- data/third_party/upb/upb/collections/map.c +0 -142
- data/third_party/upb/upb/collections/map_gencode_util.h +0 -78
- data/third_party/upb/upb/collections/map_internal.h +0 -170
- data/third_party/upb/upb/collections/map_sorter.c +0 -166
- data/third_party/upb/upb/collections/map_sorter_internal.h +0 -109
- data/third_party/upb/upb/collections/message_value.h +0 -72
- data/third_party/upb/upb/decode.h +0 -36
- data/third_party/upb/upb/def.h +0 -36
- data/third_party/upb/upb/def.hpp +0 -33
- data/third_party/upb/upb/encode.h +0 -36
- data/third_party/upb/upb/extension_registry.h +0 -35
- data/third_party/upb/upb/map.h +0 -36
- data/third_party/upb/upb/mem/arena_internal.h +0 -114
- data/third_party/upb/upb/message/accessors_internal.h +0 -391
- data/third_party/upb/upb/message/extension_internal.h +0 -83
- data/third_party/upb/upb/message/internal.h +0 -131
- data/third_party/upb/upb/msg.h +0 -36
- data/third_party/upb/upb/reflection/def_builder.c +0 -357
- data/third_party/upb/upb/reflection/def_builder_internal.h +0 -157
- data/third_party/upb/upb/reflection/def_pool_internal.h +0 -77
- data/third_party/upb/upb/reflection/desc_state_internal.h +0 -64
- data/third_party/upb/upb/reflection/enum_def_internal.h +0 -56
- data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +0 -55
- data/third_party/upb/upb/reflection/enum_value_def_internal.h +0 -57
- data/third_party/upb/upb/reflection/extension_range_internal.h +0 -54
- data/third_party/upb/upb/reflection/field_def_internal.h +0 -76
- data/third_party/upb/upb/reflection/file_def_internal.h +0 -57
- data/third_party/upb/upb/reflection/message_def_internal.h +0 -63
- data/third_party/upb/upb/reflection/message_reserved_range_internal.h +0 -55
- data/third_party/upb/upb/reflection/method_def_internal.h +0 -53
- data/third_party/upb/upb/reflection/oneof_def_internal.h +0 -57
- data/third_party/upb/upb/reflection/service_def_internal.h +0 -53
- data/third_party/upb/upb/reflection.h +0 -36
- data/third_party/upb/upb/reflection.hpp +0 -33
- data/third_party/upb/upb/status.h +0 -36
- data/third_party/upb/upb/string_view.h +0 -36
- data/third_party/upb/upb/text_encode.h +0 -36
- data/third_party/upb/upb/upb.h +0 -39
- data/third_party/upb/upb/wire/common.h +0 -44
- data/third_party/upb/upb/wire/common_internal.h +0 -50
- data/third_party/upb/upb/wire/decode_internal.h +0 -163
- data/third_party/upb/upb/wire/swap_internal.h +0 -63
@@ -0,0 +1,1303 @@
|
|
1
|
+
//
|
2
|
+
//
|
3
|
+
// Copyright 2017 gRPC authors.
|
4
|
+
//
|
5
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
// you may not use this file except in compliance with the License.
|
7
|
+
// You may obtain a copy of the License at
|
8
|
+
//
|
9
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
//
|
11
|
+
// Unless required by applicable law or agreed to in writing, software
|
12
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
// See the License for the specific language governing permissions and
|
15
|
+
// limitations under the License.
|
16
|
+
//
|
17
|
+
//
|
18
|
+
|
19
|
+
#include <grpc/support/port_platform.h>
|
20
|
+
|
21
|
+
#include "src/core/ext/transport/inproc/legacy_inproc_transport.h"
|
22
|
+
|
23
|
+
#include <stddef.h>
|
24
|
+
#include <stdint.h>
|
25
|
+
|
26
|
+
#include <algorithm>
|
27
|
+
#include <memory>
|
28
|
+
#include <new>
|
29
|
+
#include <string>
|
30
|
+
#include <utility>
|
31
|
+
|
32
|
+
#include "absl/status/status.h"
|
33
|
+
#include "absl/status/statusor.h"
|
34
|
+
#include "absl/strings/str_cat.h"
|
35
|
+
#include "absl/strings/string_view.h"
|
36
|
+
#include "absl/types/optional.h"
|
37
|
+
|
38
|
+
#include <grpc/grpc.h>
|
39
|
+
#include <grpc/impl/channel_arg_names.h>
|
40
|
+
#include <grpc/impl/connectivity_state.h>
|
41
|
+
#include <grpc/status.h>
|
42
|
+
#include <grpc/support/alloc.h>
|
43
|
+
#include <grpc/support/log.h>
|
44
|
+
#include <grpc/support/sync.h>
|
45
|
+
|
46
|
+
#include "src/core/lib/channel/channel_args.h"
|
47
|
+
#include "src/core/lib/channel/channel_args_preconditioning.h"
|
48
|
+
#include "src/core/lib/channel/channelz.h"
|
49
|
+
#include "src/core/lib/config/core_configuration.h"
|
50
|
+
#include "src/core/lib/gprpp/debug_location.h"
|
51
|
+
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
52
|
+
#include "src/core/lib/gprpp/status_helper.h"
|
53
|
+
#include "src/core/lib/gprpp/time.h"
|
54
|
+
#include "src/core/lib/iomgr/closure.h"
|
55
|
+
#include "src/core/lib/iomgr/endpoint.h"
|
56
|
+
#include "src/core/lib/iomgr/error.h"
|
57
|
+
#include "src/core/lib/iomgr/exec_ctx.h"
|
58
|
+
#include "src/core/lib/iomgr/iomgr_fwd.h"
|
59
|
+
#include "src/core/lib/resource_quota/arena.h"
|
60
|
+
#include "src/core/lib/slice/slice.h"
|
61
|
+
#include "src/core/lib/slice/slice_buffer.h"
|
62
|
+
#include "src/core/lib/surface/api_trace.h"
|
63
|
+
#include "src/core/lib/surface/channel.h"
|
64
|
+
#include "src/core/lib/surface/channel_stack_type.h"
|
65
|
+
#include "src/core/lib/surface/server.h"
|
66
|
+
#include "src/core/lib/transport/connectivity_state.h"
|
67
|
+
#include "src/core/lib/transport/metadata_batch.h"
|
68
|
+
#include "src/core/lib/transport/transport.h"
|
69
|
+
|
70
|
+
#define INPROC_LOG(...) \
|
71
|
+
do { \
|
72
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { \
|
73
|
+
gpr_log(__VA_ARGS__); \
|
74
|
+
} \
|
75
|
+
} while (0)
|
76
|
+
|
77
|
+
namespace {
|
78
|
+
struct inproc_stream;
|
79
|
+
bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error);
|
80
|
+
void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error);
|
81
|
+
void op_state_machine_locked(inproc_stream* s, grpc_error_handle error);
|
82
|
+
void log_metadata(const grpc_metadata_batch* md_batch, bool is_client,
|
83
|
+
bool is_initial);
|
84
|
+
void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata,
|
85
|
+
grpc_metadata_batch* out_md, bool* markfilled);
|
86
|
+
|
87
|
+
void ResetSendMessage(grpc_transport_stream_op_batch* batch) {
|
88
|
+
std::exchange(batch->payload->send_message.send_message, nullptr)->Clear();
|
89
|
+
}
|
90
|
+
|
91
|
+
struct shared_mu {
|
92
|
+
shared_mu() {
|
93
|
+
// Share one lock between both sides since both sides get affected
|
94
|
+
gpr_mu_init(&mu);
|
95
|
+
gpr_ref_init(&refs, 2);
|
96
|
+
}
|
97
|
+
|
98
|
+
~shared_mu() { gpr_mu_destroy(&mu); }
|
99
|
+
|
100
|
+
gpr_mu mu;
|
101
|
+
gpr_refcount refs;
|
102
|
+
};
|
103
|
+
|
104
|
+
struct inproc_transport final : public grpc_core::Transport,
|
105
|
+
public grpc_core::FilterStackTransport {
|
106
|
+
inproc_transport(shared_mu* mu, bool is_client)
|
107
|
+
: mu(mu),
|
108
|
+
is_client(is_client),
|
109
|
+
state_tracker(is_client ? "inproc_client" : "inproc_server",
|
110
|
+
GRPC_CHANNEL_READY) {
|
111
|
+
// Start each side of transport with 2 refs since they each have a ref
|
112
|
+
// to the other
|
113
|
+
gpr_ref_init(&refs, 2);
|
114
|
+
}
|
115
|
+
|
116
|
+
~inproc_transport() override {
|
117
|
+
if (gpr_unref(&mu->refs)) {
|
118
|
+
mu->~shared_mu();
|
119
|
+
gpr_free(mu);
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
grpc_core::FilterStackTransport* filter_stack_transport() override {
|
124
|
+
return this;
|
125
|
+
}
|
126
|
+
|
127
|
+
grpc_core::ClientTransport* client_transport() override { return nullptr; }
|
128
|
+
grpc_core::ServerTransport* server_transport() override { return nullptr; }
|
129
|
+
|
130
|
+
absl::string_view GetTransportName() const override;
|
131
|
+
void InitStream(grpc_stream* gs, grpc_stream_refcount* refcount,
|
132
|
+
const void* server_data, grpc_core::Arena* arena) override;
|
133
|
+
void SetPollset(grpc_stream* stream, grpc_pollset* pollset) override;
|
134
|
+
void SetPollsetSet(grpc_stream* stream,
|
135
|
+
grpc_pollset_set* pollset_set) override;
|
136
|
+
void PerformOp(grpc_transport_op* op) override;
|
137
|
+
grpc_endpoint* GetEndpoint() override;
|
138
|
+
|
139
|
+
size_t SizeOfStream() const override;
|
140
|
+
bool HackyDisableStreamOpBatchCoalescingInConnectedChannel() const override {
|
141
|
+
return true;
|
142
|
+
}
|
143
|
+
|
144
|
+
void PerformStreamOp(grpc_stream* gs,
|
145
|
+
grpc_transport_stream_op_batch* op) override;
|
146
|
+
void DestroyStream(grpc_stream* gs,
|
147
|
+
grpc_closure* then_schedule_closure) override;
|
148
|
+
|
149
|
+
void Orphan() override;
|
150
|
+
|
151
|
+
void ref() {
|
152
|
+
INPROC_LOG(GPR_INFO, "ref_transport %p", this);
|
153
|
+
gpr_ref(&refs);
|
154
|
+
}
|
155
|
+
|
156
|
+
void unref() {
|
157
|
+
INPROC_LOG(GPR_INFO, "unref_transport %p", this);
|
158
|
+
if (!gpr_unref(&refs)) {
|
159
|
+
return;
|
160
|
+
}
|
161
|
+
INPROC_LOG(GPR_INFO, "really_destroy_transport %p", this);
|
162
|
+
this->~inproc_transport();
|
163
|
+
gpr_free(this);
|
164
|
+
}
|
165
|
+
|
166
|
+
shared_mu* mu;
|
167
|
+
gpr_refcount refs;
|
168
|
+
bool is_client;
|
169
|
+
grpc_core::ConnectivityStateTracker state_tracker;
|
170
|
+
void (*accept_stream_cb)(void* user_data, grpc_core::Transport* transport,
|
171
|
+
const void* server_data);
|
172
|
+
void (*registered_method_matcher_cb)(
|
173
|
+
void* user_data, grpc_core::ServerMetadata* metadata) = nullptr;
|
174
|
+
void* accept_stream_data;
|
175
|
+
bool is_closed = false;
|
176
|
+
struct inproc_transport* other_side;
|
177
|
+
struct inproc_stream* stream_list = nullptr;
|
178
|
+
};
|
179
|
+
|
180
|
+
struct inproc_stream {
|
181
|
+
inproc_stream(inproc_transport* t, grpc_stream_refcount* refcount,
|
182
|
+
const void* server_data, grpc_core::Arena* arena)
|
183
|
+
: t(t), refs(refcount), arena(arena) {
|
184
|
+
// Ref this stream right now for ctor and list.
|
185
|
+
ref("inproc_init_stream:init");
|
186
|
+
ref("inproc_init_stream:list");
|
187
|
+
|
188
|
+
stream_list_prev = nullptr;
|
189
|
+
gpr_mu_lock(&t->mu->mu);
|
190
|
+
stream_list_next = t->stream_list;
|
191
|
+
if (t->stream_list) {
|
192
|
+
t->stream_list->stream_list_prev = this;
|
193
|
+
}
|
194
|
+
t->stream_list = this;
|
195
|
+
gpr_mu_unlock(&t->mu->mu);
|
196
|
+
|
197
|
+
if (!server_data) {
|
198
|
+
t->ref();
|
199
|
+
inproc_transport* st = t->other_side;
|
200
|
+
st->ref();
|
201
|
+
other_side = nullptr; // will get filled in soon
|
202
|
+
// Pass the client-side stream address to the server-side for a ref
|
203
|
+
ref("inproc_init_stream:clt"); // ref it now on behalf of server
|
204
|
+
// side to avoid destruction
|
205
|
+
INPROC_LOG(GPR_INFO, "calling accept stream cb %p %p",
|
206
|
+
st->accept_stream_cb, st->accept_stream_data);
|
207
|
+
(*st->accept_stream_cb)(st->accept_stream_data, t, this);
|
208
|
+
} else {
|
209
|
+
// This is the server-side and is being called through accept_stream_cb
|
210
|
+
inproc_stream* cs = const_cast<inproc_stream*>(
|
211
|
+
static_cast<const inproc_stream*>(server_data));
|
212
|
+
other_side = cs;
|
213
|
+
// Ref the server-side stream on behalf of the client now
|
214
|
+
ref("inproc_init_stream:srv");
|
215
|
+
|
216
|
+
// Now we are about to affect the other side, so lock the transport
|
217
|
+
// to make sure that it doesn't get destroyed
|
218
|
+
gpr_mu_lock(&t->mu->mu);
|
219
|
+
cs->other_side = this;
|
220
|
+
// Now transfer from the other side's write_buffer if any to the to_read
|
221
|
+
// buffer
|
222
|
+
if (cs->write_buffer_initial_md_filled) {
|
223
|
+
fill_in_metadata(this, &cs->write_buffer_initial_md,
|
224
|
+
&to_read_initial_md, &to_read_initial_md_filled);
|
225
|
+
deadline = std::min(deadline, cs->write_buffer_deadline);
|
226
|
+
cs->write_buffer_initial_md.Clear();
|
227
|
+
cs->write_buffer_initial_md_filled = false;
|
228
|
+
}
|
229
|
+
if (cs->write_buffer_trailing_md_filled) {
|
230
|
+
fill_in_metadata(this, &cs->write_buffer_trailing_md,
|
231
|
+
&to_read_trailing_md, &to_read_trailing_md_filled);
|
232
|
+
cs->write_buffer_trailing_md.Clear();
|
233
|
+
cs->write_buffer_trailing_md_filled = false;
|
234
|
+
}
|
235
|
+
if (!cs->write_buffer_cancel_error.ok()) {
|
236
|
+
cancel_other_error = cs->write_buffer_cancel_error;
|
237
|
+
cs->write_buffer_cancel_error = absl::OkStatus();
|
238
|
+
maybe_process_ops_locked(this, cancel_other_error);
|
239
|
+
}
|
240
|
+
|
241
|
+
gpr_mu_unlock(&t->mu->mu);
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
~inproc_stream() { t->unref(); }
|
246
|
+
|
247
|
+
#ifndef NDEBUG
|
248
|
+
#define STREAM_REF(refs, reason) grpc_stream_ref(refs, reason)
|
249
|
+
#define STREAM_UNREF(refs, reason) grpc_stream_unref(refs, reason)
|
250
|
+
#else
|
251
|
+
#define STREAM_REF(refs, reason) grpc_stream_ref(refs)
|
252
|
+
#define STREAM_UNREF(refs, reason) grpc_stream_unref(refs)
|
253
|
+
#endif
|
254
|
+
void ref(const char* reason) {
|
255
|
+
INPROC_LOG(GPR_INFO, "ref_stream %p %s", this, reason);
|
256
|
+
STREAM_REF(refs, reason);
|
257
|
+
}
|
258
|
+
|
259
|
+
void unref(const char* reason) {
|
260
|
+
INPROC_LOG(GPR_INFO, "unref_stream %p %s", this, reason);
|
261
|
+
STREAM_UNREF(refs, reason);
|
262
|
+
}
|
263
|
+
#undef STREAM_REF
|
264
|
+
#undef STREAM_UNREF
|
265
|
+
|
266
|
+
inproc_transport* t;
|
267
|
+
grpc_stream_refcount* refs;
|
268
|
+
grpc_core::Arena* arena;
|
269
|
+
|
270
|
+
grpc_metadata_batch to_read_initial_md{arena};
|
271
|
+
bool to_read_initial_md_filled = false;
|
272
|
+
grpc_metadata_batch to_read_trailing_md{arena};
|
273
|
+
bool to_read_trailing_md_filled = false;
|
274
|
+
bool ops_needed = false;
|
275
|
+
// Write buffer used only during gap at init time when client-side
|
276
|
+
// stream is set up but server side stream is not yet set up
|
277
|
+
grpc_metadata_batch write_buffer_initial_md{arena};
|
278
|
+
bool write_buffer_initial_md_filled = false;
|
279
|
+
grpc_core::Timestamp write_buffer_deadline =
|
280
|
+
grpc_core::Timestamp::InfFuture();
|
281
|
+
grpc_metadata_batch write_buffer_trailing_md{arena};
|
282
|
+
bool write_buffer_trailing_md_filled = false;
|
283
|
+
grpc_error_handle write_buffer_cancel_error;
|
284
|
+
|
285
|
+
struct inproc_stream* other_side;
|
286
|
+
bool other_side_closed = false; // won't talk anymore
|
287
|
+
bool write_buffer_other_side_closed = false; // on hold
|
288
|
+
|
289
|
+
grpc_transport_stream_op_batch* send_message_op = nullptr;
|
290
|
+
grpc_transport_stream_op_batch* send_trailing_md_op = nullptr;
|
291
|
+
grpc_transport_stream_op_batch* recv_initial_md_op = nullptr;
|
292
|
+
grpc_transport_stream_op_batch* recv_message_op = nullptr;
|
293
|
+
grpc_transport_stream_op_batch* recv_trailing_md_op = nullptr;
|
294
|
+
|
295
|
+
bool initial_md_sent = false;
|
296
|
+
bool trailing_md_sent = false;
|
297
|
+
bool initial_md_recvd = false;
|
298
|
+
bool trailing_md_recvd = false;
|
299
|
+
// The following tracks if the server-side only pretends to have received
|
300
|
+
// trailing metadata since it no longer cares about the RPC. If that is the
|
301
|
+
// case, it is still ok for the client to send trailing metadata (in which
|
302
|
+
// case it will be ignored).
|
303
|
+
bool trailing_md_recvd_implicit_only = false;
|
304
|
+
|
305
|
+
bool closed = false;
|
306
|
+
|
307
|
+
grpc_error_handle cancel_self_error;
|
308
|
+
grpc_error_handle cancel_other_error;
|
309
|
+
|
310
|
+
grpc_core::Timestamp deadline = grpc_core::Timestamp::InfFuture();
|
311
|
+
|
312
|
+
bool listed = true;
|
313
|
+
struct inproc_stream* stream_list_prev;
|
314
|
+
struct inproc_stream* stream_list_next;
|
315
|
+
};
|
316
|
+
|
317
|
+
void log_metadata(const grpc_metadata_batch* md_batch, bool is_client,
|
318
|
+
bool is_initial) {
|
319
|
+
std::string prefix = absl::StrCat(
|
320
|
+
"INPROC:", is_initial ? "HDR:" : "TRL:", is_client ? "CLI:" : "SVR:");
|
321
|
+
md_batch->Log([&prefix](absl::string_view key, absl::string_view value) {
|
322
|
+
gpr_log(GPR_INFO, "%s", absl::StrCat(prefix, key, ": ", value).c_str());
|
323
|
+
});
|
324
|
+
}
|
325
|
+
|
326
|
+
namespace {
|
327
|
+
|
328
|
+
class CopySink {
|
329
|
+
public:
|
330
|
+
explicit CopySink(grpc_metadata_batch* dst) : dst_(dst) {}
|
331
|
+
|
332
|
+
void Encode(const grpc_core::Slice& key, const grpc_core::Slice& value) {
|
333
|
+
dst_->Append(key.as_string_view(), value.AsOwned(),
|
334
|
+
[](absl::string_view, const grpc_core::Slice&) {});
|
335
|
+
}
|
336
|
+
|
337
|
+
template <class T, class V>
|
338
|
+
void Encode(T trait, V value) {
|
339
|
+
dst_->Set(trait, value);
|
340
|
+
}
|
341
|
+
|
342
|
+
template <class T>
|
343
|
+
void Encode(T trait, const grpc_core::Slice& value) {
|
344
|
+
dst_->Set(trait, value.AsOwned());
|
345
|
+
}
|
346
|
+
|
347
|
+
private:
|
348
|
+
grpc_metadata_batch* dst_;
|
349
|
+
};
|
350
|
+
|
351
|
+
} // namespace
|
352
|
+
|
353
|
+
void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata,
|
354
|
+
grpc_metadata_batch* out_md, bool* markfilled) {
|
355
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) {
|
356
|
+
log_metadata(metadata, s->t->is_client,
|
357
|
+
metadata->get_pointer(grpc_core::WaitForReady()) != nullptr);
|
358
|
+
}
|
359
|
+
|
360
|
+
if (markfilled != nullptr) {
|
361
|
+
*markfilled = true;
|
362
|
+
}
|
363
|
+
|
364
|
+
// TODO(ctiller): copy the metadata batch, don't rely on a bespoke copy
|
365
|
+
// function. Can only do this once mdelems are out of the way though, too
|
366
|
+
// many edge cases otherwise.
|
367
|
+
out_md->Clear();
|
368
|
+
CopySink sink(out_md);
|
369
|
+
metadata->Encode(&sink);
|
370
|
+
}
|
371
|
+
|
372
|
+
void inproc_transport::InitStream(grpc_stream* gs,
|
373
|
+
grpc_stream_refcount* refcount,
|
374
|
+
const void* server_data,
|
375
|
+
grpc_core::Arena* arena) {
|
376
|
+
INPROC_LOG(GPR_INFO, "init_stream %p %p %p", this, gs, server_data);
|
377
|
+
new (gs) inproc_stream(this, refcount, server_data, arena);
|
378
|
+
}
|
379
|
+
|
380
|
+
void close_stream_locked(inproc_stream* s) {
|
381
|
+
if (!s->closed) {
|
382
|
+
// Release the metadata that we would have written out
|
383
|
+
s->write_buffer_initial_md.Clear();
|
384
|
+
s->write_buffer_trailing_md.Clear();
|
385
|
+
|
386
|
+
if (s->listed) {
|
387
|
+
inproc_stream* p = s->stream_list_prev;
|
388
|
+
inproc_stream* n = s->stream_list_next;
|
389
|
+
if (p != nullptr) {
|
390
|
+
p->stream_list_next = n;
|
391
|
+
} else {
|
392
|
+
s->t->stream_list = n;
|
393
|
+
}
|
394
|
+
if (n != nullptr) {
|
395
|
+
n->stream_list_prev = p;
|
396
|
+
}
|
397
|
+
s->listed = false;
|
398
|
+
s->unref("close_stream:list");
|
399
|
+
}
|
400
|
+
s->closed = true;
|
401
|
+
s->unref("close_stream:closing");
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
// This function means that we are done talking/listening to the other side
|
406
|
+
void close_other_side_locked(inproc_stream* s, const char* reason) {
|
407
|
+
if (s->other_side != nullptr) {
|
408
|
+
// First release the metadata that came from the other side's arena
|
409
|
+
s->to_read_initial_md.Clear();
|
410
|
+
s->to_read_trailing_md.Clear();
|
411
|
+
|
412
|
+
s->other_side->unref(reason);
|
413
|
+
s->other_side_closed = true;
|
414
|
+
s->other_side = nullptr;
|
415
|
+
} else if (!s->other_side_closed) {
|
416
|
+
s->write_buffer_other_side_closed = true;
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
// Call the on_complete closure associated with this stream_op_batch if
|
421
|
+
// this stream_op_batch is only one of the pending operations for this
|
422
|
+
// stream. This is called when one of the pending operations for the stream
|
423
|
+
// is done and about to be NULLed out
|
424
|
+
void complete_if_batch_end_locked(inproc_stream* s, grpc_error_handle error,
|
425
|
+
grpc_transport_stream_op_batch* op,
|
426
|
+
const char* msg) {
|
427
|
+
int is_sm = static_cast<int>(op == s->send_message_op);
|
428
|
+
int is_stm = static_cast<int>(op == s->send_trailing_md_op);
|
429
|
+
// TODO(vjpai): We should not consider the recv ops here, since they
|
430
|
+
// have their own callbacks. We should invoke a batch's on_complete
|
431
|
+
// as soon as all of the batch's send ops are complete, even if there
|
432
|
+
// are still recv ops pending.
|
433
|
+
int is_rim = static_cast<int>(op == s->recv_initial_md_op);
|
434
|
+
int is_rm = static_cast<int>(op == s->recv_message_op);
|
435
|
+
int is_rtm = static_cast<int>(op == s->recv_trailing_md_op);
|
436
|
+
|
437
|
+
if ((is_sm + is_stm + is_rim + is_rm + is_rtm) == 1) {
|
438
|
+
INPROC_LOG(GPR_INFO, "%s %p %p %p %s", msg, s, op, op->on_complete,
|
439
|
+
grpc_core::StatusToString(error).c_str());
|
440
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_complete, error);
|
441
|
+
}
|
442
|
+
}
|
443
|
+
|
444
|
+
void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error) {
|
445
|
+
if (s && (!error.ok() || s->ops_needed)) {
|
446
|
+
s->ops_needed = false;
|
447
|
+
op_state_machine_locked(s, error);
|
448
|
+
}
|
449
|
+
}
|
450
|
+
|
451
|
+
void fail_helper_locked(inproc_stream* s, grpc_error_handle error) {
|
452
|
+
INPROC_LOG(GPR_INFO, "op_state_machine %p fail_helper", s);
|
453
|
+
// If we're failing this side, we need to make sure that
|
454
|
+
// we also send or have already sent trailing metadata
|
455
|
+
if (!s->trailing_md_sent) {
|
456
|
+
// Send trailing md to the other side indicating cancellation
|
457
|
+
s->trailing_md_sent = true;
|
458
|
+
|
459
|
+
grpc_metadata_batch fake_md(s->arena);
|
460
|
+
inproc_stream* other = s->other_side;
|
461
|
+
grpc_metadata_batch* dest = (other == nullptr)
|
462
|
+
? &s->write_buffer_trailing_md
|
463
|
+
: &other->to_read_trailing_md;
|
464
|
+
bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled
|
465
|
+
: &other->to_read_trailing_md_filled;
|
466
|
+
fill_in_metadata(s, &fake_md, dest, destfilled);
|
467
|
+
|
468
|
+
if (other != nullptr) {
|
469
|
+
if (other->cancel_other_error.ok()) {
|
470
|
+
other->cancel_other_error = error;
|
471
|
+
}
|
472
|
+
maybe_process_ops_locked(other, error);
|
473
|
+
} else if (s->write_buffer_cancel_error.ok()) {
|
474
|
+
s->write_buffer_cancel_error = error;
|
475
|
+
}
|
476
|
+
}
|
477
|
+
if (s->recv_initial_md_op) {
|
478
|
+
grpc_error_handle err;
|
479
|
+
if (!s->t->is_client) {
|
480
|
+
// If this is a server, provide initial metadata with a path and
|
481
|
+
// authority since it expects that as well as no error yet
|
482
|
+
grpc_metadata_batch fake_md(s->arena);
|
483
|
+
fake_md.Set(grpc_core::HttpPathMetadata(),
|
484
|
+
grpc_core::Slice::FromStaticString("/"));
|
485
|
+
fake_md.Set(grpc_core::HttpAuthorityMetadata(),
|
486
|
+
grpc_core::Slice::FromStaticString("inproc-fail"));
|
487
|
+
|
488
|
+
fill_in_metadata(s, &fake_md,
|
489
|
+
s->recv_initial_md_op->payload->recv_initial_metadata
|
490
|
+
.recv_initial_metadata,
|
491
|
+
nullptr);
|
492
|
+
err = absl::OkStatus();
|
493
|
+
} else {
|
494
|
+
err = error;
|
495
|
+
}
|
496
|
+
if (s->recv_initial_md_op->payload->recv_initial_metadata
|
497
|
+
.trailing_metadata_available != nullptr) {
|
498
|
+
// Set to true unconditionally, because we're failing the call, so even
|
499
|
+
// if we haven't actually seen the send_trailing_metadata op from the
|
500
|
+
// other side, we're going to return trailing metadata anyway.
|
501
|
+
*s->recv_initial_md_op->payload->recv_initial_metadata
|
502
|
+
.trailing_metadata_available = true;
|
503
|
+
}
|
504
|
+
INPROC_LOG(GPR_INFO,
|
505
|
+
"fail_helper %p scheduling initial-metadata-ready %s %s", s,
|
506
|
+
grpc_core::StatusToString(error).c_str(),
|
507
|
+
grpc_core::StatusToString(err).c_str());
|
508
|
+
grpc_core::ExecCtx::Run(
|
509
|
+
DEBUG_LOCATION,
|
510
|
+
s->recv_initial_md_op->payload->recv_initial_metadata
|
511
|
+
.recv_initial_metadata_ready,
|
512
|
+
err);
|
513
|
+
// Last use of err so no need to REF and then UNREF it
|
514
|
+
|
515
|
+
complete_if_batch_end_locked(
|
516
|
+
s, error, s->recv_initial_md_op,
|
517
|
+
"fail_helper scheduling recv-initial-metadata-on-complete");
|
518
|
+
s->recv_initial_md_op = nullptr;
|
519
|
+
}
|
520
|
+
if (s->recv_message_op) {
|
521
|
+
INPROC_LOG(GPR_INFO, "fail_helper %p scheduling message-ready %s", s,
|
522
|
+
grpc_core::StatusToString(error).c_str());
|
523
|
+
if (s->recv_message_op->payload->recv_message
|
524
|
+
.call_failed_before_recv_message != nullptr) {
|
525
|
+
*s->recv_message_op->payload->recv_message
|
526
|
+
.call_failed_before_recv_message = true;
|
527
|
+
}
|
528
|
+
grpc_core::ExecCtx::Run(
|
529
|
+
DEBUG_LOCATION,
|
530
|
+
s->recv_message_op->payload->recv_message.recv_message_ready, error);
|
531
|
+
complete_if_batch_end_locked(
|
532
|
+
s, error, s->recv_message_op,
|
533
|
+
"fail_helper scheduling recv-message-on-complete");
|
534
|
+
s->recv_message_op = nullptr;
|
535
|
+
}
|
536
|
+
if (s->send_message_op) {
|
537
|
+
ResetSendMessage(s->send_message_op);
|
538
|
+
complete_if_batch_end_locked(
|
539
|
+
s, error, s->send_message_op,
|
540
|
+
"fail_helper scheduling send-message-on-complete");
|
541
|
+
s->send_message_op = nullptr;
|
542
|
+
}
|
543
|
+
if (s->send_trailing_md_op) {
|
544
|
+
complete_if_batch_end_locked(
|
545
|
+
s, error, s->send_trailing_md_op,
|
546
|
+
"fail_helper scheduling send-trailng-md-on-complete");
|
547
|
+
s->send_trailing_md_op = nullptr;
|
548
|
+
}
|
549
|
+
if (s->recv_trailing_md_op) {
|
550
|
+
INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-metadata-ready %s",
|
551
|
+
s, grpc_core::StatusToString(error).c_str());
|
552
|
+
grpc_core::ExecCtx::Run(
|
553
|
+
DEBUG_LOCATION,
|
554
|
+
s->recv_trailing_md_op->payload->recv_trailing_metadata
|
555
|
+
.recv_trailing_metadata_ready,
|
556
|
+
error);
|
557
|
+
INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-md-on-complete %s",
|
558
|
+
s, grpc_core::StatusToString(error).c_str());
|
559
|
+
complete_if_batch_end_locked(
|
560
|
+
s, error, s->recv_trailing_md_op,
|
561
|
+
"fail_helper scheduling recv-trailing-metadata-on-complete");
|
562
|
+
s->recv_trailing_md_op = nullptr;
|
563
|
+
}
|
564
|
+
close_other_side_locked(s, "fail_helper:other_side");
|
565
|
+
close_stream_locked(s);
|
566
|
+
}
|
567
|
+
|
568
|
+
// TODO(vjpai): It should not be necessary to drain the incoming byte
|
569
|
+
// stream and create a new one; instead, we should simply pass the byte
|
570
|
+
// stream from the sender directly to the receiver as-is.
|
571
|
+
//
|
572
|
+
// Note that fixing this will also avoid the assumption in this code
|
573
|
+
// that the incoming byte stream's next() call will always return
|
574
|
+
// synchronously. That assumption is true today but may not always be
|
575
|
+
// true in the future.
|
576
|
+
void message_transfer_locked(inproc_stream* sender, inproc_stream* receiver) {
|
577
|
+
*receiver->recv_message_op->payload->recv_message.recv_message =
|
578
|
+
std::move(*sender->send_message_op->payload->send_message.send_message);
|
579
|
+
*receiver->recv_message_op->payload->recv_message.flags =
|
580
|
+
sender->send_message_op->payload->send_message.flags;
|
581
|
+
|
582
|
+
INPROC_LOG(GPR_INFO, "message_transfer_locked %p scheduling message-ready",
|
583
|
+
receiver);
|
584
|
+
grpc_core::ExecCtx::Run(
|
585
|
+
DEBUG_LOCATION,
|
586
|
+
receiver->recv_message_op->payload->recv_message.recv_message_ready,
|
587
|
+
absl::OkStatus());
|
588
|
+
complete_if_batch_end_locked(
|
589
|
+
sender, absl::OkStatus(), sender->send_message_op,
|
590
|
+
"message_transfer scheduling sender on_complete");
|
591
|
+
complete_if_batch_end_locked(
|
592
|
+
receiver, absl::OkStatus(), receiver->recv_message_op,
|
593
|
+
"message_transfer scheduling receiver on_complete");
|
594
|
+
|
595
|
+
receiver->recv_message_op = nullptr;
|
596
|
+
sender->send_message_op = nullptr;
|
597
|
+
}
|
598
|
+
|
599
|
+
void op_state_machine_locked(inproc_stream* s, grpc_error_handle error) {
|
600
|
+
// This function gets called when we have contents in the unprocessed reads
|
601
|
+
// Get what we want based on our ops wanted
|
602
|
+
// Schedule our appropriate closures
|
603
|
+
// and then return to ops_needed state if still needed
|
604
|
+
|
605
|
+
grpc_error_handle new_err;
|
606
|
+
|
607
|
+
bool needs_close = false;
|
608
|
+
|
609
|
+
INPROC_LOG(GPR_INFO, "op_state_machine %p", s);
|
610
|
+
// cancellation takes precedence
|
611
|
+
inproc_stream* other = s->other_side;
|
612
|
+
|
613
|
+
if (!s->cancel_self_error.ok()) {
|
614
|
+
fail_helper_locked(s, s->cancel_self_error);
|
615
|
+
goto done;
|
616
|
+
} else if (!s->cancel_other_error.ok()) {
|
617
|
+
fail_helper_locked(s, s->cancel_other_error);
|
618
|
+
goto done;
|
619
|
+
} else if (!error.ok()) {
|
620
|
+
fail_helper_locked(s, error);
|
621
|
+
goto done;
|
622
|
+
}
|
623
|
+
|
624
|
+
if (s->send_message_op && other) {
|
625
|
+
if (other->recv_message_op) {
|
626
|
+
message_transfer_locked(s, other);
|
627
|
+
maybe_process_ops_locked(other, absl::OkStatus());
|
628
|
+
} else if (!s->t->is_client && s->trailing_md_sent) {
|
629
|
+
// A server send will never be matched if the server already sent status
|
630
|
+
ResetSendMessage(s->send_message_op);
|
631
|
+
complete_if_batch_end_locked(
|
632
|
+
s, absl::OkStatus(), s->send_message_op,
|
633
|
+
"op_state_machine scheduling send-message-on-complete case 1");
|
634
|
+
s->send_message_op = nullptr;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
// Pause a send trailing metadata if there is still an outstanding
|
638
|
+
// send message unless we know that the send message will never get
|
639
|
+
// matched to a receive. This happens on the client if the server has
|
640
|
+
// already sent status or on the server if the client has requested
|
641
|
+
// status
|
642
|
+
if (s->send_trailing_md_op &&
|
643
|
+
(!s->send_message_op ||
|
644
|
+
(s->t->is_client &&
|
645
|
+
(s->trailing_md_recvd || s->to_read_trailing_md_filled)) ||
|
646
|
+
(!s->t->is_client && other &&
|
647
|
+
(other->trailing_md_recvd || other->to_read_trailing_md_filled ||
|
648
|
+
other->recv_trailing_md_op)))) {
|
649
|
+
grpc_metadata_batch* dest = (other == nullptr)
|
650
|
+
? &s->write_buffer_trailing_md
|
651
|
+
: &other->to_read_trailing_md;
|
652
|
+
bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled
|
653
|
+
: &other->to_read_trailing_md_filled;
|
654
|
+
if (*destfilled || s->trailing_md_sent) {
|
655
|
+
// The buffer is already in use; that's an error!
|
656
|
+
INPROC_LOG(GPR_INFO, "Extra trailing metadata %p", s);
|
657
|
+
new_err = GRPC_ERROR_CREATE("Extra trailing metadata");
|
658
|
+
fail_helper_locked(s, new_err);
|
659
|
+
goto done;
|
660
|
+
} else {
|
661
|
+
if (!other || !other->closed) {
|
662
|
+
fill_in_metadata(s,
|
663
|
+
s->send_trailing_md_op->payload->send_trailing_metadata
|
664
|
+
.send_trailing_metadata,
|
665
|
+
dest, destfilled);
|
666
|
+
}
|
667
|
+
s->trailing_md_sent = true;
|
668
|
+
if (s->send_trailing_md_op->payload->send_trailing_metadata.sent) {
|
669
|
+
*s->send_trailing_md_op->payload->send_trailing_metadata.sent = true;
|
670
|
+
}
|
671
|
+
if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) {
|
672
|
+
INPROC_LOG(GPR_INFO,
|
673
|
+
"op_state_machine %p scheduling trailing-metadata-ready", s);
|
674
|
+
grpc_core::ExecCtx::Run(
|
675
|
+
DEBUG_LOCATION,
|
676
|
+
s->recv_trailing_md_op->payload->recv_trailing_metadata
|
677
|
+
.recv_trailing_metadata_ready,
|
678
|
+
absl::OkStatus());
|
679
|
+
INPROC_LOG(GPR_INFO,
|
680
|
+
"op_state_machine %p scheduling trailing-md-on-complete", s);
|
681
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION,
|
682
|
+
s->recv_trailing_md_op->on_complete,
|
683
|
+
absl::OkStatus());
|
684
|
+
s->recv_trailing_md_op = nullptr;
|
685
|
+
needs_close = true;
|
686
|
+
}
|
687
|
+
}
|
688
|
+
maybe_process_ops_locked(other, absl::OkStatus());
|
689
|
+
complete_if_batch_end_locked(
|
690
|
+
s, absl::OkStatus(), s->send_trailing_md_op,
|
691
|
+
"op_state_machine scheduling send-trailing-metadata-on-complete");
|
692
|
+
s->send_trailing_md_op = nullptr;
|
693
|
+
}
|
694
|
+
if (s->recv_initial_md_op) {
|
695
|
+
if (s->initial_md_recvd) {
|
696
|
+
new_err = GRPC_ERROR_CREATE("Already recvd initial md");
|
697
|
+
INPROC_LOG(
|
698
|
+
GPR_INFO,
|
699
|
+
"op_state_machine %p scheduling on_complete errors for already "
|
700
|
+
"recvd initial md %s",
|
701
|
+
s, grpc_core::StatusToString(new_err).c_str());
|
702
|
+
fail_helper_locked(s, new_err);
|
703
|
+
goto done;
|
704
|
+
}
|
705
|
+
|
706
|
+
if (s->to_read_initial_md_filled) {
|
707
|
+
s->initial_md_recvd = true;
|
708
|
+
fill_in_metadata(s, &s->to_read_initial_md,
|
709
|
+
s->recv_initial_md_op->payload->recv_initial_metadata
|
710
|
+
.recv_initial_metadata,
|
711
|
+
nullptr);
|
712
|
+
if (s->deadline != grpc_core::Timestamp::InfFuture()) {
|
713
|
+
s->recv_initial_md_op->payload->recv_initial_metadata
|
714
|
+
.recv_initial_metadata->Set(grpc_core::GrpcTimeoutMetadata(),
|
715
|
+
s->deadline);
|
716
|
+
}
|
717
|
+
if (s->recv_initial_md_op->payload->recv_initial_metadata
|
718
|
+
.trailing_metadata_available != nullptr) {
|
719
|
+
*s->recv_initial_md_op->payload->recv_initial_metadata
|
720
|
+
.trailing_metadata_available =
|
721
|
+
(other != nullptr && other->send_trailing_md_op != nullptr);
|
722
|
+
}
|
723
|
+
s->to_read_initial_md.Clear();
|
724
|
+
s->to_read_initial_md_filled = false;
|
725
|
+
if (s->t->registered_method_matcher_cb != nullptr) {
|
726
|
+
s->t->registered_method_matcher_cb(
|
727
|
+
s->t->accept_stream_data,
|
728
|
+
s->recv_initial_md_op->payload->recv_initial_metadata
|
729
|
+
.recv_initial_metadata);
|
730
|
+
}
|
731
|
+
grpc_core::ExecCtx::Run(
|
732
|
+
DEBUG_LOCATION,
|
733
|
+
std::exchange(s->recv_initial_md_op->payload->recv_initial_metadata
|
734
|
+
.recv_initial_metadata_ready,
|
735
|
+
nullptr),
|
736
|
+
absl::OkStatus());
|
737
|
+
complete_if_batch_end_locked(
|
738
|
+
s, absl::OkStatus(), s->recv_initial_md_op,
|
739
|
+
"op_state_machine scheduling recv-initial-metadata-on-complete");
|
740
|
+
s->recv_initial_md_op = nullptr;
|
741
|
+
}
|
742
|
+
}
|
743
|
+
if (s->recv_message_op) {
|
744
|
+
if (other && other->send_message_op) {
|
745
|
+
message_transfer_locked(other, s);
|
746
|
+
maybe_process_ops_locked(other, absl::OkStatus());
|
747
|
+
}
|
748
|
+
}
|
749
|
+
if (s->to_read_trailing_md_filled) {
|
750
|
+
if (s->trailing_md_recvd) {
|
751
|
+
if (s->trailing_md_recvd_implicit_only) {
|
752
|
+
INPROC_LOG(GPR_INFO,
|
753
|
+
"op_state_machine %p already implicitly received trailing "
|
754
|
+
"metadata, so ignoring new trailing metadata from client",
|
755
|
+
s);
|
756
|
+
s->to_read_trailing_md.Clear();
|
757
|
+
s->to_read_trailing_md_filled = false;
|
758
|
+
s->trailing_md_recvd_implicit_only = false;
|
759
|
+
} else {
|
760
|
+
new_err = GRPC_ERROR_CREATE("Already recvd trailing md");
|
761
|
+
INPROC_LOG(
|
762
|
+
GPR_INFO,
|
763
|
+
"op_state_machine %p scheduling on_complete errors for already "
|
764
|
+
"recvd trailing md %s",
|
765
|
+
s, grpc_core::StatusToString(new_err).c_str());
|
766
|
+
fail_helper_locked(s, new_err);
|
767
|
+
goto done;
|
768
|
+
}
|
769
|
+
}
|
770
|
+
if (s->recv_message_op != nullptr) {
|
771
|
+
// This message needs to be wrapped up because it will never be
|
772
|
+
// satisfied
|
773
|
+
s->recv_message_op->payload->recv_message.recv_message->reset();
|
774
|
+
INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s);
|
775
|
+
grpc_core::ExecCtx::Run(
|
776
|
+
DEBUG_LOCATION,
|
777
|
+
s->recv_message_op->payload->recv_message.recv_message_ready,
|
778
|
+
absl::OkStatus());
|
779
|
+
complete_if_batch_end_locked(
|
780
|
+
s, new_err, s->recv_message_op,
|
781
|
+
"op_state_machine scheduling recv-message-on-complete");
|
782
|
+
s->recv_message_op = nullptr;
|
783
|
+
}
|
784
|
+
if ((s->trailing_md_sent || s->t->is_client) && s->send_message_op) {
|
785
|
+
// Nothing further will try to receive from this stream, so finish off
|
786
|
+
// any outstanding send_message op
|
787
|
+
ResetSendMessage(s->send_message_op);
|
788
|
+
s->send_message_op->payload->send_message.stream_write_closed = true;
|
789
|
+
complete_if_batch_end_locked(
|
790
|
+
s, new_err, s->send_message_op,
|
791
|
+
"op_state_machine scheduling send-message-on-complete case 2");
|
792
|
+
s->send_message_op = nullptr;
|
793
|
+
}
|
794
|
+
if (s->recv_trailing_md_op != nullptr) {
|
795
|
+
// We wanted trailing metadata and we got it
|
796
|
+
s->trailing_md_recvd = true;
|
797
|
+
fill_in_metadata(s, &s->to_read_trailing_md,
|
798
|
+
s->recv_trailing_md_op->payload->recv_trailing_metadata
|
799
|
+
.recv_trailing_metadata,
|
800
|
+
nullptr);
|
801
|
+
s->to_read_trailing_md.Clear();
|
802
|
+
s->to_read_trailing_md_filled = false;
|
803
|
+
s->recv_trailing_md_op->payload->recv_trailing_metadata
|
804
|
+
.recv_trailing_metadata->Set(grpc_core::GrpcStatusFromWire(), true);
|
805
|
+
|
806
|
+
// We should schedule the recv_trailing_md_op completion if
|
807
|
+
// 1. this stream is the client-side
|
808
|
+
// 2. this stream is the server-side AND has already sent its trailing md
|
809
|
+
// (If the server hasn't already sent its trailing md, it doesn't
|
810
|
+
// have
|
811
|
+
// a final status, so don't mark this op complete)
|
812
|
+
if (s->t->is_client || s->trailing_md_sent) {
|
813
|
+
grpc_core::ExecCtx::Run(
|
814
|
+
DEBUG_LOCATION,
|
815
|
+
s->recv_trailing_md_op->payload->recv_trailing_metadata
|
816
|
+
.recv_trailing_metadata_ready,
|
817
|
+
absl::OkStatus());
|
818
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION,
|
819
|
+
s->recv_trailing_md_op->on_complete,
|
820
|
+
absl::OkStatus());
|
821
|
+
s->recv_trailing_md_op = nullptr;
|
822
|
+
needs_close = s->trailing_md_sent;
|
823
|
+
}
|
824
|
+
} else if (!s->trailing_md_recvd) {
|
825
|
+
INPROC_LOG(
|
826
|
+
GPR_INFO,
|
827
|
+
"op_state_machine %p has trailing md but not yet waiting for it", s);
|
828
|
+
}
|
829
|
+
}
|
830
|
+
if (!s->t->is_client && s->trailing_md_sent &&
|
831
|
+
(s->recv_trailing_md_op != nullptr)) {
|
832
|
+
// In this case, we don't care to receive the write-close from the client
|
833
|
+
// because we have already sent status and the RPC is over as far as we
|
834
|
+
// are concerned.
|
835
|
+
INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling trailing-md-ready %s",
|
836
|
+
s, grpc_core::StatusToString(new_err).c_str());
|
837
|
+
grpc_core::ExecCtx::Run(
|
838
|
+
DEBUG_LOCATION,
|
839
|
+
s->recv_trailing_md_op->payload->recv_trailing_metadata
|
840
|
+
.recv_trailing_metadata_ready,
|
841
|
+
new_err);
|
842
|
+
complete_if_batch_end_locked(
|
843
|
+
s, new_err, s->recv_trailing_md_op,
|
844
|
+
"op_state_machine scheduling recv-trailing-md-on-complete");
|
845
|
+
s->trailing_md_recvd = true;
|
846
|
+
s->recv_trailing_md_op = nullptr;
|
847
|
+
// Since we are only pretending to have received the trailing MD, it would
|
848
|
+
// be ok (not an error) if the client actually sends it later.
|
849
|
+
s->trailing_md_recvd_implicit_only = true;
|
850
|
+
}
|
851
|
+
if (s->trailing_md_recvd && s->recv_message_op) {
|
852
|
+
// No further message will come on this stream, so finish off the
|
853
|
+
// recv_message_op
|
854
|
+
INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s);
|
855
|
+
s->recv_message_op->payload->recv_message.recv_message->reset();
|
856
|
+
grpc_core::ExecCtx::Run(
|
857
|
+
DEBUG_LOCATION,
|
858
|
+
s->recv_message_op->payload->recv_message.recv_message_ready,
|
859
|
+
absl::OkStatus());
|
860
|
+
complete_if_batch_end_locked(
|
861
|
+
s, new_err, s->recv_message_op,
|
862
|
+
"op_state_machine scheduling recv-message-on-complete");
|
863
|
+
s->recv_message_op = nullptr;
|
864
|
+
}
|
865
|
+
if (s->trailing_md_recvd && s->send_message_op && s->t->is_client) {
|
866
|
+
// Nothing further will try to receive from this stream, so finish off
|
867
|
+
// any outstanding send_message op
|
868
|
+
ResetSendMessage(s->send_message_op);
|
869
|
+
complete_if_batch_end_locked(
|
870
|
+
s, new_err, s->send_message_op,
|
871
|
+
"op_state_machine scheduling send-message-on-complete case 3");
|
872
|
+
s->send_message_op = nullptr;
|
873
|
+
}
|
874
|
+
if (s->send_message_op || s->send_trailing_md_op || s->recv_initial_md_op ||
|
875
|
+
s->recv_message_op || s->recv_trailing_md_op) {
|
876
|
+
// Didn't get the item we wanted so we still need to get
|
877
|
+
// rescheduled
|
878
|
+
INPROC_LOG(
|
879
|
+
GPR_INFO, "op_state_machine %p still needs closure %p %p %p %p %p", s,
|
880
|
+
s->send_message_op, s->send_trailing_md_op, s->recv_initial_md_op,
|
881
|
+
s->recv_message_op, s->recv_trailing_md_op);
|
882
|
+
s->ops_needed = true;
|
883
|
+
}
|
884
|
+
done:
|
885
|
+
if (needs_close) {
|
886
|
+
close_other_side_locked(s, "op_state_machine");
|
887
|
+
close_stream_locked(s);
|
888
|
+
}
|
889
|
+
}
|
890
|
+
|
891
|
+
bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error) {
|
892
|
+
bool ret = false; // was the cancel accepted
|
893
|
+
INPROC_LOG(GPR_INFO, "cancel_stream %p with %s", s,
|
894
|
+
grpc_core::StatusToString(error).c_str());
|
895
|
+
if (s->cancel_self_error.ok()) {
|
896
|
+
ret = true;
|
897
|
+
s->cancel_self_error = error;
|
898
|
+
// Catch current value of other before it gets closed off
|
899
|
+
inproc_stream* other = s->other_side;
|
900
|
+
maybe_process_ops_locked(s, s->cancel_self_error);
|
901
|
+
// Send trailing md to the other side indicating cancellation, even if we
|
902
|
+
// already have
|
903
|
+
s->trailing_md_sent = true;
|
904
|
+
|
905
|
+
grpc_metadata_batch cancel_md(s->arena);
|
906
|
+
|
907
|
+
grpc_metadata_batch* dest = (other == nullptr)
|
908
|
+
? &s->write_buffer_trailing_md
|
909
|
+
: &other->to_read_trailing_md;
|
910
|
+
bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled
|
911
|
+
: &other->to_read_trailing_md_filled;
|
912
|
+
fill_in_metadata(s, &cancel_md, dest, destfilled);
|
913
|
+
|
914
|
+
if (other != nullptr) {
|
915
|
+
if (other->cancel_other_error.ok()) {
|
916
|
+
other->cancel_other_error = s->cancel_self_error;
|
917
|
+
}
|
918
|
+
maybe_process_ops_locked(other, other->cancel_other_error);
|
919
|
+
} else if (s->write_buffer_cancel_error.ok()) {
|
920
|
+
s->write_buffer_cancel_error = s->cancel_self_error;
|
921
|
+
}
|
922
|
+
|
923
|
+
// if we are a server and already received trailing md but
|
924
|
+
// couldn't complete that because we hadn't yet sent out trailing
|
925
|
+
// md, now's the chance
|
926
|
+
if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) {
|
927
|
+
grpc_core::ExecCtx::Run(
|
928
|
+
DEBUG_LOCATION,
|
929
|
+
s->recv_trailing_md_op->payload->recv_trailing_metadata
|
930
|
+
.recv_trailing_metadata_ready,
|
931
|
+
s->cancel_self_error);
|
932
|
+
complete_if_batch_end_locked(
|
933
|
+
s, s->cancel_self_error, s->recv_trailing_md_op,
|
934
|
+
"cancel_stream scheduling trailing-md-on-complete");
|
935
|
+
s->recv_trailing_md_op = nullptr;
|
936
|
+
}
|
937
|
+
}
|
938
|
+
|
939
|
+
close_other_side_locked(s, "cancel_stream:other_side");
|
940
|
+
close_stream_locked(s);
|
941
|
+
|
942
|
+
return ret;
|
943
|
+
}
|
944
|
+
|
945
|
+
void inproc_transport::PerformStreamOp(grpc_stream* gs,
|
946
|
+
grpc_transport_stream_op_batch* op) {
|
947
|
+
INPROC_LOG(GPR_INFO, "perform_stream_op %p %p %p", this, gs, op);
|
948
|
+
inproc_stream* s = reinterpret_cast<inproc_stream*>(gs);
|
949
|
+
gpr_mu* mu = &s->t->mu->mu; // save aside in case s gets closed
|
950
|
+
gpr_mu_lock(mu);
|
951
|
+
|
952
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) {
|
953
|
+
if (op->send_initial_metadata) {
|
954
|
+
log_metadata(op->payload->send_initial_metadata.send_initial_metadata,
|
955
|
+
s->t->is_client, true);
|
956
|
+
}
|
957
|
+
if (op->send_trailing_metadata) {
|
958
|
+
log_metadata(op->payload->send_trailing_metadata.send_trailing_metadata,
|
959
|
+
s->t->is_client, false);
|
960
|
+
}
|
961
|
+
}
|
962
|
+
grpc_error_handle error;
|
963
|
+
grpc_closure* on_complete = op->on_complete;
|
964
|
+
// TODO(roth): This is a hack needed because we use data inside of the
|
965
|
+
// closure itself to do the barrier calculation (i.e., to ensure that
|
966
|
+
// we don't schedule the closure until all ops in the batch have been
|
967
|
+
// completed). This can go away once we move to a new C++ closure API
|
968
|
+
// that provides the ability to create a barrier closure.
|
969
|
+
if (on_complete == nullptr) {
|
970
|
+
on_complete = op->on_complete =
|
971
|
+
grpc_core::NewClosure([](grpc_error_handle) {});
|
972
|
+
}
|
973
|
+
|
974
|
+
if (op->cancel_stream) {
|
975
|
+
// Call cancel_stream_locked without ref'ing the cancel_error because
|
976
|
+
// this function is responsible to make sure that that field gets unref'ed
|
977
|
+
cancel_stream_locked(s, op->payload->cancel_stream.cancel_error);
|
978
|
+
// this op can complete without an error
|
979
|
+
} else if (!s->cancel_self_error.ok()) {
|
980
|
+
// already self-canceled so still give it an error
|
981
|
+
error = s->cancel_self_error;
|
982
|
+
} else {
|
983
|
+
INPROC_LOG(GPR_INFO, "perform_stream_op %p %s%s%s%s%s%s%s", s,
|
984
|
+
s->t->is_client ? "client" : "server",
|
985
|
+
op->send_initial_metadata ? " send_initial_metadata" : "",
|
986
|
+
op->send_message ? " send_message" : "",
|
987
|
+
op->send_trailing_metadata ? " send_trailing_metadata" : "",
|
988
|
+
op->recv_initial_metadata ? " recv_initial_metadata" : "",
|
989
|
+
op->recv_message ? " recv_message" : "",
|
990
|
+
op->recv_trailing_metadata ? " recv_trailing_metadata" : "");
|
991
|
+
}
|
992
|
+
|
993
|
+
inproc_stream* other = s->other_side;
|
994
|
+
if (error.ok() && (op->send_initial_metadata || op->send_trailing_metadata)) {
|
995
|
+
if (s->t->is_closed) {
|
996
|
+
error = GRPC_ERROR_CREATE("Endpoint already shutdown");
|
997
|
+
}
|
998
|
+
if (error.ok() && op->send_initial_metadata) {
|
999
|
+
grpc_metadata_batch* dest = (other == nullptr)
|
1000
|
+
? &s->write_buffer_initial_md
|
1001
|
+
: &other->to_read_initial_md;
|
1002
|
+
bool* destfilled = (other == nullptr) ? &s->write_buffer_initial_md_filled
|
1003
|
+
: &other->to_read_initial_md_filled;
|
1004
|
+
if (*destfilled || s->initial_md_sent) {
|
1005
|
+
// The buffer is already in use; that's an error!
|
1006
|
+
INPROC_LOG(GPR_INFO, "Extra initial metadata %p", s);
|
1007
|
+
error = GRPC_ERROR_CREATE("Extra initial metadata");
|
1008
|
+
} else {
|
1009
|
+
if (!s->other_side_closed) {
|
1010
|
+
fill_in_metadata(
|
1011
|
+
s, op->payload->send_initial_metadata.send_initial_metadata, dest,
|
1012
|
+
destfilled);
|
1013
|
+
}
|
1014
|
+
if (s->t->is_client) {
|
1015
|
+
grpc_core::Timestamp* dl =
|
1016
|
+
(other == nullptr) ? &s->write_buffer_deadline : &other->deadline;
|
1017
|
+
*dl = std::min(
|
1018
|
+
*dl, op->payload->send_initial_metadata.send_initial_metadata
|
1019
|
+
->get(grpc_core::GrpcTimeoutMetadata())
|
1020
|
+
.value_or(grpc_core::Timestamp::InfFuture()));
|
1021
|
+
s->initial_md_sent = true;
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
maybe_process_ops_locked(other, error);
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
if (error.ok() && (op->send_message || op->send_trailing_metadata ||
|
1029
|
+
op->recv_initial_metadata || op->recv_message ||
|
1030
|
+
op->recv_trailing_metadata)) {
|
1031
|
+
// Mark ops that need to be processed by the state machine
|
1032
|
+
if (op->send_message) {
|
1033
|
+
s->send_message_op = op;
|
1034
|
+
}
|
1035
|
+
if (op->send_trailing_metadata) {
|
1036
|
+
s->send_trailing_md_op = op;
|
1037
|
+
}
|
1038
|
+
if (op->recv_initial_metadata) {
|
1039
|
+
s->recv_initial_md_op = op;
|
1040
|
+
}
|
1041
|
+
if (op->recv_message) {
|
1042
|
+
s->recv_message_op = op;
|
1043
|
+
}
|
1044
|
+
if (op->recv_trailing_metadata) {
|
1045
|
+
s->recv_trailing_md_op = op;
|
1046
|
+
}
|
1047
|
+
|
1048
|
+
// We want to initiate the state machine if:
|
1049
|
+
// 1. We want to send a message and the other side wants to receive
|
1050
|
+
// 2. We want to send trailing metadata and there isn't an unmatched send
|
1051
|
+
// or the other side wants trailing metadata
|
1052
|
+
// 3. We want initial metadata and the other side has sent it
|
1053
|
+
// 4. We want to receive a message and there is a message ready
|
1054
|
+
// 5. There is trailing metadata, even if nothing specifically wants
|
1055
|
+
// that because that can shut down the receive message as well
|
1056
|
+
if ((op->send_message && other && other->recv_message_op != nullptr) ||
|
1057
|
+
(op->send_trailing_metadata &&
|
1058
|
+
(!s->send_message_op || (other && other->recv_trailing_md_op))) ||
|
1059
|
+
(op->recv_initial_metadata && s->to_read_initial_md_filled) ||
|
1060
|
+
(op->recv_message && other && other->send_message_op != nullptr) ||
|
1061
|
+
(s->to_read_trailing_md_filled || s->trailing_md_recvd)) {
|
1062
|
+
op_state_machine_locked(s, error);
|
1063
|
+
} else {
|
1064
|
+
s->ops_needed = true;
|
1065
|
+
}
|
1066
|
+
} else {
|
1067
|
+
if (!error.ok()) {
|
1068
|
+
// Consume any send message that was sent here but that we are not
|
1069
|
+
// pushing to the other side
|
1070
|
+
if (op->send_message) {
|
1071
|
+
ResetSendMessage(op);
|
1072
|
+
}
|
1073
|
+
// Schedule op's closures that we didn't push to op state machine
|
1074
|
+
if (op->recv_initial_metadata) {
|
1075
|
+
if (op->payload->recv_initial_metadata.trailing_metadata_available !=
|
1076
|
+
nullptr) {
|
1077
|
+
// Set to true unconditionally, because we're failing the call, so
|
1078
|
+
// even if we haven't actually seen the send_trailing_metadata op
|
1079
|
+
// from the other side, we're going to return trailing metadata
|
1080
|
+
// anyway.
|
1081
|
+
*op->payload->recv_initial_metadata.trailing_metadata_available =
|
1082
|
+
true;
|
1083
|
+
}
|
1084
|
+
INPROC_LOG(
|
1085
|
+
GPR_INFO,
|
1086
|
+
"perform_stream_op error %p scheduling initial-metadata-ready %s",
|
1087
|
+
s, grpc_core::StatusToString(error).c_str());
|
1088
|
+
grpc_core::ExecCtx::Run(
|
1089
|
+
DEBUG_LOCATION,
|
1090
|
+
op->payload->recv_initial_metadata.recv_initial_metadata_ready,
|
1091
|
+
error);
|
1092
|
+
}
|
1093
|
+
if (op->recv_message) {
|
1094
|
+
INPROC_LOG(
|
1095
|
+
GPR_INFO,
|
1096
|
+
"perform_stream_op error %p scheduling recv message-ready %s", s,
|
1097
|
+
grpc_core::StatusToString(error).c_str());
|
1098
|
+
if (op->payload->recv_message.call_failed_before_recv_message !=
|
1099
|
+
nullptr) {
|
1100
|
+
*op->payload->recv_message.call_failed_before_recv_message = true;
|
1101
|
+
}
|
1102
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION,
|
1103
|
+
op->payload->recv_message.recv_message_ready,
|
1104
|
+
error);
|
1105
|
+
}
|
1106
|
+
if (op->recv_trailing_metadata) {
|
1107
|
+
INPROC_LOG(GPR_INFO,
|
1108
|
+
"perform_stream_op error %p scheduling "
|
1109
|
+
"trailing-metadata-ready %s",
|
1110
|
+
s, grpc_core::StatusToString(error).c_str());
|
1111
|
+
grpc_core::ExecCtx::Run(
|
1112
|
+
DEBUG_LOCATION,
|
1113
|
+
op->payload->recv_trailing_metadata.recv_trailing_metadata_ready,
|
1114
|
+
error);
|
1115
|
+
}
|
1116
|
+
}
|
1117
|
+
INPROC_LOG(GPR_INFO, "perform_stream_op %p scheduling on_complete %s", s,
|
1118
|
+
grpc_core::StatusToString(error).c_str());
|
1119
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_complete, error);
|
1120
|
+
}
|
1121
|
+
gpr_mu_unlock(mu);
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
void close_transport_locked(inproc_transport* t) {
|
1125
|
+
INPROC_LOG(GPR_INFO, "close_transport %p %d", t, t->is_closed);
|
1126
|
+
t->state_tracker.SetState(GRPC_CHANNEL_SHUTDOWN, absl::Status(),
|
1127
|
+
"close transport");
|
1128
|
+
if (!t->is_closed) {
|
1129
|
+
t->is_closed = true;
|
1130
|
+
// Also end all streams on this transport
|
1131
|
+
while (t->stream_list != nullptr) {
|
1132
|
+
// cancel_stream_locked also adjusts stream list
|
1133
|
+
cancel_stream_locked(
|
1134
|
+
t->stream_list,
|
1135
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("Transport closed"),
|
1136
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1137
|
+
GRPC_STATUS_UNAVAILABLE));
|
1138
|
+
}
|
1139
|
+
}
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
void inproc_transport::PerformOp(grpc_transport_op* op) {
|
1143
|
+
INPROC_LOG(GPR_INFO, "perform_transport_op %p %p", this, op);
|
1144
|
+
gpr_mu_lock(&mu->mu);
|
1145
|
+
if (op->start_connectivity_watch != nullptr) {
|
1146
|
+
state_tracker.AddWatcher(op->start_connectivity_watch_state,
|
1147
|
+
std::move(op->start_connectivity_watch));
|
1148
|
+
}
|
1149
|
+
if (op->stop_connectivity_watch != nullptr) {
|
1150
|
+
state_tracker.RemoveWatcher(op->stop_connectivity_watch);
|
1151
|
+
}
|
1152
|
+
if (op->set_accept_stream) {
|
1153
|
+
accept_stream_cb = op->set_accept_stream_fn;
|
1154
|
+
registered_method_matcher_cb = op->set_registered_method_matcher_fn;
|
1155
|
+
accept_stream_data = op->set_accept_stream_user_data;
|
1156
|
+
}
|
1157
|
+
if (op->on_consumed) {
|
1158
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
|
1159
|
+
}
|
1160
|
+
|
1161
|
+
bool do_close = false;
|
1162
|
+
if (!op->goaway_error.ok()) {
|
1163
|
+
do_close = true;
|
1164
|
+
}
|
1165
|
+
if (!op->disconnect_with_error.ok()) {
|
1166
|
+
do_close = true;
|
1167
|
+
}
|
1168
|
+
|
1169
|
+
if (do_close) {
|
1170
|
+
close_transport_locked(this);
|
1171
|
+
}
|
1172
|
+
gpr_mu_unlock(&mu->mu);
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
void inproc_transport::DestroyStream(grpc_stream* gs,
|
1176
|
+
grpc_closure* then_schedule_closure) {
|
1177
|
+
INPROC_LOG(GPR_INFO, "destroy_stream %p %p", gs, then_schedule_closure);
|
1178
|
+
inproc_stream* s = reinterpret_cast<inproc_stream*>(gs);
|
1179
|
+
gpr_mu_lock(&mu->mu);
|
1180
|
+
close_stream_locked(s);
|
1181
|
+
gpr_mu_unlock(&mu->mu);
|
1182
|
+
s->~inproc_stream();
|
1183
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure,
|
1184
|
+
absl::OkStatus());
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
void inproc_transport::Orphan() {
|
1188
|
+
INPROC_LOG(GPR_INFO, "destroy_transport %p", this);
|
1189
|
+
gpr_mu_lock(&mu->mu);
|
1190
|
+
close_transport_locked(this);
|
1191
|
+
gpr_mu_unlock(&mu->mu);
|
1192
|
+
other_side->unref();
|
1193
|
+
unref();
|
1194
|
+
}
|
1195
|
+
|
1196
|
+
//******************************************************************************
|
1197
|
+
// INTEGRATION GLUE
|
1198
|
+
//
|
1199
|
+
|
1200
|
+
size_t inproc_transport::SizeOfStream() const { return sizeof(inproc_stream); }
|
1201
|
+
|
1202
|
+
absl::string_view inproc_transport::GetTransportName() const {
|
1203
|
+
return "inproc";
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
void inproc_transport::SetPollset(grpc_stream* /*gs*/,
|
1207
|
+
grpc_pollset* /*pollset*/) {
|
1208
|
+
// Nothing to do here
|
1209
|
+
}
|
1210
|
+
|
1211
|
+
void inproc_transport::SetPollsetSet(grpc_stream* /*gs*/,
|
1212
|
+
grpc_pollset_set* /*pollset_set*/) {
|
1213
|
+
// Nothing to do here
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
grpc_endpoint* inproc_transport::GetEndpoint() { return nullptr; }
|
1217
|
+
|
1218
|
+
//******************************************************************************
|
1219
|
+
// Main inproc transport functions
|
1220
|
+
//
|
1221
|
+
void inproc_transports_create(grpc_core::Transport** server_transport,
|
1222
|
+
grpc_core::Transport** client_transport) {
|
1223
|
+
INPROC_LOG(GPR_INFO, "inproc_transports_create");
|
1224
|
+
shared_mu* mu = new (gpr_malloc(sizeof(*mu))) shared_mu();
|
1225
|
+
inproc_transport* st =
|
1226
|
+
new (gpr_malloc(sizeof(*st))) inproc_transport(mu, /*is_client=*/false);
|
1227
|
+
inproc_transport* ct =
|
1228
|
+
new (gpr_malloc(sizeof(*ct))) inproc_transport(mu, /*is_client=*/true);
|
1229
|
+
st->other_side = ct;
|
1230
|
+
ct->other_side = st;
|
1231
|
+
*server_transport = reinterpret_cast<grpc_core::Transport*>(st);
|
1232
|
+
*client_transport = reinterpret_cast<grpc_core::Transport*>(ct);
|
1233
|
+
}
|
1234
|
+
} // namespace
|
1235
|
+
|
1236
|
+
grpc_channel* grpc_legacy_inproc_channel_create(grpc_server* server,
|
1237
|
+
const grpc_channel_args* args,
|
1238
|
+
void* /*reserved*/) {
|
1239
|
+
GRPC_API_TRACE("grpc_inproc_channel_create(server=%p, args=%p)", 2,
|
1240
|
+
(server, args));
|
1241
|
+
|
1242
|
+
grpc_core::ExecCtx exec_ctx;
|
1243
|
+
|
1244
|
+
grpc_core::Server* core_server = grpc_core::Server::FromC(server);
|
1245
|
+
// Remove max_connection_idle and max_connection_age channel arguments since
|
1246
|
+
// those do not apply to inproc transports.
|
1247
|
+
grpc_core::ChannelArgs server_args =
|
1248
|
+
core_server->channel_args()
|
1249
|
+
.Remove(GRPC_ARG_MAX_CONNECTION_IDLE_MS)
|
1250
|
+
.Remove(GRPC_ARG_MAX_CONNECTION_AGE_MS);
|
1251
|
+
|
1252
|
+
// Add a default authority channel argument for the client
|
1253
|
+
grpc_core::ChannelArgs client_args =
|
1254
|
+
grpc_core::CoreConfiguration::Get()
|
1255
|
+
.channel_args_preconditioning()
|
1256
|
+
.PreconditionChannelArgs(args)
|
1257
|
+
.Set(GRPC_ARG_DEFAULT_AUTHORITY, "inproc.authority");
|
1258
|
+
grpc_core::Transport* server_transport;
|
1259
|
+
grpc_core::Transport* client_transport;
|
1260
|
+
inproc_transports_create(&server_transport, &client_transport);
|
1261
|
+
|
1262
|
+
// TODO(ncteisen): design and support channelz GetSocket for inproc.
|
1263
|
+
grpc_error_handle error = core_server->SetupTransport(
|
1264
|
+
server_transport, nullptr, server_args, nullptr);
|
1265
|
+
grpc_channel* channel = nullptr;
|
1266
|
+
if (error.ok()) {
|
1267
|
+
auto new_channel = grpc_core::Channel::Create(
|
1268
|
+
"inproc", client_args, GRPC_CLIENT_DIRECT_CHANNEL, client_transport);
|
1269
|
+
if (!new_channel.ok()) {
|
1270
|
+
GPR_ASSERT(!channel);
|
1271
|
+
gpr_log(GPR_ERROR, "Failed to create client channel: %s",
|
1272
|
+
grpc_core::StatusToString(error).c_str());
|
1273
|
+
intptr_t integer;
|
1274
|
+
grpc_status_code status = GRPC_STATUS_INTERNAL;
|
1275
|
+
if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus,
|
1276
|
+
&integer)) {
|
1277
|
+
status = static_cast<grpc_status_code>(integer);
|
1278
|
+
}
|
1279
|
+
// client_transport was destroyed when grpc_channel_create_internal saw an
|
1280
|
+
// error.
|
1281
|
+
server_transport->Orphan();
|
1282
|
+
channel = grpc_lame_client_channel_create(
|
1283
|
+
nullptr, status, "Failed to create client channel");
|
1284
|
+
} else {
|
1285
|
+
channel = new_channel->release()->c_ptr();
|
1286
|
+
}
|
1287
|
+
} else {
|
1288
|
+
GPR_ASSERT(!channel);
|
1289
|
+
gpr_log(GPR_ERROR, "Failed to create server channel: %s",
|
1290
|
+
grpc_core::StatusToString(error).c_str());
|
1291
|
+
intptr_t integer;
|
1292
|
+
grpc_status_code status = GRPC_STATUS_INTERNAL;
|
1293
|
+
if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus,
|
1294
|
+
&integer)) {
|
1295
|
+
status = static_cast<grpc_status_code>(integer);
|
1296
|
+
}
|
1297
|
+
client_transport->Orphan();
|
1298
|
+
server_transport->Orphan();
|
1299
|
+
channel = grpc_lame_client_channel_create(
|
1300
|
+
nullptr, status, "Failed to create server channel");
|
1301
|
+
}
|
1302
|
+
return channel;
|
1303
|
+
}
|