grpc 1.62.3 → 1.63.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +415 -1962
- data/include/grpc/byte_buffer.h +1 -2
- data/include/grpc/census.h +1 -2
- data/include/grpc/compression.h +1 -2
- data/include/grpc/event_engine/endpoint_config.h +2 -2
- data/include/grpc/event_engine/event_engine.h +4 -2
- data/include/grpc/event_engine/extensible.h +2 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +1 -2
- data/include/grpc/event_engine/memory_allocator.h +1 -2
- data/include/grpc/event_engine/memory_request.h +2 -2
- data/include/grpc/event_engine/slice.h +1 -2
- data/include/grpc/event_engine/slice_buffer.h +1 -2
- data/include/grpc/grpc.h +1 -8
- data/include/grpc/grpc_audit_logging.h +1 -2
- data/include/grpc/grpc_crl_provider.h +2 -2
- data/include/grpc/grpc_cronet.h +1 -2
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -2
- data/include/grpc/impl/call.h +1 -2
- data/include/grpc/impl/channel_arg_names.h +4 -0
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +2 -2
- data/include/grpc/module.modulemap +1 -0
- data/include/grpc/slice.h +1 -2
- data/include/grpc/slice_buffer.h +1 -2
- data/include/grpc/support/alloc.h +2 -2
- data/include/grpc/support/json.h +2 -2
- data/include/grpc/support/log.h +2 -2
- data/include/grpc/support/metrics.h +51 -0
- data/include/grpc/support/string_util.h +0 -1
- data/include/grpc/support/sync.h +0 -1
- data/include/grpc/support/sync_abseil.h +0 -1
- data/include/grpc/support/sync_custom.h +0 -1
- data/include/grpc/support/sync_generic.h +1 -2
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +2 -2
- data/src/core/client_channel/client_channel_channelz.h +1 -1
- data/src/core/client_channel/client_channel_filter.cc +48 -38
- data/src/core/client_channel/client_channel_filter.h +6 -14
- data/src/core/client_channel/client_channel_internal.h +1 -1
- data/src/core/client_channel/client_channel_service_config.h +4 -3
- data/src/core/client_channel/config_selector.h +1 -1
- data/src/core/client_channel/dynamic_filters.h +1 -1
- data/src/core/client_channel/http_proxy_mapper.cc +3 -4
- data/src/core/client_channel/http_proxy_mapper.h +1 -1
- data/src/core/client_channel/retry_filter.h +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +9 -9
- data/src/core/client_channel/retry_service_config.h +3 -3
- data/src/core/client_channel/retry_throttle.h +3 -2
- data/src/core/client_channel/subchannel.cc +2 -2
- data/src/core/client_channel/subchannel.h +7 -7
- data/src/core/client_channel/subchannel_pool_interface.h +1 -1
- data/src/core/client_channel/subchannel_stream_client.cc +1 -5
- data/src/core/client_channel/subchannel_stream_client.h +2 -2
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -49
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +0 -12
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +4 -10
- data/src/core/ext/filters/http/http_filters_plugin.cc +15 -35
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +8 -7
- data/src/core/ext/filters/http/message_compress/compression_filter.h +2 -1
- data/src/core/ext/filters/http/server/http_server_filter.cc +1 -1
- data/src/core/ext/filters/message_size/message_size_filter.cc +15 -10
- data/src/core/ext/filters/rbac/rbac_filter.cc +4 -11
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +2 -2
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +4 -9
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +38 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +27 -75
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +23 -4
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +13 -10
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +28 -85
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +0 -4
- data/src/core/ext/transport/chttp2/transport/internal.h +4 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +5 -10
- data/src/core/ext/transport/chttp2/transport/writing.cc +34 -31
- data/src/core/ext/transport/inproc/inproc_transport.cc +6 -4
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +9 -8
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +243 -230
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +42 -48
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +289 -265
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +62 -70
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +238 -226
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +42 -50
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +937 -882
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +182 -208
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +86 -84
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +357 -318
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +86 -86
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +40 -32
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +24 -20
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +517 -473
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +105 -125
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1207 -1108
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +261 -289
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +163 -152
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +29 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1265 -1137
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +276 -346
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +212 -188
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +53 -69
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +564 -508
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +123 -131
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +340 -309
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +69 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +786 -688
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +171 -189
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +367 -343
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +72 -80
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +539 -471
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +125 -141
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -632
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +137 -137
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +713 -637
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +166 -208
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +10 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +11 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +91 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +102 -93
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +22 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +162 -145
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +32 -40
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +314 -287
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +70 -74
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +330 -309
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +66 -66
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +516 -478
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +110 -120
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +495 -468
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +89 -101
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +88 -78
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +19 -37
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +41 -36
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +8 -26
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +46 -40
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +307 -279
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +60 -64
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +382 -358
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +70 -70
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +540 -490
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +122 -136
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +339 -327
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +48 -70
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3407 -3145
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +700 -752
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +100 -91
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +472 -430
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +102 -116
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +146 -136
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +30 -30
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +69 -65
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +67 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +64 -56
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +14 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +986 -832
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +269 -281
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +35 -35
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +102 -88
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +224 -204
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +46 -62
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +160 -153
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +28 -30
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +51 -44
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +12 -12
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1349 -1230
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +293 -309
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +61 -54
- 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 +13 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +124 -108
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +29 -37
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +518 -493
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +82 -108
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +92 -80
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +23 -29
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +497 -457
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +110 -124
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +206 -185
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +48 -64
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +7 -6
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +766 -710
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +140 -150
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +102 -98
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +310 -288
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +67 -67
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +30 -26
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +26 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +70 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +65 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +15 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +63 -59
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +134 -121
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +29 -29
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +135 -121
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +26 -26
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +141 -122
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +37 -37
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +11 -11
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -8
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +581 -524
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +118 -146
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +616 -544
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +136 -152
- data/src/core/ext/upb-gen/google/api/http.upb.h +176 -162
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +49 -47
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2456 -2358
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +367 -486
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +7 -6
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +134 -116
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +27 -29
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +126 -108
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +49 -47
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +107 -92
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +77 -61
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +577 -518
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +121 -127
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +46 -40
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +10 -16
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +28 -24
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +265 -238
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +57 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +96 -82
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +19 -19
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +496 -466
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +81 -85
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/validate/validate.upb.h +2620 -2458
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +363 -507
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +31 -26
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +93 -78
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +14 -12
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +58 -50
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +33 -23
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +32 -28
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +103 -93
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +37 -32
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +127 -93
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +44 -43
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +79 -78
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +7 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +86 -84
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +324 -285
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +74 -82
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +237 -234
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +30 -36
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +33 -28
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +53 -46
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +12 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +5 -7
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +385 -384
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +2 -5
- data/src/core/ext/xds/certificate_provider_store.h +3 -2
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +2 -2
- data/src/core/ext/xds/xds_api.h +1 -1
- data/src/core/ext/xds/xds_audit_logger_registry.cc +2 -1
- data/src/core/ext/xds/xds_audit_logger_registry.h +1 -1
- data/src/core/ext/xds/xds_bootstrap.h +2 -4
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +38 -6
- data/src/core/ext/xds/xds_bootstrap_grpc.h +22 -7
- data/src/core/ext/xds/xds_certificate_provider.cc +2 -2
- data/src/core/ext/xds/xds_certificate_provider.h +1 -1
- data/src/core/ext/xds/xds_channel_stack_modifier.h +2 -1
- data/src/core/ext/xds/xds_client.cc +283 -103
- data/src/core/ext/xds/xds_client.h +41 -8
- data/src/core/ext/xds/xds_client_grpc.cc +184 -55
- data/src/core/ext/xds/xds_client_grpc.h +22 -8
- data/src/core/ext/xds/xds_client_stats.cc +2 -2
- data/src/core/ext/xds/xds_client_stats.h +14 -7
- data/src/core/ext/xds/xds_cluster.cc +9 -9
- data/src/core/ext/xds/xds_cluster.h +5 -2
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_endpoint.cc +3 -2
- data/src/core/ext/xds/xds_endpoint.h +2 -2
- data/src/core/ext/xds/xds_health_status.h +2 -2
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.h +2 -2
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +5 -5
- data/src/core/ext/xds/xds_lb_policy_registry.h +1 -1
- data/src/core/ext/xds/xds_listener.h +1 -1
- data/src/core/ext/xds/xds_metrics.h +39 -0
- data/src/core/ext/xds/xds_route_config.h +1 -1
- data/src/core/ext/xds/xds_routing.h +1 -1
- data/src/core/ext/xds/xds_server_config_fetcher.cc +20 -19
- data/src/core/ext/xds/xds_transport_grpc.cc +17 -32
- data/src/core/ext/xds/xds_transport_grpc.h +6 -6
- data/src/core/lib/address_utils/parse_address.cc +8 -1
- data/src/core/lib/address_utils/sockaddr_utils.cc +8 -1
- data/src/core/lib/channel/call_finalization.h +1 -1
- data/src/core/lib/channel/call_tracer.cc +3 -4
- data/src/core/lib/channel/call_tracer.h +14 -12
- data/src/core/lib/channel/channel_stack.cc +9 -0
- data/src/core/lib/channel/channel_stack.h +5 -0
- data/src/core/lib/channel/channel_stack_builder_impl.cc +140 -0
- data/src/core/lib/channel/channelz.h +9 -6
- data/src/core/lib/channel/channelz_registry.h +1 -1
- data/src/core/lib/channel/connected_channel.cc +5 -8
- data/src/core/lib/channel/metrics.cc +396 -0
- data/src/core/lib/channel/metrics.h +406 -0
- data/src/core/lib/channel/promise_based_filter.h +63 -7
- data/src/core/lib/channel/server_call_tracer_filter.cc +2 -0
- data/src/core/lib/{surface/builtins.h → channel/server_call_tracer_filter.h} +7 -5
- data/src/core/lib/channel/tcp_tracer.h +4 -0
- data/src/core/lib/compression/compression_internal.cc +33 -0
- data/src/core/lib/compression/compression_internal.h +3 -0
- data/src/core/lib/config/config_vars.cc +6 -4
- data/src/core/lib/config/config_vars.h +4 -0
- data/src/core/lib/debug/stats_data.cc +269 -26
- data/src/core/lib/debug/stats_data.h +176 -0
- data/src/core/lib/event_engine/default_event_engine.h +0 -6
- data/src/core/lib/event_engine/event_engine_context.h +31 -0
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +65 -0
- data/src/core/lib/event_engine/posix.h +8 -0
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +1 -0
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +7 -0
- data/src/core/lib/event_engine/tcp_socket_utils.cc +8 -1
- data/src/core/lib/event_engine/tcp_socket_utils.h +2 -2
- data/src/core/lib/event_engine/windows/win_socket.cc +4 -0
- data/src/core/lib/event_engine/windows/win_socket.h +3 -0
- data/src/core/lib/event_engine/windows/windows_engine.cc +41 -8
- data/src/core/lib/event_engine/windows/windows_listener.cc +54 -6
- data/src/core/lib/event_engine/windows/windows_listener.h +14 -0
- data/src/core/lib/experiments/config.cc +63 -45
- data/src/core/lib/experiments/experiments.cc +19 -238
- data/src/core/lib/experiments/experiments.h +4 -119
- data/src/core/lib/gpr/android/log.cc +1 -1
- data/src/core/lib/gpr/linux/log.cc +1 -1
- data/src/core/lib/gpr/log.cc +26 -0
- data/src/core/lib/gpr/posix/log.cc +1 -1
- data/src/core/lib/gpr/posix/time.cc +0 -60
- data/src/core/lib/gpr/windows/log.cc +1 -1
- data/src/core/lib/gprpp/down_cast.h +4 -4
- data/src/core/lib/gprpp/dual_ref_counted.h +17 -9
- data/src/core/lib/gprpp/load_file.cc +3 -1
- data/src/core/lib/gprpp/orphanable.h +5 -2
- data/src/core/lib/gprpp/ref_counted.h +5 -2
- data/src/core/lib/gprpp/ref_counted_ptr.h +2 -1
- data/src/core/lib/gprpp/time.h +6 -0
- data/src/core/lib/gprpp/uuid_v4.cc +37 -0
- data/src/core/lib/gprpp/uuid_v4.h +36 -0
- data/src/core/lib/iomgr/port.h +3 -0
- data/src/core/lib/iomgr/tcp_client_windows.cc +24 -5
- data/src/core/lib/iomgr/tcp_posix.cc +47 -0
- data/src/core/lib/iomgr/tcp_server_posix.cc +101 -87
- data/src/core/lib/iomgr/tcp_server_windows.cc +60 -9
- data/src/core/lib/iomgr/unix_sockets_posix.cc +13 -0
- data/src/core/lib/promise/activity.h +1 -0
- data/src/core/lib/promise/context.h +2 -2
- data/src/core/lib/promise/party.cc +33 -3
- data/src/core/lib/promise/party.h +12 -14
- data/src/core/lib/promise/sleep.cc +1 -1
- data/src/core/lib/promise/status_flag.h +8 -0
- data/src/core/lib/resource_quota/arena.h +3 -0
- data/src/core/lib/resource_quota/connection_quota.cc +71 -0
- data/src/core/lib/resource_quota/connection_quota.h +61 -0
- data/src/core/lib/security/authorization/evaluate_args.cc +6 -5
- data/src/core/lib/security/authorization/evaluate_args.h +3 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +4 -7
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +1 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +8 -4
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +11 -16
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +17 -10
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +7 -3
- data/src/core/lib/security/security_connector/load_system_roots.h +3 -0
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +3 -2
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +87 -0
- data/src/core/lib/security/transport/auth_filters.h +0 -25
- data/src/core/lib/security/transport/security_handshaker.cc +18 -9
- data/src/core/lib/security/transport/security_handshaker.h +4 -2
- data/src/core/lib/slice/slice.cc +31 -5
- data/src/core/lib/slice/slice_buffer.cc +49 -11
- data/src/core/lib/slice/slice_buffer.h +14 -1
- data/src/core/lib/slice/slice_internal.h +7 -0
- data/src/core/lib/surface/call.cc +50 -55
- data/src/core/lib/surface/call.h +3 -3
- data/src/core/lib/surface/call_trace.h +0 -6
- data/src/core/lib/surface/channel.cc +104 -315
- data/src/core/lib/surface/channel.h +88 -107
- data/src/core/lib/surface/channel_create.cc +109 -0
- data/src/core/lib/surface/{builtins.cc → channel_create.h} +20 -15
- data/src/core/lib/surface/channel_init.cc +7 -6
- data/src/core/lib/surface/channel_init.h +18 -2
- data/src/core/lib/surface/init.cc +9 -14
- data/src/core/lib/surface/lame_client.cc +3 -28
- data/src/core/lib/surface/lame_client.h +7 -2
- data/src/core/lib/surface/legacy_channel.cc +414 -0
- data/src/core/lib/surface/legacy_channel.h +124 -0
- data/src/core/lib/surface/server.cc +20 -35
- data/src/core/lib/surface/server.h +10 -6
- data/src/core/lib/surface/server_interface.h +43 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +7 -16
- data/src/core/lib/transport/batch_builder.h +4 -6
- data/src/core/lib/transport/call_filters.cc +119 -19
- data/src/core/lib/transport/call_filters.h +339 -40
- data/src/core/lib/transport/call_spine.h +8 -3
- data/src/core/lib/transport/endpoint_info_handshaker.cc +80 -0
- data/src/core/lib/transport/endpoint_info_handshaker.h +37 -0
- data/src/core/lib/transport/handshaker_factory.h +1 -2
- data/src/core/lib/transport/metadata.cc +1 -1
- data/src/core/lib/transport/metadata_batch.cc +66 -5
- data/src/core/lib/transport/metadata_batch.h +12 -16
- data/src/core/lib/transport/metadata_info.cc +55 -0
- data/src/core/lib/transport/metadata_info.h +85 -0
- data/src/core/lib/transport/transport_op_string.cc +0 -8
- data/src/core/load_balancing/address_filtering.cc +1 -1
- data/src/core/load_balancing/address_filtering.h +1 -1
- data/src/core/{client_channel/backend_metric.cc → load_balancing/backend_metric_parser.cc} +1 -1
- data/src/core/{client_channel/backend_metric.h → load_balancing/backend_metric_parser.h} +3 -3
- data/src/core/load_balancing/child_policy_handler.cc +1 -1
- data/src/core/load_balancing/delegating_helper.h +8 -0
- data/src/core/load_balancing/endpoint_list.cc +1 -1
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +3 -1
- data/src/core/load_balancing/grpclb/grpclb.cc +39 -44
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +1 -1
- data/src/core/load_balancing/health_check_client.cc +6 -6
- data/src/core/load_balancing/health_check_client_internal.h +4 -5
- data/src/core/load_balancing/lb_policy.h +13 -4
- data/src/core/load_balancing/lb_policy_registry.h +2 -2
- data/src/core/load_balancing/oob_backend_metric.cc +6 -6
- data/src/core/load_balancing/oob_backend_metric.h +1 -1
- data/src/core/load_balancing/oob_backend_metric_internal.h +6 -6
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +29 -29
- data/src/core/load_balancing/pick_first/pick_first.cc +70 -148
- data/src/core/load_balancing/priority/priority.cc +8 -7
- data/src/core/load_balancing/ring_hash/ring_hash.cc +8 -8
- data/src/core/load_balancing/ring_hash/ring_hash.h +1 -1
- data/src/core/load_balancing/rls/rls.cc +202 -79
- data/src/core/load_balancing/rls/rls.h +26 -0
- data/src/core/load_balancing/round_robin/round_robin.cc +7 -462
- data/src/core/load_balancing/subchannel_interface.h +3 -2
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +1 -1
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +169 -964
- data/src/core/load_balancing/weighted_target/weighted_target.cc +13 -10
- data/src/core/load_balancing/weighted_target/weighted_target.h +28 -0
- data/src/core/load_balancing/xds/cds.cc +8 -8
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +101 -57
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +6 -6
- data/src/core/load_balancing/xds/xds_override_host.cc +15 -15
- data/src/core/load_balancing/xds/xds_override_host.h +1 -1
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +9 -8
- data/src/core/plugin_registry/grpc_plugin_registry.cc +20 -3
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -1
- data/src/core/resolver/binder/binder_resolver.cc +9 -2
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +8 -7
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +3 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1 -1
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +2 -2
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +3 -1
- data/src/core/resolver/dns/native/dns_resolver.cc +3 -3
- data/src/core/resolver/endpoint_addresses.h +4 -4
- data/src/core/resolver/fake/fake_resolver.cc +2 -2
- data/src/core/resolver/fake/fake_resolver.h +1 -1
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +9 -4
- data/src/core/resolver/resolver_registry.h +2 -2
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +6 -6
- data/src/core/resolver/xds/xds_dependency_manager.cc +14 -9
- data/src/core/resolver/xds/xds_dependency_manager.h +5 -5
- data/src/core/resolver/xds/xds_resolver.cc +17 -16
- data/src/core/resolver/xds/xds_resolver_attributes.h +1 -1
- data/src/core/{client_channel → service_config}/service_config_channel_arg_filter.cc +1 -1
- data/src/core/service_config/service_config_parser.h +1 -1
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +6 -4
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +1 -0
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +1 -1
- data/src/core/tsi/ssl_transport_security.cc +198 -70
- data/src/core/tsi/ssl_transport_security_utils.cc +127 -0
- data/src/core/tsi/ssl_transport_security_utils.h +27 -0
- data/src/ruby/ext/grpc/extconf.rb +0 -3
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +0 -3
- data/src/ruby/lib/grpc/generic/active_call.rb +8 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_spec.rb +25 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc +320 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.h +64 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +93 -0
- data/third_party/abseil-cpp/absl/log/globals.cc +178 -0
- data/third_party/abseil-cpp/absl/log/globals.h +218 -0
- data/third_party/abseil-cpp/absl/log/internal/append_truncated.h +47 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.cc +83 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +239 -0
- data/third_party/abseil-cpp/absl/log/internal/config.h +45 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.cc +73 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.h +35 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.cc +145 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.h +101 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.cc +205 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.h +78 -0
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +282 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +633 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +375 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc +296 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.h +54 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.cc +35 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.h +88 -0
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +136 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.cc +220 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.h +288 -0
- data/third_party/abseil-cpp/absl/log/internal/strip.h +72 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.cc +340 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.h +163 -0
- data/third_party/abseil-cpp/absl/log/internal/voidify.h +44 -0
- data/third_party/abseil-cpp/absl/log/log.h +361 -0
- data/third_party/abseil-cpp/absl/log/log_entry.cc +41 -0
- data/third_party/abseil-cpp/absl/log/log_entry.h +221 -0
- data/third_party/abseil-cpp/absl/log/log_sink.cc +23 -0
- data/third_party/abseil-cpp/absl/log/log_sink.h +64 -0
- data/third_party/abseil-cpp/absl/log/log_sink_registry.h +61 -0
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +72 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +1 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +50 -39
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +15 -28
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/des/des.c +45 -32
- data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +24 -0
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +12 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +40 -61
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +24 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +36 -59
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +13 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +10 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +3 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/certificate.h +83 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/signature_verify_cache.h +41 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +19 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +14 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +16 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +196 -141
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +8 -1
- data/third_party/upb/upb/base/descriptor_constants.h +29 -2
- data/third_party/upb/upb/{wire/internal/swap.h → base/internal/endian.h} +12 -11
- data/third_party/upb/upb/base/status.h +1 -1
- data/third_party/upb/upb/base/status.hpp +5 -1
- data/third_party/upb/upb/base/string_view.h +7 -5
- data/third_party/upb/upb/base/upcast.h +29 -0
- data/third_party/upb/upb/generated_code_support.h +2 -1
- data/third_party/upb/upb/json/decode.c +103 -53
- data/third_party/upb/upb/json/decode.h +3 -26
- data/third_party/upb/upb/json/encode.c +3 -26
- data/third_party/upb/upb/json/encode.h +3 -26
- data/third_party/upb/upb/mem/arena.c +233 -106
- data/third_party/upb/upb/mem/arena.h +14 -66
- data/third_party/upb/upb/mem/arena.hpp +8 -4
- data/third_party/upb/upb/mem/internal/arena.h +76 -58
- data/third_party/upb/upb/message/accessors.c +19 -46
- data/third_party/upb/upb/message/accessors.h +208 -123
- data/third_party/upb/upb/message/array.c +55 -83
- data/third_party/upb/upb/message/array.h +18 -30
- data/third_party/upb/upb/message/compat.c +39 -0
- data/third_party/upb/upb/message/compat.h +41 -0
- data/third_party/upb/upb/message/copy.c +322 -0
- data/third_party/upb/upb/message/copy.h +56 -0
- data/third_party/upb/upb/message/internal/accessors.h +178 -178
- data/third_party/upb/upb/message/internal/array.h +80 -81
- data/third_party/upb/upb/message/internal/extension.c +63 -0
- data/third_party/upb/upb/message/internal/extension.h +12 -12
- data/third_party/upb/upb/message/internal/map.h +28 -41
- data/third_party/upb/upb/message/internal/map_entry.h +14 -39
- data/third_party/upb/upb/message/internal/map_sorter.h +18 -37
- data/third_party/upb/upb/message/internal/message.c +59 -0
- data/third_party/upb/upb/message/internal/message.h +26 -42
- data/third_party/upb/upb/message/internal/tagged_ptr.h +56 -0
- data/third_party/upb/upb/message/internal/types.h +7 -12
- data/third_party/upb/upb/message/map.c +3 -26
- data/third_party/upb/upb/message/map.h +5 -33
- data/third_party/upb/upb/message/map_gencode_util.h +3 -26
- data/third_party/upb/upb/message/map_sorter.c +22 -34
- data/third_party/upb/upb/message/message.c +28 -104
- data/third_party/upb/upb/message/message.h +4 -8
- data/third_party/upb/upb/message/tagged_ptr.h +14 -31
- data/third_party/upb/upb/message/value.h +3 -5
- data/third_party/upb/upb/mini_descriptor/build_enum.c +20 -11
- data/third_party/upb/upb/mini_descriptor/decode.c +127 -107
- data/third_party/upb/upb/mini_descriptor/decode.h +3 -8
- data/third_party/upb/upb/mini_descriptor/link.c +34 -22
- data/third_party/upb/upb/mini_descriptor/link.h +1 -1
- data/third_party/upb/upb/mini_table/enum.h +4 -6
- data/third_party/upb/upb/mini_table/extension.h +37 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +9 -2
- data/third_party/upb/upb/mini_table/field.h +46 -60
- data/third_party/upb/upb/mini_table/file.h +44 -0
- data/third_party/upb/upb/mini_table/internal/enum.h +19 -20
- data/third_party/upb/upb/mini_table/internal/extension.h +34 -3
- data/third_party/upb/upb/mini_table/internal/field.h +136 -27
- data/third_party/upb/upb/mini_table/internal/file.h +47 -10
- data/third_party/upb/upb/mini_table/internal/message.c +17 -9
- data/third_party/upb/upb/mini_table/internal/message.h +94 -23
- data/third_party/upb/upb/mini_table/internal/size_log2.h +77 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +39 -4
- data/third_party/upb/upb/mini_table/message.c +18 -19
- data/third_party/upb/upb/mini_table/message.h +29 -20
- data/third_party/upb/upb/mini_table/sub.h +40 -1
- data/third_party/upb/upb/port/def.inc +18 -0
- data/third_party/upb/upb/port/undef.inc +3 -0
- data/third_party/upb/upb/reflection/def.hpp +8 -4
- data/third_party/upb/upb/reflection/def_pool.c +81 -2
- data/third_party/upb/upb/reflection/def_pool.h +8 -0
- data/third_party/upb/upb/reflection/enum_def.c +42 -19
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +43 -14
- data/third_party/upb/upb/reflection/enum_value_def.h +2 -0
- data/third_party/upb/upb/reflection/extension_range.c +13 -5
- data/third_party/upb/upb/reflection/extension_range.h +2 -0
- data/third_party/upb/upb/reflection/field_def.c +177 -130
- data/third_party/upb/upb/reflection/field_def.h +10 -1
- data/third_party/upb/upb/reflection/file_def.c +98 -9
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/def_builder.c +85 -7
- data/third_party/upb/upb/reflection/internal/def_builder.h +23 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +5 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +1 -1
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +2 -1
- data/third_party/upb/upb/reflection/internal/extension_range.h +2 -2
- data/third_party/upb/upb/reflection/internal/field_def.h +11 -10
- data/third_party/upb/upb/reflection/internal/message_def.h +6 -3
- data/third_party/upb/upb/reflection/internal/method_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/oneof_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/service_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +20 -0
- data/third_party/upb/upb/reflection/message.c +27 -12
- data/third_party/upb/upb/reflection/message.h +5 -5
- data/third_party/upb/upb/reflection/message_def.c +56 -27
- data/third_party/upb/upb/reflection/message_def.h +2 -0
- data/third_party/upb/upb/reflection/method_def.c +20 -9
- data/third_party/upb/upb/reflection/method_def.h +2 -0
- data/third_party/upb/upb/reflection/oneof_def.c +20 -11
- data/third_party/upb/upb/reflection/oneof_def.h +3 -1
- data/third_party/upb/upb/reflection/service_def.c +25 -13
- data/third_party/upb/upb/reflection/service_def.h +2 -0
- data/third_party/upb/upb/text/encode.c +126 -36
- data/third_party/upb/upb/wire/decode.c +214 -196
- data/third_party/upb/upb/wire/decode.h +10 -0
- data/third_party/upb/upb/wire/encode.c +105 -91
- data/third_party/upb/upb/wire/encode.h +4 -3
- data/third_party/upb/upb/wire/{decode_fast.c → internal/decode_fast.c} +53 -48
- data/third_party/upb/upb/wire/{decode_fast.h → internal/decode_fast.h} +6 -5
- data/third_party/upb/upb/wire/internal/{decode.h → decoder.h} +15 -31
- data/third_party/upb/upb/wire/internal/reader.h +61 -0
- data/third_party/upb/upb/wire/reader.c +9 -6
- data/third_party/upb/upb/wire/reader.h +18 -47
- data/third_party/utf8_range/utf8_range.c +467 -0
- data/third_party/utf8_range/utf8_range.h +9 -8
- metadata +83 -30
- data/src/core/client_channel/channel_connectivity.cc +0 -265
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -318
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -150
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +0 -325
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +0 -139
- data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +0 -244
- data/src/core/lib/slice/b64.cc +0 -239
- data/src/core/lib/slice/b64.h +0 -52
- data/src/core/lib/surface/call_trace.cc +0 -163
- data/src/core/lib/surface/channel_ping.cc +0 -69
- data/src/core/lib/transport/call_factory.cc +0 -41
- data/src/core/lib/transport/call_factory.h +0 -56
- data/src/core/load_balancing/subchannel_list.h +0 -455
- data/third_party/upb/upb/message/types.h +0 -15
- data/third_party/utf8_range/naive.c +0 -92
- data/third_party/utf8_range/range2-neon.c +0 -157
- data/third_party/utf8_range/range2-sse.c +0 -170
@@ -49,7 +49,6 @@
|
|
49
49
|
#include <grpc/support/string_util.h>
|
50
50
|
#include <grpc/support/time.h>
|
51
51
|
|
52
|
-
#include "src/core/client_channel/backend_metric.h"
|
53
52
|
#include "src/core/client_channel/backup_poller.h"
|
54
53
|
#include "src/core/client_channel/client_channel_channelz.h"
|
55
54
|
#include "src/core/client_channel/client_channel_internal.h"
|
@@ -92,20 +91,20 @@
|
|
92
91
|
#include "src/core/lib/promise/promise.h"
|
93
92
|
#include "src/core/lib/promise/try_seq.h"
|
94
93
|
#include "src/core/lib/security/credentials/credentials.h"
|
95
|
-
#include "src/core/service_config/service_config_call_data.h"
|
96
|
-
#include "src/core/service_config/service_config_impl.h"
|
97
94
|
#include "src/core/lib/slice/slice.h"
|
98
95
|
#include "src/core/lib/slice/slice_internal.h"
|
99
96
|
#include "src/core/lib/surface/call.h"
|
100
|
-
#include "src/core/lib/surface/channel.h"
|
101
97
|
#include "src/core/lib/transport/connectivity_state.h"
|
102
98
|
#include "src/core/lib/transport/error_utils.h"
|
103
99
|
#include "src/core/lib/transport/metadata_batch.h"
|
100
|
+
#include "src/core/load_balancing/backend_metric_parser.h"
|
104
101
|
#include "src/core/load_balancing/child_policy_handler.h"
|
105
102
|
#include "src/core/load_balancing/lb_policy_registry.h"
|
106
103
|
#include "src/core/load_balancing/subchannel_interface.h"
|
107
104
|
#include "src/core/resolver/endpoint_addresses.h"
|
108
105
|
#include "src/core/resolver/resolver_registry.h"
|
106
|
+
#include "src/core/service_config/service_config_call_data.h"
|
107
|
+
#include "src/core/service_config/service_config_impl.h"
|
109
108
|
|
110
109
|
//
|
111
110
|
// Client channel filter
|
@@ -192,7 +191,7 @@ class ClientChannelFilter::CallData {
|
|
192
191
|
RefCountedPtr<DynamicFilters> dynamic_filters_;
|
193
192
|
};
|
194
193
|
|
195
|
-
class ClientChannelFilter::FilterBasedCallData
|
194
|
+
class ClientChannelFilter::FilterBasedCallData final
|
196
195
|
: public ClientChannelFilter::CallData {
|
197
196
|
public:
|
198
197
|
static grpc_error_handle Init(grpc_call_element* elem,
|
@@ -312,7 +311,7 @@ class ClientChannelFilter::FilterBasedCallData
|
|
312
311
|
grpc_error_handle cancel_error_;
|
313
312
|
};
|
314
313
|
|
315
|
-
class ClientChannelFilter::PromiseBasedCallData
|
314
|
+
class ClientChannelFilter::PromiseBasedCallData final
|
316
315
|
: public ClientChannelFilter::CallData {
|
317
316
|
public:
|
318
317
|
explicit PromiseBasedCallData(ClientChannelFilter* chand) : chand_(chand) {}
|
@@ -452,7 +451,7 @@ ClientChannelServiceConfigCallData* GetServiceConfigCallData(
|
|
452
451
|
context[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value);
|
453
452
|
}
|
454
453
|
|
455
|
-
class DynamicTerminationFilter {
|
454
|
+
class DynamicTerminationFilter final {
|
456
455
|
public:
|
457
456
|
class CallData;
|
458
457
|
|
@@ -497,7 +496,7 @@ class DynamicTerminationFilter {
|
|
497
496
|
ClientChannelFilter* chand_;
|
498
497
|
};
|
499
498
|
|
500
|
-
class DynamicTerminationFilter::CallData {
|
499
|
+
class DynamicTerminationFilter::CallData final {
|
501
500
|
public:
|
502
501
|
static grpc_error_handle Init(grpc_call_element* elem,
|
503
502
|
const grpc_call_element_args* args) {
|
@@ -594,7 +593,7 @@ const grpc_channel_filter DynamicTerminationFilter::kFilterVtable = {
|
|
594
593
|
// ClientChannelFilter::ResolverResultHandler
|
595
594
|
//
|
596
595
|
|
597
|
-
class ClientChannelFilter::ResolverResultHandler
|
596
|
+
class ClientChannelFilter::ResolverResultHandler final
|
598
597
|
: public Resolver::ResultHandler {
|
599
598
|
public:
|
600
599
|
explicit ResolverResultHandler(ClientChannelFilter* chand) : chand_(chand) {
|
@@ -629,7 +628,8 @@ class ClientChannelFilter::ResolverResultHandler
|
|
629
628
|
// underlying subchannel is shared between channels, this wrapper will only
|
630
629
|
// be used within one channel, so it will always be synchronized by the
|
631
630
|
// control plane work_serializer.
|
632
|
-
class ClientChannelFilter::SubchannelWrapper
|
631
|
+
class ClientChannelFilter::SubchannelWrapper final
|
632
|
+
: public SubchannelInterface {
|
633
633
|
public:
|
634
634
|
SubchannelWrapper(ClientChannelFilter* chand,
|
635
635
|
RefCountedPtr<Subchannel> subchannel)
|
@@ -685,7 +685,7 @@ class ClientChannelFilter::SubchannelWrapper : public SubchannelInterface {
|
|
685
685
|
GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "SubchannelWrapper");
|
686
686
|
}
|
687
687
|
|
688
|
-
void
|
688
|
+
void Orphaned() override {
|
689
689
|
if (!IsWorkSerializerDispatchEnabled()) return;
|
690
690
|
// Make sure we clean up the channel's subchannel maps inside the
|
691
691
|
// WorkSerializer.
|
@@ -772,7 +772,8 @@ class ClientChannelFilter::SubchannelWrapper : public SubchannelInterface {
|
|
772
772
|
// This class handles things like hopping into the WorkSerializer
|
773
773
|
// before passing notifications to the LB policy and propagating
|
774
774
|
// keepalive information betwen subchannels.
|
775
|
-
class WatcherWrapper
|
775
|
+
class WatcherWrapper final
|
776
|
+
: public Subchannel::ConnectivityStateWatcherInterface {
|
776
777
|
public:
|
777
778
|
WatcherWrapper(
|
778
779
|
std::unique_ptr<SubchannelInterface::ConnectivityStateWatcherInterface>
|
@@ -1025,7 +1026,7 @@ void ClientChannelFilter::ExternalConnectivityWatcher::RemoveWatcherLocked() {
|
|
1025
1026
|
// ClientChannelFilter::ConnectivityWatcherAdder
|
1026
1027
|
//
|
1027
1028
|
|
1028
|
-
class ClientChannelFilter::ConnectivityWatcherAdder {
|
1029
|
+
class ClientChannelFilter::ConnectivityWatcherAdder final {
|
1029
1030
|
public:
|
1030
1031
|
ConnectivityWatcherAdder(
|
1031
1032
|
ClientChannelFilter* chand, grpc_connectivity_state initial_state,
|
@@ -1058,7 +1059,7 @@ class ClientChannelFilter::ConnectivityWatcherAdder {
|
|
1058
1059
|
// ClientChannelFilter::ConnectivityWatcherRemover
|
1059
1060
|
//
|
1060
1061
|
|
1061
|
-
class ClientChannelFilter::ConnectivityWatcherRemover {
|
1062
|
+
class ClientChannelFilter::ConnectivityWatcherRemover final {
|
1062
1063
|
public:
|
1063
1064
|
ConnectivityWatcherRemover(ClientChannelFilter* chand,
|
1064
1065
|
AsyncConnectivityStateWatcherInterface* watcher)
|
@@ -1088,7 +1089,7 @@ class ClientChannelFilter::ConnectivityWatcherRemover {
|
|
1088
1089
|
// ClientChannelFilter::ClientChannelControlHelper
|
1089
1090
|
//
|
1090
1091
|
|
1091
|
-
class ClientChannelFilter::ClientChannelControlHelper
|
1092
|
+
class ClientChannelFilter::ClientChannelControlHelper final
|
1092
1093
|
: public LoadBalancingPolicy::ChannelControlHelper {
|
1093
1094
|
public:
|
1094
1095
|
explicit ClientChannelControlHelper(ClientChannelFilter* chand)
|
@@ -1148,6 +1149,8 @@ class ClientChannelFilter::ClientChannelControlHelper
|
|
1148
1149
|
chand_->resolver_->RequestReresolutionLocked();
|
1149
1150
|
}
|
1150
1151
|
|
1152
|
+
absl::string_view GetTarget() override { return chand_->target_uri_; }
|
1153
|
+
|
1151
1154
|
absl::string_view GetAuthority() override {
|
1152
1155
|
return chand_->default_authority_;
|
1153
1156
|
}
|
@@ -1166,6 +1169,10 @@ class ClientChannelFilter::ClientChannelControlHelper
|
|
1166
1169
|
return chand_->owning_stack_->EventEngine();
|
1167
1170
|
}
|
1168
1171
|
|
1172
|
+
GlobalStatsPluginRegistry::StatsPluginGroup& GetStatsPluginGroup() override {
|
1173
|
+
return *chand_->owning_stack_->stats_plugin_group;
|
1174
|
+
}
|
1175
|
+
|
1169
1176
|
void AddTraceEvent(TraceSeverity severity, absl::string_view message) override
|
1170
1177
|
ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) {
|
1171
1178
|
if (chand_->resolver_ == nullptr) return; // Shutting down.
|
@@ -1191,16 +1198,6 @@ class ClientChannelFilter::ClientChannelControlHelper
|
|
1191
1198
|
// ClientChannelFilter implementation
|
1192
1199
|
//
|
1193
1200
|
|
1194
|
-
ClientChannelFilter* ClientChannelFilter::GetFromChannel(Channel* channel) {
|
1195
|
-
grpc_channel_element* elem =
|
1196
|
-
grpc_channel_stack_last_element(channel->channel_stack());
|
1197
|
-
if (elem->filter != &kFilterVtableWithPromises &&
|
1198
|
-
elem->filter != &kFilterVtableWithoutPromises) {
|
1199
|
-
return nullptr;
|
1200
|
-
}
|
1201
|
-
return static_cast<ClientChannelFilter*>(elem->channel_data);
|
1202
|
-
}
|
1203
|
-
|
1204
1201
|
grpc_error_handle ClientChannelFilter::Init(grpc_channel_element* elem,
|
1205
1202
|
grpc_channel_element_args* args) {
|
1206
1203
|
GPR_ASSERT(args->is_last);
|
@@ -1270,18 +1267,19 @@ ClientChannelFilter::ClientChannelFilter(grpc_channel_element_args* args,
|
|
1270
1267
|
}
|
1271
1268
|
default_service_config_ = std::move(*service_config);
|
1272
1269
|
// Get URI to resolve, using proxy mapper if needed.
|
1273
|
-
absl::optional<std::string>
|
1270
|
+
absl::optional<std::string> target_uri =
|
1274
1271
|
channel_args_.GetOwnedString(GRPC_ARG_SERVER_URI);
|
1275
|
-
if (!
|
1272
|
+
if (!target_uri.has_value()) {
|
1276
1273
|
*error = GRPC_ERROR_CREATE(
|
1277
1274
|
"target URI channel arg missing or wrong type in client channel "
|
1278
1275
|
"filter");
|
1279
1276
|
return;
|
1280
1277
|
}
|
1278
|
+
target_uri_ = std::move(*target_uri);
|
1281
1279
|
uri_to_resolve_ = CoreConfiguration::Get()
|
1282
1280
|
.proxy_mapper_registry()
|
1283
|
-
.MapName(
|
1284
|
-
.value_or(
|
1281
|
+
.MapName(target_uri_, &channel_args_)
|
1282
|
+
.value_or(target_uri_);
|
1285
1283
|
// Make sure the URI to resolve is valid, so that we know that
|
1286
1284
|
// resolver creation will succeed later.
|
1287
1285
|
if (!CoreConfiguration::Get().resolver_registry().IsValidTarget(
|
@@ -1306,7 +1304,7 @@ ClientChannelFilter::ClientChannelFilter(grpc_channel_element_args* args,
|
|
1306
1304
|
if (!default_authority.has_value()) {
|
1307
1305
|
default_authority_ =
|
1308
1306
|
CoreConfiguration::Get().resolver_registry().GetDefaultAuthority(
|
1309
|
-
|
1307
|
+
target_uri_);
|
1310
1308
|
} else {
|
1311
1309
|
default_authority_ = std::move(*default_authority);
|
1312
1310
|
}
|
@@ -1344,6 +1342,7 @@ ClientChannelFilter::CreateLoadBalancedCall(
|
|
1344
1342
|
const grpc_call_element_args& args, grpc_polling_entity* pollent,
|
1345
1343
|
grpc_closure* on_call_destruction_complete,
|
1346
1344
|
absl::AnyInvocable<void()> on_commit, bool is_transparent_retry) {
|
1345
|
+
promise_detail::Context<Arena> arena_ctx(args.arena);
|
1347
1346
|
return OrphanablePtr<FilterBasedLoadBalancedCall>(
|
1348
1347
|
args.arena->New<FilterBasedLoadBalancedCall>(
|
1349
1348
|
this, args, pollent, on_call_destruction_complete,
|
@@ -2481,7 +2480,8 @@ void ClientChannelFilter::FilterBasedCallData::PendingBatchesResume() {
|
|
2481
2480
|
|
2482
2481
|
// A class to handle the call combiner cancellation callback for a
|
2483
2482
|
// queued pick.
|
2484
|
-
class ClientChannelFilter::FilterBasedCallData::ResolverQueuedCallCanceller
|
2483
|
+
class ClientChannelFilter::FilterBasedCallData::ResolverQueuedCallCanceller
|
2484
|
+
final {
|
2485
2485
|
public:
|
2486
2486
|
explicit ResolverQueuedCallCanceller(FilterBasedCallData* calld)
|
2487
2487
|
: calld_(calld) {
|
@@ -2602,7 +2602,7 @@ void ClientChannelFilter::FilterBasedCallData::
|
|
2602
2602
|
// ClientChannelFilter::LoadBalancedCall::LbCallState
|
2603
2603
|
//
|
2604
2604
|
|
2605
|
-
class ClientChannelFilter::LoadBalancedCall::LbCallState
|
2605
|
+
class ClientChannelFilter::LoadBalancedCall::LbCallState final
|
2606
2606
|
: public ClientChannelLbCallState {
|
2607
2607
|
public:
|
2608
2608
|
explicit LbCallState(LoadBalancedCall* lb_call) : lb_call_(lb_call) {}
|
@@ -2624,7 +2624,7 @@ class ClientChannelFilter::LoadBalancedCall::LbCallState
|
|
2624
2624
|
// ClientChannelFilter::LoadBalancedCall::Metadata
|
2625
2625
|
//
|
2626
2626
|
|
2627
|
-
class ClientChannelFilter::LoadBalancedCall::Metadata
|
2627
|
+
class ClientChannelFilter::LoadBalancedCall::Metadata final
|
2628
2628
|
: public LoadBalancingPolicy::MetadataInterface {
|
2629
2629
|
public:
|
2630
2630
|
explicit Metadata(grpc_metadata_batch* batch) : batch_(batch) {}
|
@@ -2664,7 +2664,7 @@ class ClientChannelFilter::LoadBalancedCall::Metadata
|
|
2664
2664
|
}
|
2665
2665
|
|
2666
2666
|
private:
|
2667
|
-
class Encoder {
|
2667
|
+
class Encoder final {
|
2668
2668
|
public:
|
2669
2669
|
void Encode(const Slice& key, const Slice& value) {
|
2670
2670
|
out_.emplace_back(std::string(key.as_string_view()),
|
@@ -2717,7 +2717,7 @@ ClientChannelFilter::LoadBalancedCall::LbCallState::GetCallAttemptTracer()
|
|
2717
2717
|
// ClientChannelFilter::LoadBalancedCall::BackendMetricAccessor
|
2718
2718
|
//
|
2719
2719
|
|
2720
|
-
class ClientChannelFilter::LoadBalancedCall::BackendMetricAccessor
|
2720
|
+
class ClientChannelFilter::LoadBalancedCall::BackendMetricAccessor final
|
2721
2721
|
: public LoadBalancingPolicy::BackendMetricAccessor {
|
2722
2722
|
public:
|
2723
2723
|
BackendMetricAccessor(LoadBalancedCall* lb_call,
|
@@ -2738,7 +2738,7 @@ class ClientChannelFilter::LoadBalancedCall::BackendMetricAccessor
|
|
2738
2738
|
}
|
2739
2739
|
|
2740
2740
|
private:
|
2741
|
-
class BackendMetricAllocator : public BackendMetricAllocatorInterface {
|
2741
|
+
class BackendMetricAllocator final : public BackendMetricAllocatorInterface {
|
2742
2742
|
public:
|
2743
2743
|
explicit BackendMetricAllocator(Arena* arena) : arena_(arena) {}
|
2744
2744
|
|
@@ -2898,6 +2898,15 @@ ClientChannelFilter::LoadBalancedCall::PickSubchannel(bool was_queued) {
|
|
2898
2898
|
set_picker(chand_->picker_);
|
2899
2899
|
}
|
2900
2900
|
while (true) {
|
2901
|
+
// TODO(roth): Fix race condition in channel_idle filter and any
|
2902
|
+
// other possible causes of this.
|
2903
|
+
if (pickers.back() == nullptr) {
|
2904
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
|
2905
|
+
gpr_log(GPR_ERROR, "chand=%p lb_call=%p: picker is null, failing call",
|
2906
|
+
chand_, this);
|
2907
|
+
}
|
2908
|
+
return absl::InternalError("picker is null -- shouldn't happen");
|
2909
|
+
}
|
2901
2910
|
// Do pick.
|
2902
2911
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) {
|
2903
2912
|
gpr_log(GPR_INFO, "chand=%p lb_call=%p: performing pick with picker=%p",
|
@@ -3384,7 +3393,8 @@ void ClientChannelFilter::FilterBasedLoadBalancedCall::
|
|
3384
3393
|
// because there may be multiple LB picks happening in parallel.
|
3385
3394
|
// Instead, we will probably need to maintain a list in the CallData
|
3386
3395
|
// object of pending LB picks to be cancelled when the closure runs.
|
3387
|
-
class ClientChannelFilter::FilterBasedLoadBalancedCall::LbQueuedCallCanceller
|
3396
|
+
class ClientChannelFilter::FilterBasedLoadBalancedCall::LbQueuedCallCanceller
|
3397
|
+
final {
|
3388
3398
|
public:
|
3389
3399
|
explicit LbQueuedCallCanceller(
|
3390
3400
|
RefCountedPtr<FilterBasedLoadBalancedCall> lb_call)
|
@@ -3529,7 +3539,7 @@ ClientChannelFilter::PromiseBasedLoadBalancedCall::MakeCallPromise(
|
|
3529
3539
|
[this]() {
|
3530
3540
|
// TODO(roth): Change CallTracer API to not pass metadata
|
3531
3541
|
// batch to this method, since the batch is always empty.
|
3532
|
-
grpc_metadata_batch metadata
|
3542
|
+
grpc_metadata_batch metadata;
|
3533
3543
|
call_attempt_tracer()->RecordSendTrailingMetadata(&metadata);
|
3534
3544
|
});
|
3535
3545
|
}
|
@@ -65,7 +65,6 @@
|
|
65
65
|
#include "src/core/lib/resource_quota/arena.h"
|
66
66
|
#include "src/core/service_config/service_config.h"
|
67
67
|
#include "src/core/lib/slice/slice.h"
|
68
|
-
#include "src/core/lib/surface/channel.h"
|
69
68
|
#include "src/core/lib/transport/connectivity_state.h"
|
70
69
|
#include "src/core/lib/transport/metadata_batch.h"
|
71
70
|
#include "src/core/lib/transport/transport.h"
|
@@ -102,7 +101,7 @@
|
|
102
101
|
|
103
102
|
namespace grpc_core {
|
104
103
|
|
105
|
-
class ClientChannelFilter {
|
104
|
+
class ClientChannelFilter final {
|
106
105
|
public:
|
107
106
|
static const grpc_channel_filter kFilterVtableWithPromises;
|
108
107
|
static const grpc_channel_filter kFilterVtableWithoutPromises;
|
@@ -115,10 +114,6 @@ class ClientChannelFilter {
|
|
115
114
|
struct RawPointerChannelArgTag {};
|
116
115
|
static absl::string_view ChannelArgName() { return GRPC_ARG_CLIENT_CHANNEL; }
|
117
116
|
|
118
|
-
// Returns the ClientChannelFilter object from channel, or null if channel
|
119
|
-
// is not a client channel.
|
120
|
-
static ClientChannelFilter* GetFromChannel(Channel* channel);
|
121
|
-
|
122
117
|
static ArenaPromise<ServerMetadataHandle> MakeCallPromise(
|
123
118
|
grpc_channel_element* elem, CallArgs call_args,
|
124
119
|
NextPromiseFactory next_promise_factory);
|
@@ -149,11 +144,6 @@ class ClientChannelFilter {
|
|
149
144
|
this, on_complete, /*cancel=*/true);
|
150
145
|
}
|
151
146
|
|
152
|
-
int NumExternalConnectivityWatchers() const {
|
153
|
-
MutexLock lock(&external_watchers_mu_);
|
154
|
-
return static_cast<int>(external_watchers_.size());
|
155
|
-
}
|
156
|
-
|
157
147
|
// Starts and stops a connectivity watch. The watcher will be initially
|
158
148
|
// notified as soon as the state changes from initial_state and then on
|
159
149
|
// every subsequent state change until either the watch is stopped or
|
@@ -194,7 +184,8 @@ class ClientChannelFilter {
|
|
194
184
|
|
195
185
|
// Represents a pending connectivity callback from an external caller
|
196
186
|
// via grpc_client_channel_watch_connectivity_state().
|
197
|
-
class ExternalConnectivityWatcher
|
187
|
+
class ExternalConnectivityWatcher final
|
188
|
+
: public ConnectivityStateWatcherInterface {
|
198
189
|
public:
|
199
190
|
ExternalConnectivityWatcher(ClientChannelFilter* chand,
|
200
191
|
grpc_polling_entity pollent,
|
@@ -300,6 +291,7 @@ class ClientChannelFilter {
|
|
300
291
|
grpc_channel_stack* owning_stack_;
|
301
292
|
ClientChannelFactory* client_channel_factory_;
|
302
293
|
RefCountedPtr<ServiceConfig> default_service_config_;
|
294
|
+
std::string target_uri_;
|
303
295
|
std::string uri_to_resolve_;
|
304
296
|
std::string default_authority_;
|
305
297
|
channelz::ChannelNode* channelz_node_;
|
@@ -478,7 +470,7 @@ class ClientChannelFilter::LoadBalancedCall
|
|
478
470
|
grpc_call_context_element* const call_context_;
|
479
471
|
};
|
480
472
|
|
481
|
-
class ClientChannelFilter::FilterBasedLoadBalancedCall
|
473
|
+
class ClientChannelFilter::FilterBasedLoadBalancedCall final
|
482
474
|
: public ClientChannelFilter::LoadBalancedCall {
|
483
475
|
public:
|
484
476
|
// If on_call_destruction_complete is non-null, then it will be
|
@@ -604,7 +596,7 @@ class ClientChannelFilter::FilterBasedLoadBalancedCall
|
|
604
596
|
grpc_transport_stream_op_batch* pending_batches_[MAX_PENDING_BATCHES] = {};
|
605
597
|
};
|
606
598
|
|
607
|
-
class ClientChannelFilter::PromiseBasedLoadBalancedCall
|
599
|
+
class ClientChannelFilter::PromiseBasedLoadBalancedCall final
|
608
600
|
: public ClientChannelFilter::LoadBalancedCall {
|
609
601
|
public:
|
610
602
|
PromiseBasedLoadBalancedCall(ClientChannelFilter* chand,
|
@@ -54,7 +54,7 @@ class ClientChannelLbCallState : public LoadBalancingPolicy::CallState {
|
|
54
54
|
};
|
55
55
|
|
56
56
|
// Internal type for ServiceConfigCallData. Handles call commits.
|
57
|
-
class ClientChannelServiceConfigCallData : public ServiceConfigCallData {
|
57
|
+
class ClientChannelServiceConfigCallData final : public ServiceConfigCallData {
|
58
58
|
public:
|
59
59
|
ClientChannelServiceConfigCallData(Arena* arena,
|
60
60
|
grpc_call_context_element* call_context)
|
@@ -41,7 +41,7 @@
|
|
41
41
|
namespace grpc_core {
|
42
42
|
namespace internal {
|
43
43
|
|
44
|
-
class ClientChannelGlobalParsedConfig
|
44
|
+
class ClientChannelGlobalParsedConfig final
|
45
45
|
: public ServiceConfigParser::ParsedConfig {
|
46
46
|
public:
|
47
47
|
RefCountedPtr<LoadBalancingPolicy::Config> parsed_lb_config() const {
|
@@ -72,7 +72,7 @@ class ClientChannelGlobalParsedConfig
|
|
72
72
|
HealthCheckConfig health_check_config_;
|
73
73
|
};
|
74
74
|
|
75
|
-
class ClientChannelMethodParsedConfig
|
75
|
+
class ClientChannelMethodParsedConfig final
|
76
76
|
: public ServiceConfigParser::ParsedConfig {
|
77
77
|
public:
|
78
78
|
Duration timeout() const { return timeout_; }
|
@@ -86,7 +86,8 @@ class ClientChannelMethodParsedConfig
|
|
86
86
|
absl::optional<bool> wait_for_ready_;
|
87
87
|
};
|
88
88
|
|
89
|
-
class ClientChannelServiceConfigParser
|
89
|
+
class ClientChannelServiceConfigParser final
|
90
|
+
: public ServiceConfigParser::Parser {
|
90
91
|
public:
|
91
92
|
absl::string_view name() const override { return parser_name(); }
|
92
93
|
|
@@ -90,7 +90,7 @@ class ConfigSelector : public RefCounted<ConfigSelector> {
|
|
90
90
|
};
|
91
91
|
|
92
92
|
// Default ConfigSelector that gets the MethodConfig from the service config.
|
93
|
-
class DefaultConfigSelector : public ConfigSelector {
|
93
|
+
class DefaultConfigSelector final : public ConfigSelector {
|
94
94
|
public:
|
95
95
|
explicit DefaultConfigSelector(RefCountedPtr<ServiceConfig> service_config)
|
96
96
|
: service_config_(std::move(service_config)) {
|
@@ -30,6 +30,7 @@
|
|
30
30
|
#include "absl/status/status.h"
|
31
31
|
#include "absl/status/statusor.h"
|
32
32
|
#include "absl/strings/ascii.h"
|
33
|
+
#include "absl/strings/escaping.h"
|
33
34
|
#include "absl/strings/match.h"
|
34
35
|
#include "absl/strings/numbers.h"
|
35
36
|
#include "absl/strings/str_cat.h"
|
@@ -50,7 +51,6 @@
|
|
50
51
|
#include "src/core/lib/gprpp/host_port.h"
|
51
52
|
#include "src/core/lib/gprpp/memory.h"
|
52
53
|
#include "src/core/lib/iomgr/resolve_address.h"
|
53
|
-
#include "src/core/lib/slice/b64.h"
|
54
54
|
#include "src/core/lib/transport/http_connect_handshaker.h"
|
55
55
|
#include "src/core/lib/uri/uri_parser.h"
|
56
56
|
|
@@ -258,11 +258,10 @@ absl::optional<std::string> HttpProxyMapper::MapName(
|
|
258
258
|
MaybeAddDefaultPort(absl::StripPrefix(uri->path(), "/")));
|
259
259
|
if (user_cred.has_value()) {
|
260
260
|
// Use base64 encoding for user credentials as stated in RFC 7617
|
261
|
-
|
262
|
-
grpc_base64_encode(user_cred->data(), user_cred->length(), 0, 0));
|
261
|
+
std::string encoded_user_cred = absl::Base64Escape(*user_cred);
|
263
262
|
*args = args->Set(
|
264
263
|
GRPC_ARG_HTTP_CONNECT_HEADERS,
|
265
|
-
absl::StrCat("Proxy-Authorization:Basic ", encoded_user_cred
|
264
|
+
absl::StrCat("Proxy-Authorization:Basic ", encoded_user_cred));
|
266
265
|
}
|
267
266
|
return name_to_resolve;
|
268
267
|
}
|
@@ -33,7 +33,7 @@
|
|
33
33
|
|
34
34
|
namespace grpc_core {
|
35
35
|
|
36
|
-
class HttpProxyMapper : public ProxyMapperInterface {
|
36
|
+
class HttpProxyMapper final : public ProxyMapperInterface {
|
37
37
|
public:
|
38
38
|
static constexpr char const* kAddressProxyEnvVar = "GRPC_ADDRESS_HTTP_PROXY";
|
39
39
|
static constexpr char const* kAddressProxyEnabledAddressesEnvVar =
|
@@ -72,7 +72,7 @@ namespace grpc_core {
|
|
72
72
|
// those refs are not released until the LB call stack is destroyed.
|
73
73
|
// When this object is destroyed, it will invoke the
|
74
74
|
// on_call_stack_destruction closure from the surface.
|
75
|
-
class RetryFilter::LegacyCallData::CallStackDestructionBarrier
|
75
|
+
class RetryFilter::LegacyCallData::CallStackDestructionBarrier final
|
76
76
|
: public RefCounted<CallStackDestructionBarrier, PolymorphicRefCount,
|
77
77
|
UnrefCallDtor> {
|
78
78
|
public:
|
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
namespace grpc_core {
|
56
56
|
|
57
|
-
class RetryFilter::LegacyCallData {
|
57
|
+
class RetryFilter::LegacyCallData final {
|
58
58
|
public:
|
59
59
|
static grpc_error_handle Init(grpc_call_element* elem,
|
60
60
|
const grpc_call_element_args* args);
|
@@ -78,7 +78,7 @@ class RetryFilter::LegacyCallData {
|
|
78
78
|
};
|
79
79
|
|
80
80
|
// State associated with each call attempt.
|
81
|
-
class CallAttempt : public RefCounted<CallAttempt> {
|
81
|
+
class CallAttempt final : public RefCounted<CallAttempt> {
|
82
82
|
public:
|
83
83
|
CallAttempt(LegacyCallData* calld, bool is_transparent_retry);
|
84
84
|
~CallAttempt() override;
|
@@ -102,7 +102,7 @@ class RetryFilter::LegacyCallData {
|
|
102
102
|
// structures needed to populate the ops in the batch.
|
103
103
|
// We allocate one struct on the arena for each attempt at starting a
|
104
104
|
// batch on a given LB call.
|
105
|
-
class BatchData
|
105
|
+
class BatchData final
|
106
106
|
: public RefCounted<BatchData, PolymorphicRefCount, UnrefCallDtor> {
|
107
107
|
public:
|
108
108
|
BatchData(RefCountedPtr<CallAttempt> call_attempt, int refcount,
|
@@ -266,11 +266,11 @@ class RetryFilter::LegacyCallData {
|
|
266
266
|
// BatchData.batch.payload points to this.
|
267
267
|
grpc_transport_stream_op_batch_payload batch_payload_;
|
268
268
|
// For send_initial_metadata.
|
269
|
-
grpc_metadata_batch send_initial_metadata_
|
269
|
+
grpc_metadata_batch send_initial_metadata_;
|
270
270
|
// For send_trailing_metadata.
|
271
|
-
grpc_metadata_batch send_trailing_metadata_
|
271
|
+
grpc_metadata_batch send_trailing_metadata_;
|
272
272
|
// For intercepting recv_initial_metadata.
|
273
|
-
grpc_metadata_batch recv_initial_metadata_
|
273
|
+
grpc_metadata_batch recv_initial_metadata_;
|
274
274
|
grpc_closure recv_initial_metadata_ready_;
|
275
275
|
bool trailing_metadata_available_ = false;
|
276
276
|
// For intercepting recv_message.
|
@@ -278,7 +278,7 @@ class RetryFilter::LegacyCallData {
|
|
278
278
|
absl::optional<SliceBuffer> recv_message_;
|
279
279
|
uint32_t recv_message_flags_;
|
280
280
|
// For intercepting recv_trailing_metadata.
|
281
|
-
grpc_metadata_batch recv_trailing_metadata_
|
281
|
+
grpc_metadata_batch recv_trailing_metadata_;
|
282
282
|
grpc_transport_stream_stats collect_stats_;
|
283
283
|
grpc_closure recv_trailing_metadata_ready_;
|
284
284
|
// These fields indicate which ops have been started and completed on
|
@@ -420,7 +420,7 @@ class RetryFilter::LegacyCallData {
|
|
420
420
|
// Cached data for retrying send ops.
|
421
421
|
// send_initial_metadata
|
422
422
|
bool seen_send_initial_metadata_ = false;
|
423
|
-
grpc_metadata_batch send_initial_metadata_
|
423
|
+
grpc_metadata_batch send_initial_metadata_;
|
424
424
|
// send_message
|
425
425
|
// When we get a send_message op, we replace the original byte stream
|
426
426
|
// with a CachingByteStream that caches the slices to a local buffer for
|
@@ -435,7 +435,7 @@ class RetryFilter::LegacyCallData {
|
|
435
435
|
absl::InlinedVector<CachedSendMessage, 3> send_messages_;
|
436
436
|
// send_trailing_metadata
|
437
437
|
bool seen_send_trailing_metadata_ = false;
|
438
|
-
grpc_metadata_batch send_trailing_metadata_
|
438
|
+
grpc_metadata_batch send_trailing_metadata_;
|
439
439
|
};
|
440
440
|
|
441
441
|
} // namespace grpc_core
|
@@ -40,7 +40,7 @@
|
|
40
40
|
namespace grpc_core {
|
41
41
|
namespace internal {
|
42
42
|
|
43
|
-
class RetryGlobalConfig : public ServiceConfigParser::ParsedConfig {
|
43
|
+
class RetryGlobalConfig final : public ServiceConfigParser::ParsedConfig {
|
44
44
|
public:
|
45
45
|
uintptr_t max_milli_tokens() const { return max_milli_tokens_; }
|
46
46
|
uintptr_t milli_token_ratio() const { return milli_token_ratio_; }
|
@@ -54,7 +54,7 @@ class RetryGlobalConfig : public ServiceConfigParser::ParsedConfig {
|
|
54
54
|
uintptr_t milli_token_ratio_ = 0;
|
55
55
|
};
|
56
56
|
|
57
|
-
class RetryMethodConfig : public ServiceConfigParser::ParsedConfig {
|
57
|
+
class RetryMethodConfig final : public ServiceConfigParser::ParsedConfig {
|
58
58
|
public:
|
59
59
|
int max_attempts() const { return max_attempts_; }
|
60
60
|
Duration initial_backoff() const { return initial_backoff_; }
|
@@ -80,7 +80,7 @@ class RetryMethodConfig : public ServiceConfigParser::ParsedConfig {
|
|
80
80
|
absl::optional<Duration> per_attempt_recv_timeout_;
|
81
81
|
};
|
82
82
|
|
83
|
-
class RetryServiceConfigParser : public ServiceConfigParser::Parser {
|
83
|
+
class RetryServiceConfigParser final : public ServiceConfigParser::Parser {
|
84
84
|
public:
|
85
85
|
absl::string_view name() const override { return parser_name(); }
|
86
86
|
|
@@ -38,7 +38,8 @@ namespace grpc_core {
|
|
38
38
|
namespace internal {
|
39
39
|
|
40
40
|
/// Tracks retry throttling data for an individual server name.
|
41
|
-
class ServerRetryThrottleData
|
41
|
+
class ServerRetryThrottleData final
|
42
|
+
: public RefCounted<ServerRetryThrottleData> {
|
42
43
|
public:
|
43
44
|
ServerRetryThrottleData(uintptr_t max_milli_tokens,
|
44
45
|
uintptr_t milli_token_ratio,
|
@@ -68,7 +69,7 @@ class ServerRetryThrottleData : public RefCounted<ServerRetryThrottleData> {
|
|
68
69
|
};
|
69
70
|
|
70
71
|
/// Global map of server name to retry throttle data.
|
71
|
-
class ServerRetryThrottleMap {
|
72
|
+
class ServerRetryThrottleMap final {
|
72
73
|
public:
|
73
74
|
static ServerRetryThrottleMap* Get();
|
74
75
|
|
@@ -328,7 +328,7 @@ void SubchannelCall::IncrementRefCount(const DebugLocation& /*location*/,
|
|
328
328
|
// Subchannel::ConnectedSubchannelStateWatcher
|
329
329
|
//
|
330
330
|
|
331
|
-
class Subchannel::ConnectedSubchannelStateWatcher
|
331
|
+
class Subchannel::ConnectedSubchannelStateWatcher final
|
332
332
|
: public AsyncConnectivityStateWatcherInterface {
|
333
333
|
public:
|
334
334
|
// Must be instantiated while holding c->mu.
|
@@ -619,7 +619,7 @@ void Subchannel::ResetBackoff() {
|
|
619
619
|
work_serializer_.DrainQueue();
|
620
620
|
}
|
621
621
|
|
622
|
-
void Subchannel::
|
622
|
+
void Subchannel::Orphaned() {
|
623
623
|
// The subchannel_pool is only used once here in this subchannel, so the
|
624
624
|
// access can be outside of the lock.
|
625
625
|
if (subchannel_pool_ != nullptr) {
|
@@ -65,7 +65,7 @@ namespace grpc_core {
|
|
65
65
|
|
66
66
|
class SubchannelCall;
|
67
67
|
|
68
|
-
class ConnectedSubchannel : public RefCounted<ConnectedSubchannel> {
|
68
|
+
class ConnectedSubchannel final : public RefCounted<ConnectedSubchannel> {
|
69
69
|
public:
|
70
70
|
ConnectedSubchannel(
|
71
71
|
grpc_channel_stack* channel_stack, const ChannelArgs& args,
|
@@ -96,7 +96,7 @@ class ConnectedSubchannel : public RefCounted<ConnectedSubchannel> {
|
|
96
96
|
};
|
97
97
|
|
98
98
|
// Implements the interface of RefCounted<>.
|
99
|
-
class SubchannelCall {
|
99
|
+
class SubchannelCall final {
|
100
100
|
public:
|
101
101
|
struct Args {
|
102
102
|
RefCountedPtr<ConnectedSubchannel> connected_subchannel;
|
@@ -166,7 +166,7 @@ class SubchannelCall {
|
|
166
166
|
// different from the SubchannelInterface that is exposed to LB policy
|
167
167
|
// implementations. The client channel provides an adaptor class
|
168
168
|
// (SubchannelWrapper) that "converts" between the two.
|
169
|
-
class Subchannel : public DualRefCounted<Subchannel> {
|
169
|
+
class Subchannel final : public DualRefCounted<Subchannel> {
|
170
170
|
public:
|
171
171
|
// TODO(roth): Once we remove pollset_set, consider whether this can
|
172
172
|
// just use the normal AsyncConnectivityStateWatcherInterface API.
|
@@ -250,9 +250,6 @@ class Subchannel : public DualRefCounted<Subchannel> {
|
|
250
250
|
// Resets the connection backoff of the subchannel.
|
251
251
|
void ResetBackoff() ABSL_LOCKS_EXCLUDED(mu_);
|
252
252
|
|
253
|
-
// Tears down any existing connection, and arranges for destruction
|
254
|
-
void Orphan() override ABSL_LOCKS_EXCLUDED(mu_);
|
255
|
-
|
256
253
|
// Access to data producer map.
|
257
254
|
// We do not hold refs to the data producer; the implementation is
|
258
255
|
// expected to register itself upon construction and remove itself
|
@@ -277,9 +274,12 @@ class Subchannel : public DualRefCounted<Subchannel> {
|
|
277
274
|
}
|
278
275
|
|
279
276
|
private:
|
277
|
+
// Tears down any existing connection, and arranges for destruction
|
278
|
+
void Orphaned() override ABSL_LOCKS_EXCLUDED(mu_);
|
279
|
+
|
280
280
|
// A linked list of ConnectivityStateWatcherInterfaces that are monitoring
|
281
281
|
// the subchannel's state.
|
282
|
-
class ConnectivityStateWatcherList {
|
282
|
+
class ConnectivityStateWatcherList final {
|
283
283
|
public:
|
284
284
|
explicit ConnectivityStateWatcherList(Subchannel* subchannel)
|
285
285
|
: subchannel_(subchannel) {}
|