grpc 1.59.0 → 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 +767 -716
- data/include/grpc/grpc_crl_provider.h +94 -0
- data/include/grpc/grpc_security.h +16 -0
- data/include/grpc/impl/channel_arg_names.h +14 -0
- data/include/grpc/module.modulemap +1 -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 +21 -19
- 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 +664 -476
- 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 +11 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +9 -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.h +4 -4
- data/src/core/ext/transport/chttp2/transport/internal.h +154 -67
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +114 -15
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +27 -5
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +16 -1
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
- data/src/core/ext/transport/chttp2/transport/writing.cc +169 -81
- 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 +15 -6
- data/src/core/lib/channel/promise_based_filter.h +2 -2
- 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 +711 -318
- data/src/core/lib/experiments/experiments.h +371 -147
- data/src/core/lib/gpr/alloc.cc +1 -0
- data/src/core/lib/gprpp/directory_reader.h +48 -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/directory_reader.cc +82 -0
- 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/windows/directory_reader.cc +80 -0
- 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/combiner.cc +3 -0
- 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 +21 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +23 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +238 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +133 -0
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +9 -1
- 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 +8 -2
- data/src/core/lib/security/security_connector/ssl_utils.h +4 -0
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +3 -3
- 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 +17 -2
- data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
- data/src/core/lib/transport/timeout_encoding.h +2 -2
- data/src/core/lib/transport/transport.cc +10 -48
- data/src/core/lib/transport/transport.h +95 -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 +118 -18
- data/src/core/tsi/ssl_transport_security.h +19 -1
- 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 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +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 +857 -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
@@ -20,11 +20,12 @@
|
|
20
20
|
|
21
21
|
#include <inttypes.h>
|
22
22
|
#include <limits.h>
|
23
|
-
#include <stdio.h>
|
24
23
|
#include <string.h>
|
25
24
|
|
26
25
|
#include <algorithm>
|
27
|
-
#include <
|
26
|
+
#include <atomic>
|
27
|
+
#include <cstddef>
|
28
|
+
#include <limits>
|
28
29
|
#include <memory>
|
29
30
|
#include <new>
|
30
31
|
#include <string>
|
@@ -36,12 +37,14 @@
|
|
36
37
|
#include "absl/container/flat_hash_map.h"
|
37
38
|
#include "absl/hash/hash.h"
|
38
39
|
#include "absl/meta/type_traits.h"
|
40
|
+
#include "absl/random/random.h"
|
39
41
|
#include "absl/status/status.h"
|
40
42
|
#include "absl/strings/cord.h"
|
41
43
|
#include "absl/strings/str_cat.h"
|
42
44
|
#include "absl/strings/str_format.h"
|
43
45
|
#include "absl/strings/string_view.h"
|
44
46
|
#include "absl/types/optional.h"
|
47
|
+
#include "absl/types/variant.h"
|
45
48
|
|
46
49
|
#include <grpc/event_engine/event_engine.h>
|
47
50
|
#include <grpc/grpc.h>
|
@@ -63,12 +66,16 @@
|
|
63
66
|
#include "src/core/ext/transport/chttp2/transport/http_trace.h"
|
64
67
|
#include "src/core/ext/transport/chttp2/transport/internal.h"
|
65
68
|
#include "src/core/ext/transport/chttp2/transport/legacy_frame.h"
|
69
|
+
#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h"
|
66
70
|
#include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h"
|
71
|
+
#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h"
|
67
72
|
#include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h"
|
68
73
|
#include "src/core/ext/transport/chttp2/transport/varint.h"
|
74
|
+
#include "src/core/ext/transport/chttp2/transport/write_size_policy.h"
|
69
75
|
#include "src/core/lib/channel/call_tracer.h"
|
70
76
|
#include "src/core/lib/channel/channel_args.h"
|
71
77
|
#include "src/core/lib/channel/context.h"
|
78
|
+
#include "src/core/lib/channel/tcp_tracer.h"
|
72
79
|
#include "src/core/lib/debug/stats.h"
|
73
80
|
#include "src/core/lib/debug/stats_data.h"
|
74
81
|
#include "src/core/lib/experiments/experiments.h"
|
@@ -100,7 +107,6 @@
|
|
100
107
|
#include "src/core/lib/transport/metadata_batch.h"
|
101
108
|
#include "src/core/lib/transport/status_conversion.h"
|
102
109
|
#include "src/core/lib/transport/transport.h"
|
103
|
-
#include "src/core/lib/transport/transport_impl.h"
|
104
110
|
|
105
111
|
#ifdef GRPC_POSIX_SOCKET_TCP
|
106
112
|
#include "src/core/lib/iomgr/ev_posix.h"
|
@@ -116,6 +122,9 @@
|
|
116
122
|
|
117
123
|
#define DEFAULT_MAX_PENDING_INDUCED_FRAMES 10000
|
118
124
|
|
125
|
+
#define GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT \
|
126
|
+
"grpc.http2.ping_on_rst_stream_percent"
|
127
|
+
|
119
128
|
static grpc_core::Duration g_default_client_keepalive_time =
|
120
129
|
grpc_core::Duration::Infinity();
|
121
130
|
static grpc_core::Duration g_default_client_keepalive_timeout =
|
@@ -127,6 +136,11 @@ static grpc_core::Duration g_default_server_keepalive_timeout =
|
|
127
136
|
static bool g_default_client_keepalive_permit_without_calls = false;
|
128
137
|
static bool g_default_server_keepalive_permit_without_calls = false;
|
129
138
|
|
139
|
+
// EXPERIMENTAL: control tarpitting in chttp2
|
140
|
+
#define GRPC_ARG_HTTP_ALLOW_TARPIT "grpc.http.tarpit"
|
141
|
+
#define GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS "grpc.http.tarpit_min_duration_ms"
|
142
|
+
#define GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS "grpc.http.tarpit_max_duration_ms"
|
143
|
+
|
130
144
|
#define MAX_CLIENT_STREAM_ID 0x7fffffffu
|
131
145
|
grpc_core::TraceFlag grpc_keepalive_trace(false, "http_keepalive");
|
132
146
|
grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount(false,
|
@@ -153,7 +167,7 @@ static void queue_setting_update(grpc_chttp2_transport* t,
|
|
153
167
|
grpc_chttp2_setting_id id, uint32_t value);
|
154
168
|
|
155
169
|
static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
156
|
-
grpc_error_handle error);
|
170
|
+
grpc_error_handle error, bool tarpit);
|
157
171
|
|
158
172
|
// Start new streams that have been created if we can
|
159
173
|
static void maybe_start_some_streams(grpc_chttp2_transport* t);
|
@@ -202,30 +216,49 @@ static void init_keepalive_ping(
|
|
202
216
|
static void init_keepalive_ping_locked(
|
203
217
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
204
218
|
GRPC_UNUSED grpc_error_handle error);
|
205
|
-
static void start_keepalive_ping(
|
206
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
|
207
219
|
static void finish_keepalive_ping(
|
208
220
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
|
209
|
-
static void start_keepalive_ping_locked(
|
210
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
|
211
221
|
static void finish_keepalive_ping_locked(
|
212
222
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t, grpc_error_handle error);
|
213
|
-
static void keepalive_watchdog_fired(
|
214
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t);
|
215
|
-
static void keepalive_watchdog_fired_locked(
|
216
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
217
|
-
GRPC_UNUSED grpc_error_handle error);
|
218
223
|
static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t);
|
219
224
|
|
225
|
+
static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error,
|
226
|
+
bool immediate_disconnect_hint);
|
227
|
+
|
228
|
+
// Timeout for getting an ack back on settings changes
|
229
|
+
#define GRPC_ARG_SETTINGS_TIMEOUT "grpc.http2.settings_timeout"
|
230
|
+
|
220
231
|
namespace {
|
221
|
-
|
232
|
+
|
233
|
+
using TaskHandle = ::grpc_event_engine::experimental::EventEngine::TaskHandle;
|
234
|
+
|
235
|
+
grpc_core::CallTracerInterface* CallTracerIfSampled(grpc_chttp2_stream* s) {
|
222
236
|
if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
|
223
237
|
return nullptr;
|
224
238
|
}
|
225
|
-
|
239
|
+
auto* call_tracer = static_cast<grpc_core::CallTracerInterface*>(
|
226
240
|
static_cast<grpc_call_context_element*>(
|
227
241
|
s->context)[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE]
|
228
242
|
.value);
|
243
|
+
if (call_tracer == nullptr || !call_tracer->IsSampled()) {
|
244
|
+
return nullptr;
|
245
|
+
}
|
246
|
+
return call_tracer;
|
247
|
+
}
|
248
|
+
|
249
|
+
std::shared_ptr<grpc_core::TcpTracerInterface> TcpTracerIfSampled(
|
250
|
+
grpc_chttp2_stream* s) {
|
251
|
+
if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) {
|
252
|
+
return nullptr;
|
253
|
+
}
|
254
|
+
auto* call_attempt_tracer = static_cast<grpc_core::CallTracerInterface*>(
|
255
|
+
static_cast<grpc_call_context_element*>(
|
256
|
+
s->context)[GRPC_CONTEXT_CALL_TRACER]
|
257
|
+
.value);
|
258
|
+
if (call_attempt_tracer == nullptr || !call_attempt_tracer->IsSampled()) {
|
259
|
+
return nullptr;
|
260
|
+
}
|
261
|
+
return call_attempt_tracer->StartNewTcpTrace();
|
229
262
|
}
|
230
263
|
|
231
264
|
grpc_core::WriteTimestampsCallback g_write_timestamps_callback = nullptr;
|
@@ -308,6 +341,42 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
|
|
308
341
|
delete context_list;
|
309
342
|
}
|
310
343
|
|
344
|
+
HttpAnnotation::HttpAnnotation(
|
345
|
+
Type type, Timestamp time,
|
346
|
+
absl::optional<chttp2::TransportFlowControl::Stats> transport_stats,
|
347
|
+
absl::optional<chttp2::StreamFlowControl::Stats> stream_stats)
|
348
|
+
: CallTracerAnnotationInterface::Annotation(
|
349
|
+
CallTracerAnnotationInterface::AnnotationType::kHttpTransport),
|
350
|
+
type_(type),
|
351
|
+
time_(time),
|
352
|
+
transport_stats_(transport_stats),
|
353
|
+
stream_stats_(stream_stats) {}
|
354
|
+
|
355
|
+
std::string HttpAnnotation::ToString() const {
|
356
|
+
std::string s = "HttpAnnotation type: ";
|
357
|
+
switch (type_) {
|
358
|
+
case Type::kStart:
|
359
|
+
absl::StrAppend(&s, "Start");
|
360
|
+
break;
|
361
|
+
case Type::kHeadWritten:
|
362
|
+
absl::StrAppend(&s, "HeadWritten");
|
363
|
+
break;
|
364
|
+
case Type::kEnd:
|
365
|
+
absl::StrAppend(&s, "End");
|
366
|
+
break;
|
367
|
+
default:
|
368
|
+
absl::StrAppend(&s, "Unknown");
|
369
|
+
}
|
370
|
+
absl::StrAppend(&s, " time: ", time_.ToString());
|
371
|
+
if (transport_stats_.has_value()) {
|
372
|
+
absl::StrAppend(&s, " transport:[", transport_stats_->ToString(), "]");
|
373
|
+
}
|
374
|
+
if (stream_stats_.has_value()) {
|
375
|
+
absl::StrAppend(&s, " stream:[", stream_stats_->ToString(), "]");
|
376
|
+
}
|
377
|
+
return s;
|
378
|
+
}
|
379
|
+
|
311
380
|
} // namespace grpc_core
|
312
381
|
|
313
382
|
//
|
@@ -317,6 +386,8 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts,
|
|
317
386
|
grpc_chttp2_transport::~grpc_chttp2_transport() {
|
318
387
|
size_t i;
|
319
388
|
|
389
|
+
cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
|
390
|
+
|
320
391
|
event_engine.reset();
|
321
392
|
|
322
393
|
if (channelz_socket != nullptr) {
|
@@ -327,8 +398,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
|
|
327
398
|
|
328
399
|
grpc_slice_buffer_destroy(&qbuf);
|
329
400
|
|
330
|
-
grpc_slice_buffer_destroy(&outbuf);
|
331
|
-
|
332
401
|
grpc_error_handle error = GRPC_ERROR_CREATE("Transport destroyed");
|
333
402
|
// ContextList::Execute follows semantics of a callback function and does not
|
334
403
|
// take a ref on error
|
@@ -348,8 +417,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
|
|
348
417
|
GPR_ASSERT(stream_map.empty());
|
349
418
|
GRPC_COMBINER_UNREF(combiner, "chttp2_transport");
|
350
419
|
|
351
|
-
cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed"));
|
352
|
-
|
353
420
|
while (write_cb_pool) {
|
354
421
|
grpc_chttp2_write_cb* next = write_cb_pool->next;
|
355
422
|
gpr_free(write_cb_pool);
|
@@ -362,8 +429,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() {
|
|
362
429
|
}
|
363
430
|
}
|
364
431
|
|
365
|
-
static const grpc_transport_vtable* get_vtable(void);
|
366
|
-
|
367
432
|
static void read_channel_args(grpc_chttp2_transport* t,
|
368
433
|
const grpc_core::ChannelArgs& channel_args,
|
369
434
|
bool is_client) {
|
@@ -396,8 +461,16 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
396
461
|
t->keepalive_timeout = std::max(
|
397
462
|
grpc_core::Duration::Zero(),
|
398
463
|
channel_args.GetDurationFromIntMillis(GRPC_ARG_KEEPALIVE_TIMEOUT_MS)
|
399
|
-
.value_or(t->
|
400
|
-
|
464
|
+
.value_or(t->keepalive_time == grpc_core::Duration::Infinity()
|
465
|
+
? grpc_core::Duration::Infinity()
|
466
|
+
: (t->is_client ? g_default_client_keepalive_timeout
|
467
|
+
: g_default_server_keepalive_timeout)));
|
468
|
+
t->ping_timeout = std::max(
|
469
|
+
grpc_core::Duration::Zero(),
|
470
|
+
channel_args.GetDurationFromIntMillis(GRPC_ARG_PING_TIMEOUT_MS)
|
471
|
+
.value_or(t->keepalive_time == grpc_core::Duration::Infinity()
|
472
|
+
? grpc_core::Duration::Infinity()
|
473
|
+
: grpc_core::Duration::Minutes(1)));
|
401
474
|
if (t->is_client) {
|
402
475
|
t->keepalive_permit_without_calls =
|
403
476
|
channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS)
|
@@ -412,6 +485,11 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
412
485
|
: false);
|
413
486
|
}
|
414
487
|
|
488
|
+
t->settings_timeout =
|
489
|
+
channel_args.GetDurationFromIntMillis(GRPC_ARG_SETTINGS_TIMEOUT)
|
490
|
+
.value_or(std::max(t->keepalive_timeout * 2,
|
491
|
+
grpc_core::Duration::Minutes(1)));
|
492
|
+
|
415
493
|
// Only send the prefered rx frame size http2 setting if we are instructed
|
416
494
|
// to auto size the buffers allocated at tcp level and we also can adjust
|
417
495
|
// sending frame size.
|
@@ -420,13 +498,24 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
420
498
|
.GetBool(GRPC_ARG_EXPERIMENTAL_HTTP2_PREFERRED_CRYPTO_FRAME_SIZE)
|
421
499
|
.value_or(false);
|
422
500
|
|
501
|
+
const auto max_requests_per_read =
|
502
|
+
channel_args.GetInt("grpc.http2.max_requests_per_read");
|
503
|
+
if (max_requests_per_read.has_value()) {
|
504
|
+
t->max_requests_per_read =
|
505
|
+
grpc_core::Clamp(*max_requests_per_read, 1, 10000);
|
506
|
+
} else if (grpc_core::IsChttp2BatchRequestsEnabled()) {
|
507
|
+
t->max_requests_per_read = 32;
|
508
|
+
} else {
|
509
|
+
t->max_requests_per_read = std::numeric_limits<size_t>::max();
|
510
|
+
}
|
511
|
+
|
423
512
|
if (channel_args.GetBool(GRPC_ARG_ENABLE_CHANNELZ)
|
424
513
|
.value_or(GRPC_ENABLE_CHANNELZ_DEFAULT)) {
|
425
514
|
t->channelz_socket =
|
426
515
|
grpc_core::MakeRefCounted<grpc_core::channelz::SocketNode>(
|
427
516
|
std::string(grpc_endpoint_get_local_address(t->ep)),
|
428
517
|
std::string(t->peer_string.as_string_view()),
|
429
|
-
absl::StrCat(
|
518
|
+
absl::StrCat(t->GetTransportName(), " ",
|
430
519
|
t->peer_string.as_string_view()),
|
431
520
|
channel_args
|
432
521
|
.GetObjectRef<grpc_core::channelz::SocketNode::Security>());
|
@@ -434,6 +523,19 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
434
523
|
|
435
524
|
t->ack_pings = channel_args.GetBool("grpc.http2.ack_pings").value_or(true);
|
436
525
|
|
526
|
+
t->allow_tarpit = channel_args.GetBool(GRPC_ARG_HTTP_ALLOW_TARPIT)
|
527
|
+
.value_or(grpc_core::IsTarpitEnabled());
|
528
|
+
t->min_tarpit_duration_ms =
|
529
|
+
channel_args
|
530
|
+
.GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS)
|
531
|
+
.value_or(grpc_core::Duration::Milliseconds(100))
|
532
|
+
.millis();
|
533
|
+
t->max_tarpit_duration_ms =
|
534
|
+
channel_args
|
535
|
+
.GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS)
|
536
|
+
.value_or(grpc_core::Duration::Seconds(1))
|
537
|
+
.millis();
|
538
|
+
|
437
539
|
const int soft_limit =
|
438
540
|
channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1);
|
439
541
|
if (soft_limit < 0) {
|
@@ -499,8 +601,12 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
499
601
|
const int value = channel_args.GetInt(setting.channel_arg_name)
|
500
602
|
.value_or(setting.default_value);
|
501
603
|
if (value >= 0) {
|
502
|
-
|
503
|
-
|
604
|
+
const int clamped_value =
|
605
|
+
grpc_core::Clamp(value, setting.min, setting.max);
|
606
|
+
queue_setting_update(t, setting.setting_id, clamped_value);
|
607
|
+
if (setting.setting_id == GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS) {
|
608
|
+
t->max_concurrent_streams_policy.SetTarget(clamped_value);
|
609
|
+
}
|
504
610
|
} else if (setting.setting_id ==
|
505
611
|
GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE) {
|
506
612
|
// Set value to 1.25 * soft limit if this is larger than
|
@@ -533,6 +639,15 @@ static void read_channel_args(grpc_chttp2_transport* t,
|
|
533
639
|
grpc_core::Clamp(INT_MAX, static_cast<int>(sp->min_value),
|
534
640
|
static_cast<int>(sp->max_value)));
|
535
641
|
}
|
642
|
+
|
643
|
+
t->ping_on_rst_stream_percent = grpc_core::Clamp(
|
644
|
+
channel_args.GetInt(GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT)
|
645
|
+
.value_or(1),
|
646
|
+
0, 100);
|
647
|
+
|
648
|
+
t->max_concurrent_streams_overload_protection =
|
649
|
+
channel_args.GetBool(GRPC_ARG_MAX_CONCURRENT_STREAMS_OVERLOAD_PROTECTION)
|
650
|
+
.value_or(grpc_core::IsOverloadProtectionEnabled());
|
536
651
|
}
|
537
652
|
|
538
653
|
static void init_keepalive_pings_if_enabled_locked(
|
@@ -557,16 +672,17 @@ static void init_keepalive_pings_if_enabled_locked(
|
|
557
672
|
grpc_chttp2_transport::grpc_chttp2_transport(
|
558
673
|
const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
|
559
674
|
bool is_client)
|
560
|
-
:
|
561
|
-
|
562
|
-
|
675
|
+
: grpc_core::RefCounted<grpc_chttp2_transport,
|
676
|
+
grpc_core::NonPolymorphicRefCount>(
|
677
|
+
GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount)
|
678
|
+
? "chttp2_refcount"
|
679
|
+
: nullptr),
|
563
680
|
ep(ep),
|
564
681
|
peer_string(
|
565
682
|
grpc_core::Slice::FromCopiedString(grpc_endpoint_get_peer(ep))),
|
566
683
|
memory_owner(channel_args.GetObject<grpc_core::ResourceQuota>()
|
567
684
|
->memory_quota()
|
568
|
-
->CreateMemoryOwner(
|
569
|
-
grpc_endpoint_get_peer(ep), ":client_transport"))),
|
685
|
+
->CreateMemoryOwner()),
|
570
686
|
self_reservation(
|
571
687
|
memory_owner.MakeReservation(sizeof(grpc_chttp2_transport))),
|
572
688
|
event_engine(
|
@@ -587,13 +703,12 @@ grpc_chttp2_transport::grpc_chttp2_transport(
|
|
587
703
|
cl = new grpc_core::ContextList();
|
588
704
|
GPR_ASSERT(strlen(GRPC_CHTTP2_CLIENT_CONNECT_STRING) ==
|
589
705
|
GRPC_CHTTP2_CLIENT_CONNECT_STRLEN);
|
590
|
-
base.vtable = get_vtable();
|
591
706
|
|
592
707
|
grpc_slice_buffer_init(&read_buffer);
|
593
|
-
grpc_slice_buffer_init(&outbuf);
|
594
708
|
if (is_client) {
|
595
|
-
grpc_slice_buffer_add(
|
596
|
-
|
709
|
+
grpc_slice_buffer_add(
|
710
|
+
outbuf.c_slice_buffer(),
|
711
|
+
grpc_slice_from_copied_string(GRPC_CHTTP2_CLIENT_CONNECT_STRING));
|
597
712
|
}
|
598
713
|
grpc_slice_buffer_init(&qbuf);
|
599
714
|
// copy in initial settings to all setting sets
|
@@ -618,6 +733,12 @@ grpc_chttp2_transport::grpc_chttp2_transport(
|
|
618
733
|
|
619
734
|
read_channel_args(this, channel_args, is_client);
|
620
735
|
|
736
|
+
// Initially allow *UP TO* MAX_CONCURRENT_STREAMS incoming before we start
|
737
|
+
// blanket cancelling them.
|
738
|
+
num_incoming_streams_before_settings_ack =
|
739
|
+
settings[GRPC_LOCAL_SETTINGS]
|
740
|
+
[GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS];
|
741
|
+
|
621
742
|
grpc_core::ExecCtx exec_ctx;
|
622
743
|
combiner->Run(
|
623
744
|
grpc_core::InitTransportClosure<init_keepalive_pings_if_enabled_locked>(
|
@@ -657,10 +778,9 @@ static void destroy_transport_locked(void* tp, grpc_error_handle /*error*/) {
|
|
657
778
|
t->memory_owner.Reset();
|
658
779
|
}
|
659
780
|
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
absl::OkStatus());
|
781
|
+
void grpc_chttp2_transport::Orphan() {
|
782
|
+
combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, this, nullptr),
|
783
|
+
absl::OkStatus());
|
664
784
|
}
|
665
785
|
|
666
786
|
static void close_transport_locked(grpc_chttp2_transport* t,
|
@@ -686,34 +806,33 @@ static void close_transport_locked(grpc_chttp2_transport* t,
|
|
686
806
|
t->closed_with_error = error;
|
687
807
|
connectivity_state_set(t, GRPC_CHANNEL_SHUTDOWN, absl::Status(),
|
688
808
|
"close_transport");
|
689
|
-
if (t->
|
690
|
-
|
691
|
-
|
692
|
-
}
|
809
|
+
if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
|
810
|
+
t->event_engine->Cancel(std::exchange(t->keepalive_ping_timeout_handle,
|
811
|
+
TaskHandle::kInvalid));
|
693
812
|
}
|
694
|
-
if (t->
|
695
|
-
|
696
|
-
|
697
|
-
|
813
|
+
if (t->settings_ack_watchdog != TaskHandle::kInvalid) {
|
814
|
+
t->event_engine->Cancel(
|
815
|
+
std::exchange(t->settings_ack_watchdog, TaskHandle::kInvalid));
|
816
|
+
}
|
817
|
+
if (t->delayed_ping_timer_handle != TaskHandle::kInvalid &&
|
818
|
+
t->event_engine->Cancel(t->delayed_ping_timer_handle)) {
|
819
|
+
t->delayed_ping_timer_handle = TaskHandle::kInvalid;
|
820
|
+
}
|
821
|
+
if (t->next_bdp_ping_timer_handle != TaskHandle::kInvalid &&
|
822
|
+
t->event_engine->Cancel(t->next_bdp_ping_timer_handle)) {
|
823
|
+
t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
|
698
824
|
}
|
699
825
|
switch (t->keepalive_state) {
|
700
826
|
case GRPC_CHTTP2_KEEPALIVE_STATE_WAITING:
|
701
|
-
if (t->keepalive_ping_timer_handle
|
702
|
-
|
703
|
-
|
704
|
-
}
|
827
|
+
if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
|
828
|
+
t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
|
829
|
+
t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
|
705
830
|
}
|
706
831
|
break;
|
707
832
|
case GRPC_CHTTP2_KEEPALIVE_STATE_PINGING:
|
708
|
-
if (t->keepalive_ping_timer_handle
|
709
|
-
|
710
|
-
|
711
|
-
}
|
712
|
-
}
|
713
|
-
if (t->keepalive_watchdog_timer_handle.has_value()) {
|
714
|
-
if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
|
715
|
-
t->keepalive_watchdog_timer_handle.reset();
|
716
|
-
}
|
833
|
+
if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
|
834
|
+
t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
|
835
|
+
t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
|
717
836
|
}
|
718
837
|
break;
|
719
838
|
case GRPC_CHTTP2_KEEPALIVE_STATE_DYING:
|
@@ -777,6 +896,7 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
|
|
777
896
|
initial_metadata_buffer(arena),
|
778
897
|
trailing_metadata_buffer(arena),
|
779
898
|
flow_control(&t->flow_control) {
|
899
|
+
t->streams_allocated.fetch_add(1, std::memory_order_relaxed);
|
780
900
|
if (server_data) {
|
781
901
|
id = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(server_data));
|
782
902
|
if (grpc_http_trace.enabled()) {
|
@@ -793,6 +913,7 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t,
|
|
793
913
|
}
|
794
914
|
|
795
915
|
grpc_chttp2_stream::~grpc_chttp2_stream() {
|
916
|
+
t->streams_allocated.fetch_sub(1, std::memory_order_relaxed);
|
796
917
|
grpc_chttp2_list_remove_stalled_by_stream(t.get(), this);
|
797
918
|
grpc_chttp2_list_remove_stalled_by_transport(t.get(), this);
|
798
919
|
|
@@ -828,12 +949,11 @@ grpc_chttp2_stream::~grpc_chttp2_stream() {
|
|
828
949
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, destroy_stream_arg, absl::OkStatus());
|
829
950
|
}
|
830
951
|
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
new (gs) grpc_chttp2_stream(
|
836
|
-
return 0;
|
952
|
+
void grpc_chttp2_transport::InitStream(grpc_stream* gs,
|
953
|
+
grpc_stream_refcount* refcount,
|
954
|
+
const void* server_data,
|
955
|
+
grpc_core::Arena* arena) {
|
956
|
+
new (gs) grpc_chttp2_stream(this, refcount, server_data, arena);
|
837
957
|
}
|
838
958
|
|
839
959
|
static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
|
@@ -841,13 +961,12 @@ static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) {
|
|
841
961
|
s->~grpc_chttp2_stream();
|
842
962
|
}
|
843
963
|
|
844
|
-
|
845
|
-
|
846
|
-
grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
|
964
|
+
void grpc_chttp2_transport::DestroyStream(grpc_stream* gs,
|
965
|
+
grpc_closure* then_schedule_closure) {
|
847
966
|
grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
|
848
967
|
|
849
968
|
s->destroy_stream_arg = then_schedule_closure;
|
850
|
-
|
969
|
+
combiner->Run(
|
851
970
|
GRPC_CLOSURE_INIT(&s->destroy_stream, destroy_stream_locked, s, nullptr),
|
852
971
|
absl::OkStatus());
|
853
972
|
}
|
@@ -860,7 +979,7 @@ grpc_chttp2_stream* grpc_chttp2_parsing_accept_stream(grpc_chttp2_transport* t,
|
|
860
979
|
grpc_chttp2_stream* accepting = nullptr;
|
861
980
|
GPR_ASSERT(t->accepting_stream == nullptr);
|
862
981
|
t->accepting_stream = &accepting;
|
863
|
-
t->accept_stream_cb(t->accept_stream_cb_user_data,
|
982
|
+
t->accept_stream_cb(t->accept_stream_cb_user_data, t,
|
864
983
|
reinterpret_cast<void*>(id));
|
865
984
|
t->accepting_stream = nullptr;
|
866
985
|
return accepting;
|
@@ -1016,7 +1135,12 @@ static void write_action(grpc_chttp2_transport* t) {
|
|
1016
1135
|
if (max_frame_size == 0) {
|
1017
1136
|
max_frame_size = INT_MAX;
|
1018
1137
|
}
|
1019
|
-
|
1138
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
|
1139
|
+
gpr_log(GPR_INFO, "%s[%p]: Write %" PRIdPTR " bytes",
|
1140
|
+
t->is_client ? "CLIENT" : "SERVER", t, t->outbuf.Length());
|
1141
|
+
}
|
1142
|
+
t->write_size_policy.BeginWrite(t->outbuf.Length());
|
1143
|
+
grpc_endpoint_write(t->ep, t->outbuf.c_slice_buffer(),
|
1020
1144
|
grpc_core::InitTransportClosure<write_action_end>(
|
1021
1145
|
t->Ref(), &t->write_action_end_locked),
|
1022
1146
|
cl, max_frame_size);
|
@@ -1025,6 +1149,10 @@ static void write_action(grpc_chttp2_transport* t) {
|
|
1025
1149
|
static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
1026
1150
|
grpc_error_handle error) {
|
1027
1151
|
auto* tp = t.get();
|
1152
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) {
|
1153
|
+
gpr_log(GPR_INFO, "%s[%p]: Finish write",
|
1154
|
+
t->is_client ? "CLIENT" : "SERVER", t.get());
|
1155
|
+
}
|
1028
1156
|
tp->combiner->Run(grpc_core::InitTransportClosure<write_action_end_locked>(
|
1029
1157
|
std::move(t), &tp->write_action_end_locked),
|
1030
1158
|
error);
|
@@ -1035,6 +1163,8 @@ static void write_action_end(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
|
1035
1163
|
static void write_action_end_locked(
|
1036
1164
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
1037
1165
|
grpc_error_handle error) {
|
1166
|
+
t->write_size_policy.EndWrite(error.ok());
|
1167
|
+
|
1038
1168
|
bool closed = false;
|
1039
1169
|
if (!error.ok()) {
|
1040
1170
|
close_transport_locked(t.get(), error);
|
@@ -1095,13 +1225,13 @@ static void queue_setting_update(grpc_chttp2_transport* t,
|
|
1095
1225
|
|
1096
1226
|
// Cancel out streams that haven't yet started if we have received a GOAWAY
|
1097
1227
|
static void cancel_unstarted_streams(grpc_chttp2_transport* t,
|
1098
|
-
grpc_error_handle error) {
|
1228
|
+
grpc_error_handle error, bool tarpit) {
|
1099
1229
|
grpc_chttp2_stream* s;
|
1100
1230
|
while (grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) {
|
1101
1231
|
s->trailing_metadata_buffer.Set(
|
1102
1232
|
grpc_core::GrpcStreamNetworkState(),
|
1103
1233
|
grpc_core::GrpcStreamNetworkState::kNotSentOnWire);
|
1104
|
-
grpc_chttp2_cancel_stream(t, s, error);
|
1234
|
+
grpc_chttp2_cancel_stream(t, s, error, tarpit);
|
1105
1235
|
}
|
1106
1236
|
}
|
1107
1237
|
|
@@ -1134,7 +1264,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
|
|
1134
1264
|
grpc_core::StatusToString(t->goaway_error).c_str());
|
1135
1265
|
}
|
1136
1266
|
if (t->is_client) {
|
1137
|
-
cancel_unstarted_streams(t, t->goaway_error);
|
1267
|
+
cancel_unstarted_streams(t, t->goaway_error, false);
|
1138
1268
|
// Cancel all unseen streams
|
1139
1269
|
std::vector<grpc_chttp2_stream*> to_cancel;
|
1140
1270
|
for (auto id_stream : t->stream_map) {
|
@@ -1146,7 +1276,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t,
|
|
1146
1276
|
s->trailing_metadata_buffer.Set(
|
1147
1277
|
grpc_core::GrpcStreamNetworkState(),
|
1148
1278
|
grpc_core::GrpcStreamNetworkState::kNotSeenByServer);
|
1149
|
-
grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error);
|
1279
|
+
grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error, false);
|
1150
1280
|
}
|
1151
1281
|
}
|
1152
1282
|
absl::Status status = grpc_error_to_absl_status(t->goaway_error);
|
@@ -1185,7 +1315,7 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
|
|
1185
1315
|
// maybe cancel out streams that haven't yet started if we have received a
|
1186
1316
|
// GOAWAY
|
1187
1317
|
if (!t->goaway_error.ok()) {
|
1188
|
-
cancel_unstarted_streams(t, t->goaway_error);
|
1318
|
+
cancel_unstarted_streams(t, t->goaway_error, false);
|
1189
1319
|
return;
|
1190
1320
|
}
|
1191
1321
|
// start streams where we have free grpc_chttp2_stream ids and free
|
@@ -1227,7 +1357,8 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) {
|
|
1227
1357
|
t, s,
|
1228
1358
|
grpc_error_set_int(GRPC_ERROR_CREATE("Stream IDs exhausted"),
|
1229
1359
|
grpc_core::StatusIntProperty::kRpcStatus,
|
1230
|
-
GRPC_STATUS_UNAVAILABLE)
|
1360
|
+
GRPC_STATUS_UNAVAILABLE),
|
1361
|
+
false);
|
1231
1362
|
}
|
1232
1363
|
}
|
1233
1364
|
}
|
@@ -1275,9 +1406,8 @@ void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t,
|
|
1275
1406
|
write_state_name(t->write_state), whence.file(), whence.line());
|
1276
1407
|
}
|
1277
1408
|
|
1278
|
-
|
1279
|
-
|
1280
|
-
tracer->RecordAnnotation(
|
1409
|
+
if (s->call_tracer) {
|
1410
|
+
s->call_tracer->RecordAnnotation(
|
1281
1411
|
absl::StrFormat("on_complete: s=%p %p desc=%s err=%s", s, closure, desc,
|
1282
1412
|
grpc_core::StatusToString(error).c_str()));
|
1283
1413
|
}
|
@@ -1339,6 +1469,8 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1339
1469
|
|
1340
1470
|
s->context = op->payload->context;
|
1341
1471
|
s->traced = op->is_traced;
|
1472
|
+
s->call_tracer = CallTracerIfSampled(s);
|
1473
|
+
s->tcp_tracer = TcpTracerIfSampled(s);
|
1342
1474
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
|
1343
1475
|
gpr_log(GPR_INFO,
|
1344
1476
|
"perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s,
|
@@ -1354,9 +1486,8 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1354
1486
|
}
|
1355
1487
|
}
|
1356
1488
|
|
1357
|
-
|
1358
|
-
|
1359
|
-
tracer->RecordAnnotation(absl::StrFormat(
|
1489
|
+
if (s->call_tracer) {
|
1490
|
+
s->call_tracer->RecordAnnotation(absl::StrFormat(
|
1360
1491
|
"perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s, op,
|
1361
1492
|
grpc_transport_stream_op_batch_string(op, true).c_str(),
|
1362
1493
|
op->on_complete));
|
@@ -1372,10 +1503,16 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1372
1503
|
}
|
1373
1504
|
|
1374
1505
|
if (op->cancel_stream) {
|
1375
|
-
grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error
|
1506
|
+
grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error,
|
1507
|
+
op_payload->cancel_stream.tarpit);
|
1376
1508
|
}
|
1377
1509
|
|
1378
1510
|
if (op->send_initial_metadata) {
|
1511
|
+
if (s->call_tracer) {
|
1512
|
+
s->call_tracer->RecordAnnotation(grpc_core::HttpAnnotation(
|
1513
|
+
grpc_core::HttpAnnotation::Type::kStart, grpc_core::Timestamp::Now(),
|
1514
|
+
s->t->flow_control.stats(), s->flow_control.stats()));
|
1515
|
+
}
|
1379
1516
|
if (t->is_client && t->channelz_socket != nullptr) {
|
1380
1517
|
t->channelz_socket->RecordStreamStartedFromLocal();
|
1381
1518
|
}
|
@@ -1410,7 +1547,8 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1410
1547
|
GRPC_ERROR_CREATE_REFERENCING("Transport closed",
|
1411
1548
|
&t->closed_with_error, 1),
|
1412
1549
|
grpc_core::StatusIntProperty::kRpcStatus,
|
1413
|
-
GRPC_STATUS_UNAVAILABLE)
|
1550
|
+
GRPC_STATUS_UNAVAILABLE),
|
1551
|
+
false);
|
1414
1552
|
}
|
1415
1553
|
} else {
|
1416
1554
|
GPR_ASSERT(s->id != 0);
|
@@ -1457,6 +1595,11 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1457
1595
|
frame_hdr[3] = static_cast<uint8_t>(len >> 8);
|
1458
1596
|
frame_hdr[4] = static_cast<uint8_t>(len);
|
1459
1597
|
|
1598
|
+
if (grpc_core::IsHttp2StatsFixEnabled()) {
|
1599
|
+
s->stats.outgoing.framing_bytes += GRPC_HEADER_SIZE_IN_BYTES;
|
1600
|
+
s->stats.outgoing.data_bytes +=
|
1601
|
+
op_payload->send_message.send_message->Length();
|
1602
|
+
}
|
1460
1603
|
s->next_message_end_offset =
|
1461
1604
|
s->flow_controlled_bytes_written +
|
1462
1605
|
static_cast<int64_t>(s->flow_controlled_buffer.length) +
|
@@ -1583,12 +1726,11 @@ static void perform_stream_op_locked(void* stream_op,
|
|
1583
1726
|
GRPC_CHTTP2_STREAM_UNREF(s, "perform_stream_op");
|
1584
1727
|
}
|
1585
1728
|
|
1586
|
-
|
1587
|
-
|
1588
|
-
grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
|
1729
|
+
void grpc_chttp2_transport::PerformStreamOp(
|
1730
|
+
grpc_stream* gs, grpc_transport_stream_op_batch* op) {
|
1589
1731
|
grpc_chttp2_stream* s = reinterpret_cast<grpc_chttp2_stream*>(gs);
|
1590
1732
|
|
1591
|
-
if (!
|
1733
|
+
if (!is_client) {
|
1592
1734
|
if (op->send_initial_metadata) {
|
1593
1735
|
GPR_ASSERT(!op->payload->send_initial_metadata.send_initial_metadata
|
1594
1736
|
->get(grpc_core::GrpcTimeoutMetadata())
|
@@ -1608,9 +1750,9 @@ static void perform_stream_op(grpc_transport* gt, grpc_stream* gs,
|
|
1608
1750
|
|
1609
1751
|
GRPC_CHTTP2_STREAM_REF(s, "perform_stream_op");
|
1610
1752
|
op->handler_private.extra_arg = gs;
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1753
|
+
combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure,
|
1754
|
+
perform_stream_op_locked, op, nullptr),
|
1755
|
+
absl::OkStatus());
|
1614
1756
|
}
|
1615
1757
|
|
1616
1758
|
static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
|
@@ -1618,14 +1760,38 @@ static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) {
|
|
1618
1760
|
grpc_core::StatusToString(error).c_str()));
|
1619
1761
|
// callback remaining pings: they're not allowed to call into the transport,
|
1620
1762
|
// and maybe they hold resources that need to be freed
|
1621
|
-
|
1622
|
-
GPR_ASSERT(!error.ok());
|
1623
|
-
for (size_t j = 0; j < GRPC_CHTTP2_PCL_COUNT; j++) {
|
1624
|
-
grpc_closure_list_fail_all(&pq->lists[j], error);
|
1625
|
-
grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &pq->lists[j]);
|
1626
|
-
}
|
1763
|
+
t->ping_callbacks.CancelAll(t->event_engine.get());
|
1627
1764
|
}
|
1628
1765
|
|
1766
|
+
namespace {
|
1767
|
+
class PingClosureWrapper {
|
1768
|
+
public:
|
1769
|
+
explicit PingClosureWrapper(grpc_closure* closure) : closure_(closure) {}
|
1770
|
+
PingClosureWrapper(const PingClosureWrapper&) = delete;
|
1771
|
+
PingClosureWrapper& operator=(const PingClosureWrapper&) = delete;
|
1772
|
+
PingClosureWrapper(PingClosureWrapper&& other) noexcept
|
1773
|
+
: closure_(other.Take()) {}
|
1774
|
+
PingClosureWrapper& operator=(PingClosureWrapper&& other) noexcept {
|
1775
|
+
std::swap(closure_, other.closure_);
|
1776
|
+
return *this;
|
1777
|
+
}
|
1778
|
+
~PingClosureWrapper() {
|
1779
|
+
if (closure_ != nullptr) {
|
1780
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure_, absl::CancelledError());
|
1781
|
+
}
|
1782
|
+
}
|
1783
|
+
|
1784
|
+
void operator()() {
|
1785
|
+
grpc_core::ExecCtx::Run(DEBUG_LOCATION, Take(), absl::OkStatus());
|
1786
|
+
}
|
1787
|
+
|
1788
|
+
private:
|
1789
|
+
grpc_closure* Take() { return std::exchange(closure_, nullptr); }
|
1790
|
+
|
1791
|
+
grpc_closure* closure_ = nullptr;
|
1792
|
+
};
|
1793
|
+
} // namespace
|
1794
|
+
|
1629
1795
|
static void send_ping_locked(grpc_chttp2_transport* t,
|
1630
1796
|
grpc_closure* on_initiate, grpc_closure* on_ack) {
|
1631
1797
|
if (!t->closed_with_error.ok()) {
|
@@ -1633,11 +1799,8 @@ static void send_ping_locked(grpc_chttp2_transport* t,
|
|
1633
1799
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_ack, t->closed_with_error);
|
1634
1800
|
return;
|
1635
1801
|
}
|
1636
|
-
|
1637
|
-
|
1638
|
-
absl::OkStatus());
|
1639
|
-
grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_NEXT], on_ack,
|
1640
|
-
absl::OkStatus());
|
1802
|
+
t->ping_callbacks.OnPing(PingClosureWrapper(on_initiate),
|
1803
|
+
PingClosureWrapper(on_ack));
|
1641
1804
|
}
|
1642
1805
|
|
1643
1806
|
// Specialized form of send_ping_locked for keepalive ping. If there is already
|
@@ -1646,40 +1809,15 @@ static void send_ping_locked(grpc_chttp2_transport* t,
|
|
1646
1809
|
static void send_keepalive_ping_locked(
|
1647
1810
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1648
1811
|
if (!t->closed_with_error.ok()) {
|
1649
|
-
t->combiner->Run(
|
1650
|
-
grpc_core::InitTransportClosure<start_keepalive_ping_locked>(
|
1651
|
-
t->Ref(), &t->start_keepalive_ping_locked),
|
1652
|
-
t->closed_with_error);
|
1653
1812
|
t->combiner->Run(
|
1654
1813
|
grpc_core::InitTransportClosure<finish_keepalive_ping_locked>(
|
1655
1814
|
t->Ref(), &t->finish_keepalive_ping_locked),
|
1656
1815
|
t->closed_with_error);
|
1657
1816
|
return;
|
1658
1817
|
}
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
t->combiner->Run(
|
1663
|
-
grpc_core::InitTransportClosure<start_keepalive_ping_locked>(
|
1664
|
-
t->Ref(), &t->start_keepalive_ping_locked),
|
1665
|
-
t->closed_with_error);
|
1666
|
-
grpc_closure_list_append(
|
1667
|
-
&pq->lists[GRPC_CHTTP2_PCL_INFLIGHT],
|
1668
|
-
grpc_core::InitTransportClosure<finish_keepalive_ping>(
|
1669
|
-
t->Ref(), &t->finish_keepalive_ping_locked),
|
1670
|
-
absl::OkStatus());
|
1671
|
-
return;
|
1672
|
-
}
|
1673
|
-
grpc_closure_list_append(
|
1674
|
-
&pq->lists[GRPC_CHTTP2_PCL_INITIATE],
|
1675
|
-
grpc_core::InitTransportClosure<start_keepalive_ping>(
|
1676
|
-
t->Ref(), &t->start_keepalive_ping_locked),
|
1677
|
-
absl::OkStatus());
|
1678
|
-
grpc_closure_list_append(
|
1679
|
-
&pq->lists[GRPC_CHTTP2_PCL_NEXT],
|
1680
|
-
grpc_core::InitTransportClosure<finish_keepalive_ping>(
|
1681
|
-
t->Ref(), &t->finish_keepalive_ping_locked),
|
1682
|
-
absl::OkStatus());
|
1818
|
+
t->ping_callbacks.OnPingAck(
|
1819
|
+
PingClosureWrapper(grpc_core::InitTransportClosure<finish_keepalive_ping>(
|
1820
|
+
t->Ref(), &t->finish_keepalive_ping_locked)));
|
1683
1821
|
}
|
1684
1822
|
|
1685
1823
|
void grpc_chttp2_retry_initiate_ping(
|
@@ -1694,26 +1832,86 @@ static void retry_initiate_ping_locked(
|
|
1694
1832
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
1695
1833
|
GRPC_UNUSED grpc_error_handle error) {
|
1696
1834
|
GPR_DEBUG_ASSERT(error.ok());
|
1697
|
-
GPR_ASSERT(t->delayed_ping_timer_handle
|
1698
|
-
t->delayed_ping_timer_handle
|
1835
|
+
GPR_ASSERT(t->delayed_ping_timer_handle != TaskHandle::kInvalid);
|
1836
|
+
t->delayed_ping_timer_handle = TaskHandle::kInvalid;
|
1699
1837
|
grpc_chttp2_initiate_write(t.get(),
|
1700
1838
|
GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING);
|
1701
1839
|
}
|
1702
1840
|
|
1703
1841
|
void grpc_chttp2_ack_ping(grpc_chttp2_transport* t, uint64_t id) {
|
1704
|
-
|
1705
|
-
if (pq->inflight_id != id) {
|
1842
|
+
if (!t->ping_callbacks.AckPing(id, t->event_engine.get())) {
|
1706
1843
|
gpr_log(GPR_DEBUG, "Unknown ping response from %s: %" PRIx64,
|
1707
1844
|
std::string(t->peer_string.as_string_view()).c_str(), id);
|
1708
1845
|
return;
|
1709
1846
|
}
|
1710
|
-
|
1711
|
-
&pq->lists[GRPC_CHTTP2_PCL_INFLIGHT]);
|
1712
|
-
if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_NEXT])) {
|
1847
|
+
if (t->ping_callbacks.ping_requested()) {
|
1713
1848
|
grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CONTINUE_PINGS);
|
1714
1849
|
}
|
1715
1850
|
}
|
1716
1851
|
|
1852
|
+
void grpc_chttp2_keepalive_timeout(
|
1853
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1854
|
+
t->combiner->Run(
|
1855
|
+
grpc_core::NewClosure([t](grpc_error_handle) {
|
1856
|
+
gpr_log(GPR_INFO, "%s: Keepalive timeout. Closing transport.",
|
1857
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
1858
|
+
send_goaway(
|
1859
|
+
t.get(),
|
1860
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("keepalive_timeout"),
|
1861
|
+
grpc_core::StatusIntProperty::kHttp2Error,
|
1862
|
+
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
1863
|
+
/*immediate_disconnect_hint=*/true);
|
1864
|
+
close_transport_locked(
|
1865
|
+
t.get(),
|
1866
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("keepalive timeout"),
|
1867
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1868
|
+
GRPC_STATUS_UNAVAILABLE));
|
1869
|
+
}),
|
1870
|
+
absl::OkStatus());
|
1871
|
+
}
|
1872
|
+
|
1873
|
+
void grpc_chttp2_ping_timeout(
|
1874
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1875
|
+
t->combiner->Run(
|
1876
|
+
grpc_core::NewClosure([t](grpc_error_handle) {
|
1877
|
+
gpr_log(GPR_INFO, "%s: Ping timeout. Closing transport.",
|
1878
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
1879
|
+
send_goaway(
|
1880
|
+
t.get(),
|
1881
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("ping_timeout"),
|
1882
|
+
grpc_core::StatusIntProperty::kHttp2Error,
|
1883
|
+
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
1884
|
+
/*immediate_disconnect_hint=*/true);
|
1885
|
+
close_transport_locked(
|
1886
|
+
t.get(),
|
1887
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("ping timeout"),
|
1888
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1889
|
+
GRPC_STATUS_UNAVAILABLE));
|
1890
|
+
}),
|
1891
|
+
absl::OkStatus());
|
1892
|
+
}
|
1893
|
+
|
1894
|
+
void grpc_chttp2_settings_timeout(
|
1895
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
1896
|
+
t->combiner->Run(
|
1897
|
+
grpc_core::NewClosure([t](grpc_error_handle) {
|
1898
|
+
gpr_log(GPR_INFO, "%s: Settings timeout. Closing transport.",
|
1899
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
1900
|
+
send_goaway(
|
1901
|
+
t.get(),
|
1902
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("settings_timeout"),
|
1903
|
+
grpc_core::StatusIntProperty::kHttp2Error,
|
1904
|
+
GRPC_HTTP2_SETTINGS_TIMEOUT),
|
1905
|
+
/*immediate_disconnect_hint=*/true);
|
1906
|
+
close_transport_locked(
|
1907
|
+
t.get(),
|
1908
|
+
grpc_error_set_int(GRPC_ERROR_CREATE("settings timeout"),
|
1909
|
+
grpc_core::StatusIntProperty::kRpcStatus,
|
1910
|
+
GRPC_STATUS_UNAVAILABLE));
|
1911
|
+
}),
|
1912
|
+
absl::OkStatus());
|
1913
|
+
}
|
1914
|
+
|
1717
1915
|
namespace {
|
1718
1916
|
|
1719
1917
|
// Fire and forget (deletes itself on completion). Does a graceful shutdown by
|
@@ -1733,20 +1931,13 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
|
|
1733
1931
|
explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t->Ref()) {
|
1734
1932
|
t->sent_goaway_state = GRPC_CHTTP2_GRACEFUL_GOAWAY;
|
1735
1933
|
grpc_chttp2_goaway_append((1u << 31) - 1, 0, grpc_empty_slice(), &t->qbuf);
|
1934
|
+
t->keepalive_timeout =
|
1935
|
+
std::min(t->keepalive_timeout, grpc_core::Duration::Seconds(20));
|
1936
|
+
t->ping_timeout =
|
1937
|
+
std::min(t->ping_timeout, grpc_core::Duration::Seconds(20));
|
1736
1938
|
send_ping_locked(
|
1737
1939
|
t, nullptr, GRPC_CLOSURE_INIT(&on_ping_ack_, OnPingAck, this, nullptr));
|
1738
1940
|
grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT);
|
1739
|
-
timer_handle_ = t_->event_engine->RunAfter(
|
1740
|
-
grpc_core::Duration::Seconds(20),
|
1741
|
-
[self = Ref(DEBUG_LOCATION, "GoawayTimer")]() mutable {
|
1742
|
-
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
1743
|
-
grpc_core::ExecCtx exec_ctx;
|
1744
|
-
// The ref will be unreffed in the combiner.
|
1745
|
-
auto* ptr = self.release();
|
1746
|
-
ptr->t_->combiner->Run(
|
1747
|
-
GRPC_CLOSURE_INIT(&ptr->on_timer_, OnTimerLocked, ptr, nullptr),
|
1748
|
-
absl::OkStatus());
|
1749
|
-
});
|
1750
1941
|
}
|
1751
1942
|
|
1752
1943
|
void MaybeSendFinalGoawayLocked() {
|
@@ -1787,26 +1978,12 @@ class GracefulGoaway : public grpc_core::RefCounted<GracefulGoaway> {
|
|
1787
1978
|
|
1788
1979
|
static void OnPingAckLocked(void* arg, grpc_error_handle /* error */) {
|
1789
1980
|
auto* self = static_cast<GracefulGoaway*>(arg);
|
1790
|
-
if (self->timer_handle_ != TaskHandle::kInvalid) {
|
1791
|
-
self->t_->event_engine->Cancel(
|
1792
|
-
std::exchange(self->timer_handle_, TaskHandle::kInvalid));
|
1793
|
-
}
|
1794
|
-
self->MaybeSendFinalGoawayLocked();
|
1795
|
-
self->Unref();
|
1796
|
-
}
|
1797
|
-
|
1798
|
-
static void OnTimerLocked(void* arg, grpc_error_handle /* error */) {
|
1799
|
-
auto* self = static_cast<GracefulGoaway*>(arg);
|
1800
|
-
// Clearing the handle since the timer has fired and the handle is invalid.
|
1801
|
-
self->timer_handle_ = TaskHandle::kInvalid;
|
1802
1981
|
self->MaybeSendFinalGoawayLocked();
|
1803
1982
|
self->Unref();
|
1804
1983
|
}
|
1805
1984
|
|
1806
1985
|
const grpc_core::RefCountedPtr<grpc_chttp2_transport> t_;
|
1807
1986
|
grpc_closure on_ping_ack_;
|
1808
|
-
TaskHandle timer_handle_ = TaskHandle::kInvalid;
|
1809
|
-
grpc_closure on_timer_;
|
1810
1987
|
};
|
1811
1988
|
|
1812
1989
|
} // namespace
|
@@ -1909,14 +2086,13 @@ static void perform_transport_op_locked(void* stream_op,
|
|
1909
2086
|
grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus());
|
1910
2087
|
}
|
1911
2088
|
|
1912
|
-
|
1913
|
-
grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
|
2089
|
+
void grpc_chttp2_transport::PerformOp(grpc_transport_op* op) {
|
1914
2090
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) {
|
1915
|
-
gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s",
|
2091
|
+
gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", this,
|
1916
2092
|
grpc_transport_op_string(op).c_str());
|
1917
2093
|
}
|
1918
|
-
op->handler_private.extra_arg =
|
1919
|
-
|
2094
|
+
op->handler_private.extra_arg = this;
|
2095
|
+
Ref().release()->combiner->Run(
|
1920
2096
|
GRPC_CLOSURE_INIT(&op->handler_private.closure,
|
1921
2097
|
perform_transport_op_locked, op, nullptr),
|
1922
2098
|
absl::OkStatus());
|
@@ -2059,8 +2235,8 @@ void grpc_chttp2_maybe_complete_recv_trailing_metadata(grpc_chttp2_transport* t,
|
|
2059
2235
|
}
|
2060
2236
|
}
|
2061
2237
|
|
2062
|
-
static
|
2063
|
-
|
2238
|
+
static grpc_chttp2_transport::RemovedStreamHandle remove_stream(
|
2239
|
+
grpc_chttp2_transport* t, uint32_t id, grpc_error_handle error) {
|
2064
2240
|
grpc_chttp2_stream* s = t->stream_map.extract(id).mapped();
|
2065
2241
|
GPR_DEBUG_ASSERT(s);
|
2066
2242
|
if (t->incoming_stream == s) {
|
@@ -2083,29 +2259,74 @@ static void remove_stream(grpc_chttp2_transport* t, uint32_t id,
|
|
2083
2259
|
grpc_chttp2_list_remove_stalled_by_transport(t, s);
|
2084
2260
|
|
2085
2261
|
maybe_start_some_streams(t);
|
2262
|
+
|
2263
|
+
if (t->is_client) return grpc_chttp2_transport::RemovedStreamHandle();
|
2264
|
+
return grpc_chttp2_transport::RemovedStreamHandle(t->Ref());
|
2265
|
+
}
|
2266
|
+
|
2267
|
+
namespace grpc_core {
|
2268
|
+
namespace {
|
2269
|
+
|
2270
|
+
Duration TarpitDuration(grpc_chttp2_transport* t) {
|
2271
|
+
return Duration::Milliseconds(absl::LogUniform<int>(
|
2272
|
+
absl::BitGen(), t->min_tarpit_duration_ms, t->max_tarpit_duration_ms));
|
2273
|
+
}
|
2274
|
+
|
2275
|
+
template <typename F>
|
2276
|
+
void MaybeTarpit(grpc_chttp2_transport* t, bool tarpit, F fn) {
|
2277
|
+
if (!tarpit || !t->allow_tarpit || t->is_client) {
|
2278
|
+
fn(t);
|
2279
|
+
return;
|
2280
|
+
}
|
2281
|
+
const auto duration = TarpitDuration(t);
|
2282
|
+
t->event_engine->RunAfter(
|
2283
|
+
duration, [t = t->Ref(), fn = std::move(fn)]() mutable {
|
2284
|
+
ApplicationCallbackExecCtx app_exec_ctx;
|
2285
|
+
ExecCtx exec_ctx;
|
2286
|
+
t->combiner->Run(
|
2287
|
+
NewClosure([t, fn = std::move(fn)](grpc_error_handle) mutable {
|
2288
|
+
// TODO(ctiller): this can result in not sending RST_STREAMS if a
|
2289
|
+
// request gets tarpit behind a transport close.
|
2290
|
+
if (!t->closed_with_error.ok()) return;
|
2291
|
+
fn(t.get());
|
2292
|
+
}),
|
2293
|
+
absl::OkStatus());
|
2294
|
+
});
|
2086
2295
|
}
|
2087
2296
|
|
2297
|
+
} // namespace
|
2298
|
+
} // namespace grpc_core
|
2299
|
+
|
2088
2300
|
void grpc_chttp2_cancel_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
2089
|
-
grpc_error_handle due_to_error) {
|
2301
|
+
grpc_error_handle due_to_error, bool tarpit) {
|
2090
2302
|
if (!t->is_client && !s->sent_trailing_metadata &&
|
2091
|
-
grpc_error_has_clear_grpc_status(due_to_error)
|
2092
|
-
|
2303
|
+
grpc_error_has_clear_grpc_status(due_to_error) &&
|
2304
|
+
!(s->read_closed && s->write_closed)) {
|
2305
|
+
close_from_api(t, s, due_to_error, tarpit);
|
2093
2306
|
return;
|
2094
2307
|
}
|
2095
2308
|
|
2309
|
+
if (!due_to_error.ok() && !s->seen_error) {
|
2310
|
+
s->seen_error = true;
|
2311
|
+
}
|
2096
2312
|
if (!s->read_closed || !s->write_closed) {
|
2097
2313
|
if (s->id != 0) {
|
2098
2314
|
grpc_http2_error_code http_error;
|
2099
2315
|
grpc_error_get_status(due_to_error, s->deadline, nullptr, nullptr,
|
2100
2316
|
&http_error, nullptr);
|
2101
|
-
|
2102
|
-
t,
|
2103
|
-
|
2317
|
+
grpc_core::MaybeTarpit(
|
2318
|
+
t, tarpit,
|
2319
|
+
[id = s->id, http_error,
|
2320
|
+
remove_stream_handle = grpc_chttp2_mark_stream_closed(
|
2321
|
+
t, s, 1, 1, due_to_error)](grpc_chttp2_transport* t) {
|
2322
|
+
grpc_chttp2_add_rst_stream_to_next_write(
|
2323
|
+
t, id, static_cast<uint32_t>(http_error), nullptr);
|
2324
|
+
grpc_chttp2_initiate_write(t,
|
2325
|
+
GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM);
|
2326
|
+
});
|
2327
|
+
return;
|
2104
2328
|
}
|
2105
2329
|
}
|
2106
|
-
if (!due_to_error.ok() && !s->seen_error) {
|
2107
|
-
s->seen_error = true;
|
2108
|
-
}
|
2109
2330
|
grpc_chttp2_mark_stream_closed(t, s, 1, 1, due_to_error);
|
2110
2331
|
}
|
2111
2332
|
|
@@ -2198,9 +2419,10 @@ void grpc_chttp2_fail_pending_writes(grpc_chttp2_transport* t,
|
|
2198
2419
|
flush_write_list(t, s, &s->on_flow_controlled_cbs, error);
|
2199
2420
|
}
|
2200
2421
|
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
2422
|
+
grpc_chttp2_transport::RemovedStreamHandle grpc_chttp2_mark_stream_closed(
|
2423
|
+
grpc_chttp2_transport* t, grpc_chttp2_stream* s, int close_reads,
|
2424
|
+
int close_writes, grpc_error_handle error) {
|
2425
|
+
grpc_chttp2_transport::RemovedStreamHandle rsh;
|
2204
2426
|
if (grpc_http_trace.enabled()) {
|
2205
2427
|
gpr_log(
|
2206
2428
|
GPR_DEBUG, "MARK_STREAM_CLOSED: t=%p s=%p(id=%d) %s [%s]", t, s, s->id,
|
@@ -2216,7 +2438,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
|
|
2216
2438
|
grpc_chttp2_fake_status(t, s, overall_error);
|
2217
2439
|
}
|
2218
2440
|
grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
|
2219
|
-
return;
|
2441
|
+
return rsh;
|
2220
2442
|
}
|
2221
2443
|
bool closed_read = false;
|
2222
2444
|
bool became_closed = false;
|
@@ -2234,7 +2456,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
|
|
2234
2456
|
became_closed = true;
|
2235
2457
|
grpc_error_handle overall_error = removal_error(error, s, "Stream removed");
|
2236
2458
|
if (s->id != 0) {
|
2237
|
-
remove_stream(t, s->id, overall_error);
|
2459
|
+
rsh = remove_stream(t, s->id, overall_error);
|
2238
2460
|
} else {
|
2239
2461
|
// Purge streams waiting on concurrency still waiting for id assignment
|
2240
2462
|
grpc_chttp2_list_remove_waiting_for_concurrency(t, s);
|
@@ -2258,17 +2480,11 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t,
|
|
2258
2480
|
grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s);
|
2259
2481
|
GRPC_CHTTP2_STREAM_UNREF(s, "chttp2");
|
2260
2482
|
}
|
2483
|
+
return rsh;
|
2261
2484
|
}
|
2262
2485
|
|
2263
2486
|
static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
2264
|
-
grpc_error_handle error) {
|
2265
|
-
grpc_slice hdr;
|
2266
|
-
grpc_slice status_hdr;
|
2267
|
-
grpc_slice http_status_hdr;
|
2268
|
-
grpc_slice content_type_hdr;
|
2269
|
-
grpc_slice message_pfx;
|
2270
|
-
uint8_t* p;
|
2271
|
-
uint32_t len = 0;
|
2487
|
+
grpc_error_handle error, bool tarpit) {
|
2272
2488
|
grpc_status_code grpc_status;
|
2273
2489
|
std::string message;
|
2274
2490
|
grpc_error_get_status(error, s->deadline, &grpc_status, &message, nullptr,
|
@@ -2276,147 +2492,167 @@ static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
|
|
2276
2492
|
|
2277
2493
|
GPR_ASSERT(grpc_status >= 0 && (int)grpc_status < 100);
|
2278
2494
|
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
|
2285
|
-
|
2286
|
-
|
2287
|
-
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
2301
|
-
|
2302
|
-
|
2303
|
-
|
2304
|
-
|
2305
|
-
|
2306
|
-
|
2307
|
-
|
2308
|
-
|
2309
|
-
|
2310
|
-
|
2311
|
-
|
2312
|
-
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
2316
|
-
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
|
2321
|
-
|
2322
|
-
|
2323
|
-
|
2324
|
-
|
2325
|
-
|
2326
|
-
|
2327
|
-
|
2328
|
-
|
2329
|
-
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2337
|
-
|
2338
|
-
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
|
2343
|
-
|
2344
|
-
|
2345
|
-
|
2346
|
-
|
2347
|
-
|
2348
|
-
|
2349
|
-
|
2350
|
-
|
2351
|
-
|
2352
|
-
|
2353
|
-
|
2354
|
-
|
2355
|
-
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2359
|
-
|
2360
|
-
|
2361
|
-
|
2362
|
-
|
2363
|
-
|
2364
|
-
|
2365
|
-
|
2366
|
-
|
2367
|
-
|
2368
|
-
|
2369
|
-
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2373
|
-
|
2374
|
-
|
2375
|
-
|
2376
|
-
|
2377
|
-
|
2378
|
-
|
2379
|
-
|
2380
|
-
|
2381
|
-
|
2382
|
-
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
|
2389
|
-
|
2390
|
-
|
2391
|
-
|
2392
|
-
|
2393
|
-
|
2394
|
-
|
2395
|
-
|
2396
|
-
|
2397
|
-
|
2398
|
-
|
2399
|
-
|
2400
|
-
|
2401
|
-
|
2402
|
-
|
2403
|
-
|
2404
|
-
|
2405
|
-
|
2406
|
-
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2412
|
-
|
2413
|
-
|
2414
|
-
|
2415
|
-
|
2416
|
-
|
2417
|
-
|
2418
|
-
|
2419
|
-
|
2495
|
+
auto remove_stream_handle = grpc_chttp2_mark_stream_closed(t, s, 1, 1, error);
|
2496
|
+
grpc_core::MaybeTarpit(
|
2497
|
+
t, tarpit,
|
2498
|
+
[error = std::move(error),
|
2499
|
+
sent_initial_metadata = s->sent_initial_metadata, id = s->id,
|
2500
|
+
grpc_status, message = std::move(message),
|
2501
|
+
remove_stream_handle =
|
2502
|
+
std::move(remove_stream_handle)](grpc_chttp2_transport* t) mutable {
|
2503
|
+
grpc_slice hdr;
|
2504
|
+
grpc_slice status_hdr;
|
2505
|
+
grpc_slice http_status_hdr;
|
2506
|
+
grpc_slice content_type_hdr;
|
2507
|
+
grpc_slice message_pfx;
|
2508
|
+
uint8_t* p;
|
2509
|
+
uint32_t len = 0;
|
2510
|
+
|
2511
|
+
// Hand roll a header block.
|
2512
|
+
// This is unnecessarily ugly - at some point we should find a more
|
2513
|
+
// elegant solution.
|
2514
|
+
// It's complicated by the fact that our send machinery would be dead
|
2515
|
+
// by the time we got around to sending this, so instead we ignore
|
2516
|
+
// HPACK compression and just write the uncompressed bytes onto the
|
2517
|
+
// wire.
|
2518
|
+
if (!sent_initial_metadata) {
|
2519
|
+
http_status_hdr = GRPC_SLICE_MALLOC(13);
|
2520
|
+
p = GRPC_SLICE_START_PTR(http_status_hdr);
|
2521
|
+
*p++ = 0x00;
|
2522
|
+
*p++ = 7;
|
2523
|
+
*p++ = ':';
|
2524
|
+
*p++ = 's';
|
2525
|
+
*p++ = 't';
|
2526
|
+
*p++ = 'a';
|
2527
|
+
*p++ = 't';
|
2528
|
+
*p++ = 'u';
|
2529
|
+
*p++ = 's';
|
2530
|
+
*p++ = 3;
|
2531
|
+
*p++ = '2';
|
2532
|
+
*p++ = '0';
|
2533
|
+
*p++ = '0';
|
2534
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr));
|
2535
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(http_status_hdr);
|
2536
|
+
|
2537
|
+
content_type_hdr = GRPC_SLICE_MALLOC(31);
|
2538
|
+
p = GRPC_SLICE_START_PTR(content_type_hdr);
|
2539
|
+
*p++ = 0x00;
|
2540
|
+
*p++ = 12;
|
2541
|
+
*p++ = 'c';
|
2542
|
+
*p++ = 'o';
|
2543
|
+
*p++ = 'n';
|
2544
|
+
*p++ = 't';
|
2545
|
+
*p++ = 'e';
|
2546
|
+
*p++ = 'n';
|
2547
|
+
*p++ = 't';
|
2548
|
+
*p++ = '-';
|
2549
|
+
*p++ = 't';
|
2550
|
+
*p++ = 'y';
|
2551
|
+
*p++ = 'p';
|
2552
|
+
*p++ = 'e';
|
2553
|
+
*p++ = 16;
|
2554
|
+
*p++ = 'a';
|
2555
|
+
*p++ = 'p';
|
2556
|
+
*p++ = 'p';
|
2557
|
+
*p++ = 'l';
|
2558
|
+
*p++ = 'i';
|
2559
|
+
*p++ = 'c';
|
2560
|
+
*p++ = 'a';
|
2561
|
+
*p++ = 't';
|
2562
|
+
*p++ = 'i';
|
2563
|
+
*p++ = 'o';
|
2564
|
+
*p++ = 'n';
|
2565
|
+
*p++ = '/';
|
2566
|
+
*p++ = 'g';
|
2567
|
+
*p++ = 'r';
|
2568
|
+
*p++ = 'p';
|
2569
|
+
*p++ = 'c';
|
2570
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr));
|
2571
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(content_type_hdr);
|
2572
|
+
}
|
2573
|
+
|
2574
|
+
status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10));
|
2575
|
+
p = GRPC_SLICE_START_PTR(status_hdr);
|
2576
|
+
*p++ = 0x00; // literal header, not indexed
|
2577
|
+
*p++ = 11; // len(grpc-status)
|
2578
|
+
*p++ = 'g';
|
2579
|
+
*p++ = 'r';
|
2580
|
+
*p++ = 'p';
|
2581
|
+
*p++ = 'c';
|
2582
|
+
*p++ = '-';
|
2583
|
+
*p++ = 's';
|
2584
|
+
*p++ = 't';
|
2585
|
+
*p++ = 'a';
|
2586
|
+
*p++ = 't';
|
2587
|
+
*p++ = 'u';
|
2588
|
+
*p++ = 's';
|
2589
|
+
if (grpc_status < 10) {
|
2590
|
+
*p++ = 1;
|
2591
|
+
*p++ = static_cast<uint8_t>('0' + grpc_status);
|
2592
|
+
} else {
|
2593
|
+
*p++ = 2;
|
2594
|
+
*p++ = static_cast<uint8_t>('0' + (grpc_status / 10));
|
2595
|
+
*p++ = static_cast<uint8_t>('0' + (grpc_status % 10));
|
2596
|
+
}
|
2597
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr));
|
2598
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(status_hdr);
|
2599
|
+
|
2600
|
+
size_t msg_len = message.length();
|
2601
|
+
GPR_ASSERT(msg_len <= UINT32_MAX);
|
2602
|
+
grpc_core::VarintWriter<1> msg_len_writer(
|
2603
|
+
static_cast<uint32_t>(msg_len));
|
2604
|
+
message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length());
|
2605
|
+
p = GRPC_SLICE_START_PTR(message_pfx);
|
2606
|
+
*p++ = 0x00; // literal header, not indexed
|
2607
|
+
*p++ = 12; // len(grpc-message)
|
2608
|
+
*p++ = 'g';
|
2609
|
+
*p++ = 'r';
|
2610
|
+
*p++ = 'p';
|
2611
|
+
*p++ = 'c';
|
2612
|
+
*p++ = '-';
|
2613
|
+
*p++ = 'm';
|
2614
|
+
*p++ = 'e';
|
2615
|
+
*p++ = 's';
|
2616
|
+
*p++ = 's';
|
2617
|
+
*p++ = 'a';
|
2618
|
+
*p++ = 'g';
|
2619
|
+
*p++ = 'e';
|
2620
|
+
msg_len_writer.Write(0, p);
|
2621
|
+
p += msg_len_writer.length();
|
2622
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx));
|
2623
|
+
len += static_cast<uint32_t> GRPC_SLICE_LENGTH(message_pfx);
|
2624
|
+
len += static_cast<uint32_t>(msg_len);
|
2625
|
+
|
2626
|
+
hdr = GRPC_SLICE_MALLOC(9);
|
2627
|
+
p = GRPC_SLICE_START_PTR(hdr);
|
2628
|
+
*p++ = static_cast<uint8_t>(len >> 16);
|
2629
|
+
*p++ = static_cast<uint8_t>(len >> 8);
|
2630
|
+
*p++ = static_cast<uint8_t>(len);
|
2631
|
+
*p++ = GRPC_CHTTP2_FRAME_HEADER;
|
2632
|
+
*p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM |
|
2633
|
+
GRPC_CHTTP2_DATA_FLAG_END_HEADERS;
|
2634
|
+
*p++ = static_cast<uint8_t>(id >> 24);
|
2635
|
+
*p++ = static_cast<uint8_t>(id >> 16);
|
2636
|
+
*p++ = static_cast<uint8_t>(id >> 8);
|
2637
|
+
*p++ = static_cast<uint8_t>(id);
|
2638
|
+
GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr));
|
2639
|
+
|
2640
|
+
grpc_slice_buffer_add(&t->qbuf, hdr);
|
2641
|
+
if (!sent_initial_metadata) {
|
2642
|
+
grpc_slice_buffer_add(&t->qbuf, http_status_hdr);
|
2643
|
+
grpc_slice_buffer_add(&t->qbuf, content_type_hdr);
|
2644
|
+
}
|
2645
|
+
grpc_slice_buffer_add(&t->qbuf, status_hdr);
|
2646
|
+
grpc_slice_buffer_add(&t->qbuf, message_pfx);
|
2647
|
+
grpc_slice_buffer_add(&t->qbuf,
|
2648
|
+
grpc_slice_from_cpp_string(std::move(message)));
|
2649
|
+
grpc_chttp2_reset_ping_clock(t);
|
2650
|
+
grpc_chttp2_add_rst_stream_to_next_write(t, id, GRPC_HTTP2_NO_ERROR,
|
2651
|
+
nullptr);
|
2652
|
+
|
2653
|
+
grpc_chttp2_initiate_write(t,
|
2654
|
+
GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
|
2655
|
+
});
|
2420
2656
|
}
|
2421
2657
|
|
2422
2658
|
static void end_all_the_calls(grpc_chttp2_transport* t,
|
@@ -2429,13 +2665,13 @@ static void end_all_the_calls(grpc_chttp2_transport* t,
|
|
2429
2665
|
error = grpc_error_set_int(error, grpc_core::StatusIntProperty::kRpcStatus,
|
2430
2666
|
GRPC_STATUS_UNAVAILABLE);
|
2431
2667
|
}
|
2432
|
-
cancel_unstarted_streams(t, error);
|
2668
|
+
cancel_unstarted_streams(t, error, false);
|
2433
2669
|
std::vector<grpc_chttp2_stream*> to_cancel;
|
2434
2670
|
for (auto id_stream : t->stream_map) {
|
2435
2671
|
to_cancel.push_back(id_stream.second);
|
2436
2672
|
}
|
2437
2673
|
for (auto s : to_cancel) {
|
2438
|
-
grpc_chttp2_cancel_stream(t, s, error);
|
2674
|
+
grpc_chttp2_cancel_stream(t, s, error, false);
|
2439
2675
|
}
|
2440
2676
|
}
|
2441
2677
|
|
@@ -2528,21 +2764,34 @@ static void read_action(grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
|
2528
2764
|
error);
|
2529
2765
|
}
|
2530
2766
|
|
2531
|
-
static void
|
2767
|
+
static void read_action_parse_loop_locked(
|
2532
2768
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2533
2769
|
grpc_error_handle error) {
|
2534
|
-
grpc_error_handle err = error;
|
2535
|
-
if (!err.ok()) {
|
2536
|
-
err = grpc_error_set_int(
|
2537
|
-
GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
|
2538
|
-
grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
|
2539
|
-
}
|
2540
|
-
std::swap(err, error);
|
2541
2770
|
if (t->closed_with_error.ok()) {
|
2542
|
-
size_t i = 0;
|
2543
2771
|
grpc_error_handle errors[3] = {error, absl::OkStatus(), absl::OkStatus()};
|
2544
|
-
|
2545
|
-
|
2772
|
+
size_t requests_started = 0;
|
2773
|
+
for (size_t i = 0;
|
2774
|
+
i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) {
|
2775
|
+
auto r = grpc_chttp2_perform_read(t.get(), t->read_buffer.slices[i],
|
2776
|
+
requests_started);
|
2777
|
+
if (auto* partial_read_size = absl::get_if<size_t>(&r)) {
|
2778
|
+
for (size_t j = 0; j < i; j++) {
|
2779
|
+
grpc_core::CSliceUnref(grpc_slice_buffer_take_first(&t->read_buffer));
|
2780
|
+
}
|
2781
|
+
grpc_slice_buffer_sub_first(
|
2782
|
+
&t->read_buffer, *partial_read_size,
|
2783
|
+
GRPC_SLICE_LENGTH(t->read_buffer.slices[0]));
|
2784
|
+
t->combiner->ForceOffload();
|
2785
|
+
auto* tp = t.get();
|
2786
|
+
tp->combiner->Run(
|
2787
|
+
grpc_core::InitTransportClosure<read_action_parse_loop_locked>(
|
2788
|
+
std::move(t), &tp->read_action_locked),
|
2789
|
+
std::move(errors[0]));
|
2790
|
+
// Early return: we queued to retry later.
|
2791
|
+
return;
|
2792
|
+
} else {
|
2793
|
+
errors[1] = std::move(absl::get<absl::Status>(r));
|
2794
|
+
}
|
2546
2795
|
}
|
2547
2796
|
if (errors[1] != absl::OkStatus()) {
|
2548
2797
|
errors[2] = try_http_parsing(t.get());
|
@@ -2577,7 +2826,6 @@ static void read_action_locked(
|
|
2577
2826
|
}
|
2578
2827
|
|
2579
2828
|
close_transport_locked(t.get(), error);
|
2580
|
-
t->endpoint_reading = 0;
|
2581
2829
|
} else if (t->closed_with_error.ok()) {
|
2582
2830
|
keep_reading = true;
|
2583
2831
|
// Since we have read a byte, reset the keepalive timer
|
@@ -2601,6 +2849,31 @@ static void read_action_locked(
|
|
2601
2849
|
}
|
2602
2850
|
}
|
2603
2851
|
|
2852
|
+
static void read_action_locked(
|
2853
|
+
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2854
|
+
grpc_error_handle error) {
|
2855
|
+
// got an incoming read, cancel any pending keepalive timers
|
2856
|
+
t->keepalive_incoming_data_wanted = false;
|
2857
|
+
if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) {
|
2858
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace) ||
|
2859
|
+
GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
|
2860
|
+
gpr_log(GPR_INFO,
|
2861
|
+
"%s[%p]: Clear keepalive timer because data was received",
|
2862
|
+
t->is_client ? "CLIENT" : "SERVER", t.get());
|
2863
|
+
}
|
2864
|
+
t->event_engine->Cancel(
|
2865
|
+
std::exchange(t->keepalive_ping_timeout_handle, TaskHandle::kInvalid));
|
2866
|
+
}
|
2867
|
+
grpc_error_handle err = error;
|
2868
|
+
if (!err.ok()) {
|
2869
|
+
err = grpc_error_set_int(
|
2870
|
+
GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1),
|
2871
|
+
grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state);
|
2872
|
+
}
|
2873
|
+
std::swap(err, error);
|
2874
|
+
read_action_parse_loop_locked(std::move(t), std::move(err));
|
2875
|
+
}
|
2876
|
+
|
2604
2877
|
static void continue_read_action_locked(
|
2605
2878
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
2606
2879
|
const bool urgent = !t->goaway_error.ok();
|
@@ -2682,7 +2955,7 @@ static void finish_bdp_ping_locked(
|
|
2682
2955
|
t->flow_control.bdp_estimator()->CompletePing();
|
2683
2956
|
grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t.get(),
|
2684
2957
|
nullptr);
|
2685
|
-
GPR_ASSERT(
|
2958
|
+
GPR_ASSERT(t->next_bdp_ping_timer_handle == TaskHandle::kInvalid);
|
2686
2959
|
t->next_bdp_ping_timer_handle =
|
2687
2960
|
t->event_engine->RunAfter(next_ping - grpc_core::Timestamp::Now(), [t] {
|
2688
2961
|
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
@@ -2702,8 +2975,8 @@ static void next_bdp_ping_timer_expired_locked(
|
|
2702
2975
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2703
2976
|
GRPC_UNUSED grpc_error_handle error) {
|
2704
2977
|
GPR_DEBUG_ASSERT(error.ok());
|
2705
|
-
GPR_ASSERT(t->next_bdp_ping_timer_handle
|
2706
|
-
t->next_bdp_ping_timer_handle
|
2978
|
+
GPR_ASSERT(t->next_bdp_ping_timer_handle != TaskHandle::kInvalid);
|
2979
|
+
t->next_bdp_ping_timer_handle = TaskHandle::kInvalid;
|
2707
2980
|
if (t->flow_control.bdp_estimator()->accumulator() == 0) {
|
2708
2981
|
// Block the bdp ping till we receive more data.
|
2709
2982
|
t->bdp_ping_blocked = true;
|
@@ -2772,8 +3045,8 @@ static void init_keepalive_ping_locked(
|
|
2772
3045
|
GRPC_UNUSED grpc_error_handle error) {
|
2773
3046
|
GPR_DEBUG_ASSERT(error.ok());
|
2774
3047
|
GPR_ASSERT(t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING);
|
2775
|
-
GPR_ASSERT(t->keepalive_ping_timer_handle
|
2776
|
-
t->keepalive_ping_timer_handle
|
3048
|
+
GPR_ASSERT(t->keepalive_ping_timer_handle != TaskHandle::kInvalid);
|
3049
|
+
t->keepalive_ping_timer_handle = TaskHandle::kInvalid;
|
2777
3050
|
if (t->destroying || !t->closed_with_error.ok()) {
|
2778
3051
|
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
|
2779
3052
|
} else {
|
@@ -2793,39 +3066,6 @@ static void init_keepalive_ping_locked(
|
|
2793
3066
|
}
|
2794
3067
|
}
|
2795
3068
|
|
2796
|
-
static void start_keepalive_ping(
|
2797
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2798
|
-
grpc_error_handle error) {
|
2799
|
-
auto* tp = t.get();
|
2800
|
-
tp->combiner->Run(
|
2801
|
-
grpc_core::InitTransportClosure<start_keepalive_ping_locked>(
|
2802
|
-
std::move(t), &tp->start_keepalive_ping_locked),
|
2803
|
-
error);
|
2804
|
-
}
|
2805
|
-
|
2806
|
-
static void start_keepalive_ping_locked(
|
2807
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2808
|
-
grpc_error_handle error) {
|
2809
|
-
if (!error.ok()) {
|
2810
|
-
return;
|
2811
|
-
}
|
2812
|
-
if (t->channelz_socket != nullptr) {
|
2813
|
-
t->channelz_socket->RecordKeepaliveSent();
|
2814
|
-
}
|
2815
|
-
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
|
2816
|
-
GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
|
2817
|
-
gpr_log(GPR_INFO, "%s: Start keepalive ping",
|
2818
|
-
std::string(t->peer_string.as_string_view()).c_str());
|
2819
|
-
}
|
2820
|
-
t->keepalive_watchdog_timer_handle =
|
2821
|
-
t->event_engine->RunAfter(t->keepalive_timeout, [t]() mutable {
|
2822
|
-
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
2823
|
-
grpc_core::ExecCtx exec_ctx;
|
2824
|
-
keepalive_watchdog_fired(std::move(t));
|
2825
|
-
});
|
2826
|
-
t->keepalive_ping_started = true;
|
2827
|
-
}
|
2828
|
-
|
2829
3069
|
static void finish_keepalive_ping(
|
2830
3070
|
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2831
3071
|
grpc_error_handle error) {
|
@@ -2846,20 +3086,8 @@ static void finish_keepalive_ping_locked(
|
|
2846
3086
|
gpr_log(GPR_INFO, "%s: Finish keepalive ping",
|
2847
3087
|
std::string(t->peer_string.as_string_view()).c_str());
|
2848
3088
|
}
|
2849
|
-
if (!t->keepalive_ping_started) {
|
2850
|
-
// start_keepalive_ping_locked has not run yet. Reschedule
|
2851
|
-
// finish_keepalive_ping_locked for it to be run later.
|
2852
|
-
finish_keepalive_ping(std::move(t), std::move(error));
|
2853
|
-
return;
|
2854
|
-
}
|
2855
|
-
t->keepalive_ping_started = false;
|
2856
3089
|
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING;
|
2857
|
-
|
2858
|
-
if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) {
|
2859
|
-
t->keepalive_watchdog_timer_handle.reset();
|
2860
|
-
}
|
2861
|
-
}
|
2862
|
-
GPR_ASSERT(!t->keepalive_ping_timer_handle.has_value());
|
3090
|
+
GPR_ASSERT(t->keepalive_ping_timer_handle == TaskHandle::kInvalid);
|
2863
3091
|
t->keepalive_ping_timer_handle =
|
2864
3092
|
t->event_engine->RunAfter(t->keepalive_time, [t] {
|
2865
3093
|
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
@@ -2870,56 +3098,22 @@ static void finish_keepalive_ping_locked(
|
|
2870
3098
|
}
|
2871
3099
|
}
|
2872
3100
|
|
2873
|
-
static void keepalive_watchdog_fired(
|
2874
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t) {
|
2875
|
-
auto* tp = t.get();
|
2876
|
-
tp->combiner->Run(
|
2877
|
-
grpc_core::InitTransportClosure<keepalive_watchdog_fired_locked>(
|
2878
|
-
std::move(t), &tp->keepalive_watchdog_fired_locked),
|
2879
|
-
absl::OkStatus());
|
2880
|
-
}
|
2881
|
-
|
2882
|
-
static void keepalive_watchdog_fired_locked(
|
2883
|
-
grpc_core::RefCountedPtr<grpc_chttp2_transport> t,
|
2884
|
-
GRPC_UNUSED grpc_error_handle error) {
|
2885
|
-
GPR_DEBUG_ASSERT(error.ok());
|
2886
|
-
GPR_ASSERT(t->keepalive_watchdog_timer_handle.has_value());
|
2887
|
-
t->keepalive_watchdog_timer_handle.reset();
|
2888
|
-
if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) {
|
2889
|
-
gpr_log(GPR_INFO, "%s: Keepalive watchdog fired. Closing transport.",
|
2890
|
-
std::string(t->peer_string.as_string_view()).c_str());
|
2891
|
-
t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING;
|
2892
|
-
close_transport_locked(
|
2893
|
-
t.get(),
|
2894
|
-
grpc_error_set_int(GRPC_ERROR_CREATE("keepalive watchdog timeout"),
|
2895
|
-
grpc_core::StatusIntProperty::kRpcStatus,
|
2896
|
-
GRPC_STATUS_UNAVAILABLE));
|
2897
|
-
} else {
|
2898
|
-
// If keepalive_state is not PINGING, we consider it as an error. Maybe the
|
2899
|
-
// cancellation failed in finish_keepalive_ping_locked. Users have seen
|
2900
|
-
// other states: https://github.com/grpc/grpc/issues/32085.
|
2901
|
-
gpr_log(GPR_ERROR, "keepalive_ping_end state error: %d (expect: %d)",
|
2902
|
-
t->keepalive_state, GRPC_CHTTP2_KEEPALIVE_STATE_PINGING);
|
2903
|
-
}
|
2904
|
-
}
|
2905
|
-
|
2906
3101
|
static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t) {
|
2907
|
-
if (t->keepalive_ping_timer_handle
|
2908
|
-
|
2909
|
-
|
2910
|
-
|
2911
|
-
|
2912
|
-
|
2913
|
-
|
2914
|
-
|
2915
|
-
}
|
2916
|
-
t->keepalive_ping_timer_handle = t->event_engine->RunAfter(
|
2917
|
-
t->keepalive_time, [t = t->Ref()]() mutable {
|
2918
|
-
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
2919
|
-
grpc_core::ExecCtx exec_ctx;
|
2920
|
-
init_keepalive_ping(std::move(t));
|
2921
|
-
});
|
3102
|
+
if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid &&
|
3103
|
+
t->event_engine->Cancel(t->keepalive_ping_timer_handle)) {
|
3104
|
+
// Cancel succeeds, resets the keepalive ping timer. Note that we don't
|
3105
|
+
// need to Ref or Unref here since we still hold the Ref.
|
3106
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) ||
|
3107
|
+
GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) {
|
3108
|
+
gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.",
|
3109
|
+
std::string(t->peer_string.as_string_view()).c_str());
|
2922
3110
|
}
|
3111
|
+
t->keepalive_ping_timer_handle =
|
3112
|
+
t->event_engine->RunAfter(t->keepalive_time, [t = t->Ref()]() mutable {
|
3113
|
+
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
|
3114
|
+
grpc_core::ExecCtx exec_ctx;
|
3115
|
+
init_keepalive_ping(std::move(t));
|
3116
|
+
});
|
2923
3117
|
}
|
2924
3118
|
}
|
2925
3119
|
|
@@ -2941,16 +3135,14 @@ static void connectivity_state_set(grpc_chttp2_transport* t,
|
|
2941
3135
|
// POLLSET STUFF
|
2942
3136
|
//
|
2943
3137
|
|
2944
|
-
|
2945
|
-
|
2946
|
-
|
2947
|
-
grpc_endpoint_add_to_pollset(t->ep, pollset);
|
3138
|
+
void grpc_chttp2_transport::SetPollset(grpc_stream* /*gs*/,
|
3139
|
+
grpc_pollset* pollset) {
|
3140
|
+
grpc_endpoint_add_to_pollset(ep, pollset);
|
2948
3141
|
}
|
2949
3142
|
|
2950
|
-
|
2951
|
-
|
2952
|
-
|
2953
|
-
grpc_endpoint_add_to_pollset_set(t->ep, pollset_set);
|
3143
|
+
void grpc_chttp2_transport::SetPollsetSet(grpc_stream* /*gs*/,
|
3144
|
+
grpc_pollset_set* pollset_set) {
|
3145
|
+
grpc_endpoint_add_to_pollset_set(ep, pollset_set);
|
2954
3146
|
}
|
2955
3147
|
|
2956
3148
|
//
|
@@ -3038,7 +3230,8 @@ static void destructive_reclaimer_locked(
|
|
3038
3230
|
t.get(), s,
|
3039
3231
|
grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"),
|
3040
3232
|
grpc_core::StatusIntProperty::kHttp2Error,
|
3041
|
-
GRPC_HTTP2_ENHANCE_YOUR_CALM)
|
3233
|
+
GRPC_HTTP2_ENHANCE_YOUR_CALM),
|
3234
|
+
false);
|
3042
3235
|
if (!t->stream_map.empty()) {
|
3043
3236
|
// Since we cancel one stream per destructive reclamation, if
|
3044
3237
|
// there are more streams left, we can immediately post a new
|
@@ -3107,41 +3300,36 @@ const char* grpc_chttp2_initiate_write_reason_string(
|
|
3107
3300
|
GPR_UNREACHABLE_CODE(return "unknown");
|
3108
3301
|
}
|
3109
3302
|
|
3110
|
-
|
3111
|
-
|
3303
|
+
grpc_endpoint* grpc_chttp2_transport::GetEndpoint() { return ep; }
|
3304
|
+
|
3305
|
+
size_t grpc_chttp2_transport::SizeOfStream() const {
|
3306
|
+
return sizeof(grpc_chttp2_stream);
|
3112
3307
|
}
|
3113
3308
|
|
3114
|
-
|
3115
|
-
|
3116
|
-
|
3117
|
-
|
3118
|
-
nullptr,
|
3119
|
-
set_pollset,
|
3120
|
-
set_pollset_set,
|
3121
|
-
perform_stream_op,
|
3122
|
-
perform_transport_op,
|
3123
|
-
destroy_stream,
|
3124
|
-
destroy_transport,
|
3125
|
-
chttp2_get_endpoint};
|
3309
|
+
bool grpc_chttp2_transport::
|
3310
|
+
HackyDisableStreamOpBatchCoalescingInConnectedChannel() const {
|
3311
|
+
return false;
|
3312
|
+
}
|
3126
3313
|
|
3127
|
-
|
3314
|
+
absl::string_view grpc_chttp2_transport::GetTransportName() const {
|
3315
|
+
return "chttp2";
|
3316
|
+
}
|
3128
3317
|
|
3129
3318
|
grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode>
|
3130
|
-
grpc_chttp2_transport_get_socket_node(
|
3319
|
+
grpc_chttp2_transport_get_socket_node(grpc_core::Transport* transport) {
|
3131
3320
|
grpc_chttp2_transport* t =
|
3132
3321
|
reinterpret_cast<grpc_chttp2_transport*>(transport);
|
3133
3322
|
return t->channelz_socket;
|
3134
3323
|
}
|
3135
3324
|
|
3136
|
-
|
3325
|
+
grpc_core::Transport* grpc_create_chttp2_transport(
|
3137
3326
|
const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep,
|
3138
3327
|
bool is_client) {
|
3139
|
-
|
3140
|
-
return &t->base;
|
3328
|
+
return new grpc_chttp2_transport(channel_args, ep, is_client);
|
3141
3329
|
}
|
3142
3330
|
|
3143
3331
|
void grpc_chttp2_transport_start_reading(
|
3144
|
-
|
3332
|
+
grpc_core::Transport* transport, grpc_slice_buffer* read_buffer,
|
3145
3333
|
grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close) {
|
3146
3334
|
auto t = reinterpret_cast<grpc_chttp2_transport*>(transport)->Ref();
|
3147
3335
|
if (read_buffer != nullptr) {
|