Merge remote-tracking branch 'upstream/master' into nullptr-check-lb

pull/37685/head
yijiem 2 months ago
commit fecac2b751
  1. 96
      BUILD
  2. 550
      CMakeLists.txt
  3. 76
      Makefile
  4. 190
      Package.swift
  5. 1303
      build_autogenerated.yaml
  6. 83
      config.m4
  7. 83
      config.w32
  8. 2
      examples/cpp/csm/csm_greeter_server.cc
  9. 2
      fuzztest/core/transport/chttp2/hpack_encoder_timeout_test.cc
  10. 228
      gRPC-C++.podspec
  11. 304
      gRPC-Core.podspec
  12. 190
      grpc.gemspec
  13. 4
      include/grpcpp/impl/sync.h
  14. 190
      package.xml
  15. 4
      src/compiler/php_generator.cc
  16. 169
      src/core/BUILD
  17. 2
      src/core/channelz/channel_trace.cc
  18. 4
      src/core/channelz/channel_trace.h
  19. 2
      src/core/channelz/channelz.cc
  20. 8
      src/core/channelz/channelz.h
  21. 2
      src/core/channelz/channelz_registry.cc
  22. 4
      src/core/channelz/channelz_registry.h
  23. 4
      src/core/client_channel/backup_poller.cc
  24. 10
      src/core/client_channel/client_channel.cc
  25. 2
      src/core/client_channel/client_channel.h
  26. 2
      src/core/client_channel/client_channel_factory.h
  27. 19
      src/core/client_channel/client_channel_filter.cc
  28. 12
      src/core/client_channel/client_channel_filter.h
  29. 4
      src/core/client_channel/client_channel_internal.h
  30. 6
      src/core/client_channel/client_channel_service_config.h
  31. 6
      src/core/client_channel/config_selector.h
  32. 6
      src/core/client_channel/connector.h
  33. 2
      src/core/client_channel/direct_channel.cc
  34. 2
      src/core/client_channel/dynamic_filters.cc
  35. 8
      src/core/client_channel/dynamic_filters.h
  36. 4
      src/core/client_channel/global_subchannel_pool.h
  37. 2
      src/core/client_channel/load_balanced_call_destination.cc
  38. 2
      src/core/client_channel/local_subchannel_pool.h
  39. 4
      src/core/client_channel/retry_filter.cc
  40. 2
      src/core/client_channel/retry_filter.h
  41. 16
      src/core/client_channel/retry_filter_legacy_call_data.cc
  42. 12
      src/core/client_channel/retry_filter_legacy_call_data.h
  43. 4
      src/core/client_channel/retry_service_config.h
  44. 6
      src/core/client_channel/retry_throttle.h
  45. 14
      src/core/client_channel/subchannel.cc
  46. 26
      src/core/client_channel/subchannel.h
  47. 2
      src/core/client_channel/subchannel_interface_internal.h
  48. 4
      src/core/client_channel/subchannel_pool_interface.h
  49. 8
      src/core/client_channel/subchannel_stream_client.cc
  50. 8
      src/core/client_channel/subchannel_stream_client.h
  51. 22
      src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc
  52. 10
      src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h
  53. 2
      src/core/ext/filters/fault_injection/fault_injection_filter.cc
  54. 2
      src/core/ext/filters/fault_injection/fault_injection_filter.h
  55. 4
      src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h
  56. 4
      src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h
  57. 2
      src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h
  58. 2
      src/core/ext/filters/load_reporting/server_load_reporting_filter.cc
  59. 6
      src/core/ext/filters/logging/logging_filter.cc
  60. 2
      src/core/ext/filters/logging/logging_sink.h
  61. 2
      src/core/ext/filters/message_size/message_size_filter.h
  62. 2
      src/core/ext/filters/rbac/rbac_service_config_parser.cc
  63. 2
      src/core/ext/filters/rbac/rbac_service_config_parser.h
  64. 4
      src/core/ext/filters/stateful_session/stateful_session_filter.cc
  65. 4
      src/core/ext/filters/stateful_session/stateful_session_filter.h
  66. 4
      src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h
  67. 2
      src/core/ext/transport/binder/client/channel_create.cc
  68. 2
      src/core/ext/transport/binder/client/connection_id_generator.h
  69. 2
      src/core/ext/transport/binder/client/endpoint_binder_pool.h
  70. 2
      src/core/ext/transport/binder/client/jni_utils.cc
  71. 2
      src/core/ext/transport/binder/client/security_policy_setting.h
  72. 2
      src/core/ext/transport/binder/security_policy/binder_security_policy.cc
  73. 2
      src/core/ext/transport/binder/transport/binder_transport.cc
  74. 2
      src/core/ext/transport/binder/transport/binder_transport.h
  75. 4
      src/core/ext/transport/binder/utils/ndk_binder.cc
  76. 2
      src/core/ext/transport/binder/utils/transport_stream_receiver_impl.cc
  77. 2
      src/core/ext/transport/binder/utils/transport_stream_receiver_impl.h
  78. 2
      src/core/ext/transport/binder/wire_format/binder.h
  79. 4
      src/core/ext/transport/binder/wire_format/binder_android.cc
  80. 2
      src/core/ext/transport/binder/wire_format/transaction.h
  81. 2
      src/core/ext/transport/binder/wire_format/wire_reader.h
  82. 4
      src/core/ext/transport/binder/wire_format/wire_reader_impl.cc
  83. 2
      src/core/ext/transport/binder/wire_format/wire_reader_impl.h
  84. 2
      src/core/ext/transport/binder/wire_format/wire_writer.cc
  85. 2
      src/core/ext/transport/binder/wire_format/wire_writer.h
  86. 8
      src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc
  87. 6
      src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h
  88. 68
      src/core/ext/transport/chaotic_good/client_transport.cc
  89. 2
      src/core/ext/transport/chaotic_good/client_transport.h
  90. 6
      src/core/ext/transport/chaotic_good/frame.cc
  91. 2
      src/core/ext/transport/chaotic_good/frame.h
  92. 2
      src/core/ext/transport/chaotic_good/frame_header.h
  93. 32
      src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc
  94. 6
      src/core/ext/transport/chaotic_good/server/chaotic_good_server.h
  95. 14
      src/core/ext/transport/chaotic_good/server_transport.cc
  96. 4
      src/core/ext/transport/chaotic_good/server_transport.h
  97. 2
      src/core/ext/transport/chaotic_good/settings_metadata.cc
  98. 10
      src/core/ext/transport/chttp2/client/chttp2_connector.cc
  99. 4
      src/core/ext/transport/chttp2/client/chttp2_connector.h
  100. 74
      src/core/ext/transport/chttp2/server/chttp2_server.cc
  101. Some files were not shown because too many files have changed in this diff Show More

96
BUILD

@ -681,7 +681,7 @@ grpc_cc_library(
"server",
"sockaddr_utils",
"tsi_base",
"uri_parser",
"uri",
"//src/core:channel_args",
"//src/core:channel_init",
"//src/core:channel_stack_type",
@ -719,50 +719,50 @@ grpc_cc_library(
grpc_cc_library(
name = "gpr",
srcs = [
"//src/core:lib/gprpp/crash.cc",
"//src/core:lib/gprpp/fork.cc",
"//src/core:lib/gprpp/host_port.cc",
"//src/core:lib/gprpp/mpscq.cc",
"//src/core:lib/gprpp/posix/stat.cc",
"//src/core:lib/gprpp/posix/thd.cc",
"//src/core:lib/gprpp/time_util.cc",
"//src/core:lib/gprpp/windows/stat.cc",
"//src/core:lib/gprpp/windows/thd.cc",
"//src/core:util/alloc.cc",
"//src/core:util/crash.cc",
"//src/core:util/fork.cc",
"//src/core:util/gpr_time.cc",
"//src/core:util/host_port.cc",
"//src/core:util/iphone/cpu.cc",
"//src/core:util/linux/cpu.cc",
"//src/core:util/log.cc",
"//src/core:util/mpscq.cc",
"//src/core:util/msys/tmpfile.cc",
"//src/core:util/posix/cpu.cc",
"//src/core:util/posix/stat.cc",
"//src/core:util/posix/string.cc",
"//src/core:util/posix/sync.cc",
"//src/core:util/posix/thd.cc",
"//src/core:util/posix/time.cc",
"//src/core:util/posix/tmpfile.cc",
"//src/core:util/string.cc",
"//src/core:util/sync.cc",
"//src/core:util/sync_abseil.cc",
"//src/core:util/time.cc",
"//src/core:util/time_precise.cc",
"//src/core:util/time_util.cc",
"//src/core:util/windows/cpu.cc",
"//src/core:util/windows/stat.cc",
"//src/core:util/windows/string.cc",
"//src/core:util/windows/string_util.cc",
"//src/core:util/windows/sync.cc",
"//src/core:util/windows/thd.cc",
"//src/core:util/windows/time.cc",
"//src/core:util/windows/tmpfile.cc",
],
hdrs = [
"//src/core:lib/gprpp/crash.h",
"//src/core:lib/gprpp/fork.h",
"//src/core:lib/gprpp/host_port.h",
"//src/core:lib/gprpp/memory.h",
"//src/core:lib/gprpp/mpscq.h",
"//src/core:lib/gprpp/stat.h",
"//src/core:lib/gprpp/sync.h",
"//src/core:lib/gprpp/thd.h",
"//src/core:lib/gprpp/time_util.h",
"//src/core:util/alloc.h",
"//src/core:util/crash.h",
"//src/core:util/fork.h",
"//src/core:util/host_port.h",
"//src/core:util/memory.h",
"//src/core:util/mpscq.h",
"//src/core:util/stat.h",
"//src/core:util/string.h",
"//src/core:util/sync.h",
"//src/core:util/thd.h",
"//src/core:util/time_precise.h",
"//src/core:util/time_util.h",
"//src/core:util/tmpfile.h",
],
external_deps = [
@ -820,7 +820,7 @@ grpc_cc_library(
grpc_cc_library(
name = "cpp_impl_of",
hdrs = ["//src/core:lib/gprpp/cpp_impl_of.h"],
hdrs = ["//src/core:util/cpp_impl_of.h"],
language = "c++",
)
@ -1392,7 +1392,7 @@ grpc_cc_library(
"parse_address",
"ref_counted_ptr",
"sockaddr_utils",
"uri_parser",
"uri",
"//src/core:channel_args",
"//src/core:connectivity_state",
"//src/core:json",
@ -1507,9 +1507,6 @@ grpc_cc_library(
"//src/core:lib/iomgr/ev_posix.cc",
"//src/core:lib/iomgr/fork_posix.cc",
"//src/core:lib/iomgr/fork_windows.cc",
"//src/core:lib/iomgr/gethostname_fallback.cc",
"//src/core:lib/iomgr/gethostname_host_name_max.cc",
"//src/core:lib/iomgr/gethostname_sysconf.cc",
"//src/core:lib/iomgr/iocp_windows.cc",
"//src/core:lib/iomgr/iomgr.cc",
"//src/core:lib/iomgr/iomgr_posix.cc",
@ -1548,6 +1545,9 @@ grpc_cc_library(
"//src/core:lib/iomgr/wakeup_fd_nospecial.cc",
"//src/core:lib/iomgr/wakeup_fd_pipe.cc",
"//src/core:lib/iomgr/wakeup_fd_posix.cc",
"//src/core:util/gethostname_fallback.cc",
"//src/core:util/gethostname_host_name_max.cc",
"//src/core:util/gethostname_sysconf.cc",
] +
# TODO(vigneshbabu): remove these
# These headers used to be vended by this target, but they have to be
@ -1568,7 +1568,6 @@ grpc_cc_library(
"//src/core:lib/iomgr/ev_epoll1_linux.h",
"//src/core:lib/iomgr/ev_poll_posix.h",
"//src/core:lib/iomgr/ev_posix.h",
"//src/core:lib/iomgr/gethostname.h",
"//src/core:lib/iomgr/iocp_windows.h",
"//src/core:lib/iomgr/iomgr.h",
"//src/core:lib/iomgr/lockfree_event.h",
@ -1599,6 +1598,7 @@ grpc_cc_library(
"//src/core:lib/iomgr/vsock.h",
"//src/core:lib/iomgr/wakeup_fd_pipe.h",
"//src/core:lib/iomgr/wakeup_fd_posix.h",
"//src/core:util/gethostname.h",
] +
# TODO(vigneshbabu): remove these
# These headers used to be vended by this target, but they have to be
@ -2982,10 +2982,10 @@ grpc_cc_library(
grpc_cc_library(
name = "work_serializer",
srcs = [
"//src/core:lib/gprpp/work_serializer.cc",
"//src/core:util/work_serializer.cc",
],
hdrs = [
"//src/core:lib/gprpp/work_serializer.h",
"//src/core:util/work_serializer.h",
],
external_deps = [
"absl/base:core_headers",
@ -3114,7 +3114,7 @@ grpc_cc_library(
name = "debug_location",
external_deps = ["absl/strings"],
language = "c++",
public_hdrs = ["//src/core:lib/gprpp/debug_location.h"],
public_hdrs = ["//src/core:util/debug_location.h"],
visibility = ["@grpc:debug_location"],
deps = ["gpr_platform"],
)
@ -3122,7 +3122,7 @@ grpc_cc_library(
grpc_cc_library(
name = "orphanable",
language = "c++",
public_hdrs = ["//src/core:lib/gprpp/orphanable.h"],
public_hdrs = ["//src/core:util/orphanable.h"],
visibility = [
"@grpc:client_channel",
"@grpc:xds_client_core",
@ -3159,7 +3159,7 @@ grpc_cc_library(
name = "ref_counted_ptr",
external_deps = ["absl/hash"],
language = "c++",
public_hdrs = ["//src/core:lib/gprpp/ref_counted_ptr.h"],
public_hdrs = ["//src/core:util/ref_counted_ptr.h"],
visibility = ["@grpc:ref_counted_ptr"],
deps = [
"debug_location",
@ -3306,7 +3306,7 @@ grpc_cc_library(
visibility = ["@grpc:alt_grpc_base_legacy"],
deps = [
"gpr",
"uri_parser",
"uri",
"//src/core:grpc_sockaddr",
"//src/core:iomgr_port",
"//src/core:resolved_address",
@ -3398,12 +3398,12 @@ grpc_cc_library(
)
grpc_cc_library(
name = "uri_parser",
name = "uri",
srcs = [
"//src/core:lib/uri/uri_parser.cc",
"//src/core:util/uri.cc",
],
hdrs = [
"//src/core:lib/uri/uri_parser.h",
"//src/core:util/uri.h",
],
external_deps = [
"absl/log:check",
@ -3420,12 +3420,12 @@ grpc_cc_library(
name = "parse_address",
srcs = [
"//src/core:lib/address_utils/parse_address.cc",
"//src/core:lib/iomgr/grpc_if_nametoindex_posix.cc",
"//src/core:lib/iomgr/grpc_if_nametoindex_unsupported.cc",
"//src/core:util/grpc_if_nametoindex_posix.cc",
"//src/core:util/grpc_if_nametoindex_unsupported.cc",
],
hdrs = [
"//src/core:lib/address_utils/parse_address.h",
"//src/core:lib/iomgr/grpc_if_nametoindex.h",
"//src/core:util/grpc_if_nametoindex.h",
],
external_deps = [
"absl/log:check",
@ -3437,7 +3437,7 @@ grpc_cc_library(
visibility = ["@grpc:alt_grpc_base_legacy"],
deps = [
"gpr",
"uri_parser",
"uri",
"//src/core:error",
"//src/core:grpc_sockaddr",
"//src/core:iomgr_port",
@ -3449,10 +3449,10 @@ grpc_cc_library(
grpc_cc_library(
name = "backoff",
srcs = [
"//src/core:lib/backoff/backoff.cc",
"//src/core:util/backoff.cc",
],
hdrs = [
"//src/core:lib/backoff/backoff.h",
"//src/core:util/backoff.h",
],
external_deps = ["absl/random"],
language = "c++",
@ -3612,7 +3612,7 @@ grpc_cc_library(
"orphanable",
"ref_counted_ptr",
"server_address",
"uri_parser",
"uri",
"//src/core:channel_args",
"//src/core:grpc_service_config",
"//src/core:iomgr_fwd",
@ -3770,7 +3770,7 @@ grpc_cc_library(
"ref_counted_ptr",
"sockaddr_utils",
"stats",
"uri_parser",
"uri",
"work_serializer",
"//src/core:arena",
"//src/core:arena_promise",
@ -3893,7 +3893,7 @@ grpc_cc_library(
"parse_address",
"ref_counted_ptr",
"sockaddr_utils",
"uri_parser",
"uri",
"//src/core:channel_args",
"//src/core:closure",
"//src/core:error",
@ -3952,7 +3952,7 @@ grpc_cc_library(
"ref_counted_ptr",
"resource_quota_api",
"sockaddr_utils",
"uri_parser",
"uri",
"//src/core:channel_args",
"//src/core:channel_args_preconditioning",
"//src/core:closure",
@ -4082,7 +4082,7 @@ grpc_cc_library(
"orphanable",
"promise",
"ref_counted_ptr",
"uri_parser",
"uri",
"//src/core:arena_promise",
"//src/core:closure",
"//src/core:error",
@ -4451,7 +4451,7 @@ grpc_cc_library(
"protobuf_struct_upb",
"protobuf_timestamp_upb",
"ref_counted_ptr",
"uri_parser",
"uri",
"work_serializer",
"//src/core:default_event_engine",
"//src/core:dual_ref_counted",
@ -4512,7 +4512,7 @@ grpc_cc_library(
"grpc_resolver",
"orphanable",
"ref_counted_ptr",
"uri_parser",
"uri",
"work_serializer",
"//src/core:channel_args",
"//src/core:notification",

550
CMakeLists.txt generated

File diff suppressed because it is too large Load Diff

76
Makefile generated

@ -1068,8 +1068,6 @@ LIBGRPC_SRC = \
src/core/handshaker/tcp_connect/tcp_connect_handshaker.cc \
src/core/lib/address_utils/parse_address.cc \
src/core/lib/address_utils/sockaddr_utils.cc \
src/core/lib/backoff/backoff.cc \
src/core/lib/backoff/random_early_detection.cc \
src/core/lib/channel/channel_args.cc \
src/core/lib/channel/channel_args_preconditioning.cc \
src/core/lib/channel/channel_stack.cc \
@ -1085,7 +1083,6 @@ LIBGRPC_SRC = \
src/core/lib/config/config_vars_non_generated.cc \
src/core/lib/config/core_configuration.cc \
src/core/lib/config/load_config.cc \
src/core/lib/debug/event_log.cc \
src/core/lib/debug/trace.cc \
src/core/lib/debug/trace_flags.cc \
src/core/lib/event_engine/ares_resolver.cc \
@ -1137,34 +1134,6 @@ LIBGRPC_SRC = \
src/core/lib/event_engine/work_queue/basic_work_queue.cc \
src/core/lib/experiments/config.cc \
src/core/lib/experiments/experiments.cc \
src/core/lib/gprpp/crash.cc \
src/core/lib/gprpp/dump_args.cc \
src/core/lib/gprpp/examine_stack.cc \
src/core/lib/gprpp/fork.cc \
src/core/lib/gprpp/glob.cc \
src/core/lib/gprpp/host_port.cc \
src/core/lib/gprpp/linux/env.cc \
src/core/lib/gprpp/load_file.cc \
src/core/lib/gprpp/mpscq.cc \
src/core/lib/gprpp/per_cpu.cc \
src/core/lib/gprpp/posix/directory_reader.cc \
src/core/lib/gprpp/posix/env.cc \
src/core/lib/gprpp/posix/stat.cc \
src/core/lib/gprpp/posix/thd.cc \
src/core/lib/gprpp/ref_counted_string.cc \
src/core/lib/gprpp/status_helper.cc \
src/core/lib/gprpp/strerror.cc \
src/core/lib/gprpp/tchar.cc \
src/core/lib/gprpp/time.cc \
src/core/lib/gprpp/time_averaged_stats.cc \
src/core/lib/gprpp/time_util.cc \
src/core/lib/gprpp/uuid_v4.cc \
src/core/lib/gprpp/validation_errors.cc \
src/core/lib/gprpp/windows/directory_reader.cc \
src/core/lib/gprpp/windows/env.cc \
src/core/lib/gprpp/windows/stat.cc \
src/core/lib/gprpp/windows/thd.cc \
src/core/lib/gprpp/work_serializer.cc \
src/core/lib/iomgr/buffer_list.cc \
src/core/lib/iomgr/call_combiner.cc \
src/core/lib/iomgr/cfstream_handle.cc \
@ -1188,11 +1157,6 @@ LIBGRPC_SRC = \
src/core/lib/iomgr/executor.cc \
src/core/lib/iomgr/fork_posix.cc \
src/core/lib/iomgr/fork_windows.cc \
src/core/lib/iomgr/gethostname_fallback.cc \
src/core/lib/iomgr/gethostname_host_name_max.cc \
src/core/lib/iomgr/gethostname_sysconf.cc \
src/core/lib/iomgr/grpc_if_nametoindex_posix.cc \
src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc \
src/core/lib/iomgr/internal_errqueue.cc \
src/core/lib/iomgr/iocp_windows.cc \
src/core/lib/iomgr/iomgr.cc \
@ -1241,7 +1205,6 @@ LIBGRPC_SRC = \
src/core/lib/iomgr/wakeup_fd_nospecial.cc \
src/core/lib/iomgr/wakeup_fd_pipe.cc \
src/core/lib/iomgr/wakeup_fd_posix.cc \
src/core/lib/matchers/matchers.cc \
src/core/lib/promise/activity.cc \
src/core/lib/promise/party.cc \
src/core/lib/promise/sleep.cc \
@ -1361,7 +1324,6 @@ LIBGRPC_SRC = \
src/core/lib/transport/timeout_encoding.cc \
src/core/lib/transport/transport.cc \
src/core/lib/transport/transport_op_string.cc \
src/core/lib/uri/uri_parser.cc \
src/core/load_balancing/address_filtering.cc \
src/core/load_balancing/backend_metric_parser.cc \
src/core/load_balancing/child_policy_handler.cc \
@ -1456,7 +1418,21 @@ LIBGRPC_SRC = \
src/core/tsi/transport_security_grpc.cc \
src/core/util/alloc.cc \
src/core/util/atm.cc \
src/core/util/backoff.cc \
src/core/util/crash.cc \
src/core/util/dump_args.cc \
src/core/util/event_log.cc \
src/core/util/examine_stack.cc \
src/core/util/fork.cc \
src/core/util/gcp_metadata_query.cc \
src/core/util/gethostname_fallback.cc \
src/core/util/gethostname_host_name_max.cc \
src/core/util/gethostname_sysconf.cc \
src/core/util/glob.cc \
src/core/util/gpr_time.cc \
src/core/util/grpc_if_nametoindex_posix.cc \
src/core/util/grpc_if_nametoindex_unsupported.cc \
src/core/util/host_port.cc \
src/core/util/http_client/format_request.cc \
src/core/util/http_client/httpcli.cc \
src/core/util/http_client/httpcli_security_connector.cc \
@ -1468,24 +1444,48 @@ LIBGRPC_SRC = \
src/core/util/json/json_writer.cc \
src/core/util/latent_see.cc \
src/core/util/linux/cpu.cc \
src/core/util/linux/env.cc \
src/core/util/load_file.cc \
src/core/util/log.cc \
src/core/util/matchers.cc \
src/core/util/mpscq.cc \
src/core/util/msys/tmpfile.cc \
src/core/util/per_cpu.cc \
src/core/util/posix/cpu.cc \
src/core/util/posix/directory_reader.cc \
src/core/util/posix/env.cc \
src/core/util/posix/stat.cc \
src/core/util/posix/string.cc \
src/core/util/posix/sync.cc \
src/core/util/posix/thd.cc \
src/core/util/posix/time.cc \
src/core/util/posix/tmpfile.cc \
src/core/util/random_early_detection.cc \
src/core/util/ref_counted_string.cc \
src/core/util/status_helper.cc \
src/core/util/strerror.cc \
src/core/util/string.cc \
src/core/util/sync.cc \
src/core/util/sync_abseil.cc \
src/core/util/tchar.cc \
src/core/util/time.cc \
src/core/util/time_averaged_stats.cc \
src/core/util/time_precise.cc \
src/core/util/time_util.cc \
src/core/util/uri.cc \
src/core/util/uuid_v4.cc \
src/core/util/validation_errors.cc \
src/core/util/windows/cpu.cc \
src/core/util/windows/directory_reader.cc \
src/core/util/windows/env.cc \
src/core/util/windows/stat.cc \
src/core/util/windows/string.cc \
src/core/util/windows/string_util.cc \
src/core/util/windows/sync.cc \
src/core/util/windows/thd.cc \
src/core/util/windows/time.cc \
src/core/util/windows/tmpfile.cc \
src/core/util/work_serializer.cc \
src/core/xds/grpc/certificate_provider_store.cc \
src/core/xds/grpc/file_watcher_certificate_provider_factory.cc \
src/core/xds/grpc/xds_audit_logger_registry.cc \

190
Package.swift generated

@ -1093,11 +1093,6 @@ let package = Package(
"src/core/lib/address_utils/parse_address.h",
"src/core/lib/address_utils/sockaddr_utils.cc",
"src/core/lib/address_utils/sockaddr_utils.h",
"src/core/lib/avl/avl.h",
"src/core/lib/backoff/backoff.cc",
"src/core/lib/backoff/backoff.h",
"src/core/lib/backoff/random_early_detection.cc",
"src/core/lib/backoff/random_early_detection.h",
"src/core/lib/channel/call_finalization.h",
"src/core/lib/channel/channel_args.cc",
"src/core/lib/channel/channel_args.h",
@ -1128,8 +1123,6 @@ let package = Package(
"src/core/lib/config/core_configuration.h",
"src/core/lib/config/load_config.cc",
"src/core/lib/config/load_config.h",
"src/core/lib/debug/event_log.cc",
"src/core/lib/debug/event_log.h",
"src/core/lib/debug/trace.cc",
"src/core/lib/debug/trace.h",
"src/core/lib/debug/trace_flags.cc",
@ -1250,83 +1243,6 @@ let package = Package(
"src/core/lib/experiments/config.h",
"src/core/lib/experiments/experiments.cc",
"src/core/lib/experiments/experiments.h",
"src/core/lib/gprpp/atomic_utils.h",
"src/core/lib/gprpp/bitset.h",
"src/core/lib/gprpp/chunked_vector.h",
"src/core/lib/gprpp/construct_destruct.h",
"src/core/lib/gprpp/cpp_impl_of.h",
"src/core/lib/gprpp/crash.cc",
"src/core/lib/gprpp/crash.h",
"src/core/lib/gprpp/debug_location.h",
"src/core/lib/gprpp/directory_reader.h",
"src/core/lib/gprpp/down_cast.h",
"src/core/lib/gprpp/dual_ref_counted.h",
"src/core/lib/gprpp/dump_args.cc",
"src/core/lib/gprpp/dump_args.h",
"src/core/lib/gprpp/env.h",
"src/core/lib/gprpp/examine_stack.cc",
"src/core/lib/gprpp/examine_stack.h",
"src/core/lib/gprpp/fork.cc",
"src/core/lib/gprpp/fork.h",
"src/core/lib/gprpp/glob.cc",
"src/core/lib/gprpp/glob.h",
"src/core/lib/gprpp/host_port.cc",
"src/core/lib/gprpp/host_port.h",
"src/core/lib/gprpp/if_list.h",
"src/core/lib/gprpp/linux/env.cc",
"src/core/lib/gprpp/load_file.cc",
"src/core/lib/gprpp/load_file.h",
"src/core/lib/gprpp/manual_constructor.h",
"src/core/lib/gprpp/match.h",
"src/core/lib/gprpp/memory.h",
"src/core/lib/gprpp/mpscq.cc",
"src/core/lib/gprpp/mpscq.h",
"src/core/lib/gprpp/no_destruct.h",
"src/core/lib/gprpp/notification.h",
"src/core/lib/gprpp/orphanable.h",
"src/core/lib/gprpp/overload.h",
"src/core/lib/gprpp/packed_table.h",
"src/core/lib/gprpp/per_cpu.cc",
"src/core/lib/gprpp/per_cpu.h",
"src/core/lib/gprpp/posix/directory_reader.cc",
"src/core/lib/gprpp/posix/env.cc",
"src/core/lib/gprpp/posix/stat.cc",
"src/core/lib/gprpp/posix/thd.cc",
"src/core/lib/gprpp/ref_counted.h",
"src/core/lib/gprpp/ref_counted_ptr.h",
"src/core/lib/gprpp/ref_counted_string.cc",
"src/core/lib/gprpp/ref_counted_string.h",
"src/core/lib/gprpp/single_set_ptr.h",
"src/core/lib/gprpp/sorted_pack.h",
"src/core/lib/gprpp/stat.h",
"src/core/lib/gprpp/status_helper.cc",
"src/core/lib/gprpp/status_helper.h",
"src/core/lib/gprpp/strerror.cc",
"src/core/lib/gprpp/strerror.h",
"src/core/lib/gprpp/sync.h",
"src/core/lib/gprpp/table.h",
"src/core/lib/gprpp/tchar.cc",
"src/core/lib/gprpp/tchar.h",
"src/core/lib/gprpp/thd.h",
"src/core/lib/gprpp/time.cc",
"src/core/lib/gprpp/time.h",
"src/core/lib/gprpp/time_averaged_stats.cc",
"src/core/lib/gprpp/time_averaged_stats.h",
"src/core/lib/gprpp/time_util.cc",
"src/core/lib/gprpp/time_util.h",
"src/core/lib/gprpp/type_list.h",
"src/core/lib/gprpp/unique_type_name.h",
"src/core/lib/gprpp/uuid_v4.cc",
"src/core/lib/gprpp/uuid_v4.h",
"src/core/lib/gprpp/validation_errors.cc",
"src/core/lib/gprpp/validation_errors.h",
"src/core/lib/gprpp/windows/directory_reader.cc",
"src/core/lib/gprpp/windows/env.cc",
"src/core/lib/gprpp/windows/stat.cc",
"src/core/lib/gprpp/windows/thd.cc",
"src/core/lib/gprpp/work_serializer.cc",
"src/core/lib/gprpp/work_serializer.h",
"src/core/lib/gprpp/xxhash_inline.h",
"src/core/lib/iomgr/block_annotate.h",
"src/core/lib/iomgr/buffer_list.cc",
"src/core/lib/iomgr/buffer_list.h",
@ -1371,13 +1287,6 @@ let package = Package(
"src/core/lib/iomgr/executor.h",
"src/core/lib/iomgr/fork_posix.cc",
"src/core/lib/iomgr/fork_windows.cc",
"src/core/lib/iomgr/gethostname.h",
"src/core/lib/iomgr/gethostname_fallback.cc",
"src/core/lib/iomgr/gethostname_host_name_max.cc",
"src/core/lib/iomgr/gethostname_sysconf.cc",
"src/core/lib/iomgr/grpc_if_nametoindex.h",
"src/core/lib/iomgr/grpc_if_nametoindex_posix.cc",
"src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc",
"src/core/lib/iomgr/internal_errqueue.cc",
"src/core/lib/iomgr/internal_errqueue.h",
"src/core/lib/iomgr/iocp_windows.cc",
@ -1468,8 +1377,6 @@ let package = Package(
"src/core/lib/iomgr/wakeup_fd_pipe.h",
"src/core/lib/iomgr/wakeup_fd_posix.cc",
"src/core/lib/iomgr/wakeup_fd_posix.h",
"src/core/lib/matchers/matchers.cc",
"src/core/lib/matchers/matchers.h",
"src/core/lib/promise/activity.cc",
"src/core/lib/promise/activity.h",
"src/core/lib/promise/all_ok.h",
@ -1734,8 +1641,6 @@ let package = Package(
"src/core/lib/transport/transport.h",
"src/core/lib/transport/transport_fwd.h",
"src/core/lib/transport/transport_op_string.cc",
"src/core/lib/uri/uri_parser.cc",
"src/core/lib/uri/uri_parser.h",
"src/core/load_balancing/address_filtering.cc",
"src/core/load_balancing/address_filtering.h",
"src/core/load_balancing/backend_metric_data.h",
@ -1920,8 +1825,43 @@ let package = Package(
"src/core/util/alloc.cc",
"src/core/util/alloc.h",
"src/core/util/atm.cc",
"src/core/util/atomic_utils.h",
"src/core/util/avl.h",
"src/core/util/backoff.cc",
"src/core/util/backoff.h",
"src/core/util/bitset.h",
"src/core/util/chunked_vector.h",
"src/core/util/construct_destruct.h",
"src/core/util/cpp_impl_of.h",
"src/core/util/crash.cc",
"src/core/util/crash.h",
"src/core/util/debug_location.h",
"src/core/util/directory_reader.h",
"src/core/util/down_cast.h",
"src/core/util/dual_ref_counted.h",
"src/core/util/dump_args.cc",
"src/core/util/dump_args.h",
"src/core/util/env.h",
"src/core/util/event_log.cc",
"src/core/util/event_log.h",
"src/core/util/examine_stack.cc",
"src/core/util/examine_stack.h",
"src/core/util/fork.cc",
"src/core/util/fork.h",
"src/core/util/gcp_metadata_query.cc",
"src/core/util/gcp_metadata_query.h",
"src/core/util/gethostname.h",
"src/core/util/gethostname_fallback.cc",
"src/core/util/gethostname_host_name_max.cc",
"src/core/util/gethostname_sysconf.cc",
"src/core/util/glob.cc",
"src/core/util/glob.h",
"src/core/util/gpr_time.cc",
"src/core/util/grpc_if_nametoindex.h",
"src/core/util/grpc_if_nametoindex_posix.cc",
"src/core/util/grpc_if_nametoindex_unsupported.cc",
"src/core/util/host_port.cc",
"src/core/util/host_port.h",
"src/core/util/http_client/format_request.cc",
"src/core/util/http_client/format_request.h",
"src/core/util/http_client/httpcli.cc",
@ -1930,6 +1870,7 @@ let package = Package(
"src/core/util/http_client/httpcli_ssl_credentials.h",
"src/core/util/http_client/parser.cc",
"src/core/util/http_client/parser.h",
"src/core/util/if_list.h",
"src/core/util/iphone/cpu.cc",
"src/core/util/json/json.h",
"src/core/util/json/json_args.h",
@ -1945,33 +1886,92 @@ let package = Package(
"src/core/util/latent_see.cc",
"src/core/util/latent_see.h",
"src/core/util/linux/cpu.cc",
"src/core/util/linux/env.cc",
"src/core/util/load_file.cc",
"src/core/util/load_file.h",
"src/core/util/log.cc",
"src/core/util/lru_cache.h",
"src/core/util/manual_constructor.h",
"src/core/util/match.h",
"src/core/util/matchers.cc",
"src/core/util/matchers.h",
"src/core/util/memory.h",
"src/core/util/mpscq.cc",
"src/core/util/mpscq.h",
"src/core/util/msys/tmpfile.cc",
"src/core/util/no_destruct.h",
"src/core/util/notification.h",
"src/core/util/orphanable.h",
"src/core/util/overload.h",
"src/core/util/packed_table.h",
"src/core/util/per_cpu.cc",
"src/core/util/per_cpu.h",
"src/core/util/posix/cpu.cc",
"src/core/util/posix/directory_reader.cc",
"src/core/util/posix/env.cc",
"src/core/util/posix/stat.cc",
"src/core/util/posix/string.cc",
"src/core/util/posix/sync.cc",
"src/core/util/posix/thd.cc",
"src/core/util/posix/time.cc",
"src/core/util/posix/tmpfile.cc",
"src/core/util/random_early_detection.cc",
"src/core/util/random_early_detection.h",
"src/core/util/ref_counted.h",
"src/core/util/ref_counted_ptr.h",
"src/core/util/ref_counted_string.cc",
"src/core/util/ref_counted_string.h",
"src/core/util/ring_buffer.h",
"src/core/util/single_set_ptr.h",
"src/core/util/sorted_pack.h",
"src/core/util/spinlock.h",
"src/core/util/stat.h",
"src/core/util/status_helper.cc",
"src/core/util/status_helper.h",
"src/core/util/strerror.cc",
"src/core/util/strerror.h",
"src/core/util/string.cc",
"src/core/util/string.h",
"src/core/util/sync.cc",
"src/core/util/sync.h",
"src/core/util/sync_abseil.cc",
"src/core/util/table.h",
"src/core/util/tchar.cc",
"src/core/util/tchar.h",
"src/core/util/thd.h",
"src/core/util/time.cc",
"src/core/util/time.h",
"src/core/util/time_averaged_stats.cc",
"src/core/util/time_averaged_stats.h",
"src/core/util/time_precise.cc",
"src/core/util/time_precise.h",
"src/core/util/time_util.cc",
"src/core/util/time_util.h",
"src/core/util/tmpfile.h",
"src/core/util/type_list.h",
"src/core/util/unique_ptr_with_bitset.h",
"src/core/util/unique_type_name.h",
"src/core/util/upb_utils.h",
"src/core/util/uri.cc",
"src/core/util/uri.h",
"src/core/util/useful.h",
"src/core/util/uuid_v4.cc",
"src/core/util/uuid_v4.h",
"src/core/util/validation_errors.cc",
"src/core/util/validation_errors.h",
"src/core/util/windows/cpu.cc",
"src/core/util/windows/directory_reader.cc",
"src/core/util/windows/env.cc",
"src/core/util/windows/stat.cc",
"src/core/util/windows/string.cc",
"src/core/util/windows/string_util.cc",
"src/core/util/windows/sync.cc",
"src/core/util/windows/thd.cc",
"src/core/util/windows/time.cc",
"src/core/util/windows/tmpfile.cc",
"src/core/util/work_serializer.cc",
"src/core/util/work_serializer.h",
"src/core/util/xxhash_inline.h",
"src/core/xds/grpc/certificate_provider_store.cc",
"src/core/xds/grpc/certificate_provider_store.h",
"src/core/xds/grpc/file_watcher_certificate_provider_factory.cc",

File diff suppressed because it is too large Load Diff

83
config.m4 generated

@ -443,8 +443,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/handshaker/tcp_connect/tcp_connect_handshaker.cc \
src/core/lib/address_utils/parse_address.cc \
src/core/lib/address_utils/sockaddr_utils.cc \
src/core/lib/backoff/backoff.cc \
src/core/lib/backoff/random_early_detection.cc \
src/core/lib/channel/channel_args.cc \
src/core/lib/channel/channel_args_preconditioning.cc \
src/core/lib/channel/channel_stack.cc \
@ -460,7 +458,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/config/config_vars_non_generated.cc \
src/core/lib/config/core_configuration.cc \
src/core/lib/config/load_config.cc \
src/core/lib/debug/event_log.cc \
src/core/lib/debug/trace.cc \
src/core/lib/debug/trace_flags.cc \
src/core/lib/event_engine/ares_resolver.cc \
@ -512,34 +509,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/event_engine/work_queue/basic_work_queue.cc \
src/core/lib/experiments/config.cc \
src/core/lib/experiments/experiments.cc \
src/core/lib/gprpp/crash.cc \
src/core/lib/gprpp/dump_args.cc \
src/core/lib/gprpp/examine_stack.cc \
src/core/lib/gprpp/fork.cc \
src/core/lib/gprpp/glob.cc \
src/core/lib/gprpp/host_port.cc \
src/core/lib/gprpp/linux/env.cc \
src/core/lib/gprpp/load_file.cc \
src/core/lib/gprpp/mpscq.cc \
src/core/lib/gprpp/per_cpu.cc \
src/core/lib/gprpp/posix/directory_reader.cc \
src/core/lib/gprpp/posix/env.cc \
src/core/lib/gprpp/posix/stat.cc \
src/core/lib/gprpp/posix/thd.cc \
src/core/lib/gprpp/ref_counted_string.cc \
src/core/lib/gprpp/status_helper.cc \
src/core/lib/gprpp/strerror.cc \
src/core/lib/gprpp/tchar.cc \
src/core/lib/gprpp/time.cc \
src/core/lib/gprpp/time_averaged_stats.cc \
src/core/lib/gprpp/time_util.cc \
src/core/lib/gprpp/uuid_v4.cc \
src/core/lib/gprpp/validation_errors.cc \
src/core/lib/gprpp/windows/directory_reader.cc \
src/core/lib/gprpp/windows/env.cc \
src/core/lib/gprpp/windows/stat.cc \
src/core/lib/gprpp/windows/thd.cc \
src/core/lib/gprpp/work_serializer.cc \
src/core/lib/iomgr/buffer_list.cc \
src/core/lib/iomgr/call_combiner.cc \
src/core/lib/iomgr/cfstream_handle.cc \
@ -563,11 +532,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/iomgr/executor.cc \
src/core/lib/iomgr/fork_posix.cc \
src/core/lib/iomgr/fork_windows.cc \
src/core/lib/iomgr/gethostname_fallback.cc \
src/core/lib/iomgr/gethostname_host_name_max.cc \
src/core/lib/iomgr/gethostname_sysconf.cc \
src/core/lib/iomgr/grpc_if_nametoindex_posix.cc \
src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc \
src/core/lib/iomgr/internal_errqueue.cc \
src/core/lib/iomgr/iocp_windows.cc \
src/core/lib/iomgr/iomgr.cc \
@ -616,7 +580,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/iomgr/wakeup_fd_nospecial.cc \
src/core/lib/iomgr/wakeup_fd_pipe.cc \
src/core/lib/iomgr/wakeup_fd_posix.cc \
src/core/lib/matchers/matchers.cc \
src/core/lib/promise/activity.cc \
src/core/lib/promise/party.cc \
src/core/lib/promise/sleep.cc \
@ -736,7 +699,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/transport/timeout_encoding.cc \
src/core/lib/transport/transport.cc \
src/core/lib/transport/transport_op_string.cc \
src/core/lib/uri/uri_parser.cc \
src/core/load_balancing/address_filtering.cc \
src/core/load_balancing/backend_metric_parser.cc \
src/core/load_balancing/child_policy_handler.cc \
@ -831,7 +793,21 @@ if test "$PHP_GRPC" != "no"; then
src/core/tsi/transport_security_grpc.cc \
src/core/util/alloc.cc \
src/core/util/atm.cc \
src/core/util/backoff.cc \
src/core/util/crash.cc \
src/core/util/dump_args.cc \
src/core/util/event_log.cc \
src/core/util/examine_stack.cc \
src/core/util/fork.cc \
src/core/util/gcp_metadata_query.cc \
src/core/util/gethostname_fallback.cc \
src/core/util/gethostname_host_name_max.cc \
src/core/util/gethostname_sysconf.cc \
src/core/util/glob.cc \
src/core/util/gpr_time.cc \
src/core/util/grpc_if_nametoindex_posix.cc \
src/core/util/grpc_if_nametoindex_unsupported.cc \
src/core/util/host_port.cc \
src/core/util/http_client/format_request.cc \
src/core/util/http_client/httpcli.cc \
src/core/util/http_client/httpcli_security_connector.cc \
@ -843,24 +819,48 @@ if test "$PHP_GRPC" != "no"; then
src/core/util/json/json_writer.cc \
src/core/util/latent_see.cc \
src/core/util/linux/cpu.cc \
src/core/util/linux/env.cc \
src/core/util/load_file.cc \
src/core/util/log.cc \
src/core/util/matchers.cc \
src/core/util/mpscq.cc \
src/core/util/msys/tmpfile.cc \
src/core/util/per_cpu.cc \
src/core/util/posix/cpu.cc \
src/core/util/posix/directory_reader.cc \
src/core/util/posix/env.cc \
src/core/util/posix/stat.cc \
src/core/util/posix/string.cc \
src/core/util/posix/sync.cc \
src/core/util/posix/thd.cc \
src/core/util/posix/time.cc \
src/core/util/posix/tmpfile.cc \
src/core/util/random_early_detection.cc \
src/core/util/ref_counted_string.cc \
src/core/util/status_helper.cc \
src/core/util/strerror.cc \
src/core/util/string.cc \
src/core/util/sync.cc \
src/core/util/sync_abseil.cc \
src/core/util/tchar.cc \
src/core/util/time.cc \
src/core/util/time_averaged_stats.cc \
src/core/util/time_precise.cc \
src/core/util/time_util.cc \
src/core/util/uri.cc \
src/core/util/uuid_v4.cc \
src/core/util/validation_errors.cc \
src/core/util/windows/cpu.cc \
src/core/util/windows/directory_reader.cc \
src/core/util/windows/env.cc \
src/core/util/windows/stat.cc \
src/core/util/windows/string.cc \
src/core/util/windows/string_util.cc \
src/core/util/windows/sync.cc \
src/core/util/windows/thd.cc \
src/core/util/windows/time.cc \
src/core/util/windows/tmpfile.cc \
src/core/util/work_serializer.cc \
src/core/xds/grpc/certificate_provider_store.cc \
src/core/xds/grpc/file_watcher_certificate_provider_factory.cc \
src/core/xds/grpc/xds_audit_logger_registry.cc \
@ -1531,7 +1531,6 @@ if test "$PHP_GRPC" != "no"; then
PHP_ADD_BUILD_DIR($ext_builddir/src/core/handshaker/security)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/handshaker/tcp_connect)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/address_utils)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/backoff)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/channel)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/compression)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/config)
@ -1544,13 +1543,8 @@ if test "$PHP_GRPC" != "no"; then
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/event_engine/windows)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/event_engine/work_queue)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/experiments)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/gprpp)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/gprpp/linux)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/gprpp/posix)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/gprpp/windows)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/iomgr)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/iomgr/event_engine_shims)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/matchers)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/promise)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/resource_quota)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/authorization)
@ -1585,7 +1579,6 @@ if test "$PHP_GRPC" != "no"; then
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/slice)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/surface)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/transport)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/uri)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/grpclb)
PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/outlier_detection)

83
config.w32 generated

@ -408,8 +408,6 @@ if (PHP_GRPC != "no") {
"src\\core\\handshaker\\tcp_connect\\tcp_connect_handshaker.cc " +
"src\\core\\lib\\address_utils\\parse_address.cc " +
"src\\core\\lib\\address_utils\\sockaddr_utils.cc " +
"src\\core\\lib\\backoff\\backoff.cc " +
"src\\core\\lib\\backoff\\random_early_detection.cc " +
"src\\core\\lib\\channel\\channel_args.cc " +
"src\\core\\lib\\channel\\channel_args_preconditioning.cc " +
"src\\core\\lib\\channel\\channel_stack.cc " +
@ -425,7 +423,6 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\config\\config_vars_non_generated.cc " +
"src\\core\\lib\\config\\core_configuration.cc " +
"src\\core\\lib\\config\\load_config.cc " +
"src\\core\\lib\\debug\\event_log.cc " +
"src\\core\\lib\\debug\\trace.cc " +
"src\\core\\lib\\debug\\trace_flags.cc " +
"src\\core\\lib\\event_engine\\ares_resolver.cc " +
@ -477,34 +474,6 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\event_engine\\work_queue\\basic_work_queue.cc " +
"src\\core\\lib\\experiments\\config.cc " +
"src\\core\\lib\\experiments\\experiments.cc " +
"src\\core\\lib\\gprpp\\crash.cc " +
"src\\core\\lib\\gprpp\\dump_args.cc " +
"src\\core\\lib\\gprpp\\examine_stack.cc " +
"src\\core\\lib\\gprpp\\fork.cc " +
"src\\core\\lib\\gprpp\\glob.cc " +
"src\\core\\lib\\gprpp\\host_port.cc " +
"src\\core\\lib\\gprpp\\linux\\env.cc " +
"src\\core\\lib\\gprpp\\load_file.cc " +
"src\\core\\lib\\gprpp\\mpscq.cc " +
"src\\core\\lib\\gprpp\\per_cpu.cc " +
"src\\core\\lib\\gprpp\\posix\\directory_reader.cc " +
"src\\core\\lib\\gprpp\\posix\\env.cc " +
"src\\core\\lib\\gprpp\\posix\\stat.cc " +
"src\\core\\lib\\gprpp\\posix\\thd.cc " +
"src\\core\\lib\\gprpp\\ref_counted_string.cc " +
"src\\core\\lib\\gprpp\\status_helper.cc " +
"src\\core\\lib\\gprpp\\strerror.cc " +
"src\\core\\lib\\gprpp\\tchar.cc " +
"src\\core\\lib\\gprpp\\time.cc " +
"src\\core\\lib\\gprpp\\time_averaged_stats.cc " +
"src\\core\\lib\\gprpp\\time_util.cc " +
"src\\core\\lib\\gprpp\\uuid_v4.cc " +
"src\\core\\lib\\gprpp\\validation_errors.cc " +
"src\\core\\lib\\gprpp\\windows\\directory_reader.cc " +
"src\\core\\lib\\gprpp\\windows\\env.cc " +
"src\\core\\lib\\gprpp\\windows\\stat.cc " +
"src\\core\\lib\\gprpp\\windows\\thd.cc " +
"src\\core\\lib\\gprpp\\work_serializer.cc " +
"src\\core\\lib\\iomgr\\buffer_list.cc " +
"src\\core\\lib\\iomgr\\call_combiner.cc " +
"src\\core\\lib\\iomgr\\cfstream_handle.cc " +
@ -528,11 +497,6 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\iomgr\\executor.cc " +
"src\\core\\lib\\iomgr\\fork_posix.cc " +
"src\\core\\lib\\iomgr\\fork_windows.cc " +
"src\\core\\lib\\iomgr\\gethostname_fallback.cc " +
"src\\core\\lib\\iomgr\\gethostname_host_name_max.cc " +
"src\\core\\lib\\iomgr\\gethostname_sysconf.cc " +
"src\\core\\lib\\iomgr\\grpc_if_nametoindex_posix.cc " +
"src\\core\\lib\\iomgr\\grpc_if_nametoindex_unsupported.cc " +
"src\\core\\lib\\iomgr\\internal_errqueue.cc " +
"src\\core\\lib\\iomgr\\iocp_windows.cc " +
"src\\core\\lib\\iomgr\\iomgr.cc " +
@ -581,7 +545,6 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\iomgr\\wakeup_fd_nospecial.cc " +
"src\\core\\lib\\iomgr\\wakeup_fd_pipe.cc " +
"src\\core\\lib\\iomgr\\wakeup_fd_posix.cc " +
"src\\core\\lib\\matchers\\matchers.cc " +
"src\\core\\lib\\promise\\activity.cc " +
"src\\core\\lib\\promise\\party.cc " +
"src\\core\\lib\\promise\\sleep.cc " +
@ -701,7 +664,6 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\transport\\timeout_encoding.cc " +
"src\\core\\lib\\transport\\transport.cc " +
"src\\core\\lib\\transport\\transport_op_string.cc " +
"src\\core\\lib\\uri\\uri_parser.cc " +
"src\\core\\load_balancing\\address_filtering.cc " +
"src\\core\\load_balancing\\backend_metric_parser.cc " +
"src\\core\\load_balancing\\child_policy_handler.cc " +
@ -796,7 +758,21 @@ if (PHP_GRPC != "no") {
"src\\core\\tsi\\transport_security_grpc.cc " +
"src\\core\\util\\alloc.cc " +
"src\\core\\util\\atm.cc " +
"src\\core\\util\\backoff.cc " +
"src\\core\\util\\crash.cc " +
"src\\core\\util\\dump_args.cc " +
"src\\core\\util\\event_log.cc " +
"src\\core\\util\\examine_stack.cc " +
"src\\core\\util\\fork.cc " +
"src\\core\\util\\gcp_metadata_query.cc " +
"src\\core\\util\\gethostname_fallback.cc " +
"src\\core\\util\\gethostname_host_name_max.cc " +
"src\\core\\util\\gethostname_sysconf.cc " +
"src\\core\\util\\glob.cc " +
"src\\core\\util\\gpr_time.cc " +
"src\\core\\util\\grpc_if_nametoindex_posix.cc " +
"src\\core\\util\\grpc_if_nametoindex_unsupported.cc " +
"src\\core\\util\\host_port.cc " +
"src\\core\\util\\http_client\\format_request.cc " +
"src\\core\\util\\http_client\\httpcli.cc " +
"src\\core\\util\\http_client\\httpcli_security_connector.cc " +
@ -808,24 +784,48 @@ if (PHP_GRPC != "no") {
"src\\core\\util\\json\\json_writer.cc " +
"src\\core\\util\\latent_see.cc " +
"src\\core\\util\\linux\\cpu.cc " +
"src\\core\\util\\linux\\env.cc " +
"src\\core\\util\\load_file.cc " +
"src\\core\\util\\log.cc " +
"src\\core\\util\\matchers.cc " +
"src\\core\\util\\mpscq.cc " +
"src\\core\\util\\msys\\tmpfile.cc " +
"src\\core\\util\\per_cpu.cc " +
"src\\core\\util\\posix\\cpu.cc " +
"src\\core\\util\\posix\\directory_reader.cc " +
"src\\core\\util\\posix\\env.cc " +
"src\\core\\util\\posix\\stat.cc " +
"src\\core\\util\\posix\\string.cc " +
"src\\core\\util\\posix\\sync.cc " +
"src\\core\\util\\posix\\thd.cc " +
"src\\core\\util\\posix\\time.cc " +
"src\\core\\util\\posix\\tmpfile.cc " +
"src\\core\\util\\random_early_detection.cc " +
"src\\core\\util\\ref_counted_string.cc " +
"src\\core\\util\\status_helper.cc " +
"src\\core\\util\\strerror.cc " +
"src\\core\\util\\string.cc " +
"src\\core\\util\\sync.cc " +
"src\\core\\util\\sync_abseil.cc " +
"src\\core\\util\\tchar.cc " +
"src\\core\\util\\time.cc " +
"src\\core\\util\\time_averaged_stats.cc " +
"src\\core\\util\\time_precise.cc " +
"src\\core\\util\\time_util.cc " +
"src\\core\\util\\uri.cc " +
"src\\core\\util\\uuid_v4.cc " +
"src\\core\\util\\validation_errors.cc " +
"src\\core\\util\\windows\\cpu.cc " +
"src\\core\\util\\windows\\directory_reader.cc " +
"src\\core\\util\\windows\\env.cc " +
"src\\core\\util\\windows\\stat.cc " +
"src\\core\\util\\windows\\string.cc " +
"src\\core\\util\\windows\\string_util.cc " +
"src\\core\\util\\windows\\sync.cc " +
"src\\core\\util\\windows\\thd.cc " +
"src\\core\\util\\windows\\time.cc " +
"src\\core\\util\\windows\\tmpfile.cc " +
"src\\core\\util\\work_serializer.cc " +
"src\\core\\xds\\grpc\\certificate_provider_store.cc " +
"src\\core\\xds\\grpc\\file_watcher_certificate_provider_factory.cc " +
"src\\core\\xds\\grpc\\xds_audit_logger_registry.cc " +
@ -1670,7 +1670,6 @@ if (PHP_GRPC != "no") {
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\handshaker\\tcp_connect");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\address_utils");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\backoff");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\channel");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\compression");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\config");
@ -1683,13 +1682,8 @@ if (PHP_GRPC != "no") {
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\event_engine\\windows");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\event_engine\\work_queue");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\experiments");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\gprpp");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\gprpp\\linux");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\gprpp\\posix");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\gprpp\\windows");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\iomgr");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\iomgr\\event_engine_shims");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\matchers");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\promise");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\resource_quota");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\security");
@ -1725,7 +1719,6 @@ if (PHP_GRPC != "no") {
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\slice");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\surface");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\transport");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\uri");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\grpclb");
FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\outlier_detection");

@ -35,7 +35,7 @@
#include <grpcpp/health_check_service_interface.h>
#include <grpcpp/xds_server_builder.h>
#include "src/core/lib/iomgr/gethostname.h"
#include "src/core/util/gethostname.h"
#ifdef BAZEL_BUILD
#include "examples/protos/helloworld.grpc.pb.h"

@ -27,7 +27,7 @@
#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
#include "src/core/ext/transport/chttp2/transport/hpack_parser.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/util/time.h"
#include "src/core/lib/slice/slice_buffer.h"
#include "src/core/lib/transport/metadata_batch.h"

228
gRPC-C++.podspec generated

@ -882,9 +882,6 @@ Pod::Spec.new do |s|
'src/core/handshaker/tcp_connect/tcp_connect_handshaker.h',
'src/core/lib/address_utils/parse_address.h',
'src/core/lib/address_utils/sockaddr_utils.h',
'src/core/lib/avl/avl.h',
'src/core/lib/backoff/backoff.h',
'src/core/lib/backoff/random_early_detection.h',
'src/core/lib/channel/call_finalization.h',
'src/core/lib/channel/channel_args.h',
'src/core/lib/channel/channel_args_preconditioning.h',
@ -900,7 +897,6 @@ Pod::Spec.new do |s|
'src/core/lib/config/config_vars.h',
'src/core/lib/config/core_configuration.h',
'src/core/lib/config/load_config.h',
'src/core/lib/debug/event_log.h',
'src/core/lib/debug/trace.h',
'src/core/lib/debug/trace_flags.h',
'src/core/lib/debug/trace_impl.h',
@ -970,55 +966,6 @@ Pod::Spec.new do |s|
'src/core/lib/event_engine/work_queue/work_queue.h',
'src/core/lib/experiments/config.h',
'src/core/lib/experiments/experiments.h',
'src/core/lib/gprpp/atomic_utils.h',
'src/core/lib/gprpp/bitset.h',
'src/core/lib/gprpp/chunked_vector.h',
'src/core/lib/gprpp/construct_destruct.h',
'src/core/lib/gprpp/cpp_impl_of.h',
'src/core/lib/gprpp/crash.h',
'src/core/lib/gprpp/debug_location.h',
'src/core/lib/gprpp/directory_reader.h',
'src/core/lib/gprpp/down_cast.h',
'src/core/lib/gprpp/dual_ref_counted.h',
'src/core/lib/gprpp/dump_args.h',
'src/core/lib/gprpp/env.h',
'src/core/lib/gprpp/examine_stack.h',
'src/core/lib/gprpp/fork.h',
'src/core/lib/gprpp/glob.h',
'src/core/lib/gprpp/host_port.h',
'src/core/lib/gprpp/if_list.h',
'src/core/lib/gprpp/load_file.h',
'src/core/lib/gprpp/manual_constructor.h',
'src/core/lib/gprpp/match.h',
'src/core/lib/gprpp/memory.h',
'src/core/lib/gprpp/mpscq.h',
'src/core/lib/gprpp/no_destruct.h',
'src/core/lib/gprpp/notification.h',
'src/core/lib/gprpp/orphanable.h',
'src/core/lib/gprpp/overload.h',
'src/core/lib/gprpp/packed_table.h',
'src/core/lib/gprpp/per_cpu.h',
'src/core/lib/gprpp/ref_counted.h',
'src/core/lib/gprpp/ref_counted_ptr.h',
'src/core/lib/gprpp/ref_counted_string.h',
'src/core/lib/gprpp/single_set_ptr.h',
'src/core/lib/gprpp/sorted_pack.h',
'src/core/lib/gprpp/stat.h',
'src/core/lib/gprpp/status_helper.h',
'src/core/lib/gprpp/strerror.h',
'src/core/lib/gprpp/sync.h',
'src/core/lib/gprpp/table.h',
'src/core/lib/gprpp/tchar.h',
'src/core/lib/gprpp/thd.h',
'src/core/lib/gprpp/time.h',
'src/core/lib/gprpp/time_averaged_stats.h',
'src/core/lib/gprpp/time_util.h',
'src/core/lib/gprpp/type_list.h',
'src/core/lib/gprpp/unique_type_name.h',
'src/core/lib/gprpp/uuid_v4.h',
'src/core/lib/gprpp/validation_errors.h',
'src/core/lib/gprpp/work_serializer.h',
'src/core/lib/gprpp/xxhash_inline.h',
'src/core/lib/iomgr/block_annotate.h',
'src/core/lib/iomgr/buffer_list.h',
'src/core/lib/iomgr/call_combiner.h',
@ -1040,8 +987,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/event_engine_shims/tcp_client.h',
'src/core/lib/iomgr/exec_ctx.h',
'src/core/lib/iomgr/executor.h',
'src/core/lib/iomgr/gethostname.h',
'src/core/lib/iomgr/grpc_if_nametoindex.h',
'src/core/lib/iomgr/internal_errqueue.h',
'src/core/lib/iomgr/iocp_windows.h',
'src/core/lib/iomgr/iomgr.h',
@ -1084,7 +1029,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/vsock.h',
'src/core/lib/iomgr/wakeup_fd_pipe.h',
'src/core/lib/iomgr/wakeup_fd_posix.h',
'src/core/lib/matchers/matchers.h',
'src/core/lib/promise/activity.h',
'src/core/lib/promise/all_ok.h',
'src/core/lib/promise/arena_promise.h',
@ -1226,7 +1170,6 @@ Pod::Spec.new do |s|
'src/core/lib/transport/timeout_encoding.h',
'src/core/lib/transport/transport.h',
'src/core/lib/transport/transport_fwd.h',
'src/core/lib/uri/uri_parser.h',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
'src/core/load_balancing/backend_metric_parser.h',
@ -1317,11 +1260,33 @@ Pod::Spec.new do |s|
'src/core/tsi/transport_security_grpc.h',
'src/core/tsi/transport_security_interface.h',
'src/core/util/alloc.h',
'src/core/util/atomic_utils.h',
'src/core/util/avl.h',
'src/core/util/backoff.h',
'src/core/util/bitset.h',
'src/core/util/chunked_vector.h',
'src/core/util/construct_destruct.h',
'src/core/util/cpp_impl_of.h',
'src/core/util/crash.h',
'src/core/util/debug_location.h',
'src/core/util/directory_reader.h',
'src/core/util/down_cast.h',
'src/core/util/dual_ref_counted.h',
'src/core/util/dump_args.h',
'src/core/util/env.h',
'src/core/util/event_log.h',
'src/core/util/examine_stack.h',
'src/core/util/fork.h',
'src/core/util/gcp_metadata_query.h',
'src/core/util/gethostname.h',
'src/core/util/glob.h',
'src/core/util/grpc_if_nametoindex.h',
'src/core/util/host_port.h',
'src/core/util/http_client/format_request.h',
'src/core/util/http_client/httpcli.h',
'src/core/util/http_client/httpcli_ssl_credentials.h',
'src/core/util/http_client/parser.h',
'src/core/util/if_list.h',
'src/core/util/json/json.h',
'src/core/util/json/json_args.h',
'src/core/util/json/json_channel_args.h',
@ -1330,15 +1295,50 @@ Pod::Spec.new do |s|
'src/core/util/json/json_util.h',
'src/core/util/json/json_writer.h',
'src/core/util/latent_see.h',
'src/core/util/load_file.h',
'src/core/util/lru_cache.h',
'src/core/util/manual_constructor.h',
'src/core/util/match.h',
'src/core/util/matchers.h',
'src/core/util/memory.h',
'src/core/util/mpscq.h',
'src/core/util/no_destruct.h',
'src/core/util/notification.h',
'src/core/util/orphanable.h',
'src/core/util/overload.h',
'src/core/util/packed_table.h',
'src/core/util/per_cpu.h',
'src/core/util/random_early_detection.h',
'src/core/util/ref_counted.h',
'src/core/util/ref_counted_ptr.h',
'src/core/util/ref_counted_string.h',
'src/core/util/ring_buffer.h',
'src/core/util/single_set_ptr.h',
'src/core/util/sorted_pack.h',
'src/core/util/spinlock.h',
'src/core/util/stat.h',
'src/core/util/status_helper.h',
'src/core/util/strerror.h',
'src/core/util/string.h',
'src/core/util/sync.h',
'src/core/util/table.h',
'src/core/util/tchar.h',
'src/core/util/thd.h',
'src/core/util/time.h',
'src/core/util/time_averaged_stats.h',
'src/core/util/time_precise.h',
'src/core/util/time_util.h',
'src/core/util/tmpfile.h',
'src/core/util/type_list.h',
'src/core/util/unique_ptr_with_bitset.h',
'src/core/util/unique_type_name.h',
'src/core/util/upb_utils.h',
'src/core/util/uri.h',
'src/core/util/useful.h',
'src/core/util/uuid_v4.h',
'src/core/util/validation_errors.h',
'src/core/util/work_serializer.h',
'src/core/util/xxhash_inline.h',
'src/core/xds/grpc/certificate_provider_store.h',
'src/core/xds/grpc/file_watcher_certificate_provider_factory.h',
'src/core/xds/grpc/xds_audit_logger_registry.h',
@ -2179,9 +2179,6 @@ Pod::Spec.new do |s|
'src/core/handshaker/tcp_connect/tcp_connect_handshaker.h',
'src/core/lib/address_utils/parse_address.h',
'src/core/lib/address_utils/sockaddr_utils.h',
'src/core/lib/avl/avl.h',
'src/core/lib/backoff/backoff.h',
'src/core/lib/backoff/random_early_detection.h',
'src/core/lib/channel/call_finalization.h',
'src/core/lib/channel/channel_args.h',
'src/core/lib/channel/channel_args_preconditioning.h',
@ -2197,7 +2194,6 @@ Pod::Spec.new do |s|
'src/core/lib/config/config_vars.h',
'src/core/lib/config/core_configuration.h',
'src/core/lib/config/load_config.h',
'src/core/lib/debug/event_log.h',
'src/core/lib/debug/trace.h',
'src/core/lib/debug/trace_flags.h',
'src/core/lib/debug/trace_impl.h',
@ -2267,55 +2263,6 @@ Pod::Spec.new do |s|
'src/core/lib/event_engine/work_queue/work_queue.h',
'src/core/lib/experiments/config.h',
'src/core/lib/experiments/experiments.h',
'src/core/lib/gprpp/atomic_utils.h',
'src/core/lib/gprpp/bitset.h',
'src/core/lib/gprpp/chunked_vector.h',
'src/core/lib/gprpp/construct_destruct.h',
'src/core/lib/gprpp/cpp_impl_of.h',
'src/core/lib/gprpp/crash.h',
'src/core/lib/gprpp/debug_location.h',
'src/core/lib/gprpp/directory_reader.h',
'src/core/lib/gprpp/down_cast.h',
'src/core/lib/gprpp/dual_ref_counted.h',
'src/core/lib/gprpp/dump_args.h',
'src/core/lib/gprpp/env.h',
'src/core/lib/gprpp/examine_stack.h',
'src/core/lib/gprpp/fork.h',
'src/core/lib/gprpp/glob.h',
'src/core/lib/gprpp/host_port.h',
'src/core/lib/gprpp/if_list.h',
'src/core/lib/gprpp/load_file.h',
'src/core/lib/gprpp/manual_constructor.h',
'src/core/lib/gprpp/match.h',
'src/core/lib/gprpp/memory.h',
'src/core/lib/gprpp/mpscq.h',
'src/core/lib/gprpp/no_destruct.h',
'src/core/lib/gprpp/notification.h',
'src/core/lib/gprpp/orphanable.h',
'src/core/lib/gprpp/overload.h',
'src/core/lib/gprpp/packed_table.h',
'src/core/lib/gprpp/per_cpu.h',
'src/core/lib/gprpp/ref_counted.h',
'src/core/lib/gprpp/ref_counted_ptr.h',
'src/core/lib/gprpp/ref_counted_string.h',
'src/core/lib/gprpp/single_set_ptr.h',
'src/core/lib/gprpp/sorted_pack.h',
'src/core/lib/gprpp/stat.h',
'src/core/lib/gprpp/status_helper.h',
'src/core/lib/gprpp/strerror.h',
'src/core/lib/gprpp/sync.h',
'src/core/lib/gprpp/table.h',
'src/core/lib/gprpp/tchar.h',
'src/core/lib/gprpp/thd.h',
'src/core/lib/gprpp/time.h',
'src/core/lib/gprpp/time_averaged_stats.h',
'src/core/lib/gprpp/time_util.h',
'src/core/lib/gprpp/type_list.h',
'src/core/lib/gprpp/unique_type_name.h',
'src/core/lib/gprpp/uuid_v4.h',
'src/core/lib/gprpp/validation_errors.h',
'src/core/lib/gprpp/work_serializer.h',
'src/core/lib/gprpp/xxhash_inline.h',
'src/core/lib/iomgr/block_annotate.h',
'src/core/lib/iomgr/buffer_list.h',
'src/core/lib/iomgr/call_combiner.h',
@ -2337,8 +2284,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/event_engine_shims/tcp_client.h',
'src/core/lib/iomgr/exec_ctx.h',
'src/core/lib/iomgr/executor.h',
'src/core/lib/iomgr/gethostname.h',
'src/core/lib/iomgr/grpc_if_nametoindex.h',
'src/core/lib/iomgr/internal_errqueue.h',
'src/core/lib/iomgr/iocp_windows.h',
'src/core/lib/iomgr/iomgr.h',
@ -2381,7 +2326,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/vsock.h',
'src/core/lib/iomgr/wakeup_fd_pipe.h',
'src/core/lib/iomgr/wakeup_fd_posix.h',
'src/core/lib/matchers/matchers.h',
'src/core/lib/promise/activity.h',
'src/core/lib/promise/all_ok.h',
'src/core/lib/promise/arena_promise.h',
@ -2523,7 +2467,6 @@ Pod::Spec.new do |s|
'src/core/lib/transport/timeout_encoding.h',
'src/core/lib/transport/transport.h',
'src/core/lib/transport/transport_fwd.h',
'src/core/lib/uri/uri_parser.h',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
'src/core/load_balancing/backend_metric_parser.h',
@ -2614,11 +2557,33 @@ Pod::Spec.new do |s|
'src/core/tsi/transport_security_grpc.h',
'src/core/tsi/transport_security_interface.h',
'src/core/util/alloc.h',
'src/core/util/atomic_utils.h',
'src/core/util/avl.h',
'src/core/util/backoff.h',
'src/core/util/bitset.h',
'src/core/util/chunked_vector.h',
'src/core/util/construct_destruct.h',
'src/core/util/cpp_impl_of.h',
'src/core/util/crash.h',
'src/core/util/debug_location.h',
'src/core/util/directory_reader.h',
'src/core/util/down_cast.h',
'src/core/util/dual_ref_counted.h',
'src/core/util/dump_args.h',
'src/core/util/env.h',
'src/core/util/event_log.h',
'src/core/util/examine_stack.h',
'src/core/util/fork.h',
'src/core/util/gcp_metadata_query.h',
'src/core/util/gethostname.h',
'src/core/util/glob.h',
'src/core/util/grpc_if_nametoindex.h',
'src/core/util/host_port.h',
'src/core/util/http_client/format_request.h',
'src/core/util/http_client/httpcli.h',
'src/core/util/http_client/httpcli_ssl_credentials.h',
'src/core/util/http_client/parser.h',
'src/core/util/if_list.h',
'src/core/util/json/json.h',
'src/core/util/json/json_args.h',
'src/core/util/json/json_channel_args.h',
@ -2627,15 +2592,50 @@ Pod::Spec.new do |s|
'src/core/util/json/json_util.h',
'src/core/util/json/json_writer.h',
'src/core/util/latent_see.h',
'src/core/util/load_file.h',
'src/core/util/lru_cache.h',
'src/core/util/manual_constructor.h',
'src/core/util/match.h',
'src/core/util/matchers.h',
'src/core/util/memory.h',
'src/core/util/mpscq.h',
'src/core/util/no_destruct.h',
'src/core/util/notification.h',
'src/core/util/orphanable.h',
'src/core/util/overload.h',
'src/core/util/packed_table.h',
'src/core/util/per_cpu.h',
'src/core/util/random_early_detection.h',
'src/core/util/ref_counted.h',
'src/core/util/ref_counted_ptr.h',
'src/core/util/ref_counted_string.h',
'src/core/util/ring_buffer.h',
'src/core/util/single_set_ptr.h',
'src/core/util/sorted_pack.h',
'src/core/util/spinlock.h',
'src/core/util/stat.h',
'src/core/util/status_helper.h',
'src/core/util/strerror.h',
'src/core/util/string.h',
'src/core/util/sync.h',
'src/core/util/table.h',
'src/core/util/tchar.h',
'src/core/util/thd.h',
'src/core/util/time.h',
'src/core/util/time_averaged_stats.h',
'src/core/util/time_precise.h',
'src/core/util/time_util.h',
'src/core/util/tmpfile.h',
'src/core/util/type_list.h',
'src/core/util/unique_ptr_with_bitset.h',
'src/core/util/unique_type_name.h',
'src/core/util/upb_utils.h',
'src/core/util/uri.h',
'src/core/util/useful.h',
'src/core/util/uuid_v4.h',
'src/core/util/validation_errors.h',
'src/core/util/work_serializer.h',
'src/core/util/xxhash_inline.h',
'src/core/xds/grpc/certificate_provider_store.h',
'src/core/xds/grpc/file_watcher_certificate_provider_factory.h',
'src/core/xds/grpc/xds_audit_logger_registry.h',

304
gRPC-Core.podspec generated

@ -1213,11 +1213,6 @@ Pod::Spec.new do |s|
'src/core/lib/address_utils/parse_address.h',
'src/core/lib/address_utils/sockaddr_utils.cc',
'src/core/lib/address_utils/sockaddr_utils.h',
'src/core/lib/avl/avl.h',
'src/core/lib/backoff/backoff.cc',
'src/core/lib/backoff/backoff.h',
'src/core/lib/backoff/random_early_detection.cc',
'src/core/lib/backoff/random_early_detection.h',
'src/core/lib/channel/call_finalization.h',
'src/core/lib/channel/channel_args.cc',
'src/core/lib/channel/channel_args.h',
@ -1248,8 +1243,6 @@ Pod::Spec.new do |s|
'src/core/lib/config/core_configuration.h',
'src/core/lib/config/load_config.cc',
'src/core/lib/config/load_config.h',
'src/core/lib/debug/event_log.cc',
'src/core/lib/debug/event_log.h',
'src/core/lib/debug/trace.cc',
'src/core/lib/debug/trace.h',
'src/core/lib/debug/trace_flags.cc',
@ -1370,83 +1363,6 @@ Pod::Spec.new do |s|
'src/core/lib/experiments/config.h',
'src/core/lib/experiments/experiments.cc',
'src/core/lib/experiments/experiments.h',
'src/core/lib/gprpp/atomic_utils.h',
'src/core/lib/gprpp/bitset.h',
'src/core/lib/gprpp/chunked_vector.h',
'src/core/lib/gprpp/construct_destruct.h',
'src/core/lib/gprpp/cpp_impl_of.h',
'src/core/lib/gprpp/crash.cc',
'src/core/lib/gprpp/crash.h',
'src/core/lib/gprpp/debug_location.h',
'src/core/lib/gprpp/directory_reader.h',
'src/core/lib/gprpp/down_cast.h',
'src/core/lib/gprpp/dual_ref_counted.h',
'src/core/lib/gprpp/dump_args.cc',
'src/core/lib/gprpp/dump_args.h',
'src/core/lib/gprpp/env.h',
'src/core/lib/gprpp/examine_stack.cc',
'src/core/lib/gprpp/examine_stack.h',
'src/core/lib/gprpp/fork.cc',
'src/core/lib/gprpp/fork.h',
'src/core/lib/gprpp/glob.cc',
'src/core/lib/gprpp/glob.h',
'src/core/lib/gprpp/host_port.cc',
'src/core/lib/gprpp/host_port.h',
'src/core/lib/gprpp/if_list.h',
'src/core/lib/gprpp/linux/env.cc',
'src/core/lib/gprpp/load_file.cc',
'src/core/lib/gprpp/load_file.h',
'src/core/lib/gprpp/manual_constructor.h',
'src/core/lib/gprpp/match.h',
'src/core/lib/gprpp/memory.h',
'src/core/lib/gprpp/mpscq.cc',
'src/core/lib/gprpp/mpscq.h',
'src/core/lib/gprpp/no_destruct.h',
'src/core/lib/gprpp/notification.h',
'src/core/lib/gprpp/orphanable.h',
'src/core/lib/gprpp/overload.h',
'src/core/lib/gprpp/packed_table.h',
'src/core/lib/gprpp/per_cpu.cc',
'src/core/lib/gprpp/per_cpu.h',
'src/core/lib/gprpp/posix/directory_reader.cc',
'src/core/lib/gprpp/posix/env.cc',
'src/core/lib/gprpp/posix/stat.cc',
'src/core/lib/gprpp/posix/thd.cc',
'src/core/lib/gprpp/ref_counted.h',
'src/core/lib/gprpp/ref_counted_ptr.h',
'src/core/lib/gprpp/ref_counted_string.cc',
'src/core/lib/gprpp/ref_counted_string.h',
'src/core/lib/gprpp/single_set_ptr.h',
'src/core/lib/gprpp/sorted_pack.h',
'src/core/lib/gprpp/stat.h',
'src/core/lib/gprpp/status_helper.cc',
'src/core/lib/gprpp/status_helper.h',
'src/core/lib/gprpp/strerror.cc',
'src/core/lib/gprpp/strerror.h',
'src/core/lib/gprpp/sync.h',
'src/core/lib/gprpp/table.h',
'src/core/lib/gprpp/tchar.cc',
'src/core/lib/gprpp/tchar.h',
'src/core/lib/gprpp/thd.h',
'src/core/lib/gprpp/time.cc',
'src/core/lib/gprpp/time.h',
'src/core/lib/gprpp/time_averaged_stats.cc',
'src/core/lib/gprpp/time_averaged_stats.h',
'src/core/lib/gprpp/time_util.cc',
'src/core/lib/gprpp/time_util.h',
'src/core/lib/gprpp/type_list.h',
'src/core/lib/gprpp/unique_type_name.h',
'src/core/lib/gprpp/uuid_v4.cc',
'src/core/lib/gprpp/uuid_v4.h',
'src/core/lib/gprpp/validation_errors.cc',
'src/core/lib/gprpp/validation_errors.h',
'src/core/lib/gprpp/windows/directory_reader.cc',
'src/core/lib/gprpp/windows/env.cc',
'src/core/lib/gprpp/windows/stat.cc',
'src/core/lib/gprpp/windows/thd.cc',
'src/core/lib/gprpp/work_serializer.cc',
'src/core/lib/gprpp/work_serializer.h',
'src/core/lib/gprpp/xxhash_inline.h',
'src/core/lib/iomgr/block_annotate.h',
'src/core/lib/iomgr/buffer_list.cc',
'src/core/lib/iomgr/buffer_list.h',
@ -1491,13 +1407,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/executor.h',
'src/core/lib/iomgr/fork_posix.cc',
'src/core/lib/iomgr/fork_windows.cc',
'src/core/lib/iomgr/gethostname.h',
'src/core/lib/iomgr/gethostname_fallback.cc',
'src/core/lib/iomgr/gethostname_host_name_max.cc',
'src/core/lib/iomgr/gethostname_sysconf.cc',
'src/core/lib/iomgr/grpc_if_nametoindex.h',
'src/core/lib/iomgr/grpc_if_nametoindex_posix.cc',
'src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc',
'src/core/lib/iomgr/internal_errqueue.cc',
'src/core/lib/iomgr/internal_errqueue.h',
'src/core/lib/iomgr/iocp_windows.cc',
@ -1588,8 +1497,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/wakeup_fd_pipe.h',
'src/core/lib/iomgr/wakeup_fd_posix.cc',
'src/core/lib/iomgr/wakeup_fd_posix.h',
'src/core/lib/matchers/matchers.cc',
'src/core/lib/matchers/matchers.h',
'src/core/lib/promise/activity.cc',
'src/core/lib/promise/activity.h',
'src/core/lib/promise/all_ok.h',
@ -1850,8 +1757,6 @@ Pod::Spec.new do |s|
'src/core/lib/transport/transport.h',
'src/core/lib/transport/transport_fwd.h',
'src/core/lib/transport/transport_op_string.cc',
'src/core/lib/uri/uri_parser.cc',
'src/core/lib/uri/uri_parser.h',
'src/core/load_balancing/address_filtering.cc',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
@ -2036,8 +1941,43 @@ Pod::Spec.new do |s|
'src/core/util/alloc.cc',
'src/core/util/alloc.h',
'src/core/util/atm.cc',
'src/core/util/atomic_utils.h',
'src/core/util/avl.h',
'src/core/util/backoff.cc',
'src/core/util/backoff.h',
'src/core/util/bitset.h',
'src/core/util/chunked_vector.h',
'src/core/util/construct_destruct.h',
'src/core/util/cpp_impl_of.h',
'src/core/util/crash.cc',
'src/core/util/crash.h',
'src/core/util/debug_location.h',
'src/core/util/directory_reader.h',
'src/core/util/down_cast.h',
'src/core/util/dual_ref_counted.h',
'src/core/util/dump_args.cc',
'src/core/util/dump_args.h',
'src/core/util/env.h',
'src/core/util/event_log.cc',
'src/core/util/event_log.h',
'src/core/util/examine_stack.cc',
'src/core/util/examine_stack.h',
'src/core/util/fork.cc',
'src/core/util/fork.h',
'src/core/util/gcp_metadata_query.cc',
'src/core/util/gcp_metadata_query.h',
'src/core/util/gethostname.h',
'src/core/util/gethostname_fallback.cc',
'src/core/util/gethostname_host_name_max.cc',
'src/core/util/gethostname_sysconf.cc',
'src/core/util/glob.cc',
'src/core/util/glob.h',
'src/core/util/gpr_time.cc',
'src/core/util/grpc_if_nametoindex.h',
'src/core/util/grpc_if_nametoindex_posix.cc',
'src/core/util/grpc_if_nametoindex_unsupported.cc',
'src/core/util/host_port.cc',
'src/core/util/host_port.h',
'src/core/util/http_client/format_request.cc',
'src/core/util/http_client/format_request.h',
'src/core/util/http_client/httpcli.cc',
@ -2046,6 +1986,7 @@ Pod::Spec.new do |s|
'src/core/util/http_client/httpcli_ssl_credentials.h',
'src/core/util/http_client/parser.cc',
'src/core/util/http_client/parser.h',
'src/core/util/if_list.h',
'src/core/util/iphone/cpu.cc',
'src/core/util/json/json.h',
'src/core/util/json/json_args.h',
@ -2061,33 +2002,92 @@ Pod::Spec.new do |s|
'src/core/util/latent_see.cc',
'src/core/util/latent_see.h',
'src/core/util/linux/cpu.cc',
'src/core/util/linux/env.cc',
'src/core/util/load_file.cc',
'src/core/util/load_file.h',
'src/core/util/log.cc',
'src/core/util/lru_cache.h',
'src/core/util/manual_constructor.h',
'src/core/util/match.h',
'src/core/util/matchers.cc',
'src/core/util/matchers.h',
'src/core/util/memory.h',
'src/core/util/mpscq.cc',
'src/core/util/mpscq.h',
'src/core/util/msys/tmpfile.cc',
'src/core/util/no_destruct.h',
'src/core/util/notification.h',
'src/core/util/orphanable.h',
'src/core/util/overload.h',
'src/core/util/packed_table.h',
'src/core/util/per_cpu.cc',
'src/core/util/per_cpu.h',
'src/core/util/posix/cpu.cc',
'src/core/util/posix/directory_reader.cc',
'src/core/util/posix/env.cc',
'src/core/util/posix/stat.cc',
'src/core/util/posix/string.cc',
'src/core/util/posix/sync.cc',
'src/core/util/posix/thd.cc',
'src/core/util/posix/time.cc',
'src/core/util/posix/tmpfile.cc',
'src/core/util/random_early_detection.cc',
'src/core/util/random_early_detection.h',
'src/core/util/ref_counted.h',
'src/core/util/ref_counted_ptr.h',
'src/core/util/ref_counted_string.cc',
'src/core/util/ref_counted_string.h',
'src/core/util/ring_buffer.h',
'src/core/util/single_set_ptr.h',
'src/core/util/sorted_pack.h',
'src/core/util/spinlock.h',
'src/core/util/stat.h',
'src/core/util/status_helper.cc',
'src/core/util/status_helper.h',
'src/core/util/strerror.cc',
'src/core/util/strerror.h',
'src/core/util/string.cc',
'src/core/util/string.h',
'src/core/util/sync.cc',
'src/core/util/sync.h',
'src/core/util/sync_abseil.cc',
'src/core/util/table.h',
'src/core/util/tchar.cc',
'src/core/util/tchar.h',
'src/core/util/thd.h',
'src/core/util/time.cc',
'src/core/util/time.h',
'src/core/util/time_averaged_stats.cc',
'src/core/util/time_averaged_stats.h',
'src/core/util/time_precise.cc',
'src/core/util/time_precise.h',
'src/core/util/time_util.cc',
'src/core/util/time_util.h',
'src/core/util/tmpfile.h',
'src/core/util/type_list.h',
'src/core/util/unique_ptr_with_bitset.h',
'src/core/util/unique_type_name.h',
'src/core/util/upb_utils.h',
'src/core/util/uri.cc',
'src/core/util/uri.h',
'src/core/util/useful.h',
'src/core/util/uuid_v4.cc',
'src/core/util/uuid_v4.h',
'src/core/util/validation_errors.cc',
'src/core/util/validation_errors.h',
'src/core/util/windows/cpu.cc',
'src/core/util/windows/directory_reader.cc',
'src/core/util/windows/env.cc',
'src/core/util/windows/stat.cc',
'src/core/util/windows/string.cc',
'src/core/util/windows/string_util.cc',
'src/core/util/windows/sync.cc',
'src/core/util/windows/thd.cc',
'src/core/util/windows/time.cc',
'src/core/util/windows/tmpfile.cc',
'src/core/util/work_serializer.cc',
'src/core/util/work_serializer.h',
'src/core/util/xxhash_inline.h',
'src/core/xds/grpc/certificate_provider_store.cc',
'src/core/xds/grpc/certificate_provider_store.h',
'src/core/xds/grpc/file_watcher_certificate_provider_factory.cc',
@ -2963,9 +2963,6 @@ Pod::Spec.new do |s|
'src/core/handshaker/tcp_connect/tcp_connect_handshaker.h',
'src/core/lib/address_utils/parse_address.h',
'src/core/lib/address_utils/sockaddr_utils.h',
'src/core/lib/avl/avl.h',
'src/core/lib/backoff/backoff.h',
'src/core/lib/backoff/random_early_detection.h',
'src/core/lib/channel/call_finalization.h',
'src/core/lib/channel/channel_args.h',
'src/core/lib/channel/channel_args_preconditioning.h',
@ -2981,7 +2978,6 @@ Pod::Spec.new do |s|
'src/core/lib/config/config_vars.h',
'src/core/lib/config/core_configuration.h',
'src/core/lib/config/load_config.h',
'src/core/lib/debug/event_log.h',
'src/core/lib/debug/trace.h',
'src/core/lib/debug/trace_flags.h',
'src/core/lib/debug/trace_impl.h',
@ -3051,55 +3047,6 @@ Pod::Spec.new do |s|
'src/core/lib/event_engine/work_queue/work_queue.h',
'src/core/lib/experiments/config.h',
'src/core/lib/experiments/experiments.h',
'src/core/lib/gprpp/atomic_utils.h',
'src/core/lib/gprpp/bitset.h',
'src/core/lib/gprpp/chunked_vector.h',
'src/core/lib/gprpp/construct_destruct.h',
'src/core/lib/gprpp/cpp_impl_of.h',
'src/core/lib/gprpp/crash.h',
'src/core/lib/gprpp/debug_location.h',
'src/core/lib/gprpp/directory_reader.h',
'src/core/lib/gprpp/down_cast.h',
'src/core/lib/gprpp/dual_ref_counted.h',
'src/core/lib/gprpp/dump_args.h',
'src/core/lib/gprpp/env.h',
'src/core/lib/gprpp/examine_stack.h',
'src/core/lib/gprpp/fork.h',
'src/core/lib/gprpp/glob.h',
'src/core/lib/gprpp/host_port.h',
'src/core/lib/gprpp/if_list.h',
'src/core/lib/gprpp/load_file.h',
'src/core/lib/gprpp/manual_constructor.h',
'src/core/lib/gprpp/match.h',
'src/core/lib/gprpp/memory.h',
'src/core/lib/gprpp/mpscq.h',
'src/core/lib/gprpp/no_destruct.h',
'src/core/lib/gprpp/notification.h',
'src/core/lib/gprpp/orphanable.h',
'src/core/lib/gprpp/overload.h',
'src/core/lib/gprpp/packed_table.h',
'src/core/lib/gprpp/per_cpu.h',
'src/core/lib/gprpp/ref_counted.h',
'src/core/lib/gprpp/ref_counted_ptr.h',
'src/core/lib/gprpp/ref_counted_string.h',
'src/core/lib/gprpp/single_set_ptr.h',
'src/core/lib/gprpp/sorted_pack.h',
'src/core/lib/gprpp/stat.h',
'src/core/lib/gprpp/status_helper.h',
'src/core/lib/gprpp/strerror.h',
'src/core/lib/gprpp/sync.h',
'src/core/lib/gprpp/table.h',
'src/core/lib/gprpp/tchar.h',
'src/core/lib/gprpp/thd.h',
'src/core/lib/gprpp/time.h',
'src/core/lib/gprpp/time_averaged_stats.h',
'src/core/lib/gprpp/time_util.h',
'src/core/lib/gprpp/type_list.h',
'src/core/lib/gprpp/unique_type_name.h',
'src/core/lib/gprpp/uuid_v4.h',
'src/core/lib/gprpp/validation_errors.h',
'src/core/lib/gprpp/work_serializer.h',
'src/core/lib/gprpp/xxhash_inline.h',
'src/core/lib/iomgr/block_annotate.h',
'src/core/lib/iomgr/buffer_list.h',
'src/core/lib/iomgr/call_combiner.h',
@ -3121,8 +3068,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/event_engine_shims/tcp_client.h',
'src/core/lib/iomgr/exec_ctx.h',
'src/core/lib/iomgr/executor.h',
'src/core/lib/iomgr/gethostname.h',
'src/core/lib/iomgr/grpc_if_nametoindex.h',
'src/core/lib/iomgr/internal_errqueue.h',
'src/core/lib/iomgr/iocp_windows.h',
'src/core/lib/iomgr/iomgr.h',
@ -3165,7 +3110,6 @@ Pod::Spec.new do |s|
'src/core/lib/iomgr/vsock.h',
'src/core/lib/iomgr/wakeup_fd_pipe.h',
'src/core/lib/iomgr/wakeup_fd_posix.h',
'src/core/lib/matchers/matchers.h',
'src/core/lib/promise/activity.h',
'src/core/lib/promise/all_ok.h',
'src/core/lib/promise/arena_promise.h',
@ -3307,7 +3251,6 @@ Pod::Spec.new do |s|
'src/core/lib/transport/timeout_encoding.h',
'src/core/lib/transport/transport.h',
'src/core/lib/transport/transport_fwd.h',
'src/core/lib/uri/uri_parser.h',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
'src/core/load_balancing/backend_metric_parser.h',
@ -3398,11 +3341,33 @@ Pod::Spec.new do |s|
'src/core/tsi/transport_security_grpc.h',
'src/core/tsi/transport_security_interface.h',
'src/core/util/alloc.h',
'src/core/util/atomic_utils.h',
'src/core/util/avl.h',
'src/core/util/backoff.h',
'src/core/util/bitset.h',
'src/core/util/chunked_vector.h',
'src/core/util/construct_destruct.h',
'src/core/util/cpp_impl_of.h',
'src/core/util/crash.h',
'src/core/util/debug_location.h',
'src/core/util/directory_reader.h',
'src/core/util/down_cast.h',
'src/core/util/dual_ref_counted.h',
'src/core/util/dump_args.h',
'src/core/util/env.h',
'src/core/util/event_log.h',
'src/core/util/examine_stack.h',
'src/core/util/fork.h',
'src/core/util/gcp_metadata_query.h',
'src/core/util/gethostname.h',
'src/core/util/glob.h',
'src/core/util/grpc_if_nametoindex.h',
'src/core/util/host_port.h',
'src/core/util/http_client/format_request.h',
'src/core/util/http_client/httpcli.h',
'src/core/util/http_client/httpcli_ssl_credentials.h',
'src/core/util/http_client/parser.h',
'src/core/util/if_list.h',
'src/core/util/json/json.h',
'src/core/util/json/json_args.h',
'src/core/util/json/json_channel_args.h',
@ -3411,15 +3376,50 @@ Pod::Spec.new do |s|
'src/core/util/json/json_util.h',
'src/core/util/json/json_writer.h',
'src/core/util/latent_see.h',
'src/core/util/load_file.h',
'src/core/util/lru_cache.h',
'src/core/util/manual_constructor.h',
'src/core/util/match.h',
'src/core/util/matchers.h',
'src/core/util/memory.h',
'src/core/util/mpscq.h',
'src/core/util/no_destruct.h',
'src/core/util/notification.h',
'src/core/util/orphanable.h',
'src/core/util/overload.h',
'src/core/util/packed_table.h',
'src/core/util/per_cpu.h',
'src/core/util/random_early_detection.h',
'src/core/util/ref_counted.h',
'src/core/util/ref_counted_ptr.h',
'src/core/util/ref_counted_string.h',
'src/core/util/ring_buffer.h',
'src/core/util/single_set_ptr.h',
'src/core/util/sorted_pack.h',
'src/core/util/spinlock.h',
'src/core/util/stat.h',
'src/core/util/status_helper.h',
'src/core/util/strerror.h',
'src/core/util/string.h',
'src/core/util/sync.h',
'src/core/util/table.h',
'src/core/util/tchar.h',
'src/core/util/thd.h',
'src/core/util/time.h',
'src/core/util/time_averaged_stats.h',
'src/core/util/time_precise.h',
'src/core/util/time_util.h',
'src/core/util/tmpfile.h',
'src/core/util/type_list.h',
'src/core/util/unique_ptr_with_bitset.h',
'src/core/util/unique_type_name.h',
'src/core/util/upb_utils.h',
'src/core/util/uri.h',
'src/core/util/useful.h',
'src/core/util/uuid_v4.h',
'src/core/util/validation_errors.h',
'src/core/util/work_serializer.h',
'src/core/util/xxhash_inline.h',
'src/core/xds/grpc/certificate_provider_store.h',
'src/core/xds/grpc/file_watcher_certificate_provider_factory.h',
'src/core/xds/grpc/xds_audit_logger_registry.h',

190
grpc.gemspec generated

@ -1099,11 +1099,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/address_utils/parse_address.h )
s.files += %w( src/core/lib/address_utils/sockaddr_utils.cc )
s.files += %w( src/core/lib/address_utils/sockaddr_utils.h )
s.files += %w( src/core/lib/avl/avl.h )
s.files += %w( src/core/lib/backoff/backoff.cc )
s.files += %w( src/core/lib/backoff/backoff.h )
s.files += %w( src/core/lib/backoff/random_early_detection.cc )
s.files += %w( src/core/lib/backoff/random_early_detection.h )
s.files += %w( src/core/lib/channel/call_finalization.h )
s.files += %w( src/core/lib/channel/channel_args.cc )
s.files += %w( src/core/lib/channel/channel_args.h )
@ -1134,8 +1129,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/config/core_configuration.h )
s.files += %w( src/core/lib/config/load_config.cc )
s.files += %w( src/core/lib/config/load_config.h )
s.files += %w( src/core/lib/debug/event_log.cc )
s.files += %w( src/core/lib/debug/event_log.h )
s.files += %w( src/core/lib/debug/trace.cc )
s.files += %w( src/core/lib/debug/trace.h )
s.files += %w( src/core/lib/debug/trace_flags.cc )
@ -1256,83 +1249,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/experiments/config.h )
s.files += %w( src/core/lib/experiments/experiments.cc )
s.files += %w( src/core/lib/experiments/experiments.h )
s.files += %w( src/core/lib/gprpp/atomic_utils.h )
s.files += %w( src/core/lib/gprpp/bitset.h )
s.files += %w( src/core/lib/gprpp/chunked_vector.h )
s.files += %w( src/core/lib/gprpp/construct_destruct.h )
s.files += %w( src/core/lib/gprpp/cpp_impl_of.h )
s.files += %w( src/core/lib/gprpp/crash.cc )
s.files += %w( src/core/lib/gprpp/crash.h )
s.files += %w( src/core/lib/gprpp/debug_location.h )
s.files += %w( src/core/lib/gprpp/directory_reader.h )
s.files += %w( src/core/lib/gprpp/down_cast.h )
s.files += %w( src/core/lib/gprpp/dual_ref_counted.h )
s.files += %w( src/core/lib/gprpp/dump_args.cc )
s.files += %w( src/core/lib/gprpp/dump_args.h )
s.files += %w( src/core/lib/gprpp/env.h )
s.files += %w( src/core/lib/gprpp/examine_stack.cc )
s.files += %w( src/core/lib/gprpp/examine_stack.h )
s.files += %w( src/core/lib/gprpp/fork.cc )
s.files += %w( src/core/lib/gprpp/fork.h )
s.files += %w( src/core/lib/gprpp/glob.cc )
s.files += %w( src/core/lib/gprpp/glob.h )
s.files += %w( src/core/lib/gprpp/host_port.cc )
s.files += %w( src/core/lib/gprpp/host_port.h )
s.files += %w( src/core/lib/gprpp/if_list.h )
s.files += %w( src/core/lib/gprpp/linux/env.cc )
s.files += %w( src/core/lib/gprpp/load_file.cc )
s.files += %w( src/core/lib/gprpp/load_file.h )
s.files += %w( src/core/lib/gprpp/manual_constructor.h )
s.files += %w( src/core/lib/gprpp/match.h )
s.files += %w( src/core/lib/gprpp/memory.h )
s.files += %w( src/core/lib/gprpp/mpscq.cc )
s.files += %w( src/core/lib/gprpp/mpscq.h )
s.files += %w( src/core/lib/gprpp/no_destruct.h )
s.files += %w( src/core/lib/gprpp/notification.h )
s.files += %w( src/core/lib/gprpp/orphanable.h )
s.files += %w( src/core/lib/gprpp/overload.h )
s.files += %w( src/core/lib/gprpp/packed_table.h )
s.files += %w( src/core/lib/gprpp/per_cpu.cc )
s.files += %w( src/core/lib/gprpp/per_cpu.h )
s.files += %w( src/core/lib/gprpp/posix/directory_reader.cc )
s.files += %w( src/core/lib/gprpp/posix/env.cc )
s.files += %w( src/core/lib/gprpp/posix/stat.cc )
s.files += %w( src/core/lib/gprpp/posix/thd.cc )
s.files += %w( src/core/lib/gprpp/ref_counted.h )
s.files += %w( src/core/lib/gprpp/ref_counted_ptr.h )
s.files += %w( src/core/lib/gprpp/ref_counted_string.cc )
s.files += %w( src/core/lib/gprpp/ref_counted_string.h )
s.files += %w( src/core/lib/gprpp/single_set_ptr.h )
s.files += %w( src/core/lib/gprpp/sorted_pack.h )
s.files += %w( src/core/lib/gprpp/stat.h )
s.files += %w( src/core/lib/gprpp/status_helper.cc )
s.files += %w( src/core/lib/gprpp/status_helper.h )
s.files += %w( src/core/lib/gprpp/strerror.cc )
s.files += %w( src/core/lib/gprpp/strerror.h )
s.files += %w( src/core/lib/gprpp/sync.h )
s.files += %w( src/core/lib/gprpp/table.h )
s.files += %w( src/core/lib/gprpp/tchar.cc )
s.files += %w( src/core/lib/gprpp/tchar.h )
s.files += %w( src/core/lib/gprpp/thd.h )
s.files += %w( src/core/lib/gprpp/time.cc )
s.files += %w( src/core/lib/gprpp/time.h )
s.files += %w( src/core/lib/gprpp/time_averaged_stats.cc )
s.files += %w( src/core/lib/gprpp/time_averaged_stats.h )
s.files += %w( src/core/lib/gprpp/time_util.cc )
s.files += %w( src/core/lib/gprpp/time_util.h )
s.files += %w( src/core/lib/gprpp/type_list.h )
s.files += %w( src/core/lib/gprpp/unique_type_name.h )
s.files += %w( src/core/lib/gprpp/uuid_v4.cc )
s.files += %w( src/core/lib/gprpp/uuid_v4.h )
s.files += %w( src/core/lib/gprpp/validation_errors.cc )
s.files += %w( src/core/lib/gprpp/validation_errors.h )
s.files += %w( src/core/lib/gprpp/windows/directory_reader.cc )
s.files += %w( src/core/lib/gprpp/windows/env.cc )
s.files += %w( src/core/lib/gprpp/windows/stat.cc )
s.files += %w( src/core/lib/gprpp/windows/thd.cc )
s.files += %w( src/core/lib/gprpp/work_serializer.cc )
s.files += %w( src/core/lib/gprpp/work_serializer.h )
s.files += %w( src/core/lib/gprpp/xxhash_inline.h )
s.files += %w( src/core/lib/iomgr/block_annotate.h )
s.files += %w( src/core/lib/iomgr/buffer_list.cc )
s.files += %w( src/core/lib/iomgr/buffer_list.h )
@ -1377,13 +1293,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/iomgr/executor.h )
s.files += %w( src/core/lib/iomgr/fork_posix.cc )
s.files += %w( src/core/lib/iomgr/fork_windows.cc )
s.files += %w( src/core/lib/iomgr/gethostname.h )
s.files += %w( src/core/lib/iomgr/gethostname_fallback.cc )
s.files += %w( src/core/lib/iomgr/gethostname_host_name_max.cc )
s.files += %w( src/core/lib/iomgr/gethostname_sysconf.cc )
s.files += %w( src/core/lib/iomgr/grpc_if_nametoindex.h )
s.files += %w( src/core/lib/iomgr/grpc_if_nametoindex_posix.cc )
s.files += %w( src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc )
s.files += %w( src/core/lib/iomgr/internal_errqueue.cc )
s.files += %w( src/core/lib/iomgr/internal_errqueue.h )
s.files += %w( src/core/lib/iomgr/iocp_windows.cc )
@ -1474,8 +1383,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/iomgr/wakeup_fd_pipe.h )
s.files += %w( src/core/lib/iomgr/wakeup_fd_posix.cc )
s.files += %w( src/core/lib/iomgr/wakeup_fd_posix.h )
s.files += %w( src/core/lib/matchers/matchers.cc )
s.files += %w( src/core/lib/matchers/matchers.h )
s.files += %w( src/core/lib/promise/activity.cc )
s.files += %w( src/core/lib/promise/activity.h )
s.files += %w( src/core/lib/promise/all_ok.h )
@ -1736,8 +1643,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/transport/transport.h )
s.files += %w( src/core/lib/transport/transport_fwd.h )
s.files += %w( src/core/lib/transport/transport_op_string.cc )
s.files += %w( src/core/lib/uri/uri_parser.cc )
s.files += %w( src/core/lib/uri/uri_parser.h )
s.files += %w( src/core/load_balancing/address_filtering.cc )
s.files += %w( src/core/load_balancing/address_filtering.h )
s.files += %w( src/core/load_balancing/backend_metric_data.h )
@ -1922,8 +1827,43 @@ Gem::Specification.new do |s|
s.files += %w( src/core/util/alloc.cc )
s.files += %w( src/core/util/alloc.h )
s.files += %w( src/core/util/atm.cc )
s.files += %w( src/core/util/atomic_utils.h )
s.files += %w( src/core/util/avl.h )
s.files += %w( src/core/util/backoff.cc )
s.files += %w( src/core/util/backoff.h )
s.files += %w( src/core/util/bitset.h )
s.files += %w( src/core/util/chunked_vector.h )
s.files += %w( src/core/util/construct_destruct.h )
s.files += %w( src/core/util/cpp_impl_of.h )
s.files += %w( src/core/util/crash.cc )
s.files += %w( src/core/util/crash.h )
s.files += %w( src/core/util/debug_location.h )
s.files += %w( src/core/util/directory_reader.h )
s.files += %w( src/core/util/down_cast.h )
s.files += %w( src/core/util/dual_ref_counted.h )
s.files += %w( src/core/util/dump_args.cc )
s.files += %w( src/core/util/dump_args.h )
s.files += %w( src/core/util/env.h )
s.files += %w( src/core/util/event_log.cc )
s.files += %w( src/core/util/event_log.h )
s.files += %w( src/core/util/examine_stack.cc )
s.files += %w( src/core/util/examine_stack.h )
s.files += %w( src/core/util/fork.cc )
s.files += %w( src/core/util/fork.h )
s.files += %w( src/core/util/gcp_metadata_query.cc )
s.files += %w( src/core/util/gcp_metadata_query.h )
s.files += %w( src/core/util/gethostname.h )
s.files += %w( src/core/util/gethostname_fallback.cc )
s.files += %w( src/core/util/gethostname_host_name_max.cc )
s.files += %w( src/core/util/gethostname_sysconf.cc )
s.files += %w( src/core/util/glob.cc )
s.files += %w( src/core/util/glob.h )
s.files += %w( src/core/util/gpr_time.cc )
s.files += %w( src/core/util/grpc_if_nametoindex.h )
s.files += %w( src/core/util/grpc_if_nametoindex_posix.cc )
s.files += %w( src/core/util/grpc_if_nametoindex_unsupported.cc )
s.files += %w( src/core/util/host_port.cc )
s.files += %w( src/core/util/host_port.h )
s.files += %w( src/core/util/http_client/format_request.cc )
s.files += %w( src/core/util/http_client/format_request.h )
s.files += %w( src/core/util/http_client/httpcli.cc )
@ -1932,6 +1872,7 @@ Gem::Specification.new do |s|
s.files += %w( src/core/util/http_client/httpcli_ssl_credentials.h )
s.files += %w( src/core/util/http_client/parser.cc )
s.files += %w( src/core/util/http_client/parser.h )
s.files += %w( src/core/util/if_list.h )
s.files += %w( src/core/util/iphone/cpu.cc )
s.files += %w( src/core/util/json/json.h )
s.files += %w( src/core/util/json/json_args.h )
@ -1947,33 +1888,92 @@ Gem::Specification.new do |s|
s.files += %w( src/core/util/latent_see.cc )
s.files += %w( src/core/util/latent_see.h )
s.files += %w( src/core/util/linux/cpu.cc )
s.files += %w( src/core/util/linux/env.cc )
s.files += %w( src/core/util/load_file.cc )
s.files += %w( src/core/util/load_file.h )
s.files += %w( src/core/util/log.cc )
s.files += %w( src/core/util/lru_cache.h )
s.files += %w( src/core/util/manual_constructor.h )
s.files += %w( src/core/util/match.h )
s.files += %w( src/core/util/matchers.cc )
s.files += %w( src/core/util/matchers.h )
s.files += %w( src/core/util/memory.h )
s.files += %w( src/core/util/mpscq.cc )
s.files += %w( src/core/util/mpscq.h )
s.files += %w( src/core/util/msys/tmpfile.cc )
s.files += %w( src/core/util/no_destruct.h )
s.files += %w( src/core/util/notification.h )
s.files += %w( src/core/util/orphanable.h )
s.files += %w( src/core/util/overload.h )
s.files += %w( src/core/util/packed_table.h )
s.files += %w( src/core/util/per_cpu.cc )
s.files += %w( src/core/util/per_cpu.h )
s.files += %w( src/core/util/posix/cpu.cc )
s.files += %w( src/core/util/posix/directory_reader.cc )
s.files += %w( src/core/util/posix/env.cc )
s.files += %w( src/core/util/posix/stat.cc )
s.files += %w( src/core/util/posix/string.cc )
s.files += %w( src/core/util/posix/sync.cc )
s.files += %w( src/core/util/posix/thd.cc )
s.files += %w( src/core/util/posix/time.cc )
s.files += %w( src/core/util/posix/tmpfile.cc )
s.files += %w( src/core/util/random_early_detection.cc )
s.files += %w( src/core/util/random_early_detection.h )
s.files += %w( src/core/util/ref_counted.h )
s.files += %w( src/core/util/ref_counted_ptr.h )
s.files += %w( src/core/util/ref_counted_string.cc )
s.files += %w( src/core/util/ref_counted_string.h )
s.files += %w( src/core/util/ring_buffer.h )
s.files += %w( src/core/util/single_set_ptr.h )
s.files += %w( src/core/util/sorted_pack.h )
s.files += %w( src/core/util/spinlock.h )
s.files += %w( src/core/util/stat.h )
s.files += %w( src/core/util/status_helper.cc )
s.files += %w( src/core/util/status_helper.h )
s.files += %w( src/core/util/strerror.cc )
s.files += %w( src/core/util/strerror.h )
s.files += %w( src/core/util/string.cc )
s.files += %w( src/core/util/string.h )
s.files += %w( src/core/util/sync.cc )
s.files += %w( src/core/util/sync.h )
s.files += %w( src/core/util/sync_abseil.cc )
s.files += %w( src/core/util/table.h )
s.files += %w( src/core/util/tchar.cc )
s.files += %w( src/core/util/tchar.h )
s.files += %w( src/core/util/thd.h )
s.files += %w( src/core/util/time.cc )
s.files += %w( src/core/util/time.h )
s.files += %w( src/core/util/time_averaged_stats.cc )
s.files += %w( src/core/util/time_averaged_stats.h )
s.files += %w( src/core/util/time_precise.cc )
s.files += %w( src/core/util/time_precise.h )
s.files += %w( src/core/util/time_util.cc )
s.files += %w( src/core/util/time_util.h )
s.files += %w( src/core/util/tmpfile.h )
s.files += %w( src/core/util/type_list.h )
s.files += %w( src/core/util/unique_ptr_with_bitset.h )
s.files += %w( src/core/util/unique_type_name.h )
s.files += %w( src/core/util/upb_utils.h )
s.files += %w( src/core/util/uri.cc )
s.files += %w( src/core/util/uri.h )
s.files += %w( src/core/util/useful.h )
s.files += %w( src/core/util/uuid_v4.cc )
s.files += %w( src/core/util/uuid_v4.h )
s.files += %w( src/core/util/validation_errors.cc )
s.files += %w( src/core/util/validation_errors.h )
s.files += %w( src/core/util/windows/cpu.cc )
s.files += %w( src/core/util/windows/directory_reader.cc )
s.files += %w( src/core/util/windows/env.cc )
s.files += %w( src/core/util/windows/stat.cc )
s.files += %w( src/core/util/windows/string.cc )
s.files += %w( src/core/util/windows/string_util.cc )
s.files += %w( src/core/util/windows/sync.cc )
s.files += %w( src/core/util/windows/thd.cc )
s.files += %w( src/core/util/windows/time.cc )
s.files += %w( src/core/util/windows/tmpfile.cc )
s.files += %w( src/core/util/work_serializer.cc )
s.files += %w( src/core/util/work_serializer.h )
s.files += %w( src/core/util/xxhash_inline.h )
s.files += %w( src/core/xds/grpc/certificate_provider_store.cc )
s.files += %w( src/core/xds/grpc/certificate_provider_store.h )
s.files += %w( src/core/xds/grpc/file_watcher_certificate_provider_factory.cc )

@ -36,9 +36,9 @@
// The core library is not accessible in C++ codegen headers, and vice versa.
// Thus, we need to have duplicate headers with similar functionality.
// Make sure any change to this file is also reflected in
// src/core/lib/gprpp/sync.h too.
// src/core/util/sync.h too.
//
// Whenever possible, prefer "src/core/lib/gprpp/sync.h" over this file,
// Whenever possible, prefer "src/core/util/sync.h" over this file,
// since in core we do not rely on g_core_codegen_interface and hence do not
// pay the costs of virtual function calls.

190
package.xml generated

@ -1081,11 +1081,6 @@
<file baseinstalldir="/" name="src/core/lib/address_utils/parse_address.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/address_utils/sockaddr_utils.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/address_utils/sockaddr_utils.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/avl/avl.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/backoff/backoff.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/backoff/backoff.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/backoff/random_early_detection.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/backoff/random_early_detection.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/channel/call_finalization.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/channel/channel_args.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/channel/channel_args.h" role="src" />
@ -1116,8 +1111,6 @@
<file baseinstalldir="/" name="src/core/lib/config/core_configuration.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/config/load_config.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/config/load_config.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/debug/event_log.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/debug/event_log.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/debug/trace.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/debug/trace.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/debug/trace_flags.cc" role="src" />
@ -1238,83 +1231,6 @@
<file baseinstalldir="/" name="src/core/lib/experiments/config.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/experiments/experiments.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/experiments/experiments.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/atomic_utils.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/bitset.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/chunked_vector.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/construct_destruct.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/cpp_impl_of.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/crash.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/crash.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/debug_location.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/directory_reader.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/down_cast.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/dual_ref_counted.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/dump_args.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/dump_args.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/env.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/examine_stack.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/examine_stack.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/fork.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/fork.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/glob.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/glob.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/host_port.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/host_port.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/if_list.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/linux/env.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/load_file.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/load_file.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/manual_constructor.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/match.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/memory.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/mpscq.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/mpscq.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/no_destruct.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/notification.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/orphanable.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/overload.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/packed_table.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/per_cpu.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/per_cpu.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/posix/directory_reader.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/posix/env.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/posix/stat.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/posix/thd.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/ref_counted.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/ref_counted_ptr.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/ref_counted_string.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/ref_counted_string.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/single_set_ptr.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/sorted_pack.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/stat.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/status_helper.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/status_helper.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/strerror.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/strerror.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/sync.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/table.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/tchar.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/tchar.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/thd.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/time.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/time.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/time_averaged_stats.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/time_averaged_stats.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/time_util.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/time_util.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/type_list.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/unique_type_name.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/uuid_v4.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/uuid_v4.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/validation_errors.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/validation_errors.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/windows/directory_reader.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/windows/env.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/windows/stat.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/windows/thd.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/work_serializer.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/work_serializer.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/gprpp/xxhash_inline.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/block_annotate.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/buffer_list.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/buffer_list.h" role="src" />
@ -1359,13 +1275,6 @@
<file baseinstalldir="/" name="src/core/lib/iomgr/executor.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/fork_posix.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/fork_windows.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/gethostname.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/gethostname_fallback.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/gethostname_host_name_max.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/gethostname_sysconf.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/grpc_if_nametoindex.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/grpc_if_nametoindex_posix.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/internal_errqueue.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/internal_errqueue.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/iocp_windows.cc" role="src" />
@ -1456,8 +1365,6 @@
<file baseinstalldir="/" name="src/core/lib/iomgr/wakeup_fd_pipe.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/wakeup_fd_posix.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/iomgr/wakeup_fd_posix.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/matchers/matchers.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/matchers/matchers.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/promise/activity.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/promise/activity.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/promise/all_ok.h" role="src" />
@ -1718,8 +1625,6 @@
<file baseinstalldir="/" name="src/core/lib/transport/transport.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/transport/transport_fwd.h" role="src" />
<file baseinstalldir="/" name="src/core/lib/transport/transport_op_string.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/uri/uri_parser.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/uri/uri_parser.h" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/address_filtering.cc" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/address_filtering.h" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/backend_metric_data.h" role="src" />
@ -1904,8 +1809,43 @@
<file baseinstalldir="/" name="src/core/util/alloc.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/alloc.h" role="src" />
<file baseinstalldir="/" name="src/core/util/atm.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/atomic_utils.h" role="src" />
<file baseinstalldir="/" name="src/core/util/avl.h" role="src" />
<file baseinstalldir="/" name="src/core/util/backoff.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/backoff.h" role="src" />
<file baseinstalldir="/" name="src/core/util/bitset.h" role="src" />
<file baseinstalldir="/" name="src/core/util/chunked_vector.h" role="src" />
<file baseinstalldir="/" name="src/core/util/construct_destruct.h" role="src" />
<file baseinstalldir="/" name="src/core/util/cpp_impl_of.h" role="src" />
<file baseinstalldir="/" name="src/core/util/crash.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/crash.h" role="src" />
<file baseinstalldir="/" name="src/core/util/debug_location.h" role="src" />
<file baseinstalldir="/" name="src/core/util/directory_reader.h" role="src" />
<file baseinstalldir="/" name="src/core/util/down_cast.h" role="src" />
<file baseinstalldir="/" name="src/core/util/dual_ref_counted.h" role="src" />
<file baseinstalldir="/" name="src/core/util/dump_args.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/dump_args.h" role="src" />
<file baseinstalldir="/" name="src/core/util/env.h" role="src" />
<file baseinstalldir="/" name="src/core/util/event_log.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/event_log.h" role="src" />
<file baseinstalldir="/" name="src/core/util/examine_stack.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/examine_stack.h" role="src" />
<file baseinstalldir="/" name="src/core/util/fork.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/fork.h" role="src" />
<file baseinstalldir="/" name="src/core/util/gcp_metadata_query.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/gcp_metadata_query.h" role="src" />
<file baseinstalldir="/" name="src/core/util/gethostname.h" role="src" />
<file baseinstalldir="/" name="src/core/util/gethostname_fallback.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/gethostname_host_name_max.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/gethostname_sysconf.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/glob.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/glob.h" role="src" />
<file baseinstalldir="/" name="src/core/util/gpr_time.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/grpc_if_nametoindex.h" role="src" />
<file baseinstalldir="/" name="src/core/util/grpc_if_nametoindex_posix.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/grpc_if_nametoindex_unsupported.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/host_port.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/host_port.h" role="src" />
<file baseinstalldir="/" name="src/core/util/http_client/format_request.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/http_client/format_request.h" role="src" />
<file baseinstalldir="/" name="src/core/util/http_client/httpcli.cc" role="src" />
@ -1914,6 +1854,7 @@
<file baseinstalldir="/" name="src/core/util/http_client/httpcli_ssl_credentials.h" role="src" />
<file baseinstalldir="/" name="src/core/util/http_client/parser.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/http_client/parser.h" role="src" />
<file baseinstalldir="/" name="src/core/util/if_list.h" role="src" />
<file baseinstalldir="/" name="src/core/util/iphone/cpu.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/json/json.h" role="src" />
<file baseinstalldir="/" name="src/core/util/json/json_args.h" role="src" />
@ -1929,33 +1870,92 @@
<file baseinstalldir="/" name="src/core/util/latent_see.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/latent_see.h" role="src" />
<file baseinstalldir="/" name="src/core/util/linux/cpu.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/linux/env.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/load_file.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/load_file.h" role="src" />
<file baseinstalldir="/" name="src/core/util/log.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/lru_cache.h" role="src" />
<file baseinstalldir="/" name="src/core/util/manual_constructor.h" role="src" />
<file baseinstalldir="/" name="src/core/util/match.h" role="src" />
<file baseinstalldir="/" name="src/core/util/matchers.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/matchers.h" role="src" />
<file baseinstalldir="/" name="src/core/util/memory.h" role="src" />
<file baseinstalldir="/" name="src/core/util/mpscq.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/mpscq.h" role="src" />
<file baseinstalldir="/" name="src/core/util/msys/tmpfile.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/no_destruct.h" role="src" />
<file baseinstalldir="/" name="src/core/util/notification.h" role="src" />
<file baseinstalldir="/" name="src/core/util/orphanable.h" role="src" />
<file baseinstalldir="/" name="src/core/util/overload.h" role="src" />
<file baseinstalldir="/" name="src/core/util/packed_table.h" role="src" />
<file baseinstalldir="/" name="src/core/util/per_cpu.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/per_cpu.h" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/cpu.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/directory_reader.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/env.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/stat.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/string.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/sync.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/thd.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/time.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/posix/tmpfile.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/random_early_detection.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/random_early_detection.h" role="src" />
<file baseinstalldir="/" name="src/core/util/ref_counted.h" role="src" />
<file baseinstalldir="/" name="src/core/util/ref_counted_ptr.h" role="src" />
<file baseinstalldir="/" name="src/core/util/ref_counted_string.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/ref_counted_string.h" role="src" />
<file baseinstalldir="/" name="src/core/util/ring_buffer.h" role="src" />
<file baseinstalldir="/" name="src/core/util/single_set_ptr.h" role="src" />
<file baseinstalldir="/" name="src/core/util/sorted_pack.h" role="src" />
<file baseinstalldir="/" name="src/core/util/spinlock.h" role="src" />
<file baseinstalldir="/" name="src/core/util/stat.h" role="src" />
<file baseinstalldir="/" name="src/core/util/status_helper.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/status_helper.h" role="src" />
<file baseinstalldir="/" name="src/core/util/strerror.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/strerror.h" role="src" />
<file baseinstalldir="/" name="src/core/util/string.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/string.h" role="src" />
<file baseinstalldir="/" name="src/core/util/sync.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/sync.h" role="src" />
<file baseinstalldir="/" name="src/core/util/sync_abseil.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/table.h" role="src" />
<file baseinstalldir="/" name="src/core/util/tchar.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/tchar.h" role="src" />
<file baseinstalldir="/" name="src/core/util/thd.h" role="src" />
<file baseinstalldir="/" name="src/core/util/time.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/time.h" role="src" />
<file baseinstalldir="/" name="src/core/util/time_averaged_stats.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/time_averaged_stats.h" role="src" />
<file baseinstalldir="/" name="src/core/util/time_precise.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/time_precise.h" role="src" />
<file baseinstalldir="/" name="src/core/util/time_util.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/time_util.h" role="src" />
<file baseinstalldir="/" name="src/core/util/tmpfile.h" role="src" />
<file baseinstalldir="/" name="src/core/util/type_list.h" role="src" />
<file baseinstalldir="/" name="src/core/util/unique_ptr_with_bitset.h" role="src" />
<file baseinstalldir="/" name="src/core/util/unique_type_name.h" role="src" />
<file baseinstalldir="/" name="src/core/util/upb_utils.h" role="src" />
<file baseinstalldir="/" name="src/core/util/uri.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/uri.h" role="src" />
<file baseinstalldir="/" name="src/core/util/useful.h" role="src" />
<file baseinstalldir="/" name="src/core/util/uuid_v4.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/uuid_v4.h" role="src" />
<file baseinstalldir="/" name="src/core/util/validation_errors.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/validation_errors.h" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/cpu.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/directory_reader.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/env.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/stat.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/string.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/string_util.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/sync.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/thd.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/time.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/windows/tmpfile.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/work_serializer.cc" role="src" />
<file baseinstalldir="/" name="src/core/util/work_serializer.h" role="src" />
<file baseinstalldir="/" name="src/core/util/xxhash_inline.h" role="src" />
<file baseinstalldir="/" name="src/core/xds/grpc/certificate_provider_store.cc" role="src" />
<file baseinstalldir="/" name="src/core/xds/grpc/certificate_provider_store.h" role="src" />
<file baseinstalldir="/" name="src/core/xds/grpc/file_watcher_certificate_provider_factory.cc" role="src" />

@ -176,7 +176,7 @@ void PrintServerMethod(const MethodDescriptor* method, Printer* out) {
"of \\$input_type_id$\n"
" * @param \\Grpc\\ServerContext $$context server request context\n"
" * @return \\$output_type_id$ for response data, null if if error "
"occured\n"
"occurred\n"
" * initial metadata (if any) and status (if not ok) should be set "
"to $$context\n"
" */\n"
@ -208,7 +208,7 @@ void PrintServerMethod(const MethodDescriptor* method, Printer* out) {
" * @param \\$input_type_id$ $$request client request\n"
" * @param \\Grpc\\ServerContext $$context server request context\n"
" * @return \\$output_type_id$ for response data, null if if error "
"occured\n"
"occurred\n"
" * initial metadata (if any) and status (if not ok) should be set "
"to $$context\n"
" */\n"

@ -51,10 +51,10 @@ grpc_cc_library(
grpc_cc_library(
name = "dump_args",
srcs = [
"lib/gprpp/dump_args.cc",
"util/dump_args.cc",
],
hdrs = [
"lib/gprpp/dump_args.h",
"util/dump_args.h",
],
external_deps = [
"absl/functional:any_invocable",
@ -211,7 +211,7 @@ grpc_cc_library(
grpc_cc_library(
name = "atomic_utils",
language = "c++",
public_hdrs = ["lib/gprpp/atomic_utils.h"],
public_hdrs = ["util/atomic_utils.h"],
deps = ["//:gpr"],
)
@ -305,10 +305,10 @@ grpc_cc_library(
grpc_cc_library(
name = "examine_stack",
srcs = [
"lib/gprpp/examine_stack.cc",
"util/examine_stack.cc",
],
hdrs = [
"lib/gprpp/examine_stack.h",
"util/examine_stack.h",
],
external_deps = ["absl/types:optional"],
deps = ["//:gpr_platform"],
@ -340,7 +340,7 @@ grpc_cc_library(
name = "gpr_manual_constructor",
srcs = [],
hdrs = [
"lib/gprpp/manual_constructor.h",
"util/manual_constructor.h",
],
language = "c++",
deps = [
@ -365,12 +365,12 @@ grpc_cc_library(
grpc_cc_library(
name = "env",
srcs = [
"lib/gprpp/linux/env.cc",
"lib/gprpp/posix/env.cc",
"lib/gprpp/windows/env.cc",
"util/linux/env.cc",
"util/posix/env.cc",
"util/windows/env.cc",
],
hdrs = [
"lib/gprpp/env.h",
"util/env.h",
],
external_deps = ["absl/types:optional"],
deps = [
@ -382,11 +382,11 @@ grpc_cc_library(
grpc_cc_library(
name = "directory_reader",
srcs = [
"lib/gprpp/posix/directory_reader.cc",
"lib/gprpp/windows/directory_reader.cc",
"util/posix/directory_reader.cc",
"util/windows/directory_reader.cc",
],
hdrs = [
"lib/gprpp/directory_reader.h",
"util/directory_reader.h",
],
external_deps = [
"absl/functional:function_ref",
@ -402,7 +402,7 @@ grpc_cc_library(
grpc_cc_library(
name = "chunked_vector",
hdrs = ["lib/gprpp/chunked_vector.h"],
hdrs = ["util/chunked_vector.h"],
external_deps = [
"absl/log:check",
],
@ -416,17 +416,17 @@ grpc_cc_library(
grpc_cc_library(
name = "construct_destruct",
language = "c++",
public_hdrs = ["lib/gprpp/construct_destruct.h"],
public_hdrs = ["util/construct_destruct.h"],
deps = ["//:gpr_platform"],
)
grpc_cc_library(
name = "status_helper",
srcs = [
"lib/gprpp/status_helper.cc",
"util/status_helper.cc",
],
hdrs = [
"lib/gprpp/status_helper.h",
"util/status_helper.h",
],
external_deps = [
"absl/log:check",
@ -451,7 +451,7 @@ grpc_cc_library(
grpc_cc_library(
name = "unique_type_name",
hdrs = ["lib/gprpp/unique_type_name.h"],
hdrs = ["util/unique_type_name.h"],
external_deps = ["absl/strings"],
language = "c++",
deps = [
@ -463,10 +463,10 @@ grpc_cc_library(
grpc_cc_library(
name = "validation_errors",
srcs = [
"lib/gprpp/validation_errors.cc",
"util/validation_errors.cc",
],
hdrs = [
"lib/gprpp/validation_errors.h",
"util/validation_errors.h",
],
external_deps = [
"absl/log:log",
@ -480,7 +480,7 @@ grpc_cc_library(
grpc_cc_library(
name = "overload",
language = "c++",
public_hdrs = ["lib/gprpp/overload.h"],
public_hdrs = ["util/overload.h"],
deps = ["//:gpr_platform"],
)
@ -488,7 +488,7 @@ grpc_cc_library(
name = "match",
external_deps = ["absl/types:variant"],
language = "c++",
public_hdrs = ["lib/gprpp/match.h"],
public_hdrs = ["util/match.h"],
deps = [
"overload",
"//:gpr_platform",
@ -502,7 +502,7 @@ grpc_cc_library(
"absl/utility",
],
language = "c++",
public_hdrs = ["lib/gprpp/table.h"],
public_hdrs = ["util/table.h"],
deps = [
"bitset",
"//:gpr_platform",
@ -511,7 +511,7 @@ grpc_cc_library(
grpc_cc_library(
name = "packed_table",
hdrs = ["lib/gprpp/packed_table.h"],
hdrs = ["util/packed_table.h"],
language = "c++",
deps = [
"sorted_pack",
@ -523,7 +523,7 @@ grpc_cc_library(
grpc_cc_library(
name = "bitset",
language = "c++",
public_hdrs = ["lib/gprpp/bitset.h"],
public_hdrs = ["util/bitset.h"],
deps = [
"useful",
"//:gpr_platform",
@ -533,7 +533,7 @@ grpc_cc_library(
grpc_cc_library(
name = "no_destruct",
language = "c++",
public_hdrs = ["lib/gprpp/no_destruct.h"],
public_hdrs = ["util/no_destruct.h"],
deps = [
"construct_destruct",
"//:gpr_platform",
@ -543,10 +543,10 @@ grpc_cc_library(
grpc_cc_library(
name = "tchar",
srcs = [
"lib/gprpp/tchar.cc",
"util/tchar.cc",
],
hdrs = [
"lib/gprpp/tchar.h",
"util/tchar.h",
],
deps = ["//:gpr_platform"],
)
@ -1264,7 +1264,7 @@ grpc_cc_library(
"absl/log:log",
],
language = "c++",
public_hdrs = ["lib/gprpp/ref_counted.h"],
public_hdrs = ["util/ref_counted.h"],
deps = [
"atomic_utils",
"down_cast",
@ -1281,7 +1281,7 @@ grpc_cc_library(
"absl/log:log",
],
language = "c++",
public_hdrs = ["lib/gprpp/dual_ref_counted.h"],
public_hdrs = ["util/dual_ref_counted.h"],
deps = [
"down_cast",
"ref_counted",
@ -1295,10 +1295,10 @@ grpc_cc_library(
grpc_cc_library(
name = "ref_counted_string",
srcs = [
"lib/gprpp/ref_counted_string.cc",
"util/ref_counted_string.cc",
],
hdrs = [
"lib/gprpp/ref_counted_string.h",
"util/ref_counted_string.h",
],
external_deps = ["absl/strings"],
language = "c++",
@ -1311,10 +1311,10 @@ grpc_cc_library(
grpc_cc_library(
name = "uuid_v4",
srcs = ["lib/gprpp/uuid_v4.cc"],
srcs = ["util/uuid_v4.cc"],
external_deps = ["absl/strings:str_format"],
language = "c++",
public_hdrs = ["lib/gprpp/uuid_v4.h"],
public_hdrs = ["util/uuid_v4.h"],
deps = ["//:gpr"],
)
@ -1387,7 +1387,7 @@ grpc_cc_library(
"//:iomgr",
"//:parse_address",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -1727,10 +1727,10 @@ grpc_cc_library(
grpc_cc_library(
name = "time",
srcs = [
"lib/gprpp/time.cc",
"util/time.cc",
],
hdrs = [
"lib/gprpp/time.h",
"util/time.h",
],
external_deps = [
"absl/log:check",
@ -1787,7 +1787,7 @@ grpc_cc_library(
grpc_cc_library(
name = "avl",
hdrs = [
"lib/avl/avl.h",
"util/avl.h",
],
deps = [
"ref_counted",
@ -1799,9 +1799,9 @@ grpc_cc_library(
grpc_cc_library(
name = "time_averaged_stats",
srcs = ["lib/gprpp/time_averaged_stats.cc"],
srcs = ["util/time_averaged_stats.cc"],
hdrs = [
"lib/gprpp/time_averaged_stats.h",
"util/time_averaged_stats.h",
],
deps = ["//:gpr"],
)
@ -2707,7 +2707,7 @@ grpc_cc_library(
"//:gpr",
"//:gpr_platform",
"//:parse_address",
"//:uri_parser",
"//:uri",
],
)
@ -3041,10 +3041,10 @@ grpc_cc_library(
grpc_cc_library(
name = "per_cpu",
srcs = [
"lib/gprpp/per_cpu.cc",
"util/per_cpu.cc",
],
hdrs = [
"lib/gprpp/per_cpu.h",
"util/per_cpu.h",
],
deps = [
"useful",
@ -3055,10 +3055,10 @@ grpc_cc_library(
grpc_cc_library(
name = "event_log",
srcs = [
"lib/debug/event_log.cc",
"util/event_log.cc",
],
hdrs = [
"lib/debug/event_log.h",
"util/event_log.h",
],
external_deps = [
"absl/base:core_headers",
@ -3075,10 +3075,10 @@ grpc_cc_library(
grpc_cc_library(
name = "load_file",
srcs = [
"lib/gprpp/load_file.cc",
"util/load_file.cc",
],
hdrs = [
"lib/gprpp/load_file.h",
"util/load_file.h",
],
external_deps = [
"absl/cleanup",
@ -3160,7 +3160,7 @@ grpc_cc_library(
grpc_cc_library(
name = "single_set_ptr",
hdrs = [
"lib/gprpp/single_set_ptr.h",
"util/single_set_ptr.h",
],
external_deps = [
"absl/log:check",
@ -3218,7 +3218,7 @@ grpc_cc_library(
grpc_cc_library(
name = "notification",
hdrs = [
"lib/gprpp/notification.h",
"util/notification.h",
],
external_deps = ["absl/time"],
deps = ["//:gpr"],
@ -3606,7 +3606,10 @@ grpc_cc_library(
grpc_cc_library(
name = "subchannel_interface",
hdrs = ["load_balancing/subchannel_interface.h"],
external_deps = ["absl/status"],
external_deps = [
"absl/status",
"absl/strings",
],
deps = [
"dual_ref_counted",
"iomgr_fwd",
@ -3719,7 +3722,7 @@ grpc_cc_library(
"//:iomgr",
"//:parse_address",
"//:sockaddr_utils",
"//:uri_parser",
"//:uri",
],
)
@ -3783,7 +3786,7 @@ grpc_cc_library(
grpc_cc_library(
name = "sorted_pack",
hdrs = [
"lib/gprpp/sorted_pack.h",
"util/sorted_pack.h",
],
language = "c++",
deps = [
@ -3795,7 +3798,7 @@ grpc_cc_library(
grpc_cc_library(
name = "type_list",
hdrs = [
"lib/gprpp/type_list.h",
"util/type_list.h",
],
language = "c++",
)
@ -3803,7 +3806,7 @@ grpc_cc_library(
grpc_cc_library(
name = "if_list",
hdrs = [
"lib/gprpp/if_list.h",
"util/if_list.h",
],
language = "c++",
deps = ["//:gpr_platform"],
@ -3913,7 +3916,7 @@ grpc_cc_library(
"//:parse_address",
"//:promise",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -4099,7 +4102,7 @@ grpc_cc_library(
"//:ref_counted_ptr",
"//:sockaddr_utils",
"//:tsi_base",
"//:uri_parser",
"//:uri",
],
)
@ -4202,17 +4205,17 @@ grpc_cc_library(
"//:iomgr",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
grpc_cc_library(
name = "strerror",
srcs = [
"lib/gprpp/strerror.cc",
"util/strerror.cc",
],
hdrs = [
"lib/gprpp/strerror.h",
"util/strerror.h",
],
external_deps = ["absl/strings:str_format"],
deps = ["//:gpr_platform"],
@ -4396,7 +4399,7 @@ grpc_cc_library(
"//:orphanable",
"//:promise",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -4451,7 +4454,7 @@ grpc_cc_library(
"//:orphanable",
"//:promise",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -4508,7 +4511,7 @@ grpc_cc_library(
"//:iomgr",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -4564,10 +4567,10 @@ grpc_cc_library(
grpc_cc_library(
name = "grpc_matchers",
srcs = [
"lib/matchers/matchers.cc",
"util/matchers.cc",
],
hdrs = [
"lib/matchers/matchers.h",
"util/matchers.h",
],
external_deps = [
"absl/status",
@ -5131,10 +5134,10 @@ grpc_cc_library(
grpc_cc_library(
name = "random_early_detection",
srcs = [
"lib/backoff/random_early_detection.cc",
"util/random_early_detection.cc",
],
hdrs = [
"lib/backoff/random_early_detection.h",
"util/random_early_detection.h",
],
external_deps = [
"absl/random:bit_gen_ref",
@ -5842,7 +5845,7 @@ grpc_cc_library(
"//:ref_counted_ptr",
"//:sockaddr_utils",
"//:tsi_ssl_credentials",
"//:uri_parser",
"//:uri",
"//:work_serializer",
"//:xds_client",
],
@ -5928,7 +5931,7 @@ grpc_cc_library(
"//:ref_counted_ptr",
"//:server",
"//:sockaddr_utils",
"//:uri_parser",
"//:uri",
"//:xds_client",
],
)
@ -6326,7 +6329,7 @@ grpc_cc_library(
grpc_cc_library(
name = "down_cast",
hdrs = ["lib/gprpp/down_cast.h"],
hdrs = ["util/down_cast.h"],
external_deps = [
"absl/base:config",
"absl/log:check",
@ -6336,8 +6339,8 @@ grpc_cc_library(
grpc_cc_library(
name = "glob",
srcs = ["lib/gprpp/glob.cc"],
hdrs = ["lib/gprpp/glob.h"],
srcs = ["util/glob.cc"],
hdrs = ["util/glob.h"],
external_deps = ["absl/strings"],
)
@ -6399,7 +6402,7 @@ grpc_cc_library(
grpc_cc_library(
name = "xxhash_inline",
hdrs = ["lib/gprpp/xxhash_inline.h"],
hdrs = ["util/xxhash_inline.h"],
external_deps = ["xxhash"],
language = "c++",
deps = ["//:gpr_platform"],
@ -6836,7 +6839,7 @@ grpc_cc_library(
"//:grpc_security_base",
"//:parse_address",
"//:promise",
"//:uri_parser",
"//:uri",
],
alwayslink = 1,
)
@ -6912,7 +6915,7 @@ grpc_cc_library(
"//:grpc_trace",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
"//:work_serializer",
],
)
@ -6985,7 +6988,7 @@ grpc_cc_library(
"//:iomgr",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -7048,7 +7051,7 @@ grpc_cc_library(
"//:iomgr",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -7073,7 +7076,7 @@ grpc_cc_library(
"//:grpc_resolver",
"//:orphanable",
"//:parse_address",
"//:uri_parser",
"//:uri",
],
)
@ -7100,7 +7103,7 @@ grpc_cc_library(
"//:gpr",
"//:grpc_resolver",
"//:orphanable",
"//:uri_parser",
"//:uri",
],
)
@ -7235,7 +7238,7 @@ grpc_cc_library(
"//:grpc_trace",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
"//:work_serializer",
"//:xds_client",
],
@ -7272,7 +7275,7 @@ grpc_cc_library(
"//:iomgr",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
"//:work_serializer",
"//:xds_client",
],
@ -7595,7 +7598,7 @@ grpc_cc_library(
"//:ref_counted_ptr",
"//:server",
"//:sockaddr_utils",
"//:uri_parser",
"//:uri",
],
)
@ -7760,7 +7763,7 @@ grpc_cc_library(
"//:iomgr",
"//:orphanable",
"//:ref_counted_ptr",
"//:uri_parser",
"//:uri",
],
)
@ -7826,7 +7829,7 @@ grpc_cc_library(
"//:grpc_client_channel",
"//:grpc_public_hdrs",
"//:grpc_resolver",
"//:uri_parser",
"//:uri",
],
)

@ -28,10 +28,10 @@
#include <grpc/support/port_platform.h>
#include "src/core/channelz/channelz.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/util/string.h"
#include "src/core/util/time.h"
namespace grpc_core {
namespace channelz {

@ -28,9 +28,9 @@
#include <grpc/support/port_platform.h>
#include <grpc/support/time.h>
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/json/json.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {
namespace channelz {

@ -38,9 +38,9 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/iomgr/resolved_address.h"
#include "src/core/lib/transport/connectivity_state.h"
#include "src/core/lib/uri/uri_parser.h"
#include "src/core/util/json/json_writer.h"
#include "src/core/util/string.h"
#include "src/core/util/uri.h"
#include "src/core/util/useful.h"
namespace grpc_core {

@ -38,11 +38,11 @@
#include <grpc/support/port_platform.h>
#include "src/core/channelz/channel_trace.h"
#include "src/core/lib/gprpp/per_cpu.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/json/json.h"
#include "src/core/util/per_cpu.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
#include "src/core/util/time_precise.h"
#include "src/core/util/useful.h"

@ -33,10 +33,10 @@
#include <grpc/support/string_util.h>
#include "src/core/channelz/channelz.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/util/json/json.h"
#include "src/core/util/json/json_writer.h"
#include "src/core/util/sync.h"
namespace grpc_core {
namespace channelz {

@ -28,8 +28,8 @@
#include <grpc/support/port_platform.h>
#include "src/core/channelz/channelz.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {
namespace channelz {

@ -29,14 +29,14 @@
#include <grpc/support/sync.h>
#include "src/core/lib/config/config_vars.h"
#include "src/core/lib/gprpp/memory.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/iomgr.h"
#include "src/core/lib/iomgr/pollset.h"
#include "src/core/lib/iomgr/pollset_set.h"
#include "src/core/lib/iomgr/timer.h"
#include "src/core/util/memory.h"
#include "src/core/util/time.h"
#define DEFAULT_POLL_INTERVAL_MS 5000

@ -57,15 +57,12 @@
#include "src/core/client_channel/subchannel.h"
#include "src/core/client_channel/subchannel_interface_internal.h"
#include "src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/event_engine/channel_args_endpoint_config.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/work_serializer.h"
#include "src/core/lib/iomgr/resolved_address.h"
#include "src/core/lib/promise/context.h"
#include "src/core/lib/promise/exec_ctx_wakeup_scheduler.h"
@ -93,8 +90,12 @@
#include "src/core/resolver/resolver_registry.h"
#include "src/core/service_config/service_config_impl.h"
#include "src/core/telemetry/metrics.h"
#include "src/core/util/crash.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/json/json.h"
#include "src/core/util/sync.h"
#include "src/core/util/useful.h"
#include "src/core/util/work_serializer.h"
namespace grpc_core {
@ -167,6 +168,7 @@ class ClientChannel::SubchannelWrapper
void CancelDataWatcher(DataWatcherInterface* watcher) override
ABSL_EXCLUSIVE_LOCKS_REQUIRED(*client_channel_->work_serializer_);
void ThrottleKeepaliveTime(int new_keepalive_time);
std::string address() const override { return subchannel_->address(); }
private:
class WatcherWrapper;

@ -27,13 +27,13 @@
#include "src/core/client_channel/config_selector.h"
#include "src/core/client_channel/subchannel.h"
#include "src/core/ext/filters/channel_idle/idle_filter_state.h"
#include "src/core/lib/gprpp/single_set_ptr.h"
#include "src/core/lib/promise/observable.h"
#include "src/core/lib/surface/channel.h"
#include "src/core/lib/transport/metadata.h"
#include "src/core/load_balancing/lb_policy.h"
#include "src/core/resolver/resolver.h"
#include "src/core/service_config/service_config.h"
#include "src/core/util/single_set_ptr.h"
namespace grpc_core {

@ -23,8 +23,8 @@
#include "src/core/client_channel/subchannel.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/resolved_address.h"
#include "src/core/util/ref_counted_ptr.h"
namespace grpc_core {

@ -63,19 +63,13 @@
#include "src/core/client_channel/subchannel.h"
#include "src/core/client_channel/subchannel_interface_internal.h"
#include "src/core/handshaker/proxy_mapper_registry.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/experiments/experiments.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/manual_constructor.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/gprpp/work_serializer.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/polling_entity.h"
#include "src/core/lib/iomgr/pollset_set.h"
@ -103,8 +97,15 @@
#include "src/core/resolver/resolver_registry.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/service_config/service_config_impl.h"
#include "src/core/util/crash.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/json/json.h"
#include "src/core/util/manual_constructor.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/sync.h"
#include "src/core/util/unique_type_name.h"
#include "src/core/util/useful.h"
#include "src/core/util/work_serializer.h"
//
// Client channel filter
@ -616,6 +617,8 @@ class ClientChannelFilter::SubchannelWrapper final
subchannel_->ThrottleKeepaliveTime(new_keepalive_time);
}
std::string address() const override { return subchannel_->address(); }
private:
// This wrapper provides a bridge between the internal Subchannel API
// and the SubchannelInterface API that we expose to LB policies.
@ -1618,7 +1621,7 @@ void ClientChannelFilter::UpdateStateAndPickerLocked(
namespace {
// TODO(roth): Remove this in favor of the gprpp Match() function once
// TODO(roth): Remove this in favor of src/core/util/match.h once
// we can do that without breaking lock annotations.
template <typename T>
T HandlePickResult(

@ -46,12 +46,6 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/work_serializer.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
@ -67,7 +61,13 @@
#include "src/core/resolver/resolver.h"
#include "src/core/service_config/service_config.h"
#include "src/core/telemetry/call_tracer.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
#include "src/core/util/time.h"
#include "src/core/util/time_precise.h"
#include "src/core/util/work_serializer.h"
//
// Client channel filter

@ -24,13 +24,13 @@
#include "absl/functional/any_invocable.h"
#include "absl/log/check.h"
#include "src/core/lib/gprpp/down_cast.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/transport/call_destination.h"
#include "src/core/load_balancing/lb_policy.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/telemetry/call_tracer.h"
#include "src/core/util/down_cast.h"
#include "src/core/util/unique_type_name.h"
//
// This file contains internal interfaces used to allow various plugins

@ -29,14 +29,14 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/validation_errors.h"
#include "src/core/load_balancing/lb_policy.h"
#include "src/core/service_config/service_config_parser.h"
#include "src/core/util/json/json.h"
#include "src/core/util/json/json_args.h"
#include "src/core/util/json/json_object_loader.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/time.h"
#include "src/core/util/validation_errors.h"
namespace grpc_core {
namespace internal {

@ -32,14 +32,14 @@
#include "src/core/client_channel/client_channel_internal.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/transport/interception_chain.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/service_config/service_config.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/unique_type_name.h"
#include "src/core/util/useful.h"
// Channel arg key for ConfigSelector.

@ -21,14 +21,14 @@
#include "src/core/channelz/channelz.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/iomgr_fwd.h"
#include "src/core/lib/iomgr/resolved_address.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/time.h"
namespace grpc_core {

@ -16,10 +16,10 @@
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/event_engine/event_engine_context.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/surface/channel_stack_type.h"
#include "src/core/lib/surface/client_call.h"
#include "src/core/lib/transport/interception_chain.h"
#include "src/core/util/orphanable.h"
namespace grpc_core {

@ -31,10 +31,10 @@
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/channel_stack_builder_impl.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/surface/channel_stack_type.h"
#include "src/core/lib/surface/lame_client.h"
#include "src/core/util/alloc.h"
#include "src/core/util/status_helper.h"
// Conversion between call and call stack.
#define CALL_TO_CALL_STACK(call) \

@ -27,16 +27,16 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/polling_entity.h"
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/time.h"
#include "src/core/util/time_precise.h"
namespace grpc_core {

@ -26,8 +26,8 @@
#include "absl/base/thread_annotations.h"
#include "src/core/client_channel/subchannel_pool_interface.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {

@ -53,7 +53,7 @@ class LbCallState : public ClientChannelLbCallState {
}
};
// TODO(roth): Remove this in favor of the gprpp Match() function once
// TODO(roth): Remove this in favor of src/core/util/match.h function once
// we can do that without breaking lock annotations.
template <typename T>
T HandlePickResult(

@ -24,7 +24,7 @@
#include <map>
#include "src/core/client_channel/subchannel_pool_interface.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/util/ref_counted_ptr.h"
namespace grpc_core {

@ -33,11 +33,11 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/uri/uri_parser.h"
#include "src/core/service_config/service_config.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/uri.h"
//
// Retry filter

@ -37,9 +37,9 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/useful.h"
namespace grpc_core {

@ -29,17 +29,9 @@
#include "src/core/client_channel/client_channel_internal.h"
#include "src/core/client_channel/retry_service_config.h"
#include "src/core/client_channel/retry_throttle.h"
#include "src/core/lib/backoff/backoff.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/construct_destruct.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
@ -51,6 +43,14 @@
#include "src/core/lib/transport/error_utils.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/backoff.h"
#include "src/core/util/construct_destruct.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/time.h"
#include "src/core/util/useful.h"
namespace grpc_core {

@ -34,14 +34,8 @@
#include "src/core/client_channel/retry_filter.h"
#include "src/core/client_channel/retry_service_config.h"
#include "src/core/client_channel/retry_throttle.h"
#include "src/core/lib/backoff/backoff.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
@ -50,6 +44,12 @@
#include "src/core/lib/slice/slice_buffer.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/backoff.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/time.h"
namespace grpc_core {

@ -30,12 +30,12 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/validation_errors.h"
#include "src/core/service_config/service_config_parser.h"
#include "src/core/util/json/json.h"
#include "src/core/util/json/json_args.h"
#include "src/core/util/json/json_object_loader.h"
#include "src/core/util/time.h"
#include "src/core/util/validation_errors.h"
namespace grpc_core {
namespace internal {

@ -30,9 +30,9 @@
#include <grpc/support/atm.h>
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {
namespace internal {

@ -44,19 +44,12 @@
#include "src/core/client_channel/subchannel_pool_interface.h"
#include "src/core/handshaker/proxy_mapper_registry.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/backoff/backoff.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/channel_stack_builder_impl.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/experiments/experiments.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/pollset_set.h"
#include "src/core/lib/promise/cancel_callback.h"
@ -72,6 +65,13 @@
#include "src/core/telemetry/stats.h"
#include "src/core/telemetry/stats_data.h"
#include "src/core/util/alloc.h"
#include "src/core/util/backoff.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/sync.h"
#include "src/core/util/useful.h"
// Backoff parameters.

@ -33,18 +33,9 @@
#include "src/core/client_channel/connector.h"
#include "src/core/client_channel/subchannel_pool_interface.h"
#include "src/core/lib/backoff/backoff.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/dual_ref_counted.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/gprpp/work_serializer.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
@ -57,7 +48,17 @@
#include "src/core/lib/transport/connectivity_state.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/backoff.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/dual_ref_counted.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
#include "src/core/util/time.h"
#include "src/core/util/time_precise.h"
#include "src/core/util/unique_type_name.h"
#include "src/core/util/work_serializer.h"
namespace grpc_core {
@ -215,7 +216,10 @@ class Subchannel final : public DualRefCounted<Subchannel> {
channelz::SubchannelNode* channelz_node();
const grpc_resolved_address& address() const { return key_.address(); }
std::string address() const {
return grpc_sockaddr_to_uri(&key_.address())
.value_or("<unknown address type>");
}
// Starts watching the subchannel's connectivity state.
// The first callback to the watcher will be delivered ~immediately.

@ -20,8 +20,8 @@
#include <grpc/support/port_platform.h>
#include "src/core/client_channel/subchannel.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/load_balancing/subchannel_interface.h"
#include "src/core/util/unique_type_name.h"
namespace grpc_core {

@ -27,9 +27,9 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/resolved_address.h"
#include "src/core/util/ref_counted.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/useful.h"
namespace grpc_core {

@ -29,13 +29,13 @@
#include <grpc/status.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/resource_quota/resource_quota.h"
#include "src/core/lib/transport/error_utils.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/sync.h"
#include "src/core/util/time.h"
#include "src/core/util/time_precise.h"
#define SUBCHANNEL_STREAM_INITIAL_CONNECT_BACKOFF_SECONDS 1

@ -33,10 +33,6 @@
#include <grpc/status.h>
#include "src/core/client_channel/subchannel.h"
#include "src/core/lib/backoff/backoff.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
@ -48,6 +44,10 @@
#include "src/core/lib/slice/slice_buffer.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/backoff.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {

@ -35,12 +35,6 @@
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/experiments/experiments.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/no_destruct.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/per_cpu.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/exec_ctx.h"
@ -54,6 +48,12 @@
#include "src/core/lib/surface/channel_stack_type.h"
#include "src/core/lib/transport/http2_errors.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/no_destruct.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/per_cpu.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/sync.h"
namespace grpc_core {
@ -207,7 +207,7 @@ void LegacyMaxAgeFilter::PostInit() {
// OnDone -- close the connection if the promise completed
// successfully.
// (if it did not, it was cancelled)
if (status.ok()) CloseChannel();
if (status.ok()) CloseChannel("max connection age");
},
std::move(arena)));
}
@ -273,16 +273,16 @@ void LegacyChannelIdleFilter::StartIdleTimer() {
activity_.Set(MakeActivity(
std::move(promise), ExecCtxWakeupScheduler{},
[channel_stack, this](absl::Status status) {
if (status.ok()) CloseChannel();
if (status.ok()) CloseChannel("connection idle");
},
std::move(arena)));
}
void LegacyChannelIdleFilter::CloseChannel() {
void LegacyChannelIdleFilter::CloseChannel(absl::string_view reason) {
auto* op = grpc_make_transport_op(nullptr);
op->disconnect_with_error = grpc_error_set_int(
GRPC_ERROR_CREATE("enter idle"),
StatusIntProperty::ChannelConnectivityState, GRPC_CHANNEL_IDLE);
GRPC_ERROR_CREATE(reason), StatusIntProperty::ChannelConnectivityState,
GRPC_CHANNEL_IDLE);
// Pass the transport op down to the channel stack.
auto* elem = grpc_channel_stack_element(channel_stack_, 0);
elem->filter->start_transport_op(elem, op);

@ -29,14 +29,14 @@
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/promise_based_filter.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/single_set_ptr.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/promise/activity.h"
#include "src/core/lib/promise/arena_promise.h"
#include "src/core/lib/transport/connectivity_state.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/single_set_ptr.h"
#include "src/core/util/time.h"
namespace grpc_core {
@ -69,7 +69,7 @@ class LegacyChannelIdleFilter : public ChannelFilter {
grpc_channel_stack* channel_stack() { return channel_stack_; };
virtual void Shutdown();
void CloseChannel();
void CloseChannel(absl::string_view reason);
void IncreaseCallCount();
void DecreaseCallCount();

@ -43,13 +43,13 @@
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/promise/context.h"
#include "src/core/lib/promise/sleep.h"
#include "src/core/lib/promise/try_seq.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/util/time.h"
namespace grpc_core {

@ -30,9 +30,9 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/promise_based_filter.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/promise/arena_promise.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/sync.h"
namespace grpc_core {

@ -33,12 +33,12 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/validation_errors.h"
#include "src/core/service_config/service_config_parser.h"
#include "src/core/util/json/json.h"
#include "src/core/util/json/json_args.h"
#include "src/core/util/json/json_object_loader.h"
#include "src/core/util/time.h"
#include "src/core/util/validation_errors.h"
// Channel arg key for enabling parsing fault injection via method config.
#define GRPC_ARG_PARSE_FAULT_INJECTION_METHOD_CONFIG \

@ -28,12 +28,12 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/promise_based_filter.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/security/credentials/credentials.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/resolver/xds/xds_config.h"
#include "src/core/util/lru_cache.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {

@ -28,11 +28,11 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/validation_errors.h"
#include "src/core/service_config/service_config_parser.h"
#include "src/core/util/json/json.h"
#include "src/core/util/json/json_args.h"
#include "src/core/util/json/json_object_loader.h"
#include "src/core/util/validation_errors.h"
// Channel arg key for enabling parsing fault injection via method config.
#define GRPC_ARG_PARSE_GCP_AUTHENTICATION_METHOD_CONFIG \

@ -61,7 +61,7 @@
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/surface/channel_stack_type.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/uri/uri_parser.h"
#include "src/core/util/uri.h"
#include "src/cpp/server/load_reporter/constants.h"
// IWYU pragma: no_include "opencensus/stats/recording.h"

@ -53,8 +53,6 @@
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/host_port.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/promise/arena_promise.h"
#include "src/core/lib/promise/cancel_callback.h"
#include "src/core/lib/promise/context.h"
@ -66,9 +64,11 @@
#include "src/core/lib/surface/channel_stack_type.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/lib/uri/uri_parser.h"
#include "src/core/resolver/resolver_registry.h"
#include "src/core/telemetry/call_tracer.h"
#include "src/core/util/host_port.h"
#include "src/core/util/time.h"
#include "src/core/util/uri.h"
namespace grpc_core {

@ -30,7 +30,7 @@
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/util/time.h"
namespace grpc_core {

@ -32,13 +32,13 @@
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/promise_based_filter.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/validation_errors.h"
#include "src/core/lib/promise/arena_promise.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/service_config/service_config_parser.h"
#include "src/core/util/json/json.h"
#include "src/core/util/json/json_args.h"
#include "src/core/util/json/json_object_loader.h"
#include "src/core/util/validation_errors.h"
namespace grpc_core {

@ -31,10 +31,10 @@
#include <grpc/grpc_audit_logging.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/matchers/matchers.h"
#include "src/core/lib/security/authorization/audit_logging.h"
#include "src/core/util/json/json_args.h"
#include "src/core/util/json/json_object_loader.h"
#include "src/core/util/matchers.h"
namespace grpc_core {

@ -30,11 +30,11 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/validation_errors.h"
#include "src/core/lib/security/authorization/grpc_authorization_engine.h"
#include "src/core/lib/security/authorization/rbac_policy.h"
#include "src/core/service_config/service_config_parser.h"
#include "src/core/util/json/json.h"
#include "src/core/util/validation_errors.h"
namespace grpc_core {

@ -41,8 +41,6 @@
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/promise/context.h"
#include "src/core/lib/promise/map.h"
#include "src/core/lib/promise/pipe.h"
@ -52,6 +50,8 @@
#include "src/core/lib/transport/transport.h"
#include "src/core/resolver/xds/xds_resolver_attributes.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/util/crash.h"
#include "src/core/util/time.h"
namespace grpc_core {

@ -30,11 +30,11 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/promise_based_filter.h"
#include "src/core/lib/gprpp/ref_counted_string.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/promise/arena_promise.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/util/ref_counted_string.h"
#include "src/core/util/unique_type_name.h"
namespace grpc_core {

@ -30,12 +30,12 @@
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/validation_errors.h"
#include "src/core/service_config/service_config_parser.h"
#include "src/core/util/json/json.h"
#include "src/core/util/json/json_args.h"
#include "src/core/util/json/json_object_loader.h"
#include "src/core/util/time.h"
#include "src/core/util/validation_errors.h"
// Channel arg key for enabling parsing fault injection via method config.
#define GRPC_ARG_PARSE_STATEFUL_SESSION_METHOD_CONFIG \

@ -29,7 +29,7 @@
#include <grpc/grpc.h>
#include <grpc/grpc_posix.h>
#include "src/core/lib/gprpp/crash.h"
#include "src/core/util/crash.h"
#ifdef GPR_SUPPORT_BINDER_TRANSPORT

@ -21,7 +21,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/sync.h"
namespace grpc_binder {

@ -23,7 +23,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/sync.h"
namespace grpc_binder {

@ -21,7 +21,7 @@
#ifndef GRPC_NO_BINDER
#include "src/core/lib/gprpp/crash.h"
#include "src/core/util/crash.h"
#if defined(ANDROID) || defined(__ANDROID__)

@ -21,7 +21,7 @@
#include <grpc/support/port_platform.h>
#include <grpcpp/security/binder_security_policy.h>
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/sync.h"
namespace grpc_binder {

@ -27,7 +27,7 @@
#include "absl/log/log.h"
#include "src/core/ext/transport/binder/client/jni_utils.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/util/crash.h"
#endif

@ -36,12 +36,12 @@
#include "src/core/ext/transport/binder/wire_format/wire_reader_impl.h"
#include "src/core/ext/transport/binder/wire_format/wire_writer.h"
#include "src/core/lib/event_engine/default_event_engine.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/transport/error_utils.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/crash.h"
#ifndef NDEBUG
static void grpc_binder_stream_ref(grpc_binder_stream* s, const char* reason) {

@ -32,9 +32,9 @@
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_reader.h"
#include "src/core/ext/transport/binder/wire_format/wire_writer.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/iomgr/combiner.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/crash.h"
struct grpc_binder_stream;

@ -25,8 +25,8 @@
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/crash.h"
#include "src/core/util/sync.h"
namespace {
void* GetNdkBinderHandle() {

@ -25,7 +25,7 @@
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/util/crash.h"
namespace grpc_binder {

@ -25,7 +25,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/binder/utils/transport_stream_receiver.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/sync.h"
namespace grpc_binder {

@ -26,7 +26,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/binder/wire_format/binder_constants.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/util/orphanable.h"
namespace grpc_binder {

@ -26,8 +26,8 @@
#include "absl/strings/str_cat.h"
#include "src/core/ext/transport/binder/wire_format/binder_android.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/util/crash.h"
#include "src/core/util/sync.h"
namespace grpc_binder {
namespace {

@ -24,7 +24,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/crash.h"
#include "src/core/util/crash.h"
namespace grpc_binder {

@ -22,7 +22,7 @@
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_writer.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/util/orphanable.h"
namespace grpc_binder {

@ -33,8 +33,8 @@
#include "src/core/ext/transport/binder/utils/transport_stream_receiver.h"
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_writer.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/util/crash.h"
#include "src/core/util/status_helper.h"
namespace grpc_binder {
namespace {

@ -29,7 +29,7 @@
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/wire_reader.h"
#include "src/core/ext/transport/binder/wire_format/wire_writer.h"
#include "src/core/lib/gprpp/notification.h"
#include "src/core/util/notification.h"
namespace grpc_binder {

@ -26,7 +26,7 @@
#include "absl/types/variant.h"
#include "src/core/lib/event_engine/default_event_engine.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/util/crash.h"
#define RETURN_IF_ERROR(expr) \
do { \

@ -25,8 +25,8 @@
#include "src/core/ext/transport/binder/wire_format/binder.h"
#include "src/core/ext/transport/binder/wire_format/transaction.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/combiner.h"
#include "src/core/util/sync.h"
namespace grpc_binder {

@ -41,10 +41,6 @@
#include "src/core/lib/event_engine/extensions/chaotic_good_extension.h"
#include "src/core/lib/event_engine/query_extensions.h"
#include "src/core/lib/event_engine/tcp_socket_utils.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/no_destruct.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/event_engine_shims/endpoint.h"
@ -65,6 +61,10 @@
#include "src/core/lib/surface/channel_create.h"
#include "src/core/lib/transport/error_utils.h"
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/no_destruct.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/time.h"
namespace grpc_core {
namespace chaotic_good {

@ -31,9 +31,6 @@
#include "src/core/handshaker/handshaker.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/event_engine/channel_args_endpoint_config.h"
#include "src/core/lib/gprpp/notification.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/error.h"
@ -45,6 +42,9 @@
#include "src/core/lib/resource_quota/memory_quota.h"
#include "src/core/lib/resource_quota/resource_quota.h"
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/util/notification.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {
namespace chaotic_good {

@ -36,8 +36,6 @@
#include "src/core/ext/transport/chaotic_good/frame.h"
#include "src/core/ext/transport/chaotic_good/frame_header.h"
#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
#include "src/core/lib/gprpp/match.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/promise/activity.h"
#include "src/core/lib/promise/all_ok.h"
@ -53,6 +51,8 @@
#include "src/core/lib/slice/slice_buffer.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/util/match.h"
#include "src/core/util/ref_counted_ptr.h"
namespace grpc_core {
namespace chaotic_good {
@ -250,19 +250,20 @@ void ChaoticGoodClientTransport::AbortWithError() {
}
uint32_t ChaoticGoodClientTransport::MakeStream(CallHandler call_handler) {
ReleasableMutexLock lock(&mu_);
MutexLock lock(&mu_);
const uint32_t stream_id = next_stream_id_++;
const bool on_done_added =
call_handler.OnDone([self = RefAsSubclass<ChaoticGoodClientTransport>(),
stream_id](bool cancelled) {
if (cancelled) {
self->outgoing_frames_.MakeSender().UnbufferedImmediateSend(
CancelFrame{stream_id});
}
MutexLock lock(&self->mu_);
self->stream_map_.erase(stream_id);
});
if (!on_done_added) return 0;
stream_map_.emplace(stream_id, call_handler);
lock.Release();
call_handler.OnDone([self = RefAsSubclass<ChaoticGoodClientTransport>(),
stream_id](bool cancelled) {
if (cancelled) {
self->outgoing_frames_.MakeSender().UnbufferedImmediateSend(
CancelFrame{stream_id});
}
MutexLock lock(&self->mu_);
self->stream_map_.erase(stream_id);
});
return stream_id;
}
@ -322,23 +323,30 @@ void ChaoticGoodClientTransport::StartCall(CallHandler call_handler) {
"outbound_loop", [self = RefAsSubclass<ChaoticGoodClientTransport>(),
call_handler]() mutable {
const uint32_t stream_id = self->MakeStream(call_handler);
return Map(
self->CallOutboundLoop(stream_id, call_handler),
[stream_id, sender = self->outgoing_frames_.MakeSender()](
absl::Status result) mutable {
GRPC_TRACE_LOG(chaotic_good, INFO)
<< "CHAOTIC_GOOD: Call " << stream_id << " finished with "
<< result.ToString();
if (!result.ok()) {
GRPC_TRACE_LOG(chaotic_good, INFO)
<< "CHAOTIC_GOOD: Send cancel";
if (!sender.UnbufferedImmediateSend(CancelFrame{stream_id})) {
GRPC_TRACE_LOG(chaotic_good, INFO)
<< "CHAOTIC_GOOD: Send cancel failed";
}
}
return result;
});
return If(
stream_id != 0,
[stream_id, call_handler = std::move(call_handler),
self = std::move(self)]() {
return Map(
self->CallOutboundLoop(stream_id, call_handler),
[stream_id, sender = self->outgoing_frames_.MakeSender()](
absl::Status result) mutable {
GRPC_TRACE_LOG(chaotic_good, INFO)
<< "CHAOTIC_GOOD: Call " << stream_id
<< " finished with " << result.ToString();
if (!result.ok()) {
GRPC_TRACE_LOG(chaotic_good, INFO)
<< "CHAOTIC_GOOD: Send cancel";
if (!sender.UnbufferedImmediateSend(
CancelFrame{stream_id})) {
GRPC_TRACE_LOG(chaotic_good, INFO)
<< "CHAOTIC_GOOD: Send cancel failed";
}
}
return result;
});
},
[]() { return absl::OkStatus(); });
});
}

@ -43,7 +43,6 @@
#include "src/core/ext/transport/chaotic_good/frame_header.h"
#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
#include "src/core/ext/transport/chttp2/transport/hpack_parser.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/promise/activity.h"
#include "src/core/lib/promise/context.h"
#include "src/core/lib/promise/for_each.h"
@ -61,6 +60,7 @@
#include "src/core/lib/transport/metadata_batch.h" // IWYU pragma: keep
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/sync.h"
namespace grpc_core {
namespace chaotic_good {

@ -28,13 +28,13 @@
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chaotic_good/frame_header.h"
#include "src/core/lib/gprpp/bitset.h"
#include "src/core/lib/gprpp/no_destruct.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/promise/context.h"
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/slice/slice_buffer.h"
#include "src/core/util/bitset.h"
#include "src/core/util/no_destruct.h"
#include "src/core/util/status_helper.h"
namespace grpc_core {
namespace chaotic_good {

@ -28,11 +28,11 @@
#include "src/core/ext/transport/chaotic_good/frame_header.h"
#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
#include "src/core/ext/transport/chttp2/transport/hpack_parser.h"
#include "src/core/lib/gprpp/match.h"
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/slice/slice_buffer.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/match.h"
namespace grpc_core {
namespace chaotic_good {

@ -23,7 +23,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/bitset.h"
#include "src/core/util/bitset.h"
namespace grpc_core {
namespace chaotic_good {

@ -44,11 +44,6 @@
#include "src/core/lib/event_engine/query_extensions.h"
#include "src/core/lib/event_engine/resolved_address_internal.h"
#include "src/core/lib/event_engine/tcp_socket_utils.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/event_engine_shims/endpoint.h"
#include "src/core/lib/promise/activity.h"
@ -68,6 +63,11 @@
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/server/server.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/sync.h"
#include "src/core/util/time.h"
namespace grpc_core {
namespace chaotic_good {
@ -187,11 +187,7 @@ void ChaoticGoodServerListener::ActiveConnection::NewConnectionID() {
connection_id_, std::make_shared<InterActivityLatch<PromiseEndpoint>>());
}
void ChaoticGoodServerListener::ActiveConnection::Done(
absl::optional<absl::string_view> error) {
if (error.has_value()) {
LOG(ERROR) << "ActiveConnection::Done:" << this << " " << *error;
}
void ChaoticGoodServerListener::ActiveConnection::Done() {
// Can easily be holding various locks here: bounce through EE to ensure no
// deadlocks.
listener_->event_engine_->Run([self = Ref()]() {
@ -387,13 +383,15 @@ auto ChaoticGoodServerListener::ActiveConnection::HandshakingState::
void ChaoticGoodServerListener::ActiveConnection::HandshakingState::
OnHandshakeDone(absl::StatusOr<HandshakerArgs*> result) {
if (!result.ok()) {
connection_->Done(
absl::StrCat("Handshake failed: ", result.status().ToString()));
LOG_EVERY_N_SEC(ERROR, 5) << "Handshake failed: ", result.status();
connection_->Done();
return;
}
CHECK_NE(*result, nullptr);
if ((*result)->endpoint == nullptr) {
connection_->Done("Server handshake done but has empty endpoint.");
LOG_EVERY_N_SEC(ERROR, 5)
<< "Server handshake done but has empty endpoint.";
connection_->Done();
return;
}
CHECK(grpc_event_engine::experimental::grpc_is_event_engine_endpoint(
@ -429,12 +427,10 @@ void ChaoticGoodServerListener::ActiveConnection::HandshakingState::
EventEngineWakeupScheduler(connection_->listener_->event_engine_),
[self = Ref()](absl::Status status) {
if (!status.ok()) {
self->connection_->Done(
absl::StrCat("Server setting frame handling failed: ",
StatusToString(status)));
} else {
self->connection_->Done();
GRPC_TRACE_LOG(chaotic_good, ERROR)
<< "Server setting frame handling failed: " << status;
}
self->connection_->Done();
},
connection_->arena_.get());
MutexLock lock(&connection_->mu_);

@ -34,8 +34,6 @@
#include "src/core/ext/transport/chttp2/transport/hpack_parser.h"
#include "src/core/handshaker/handshaker.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/iomgr_fwd.h"
@ -46,6 +44,8 @@
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/server/server.h"
#include "src/core/util/sync.h"
#include "src/core/util/time.h"
namespace grpc_core {
namespace chaotic_good {
@ -111,7 +111,7 @@ class ChaoticGoodServerListener final : public Server::ListenerInterface {
};
private:
void Done(absl::optional<absl::string_view> error = absl::nullopt);
void Done();
void NewConnectionID();
RefCountedPtr<Arena> arena_ = SimpleArenaAllocator()->MakeArena();
const RefCountedPtr<ChaoticGoodServerListener> listener_;

@ -35,7 +35,6 @@
#include "src/core/ext/transport/chaotic_good/frame_header.h"
#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
#include "src/core/lib/event_engine/event_engine_context.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/promise/activity.h"
#include "src/core/lib/promise/event_engine_wakeup_scheduler.h"
@ -48,6 +47,7 @@
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/slice/slice_buffer.h"
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/util/ref_counted_ptr.h"
namespace grpc_core {
namespace chaotic_good {
@ -237,10 +237,11 @@ auto ChaoticGoodServerTransport::DeserializeAndPushFragmentToNewCall(
call_initiator.emplace(std::move(call.initiator));
auto add_result = NewStream(frame_header.stream_id, *call_initiator);
if (add_result.ok()) {
call_destination_->StartCall(std::move(call.handler));
call_initiator->SpawnGuarded(
"server-write", [this, stream_id = frame_header.stream_id,
call_initiator = *call_initiator]() {
call_initiator = *call_initiator,
call_handler = std::move(call.handler)]() mutable {
call_destination_->StartCall(std::move(call_handler));
return CallOutboundLoop(stream_id, call_initiator);
});
} else {
@ -438,8 +439,7 @@ absl::Status ChaoticGoodServerTransport::NewStream(
if (stream_id <= last_seen_new_stream_id_) {
return absl::InternalError("Stream id is not increasing");
}
stream_map_.emplace(stream_id, call_initiator);
call_initiator.OnDone(
const bool on_done_added = call_initiator.OnDone(
[self = RefAsSubclass<ChaoticGoodServerTransport>(), stream_id](bool) {
GRPC_TRACE_LOG(chaotic_good, INFO)
<< "CHAOTIC_GOOD " << self.get() << " OnDone " << stream_id;
@ -453,6 +453,10 @@ absl::Status ChaoticGoodServerTransport::NewStream(
});
}
});
if (!on_done_added) {
return absl::CancelledError();
}
stream_map_.emplace(stream_id, call_initiator);
return absl::OkStatus();
}

@ -50,8 +50,6 @@
#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h"
#include "src/core/ext/transport/chttp2/transport/hpack_parser.h"
#include "src/core/lib/event_engine/default_event_engine.h" // IWYU pragma: keep
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/promise/activity.h"
#include "src/core/lib/promise/context.h"
#include "src/core/lib/promise/if.h"
@ -73,6 +71,8 @@
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/promise_endpoint.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {
namespace chaotic_good {

@ -18,7 +18,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/crash.h"
#include "src/core/util/crash.h"
namespace grpc_core {
namespace chaotic_good {

@ -54,11 +54,6 @@
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/event_engine/channel_args_endpoint_config.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/resolved_address.h"
@ -71,6 +66,11 @@
#include "src/core/lib/transport/error_utils.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/resolver/resolver_registry.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/time.h"
#include "src/core/util/unique_type_name.h"
#ifdef GPR_SUPPORT_CHANNELS_FROM_FD

@ -27,11 +27,11 @@
#include "src/core/client_channel/connector.h"
#include "src/core/handshaker/handshaker.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/sync.h"
namespace grpc_core {

@ -61,13 +61,6 @@
#include "src/core/lib/event_engine/channel_args_endpoint_config.h"
#include "src/core/lib/event_engine/extensions/supports_fd.h"
#include "src/core/lib/event_engine/query_extensions.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/orphanable.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/event_engine_shims/endpoint.h"
@ -86,8 +79,15 @@
#include "src/core/lib/security/security_connector/security_connector.h"
#include "src/core/lib/transport/error_utils.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/lib/uri/uri_parser.h"
#include "src/core/server/server.h"
#include "src/core/util/debug_location.h"
#include "src/core/util/orphanable.h"
#include "src/core/util/ref_counted_ptr.h"
#include "src/core/util/status_helper.h"
#include "src/core/util/sync.h"
#include "src/core/util/time.h"
#include "src/core/util/unique_type_name.h"
#include "src/core/util/uri.h"
#ifdef GPR_SUPPORT_CHANNELS_FROM_FD
#include "src/core/lib/iomgr/ev_posix.h"
@ -183,24 +183,27 @@ class Chttp2ServerListener : public Server::ListenerInterface {
void Start(OrphanablePtr<grpc_endpoint> endpoint,
const ChannelArgs& args);
void ShutdownLocked(absl::Status status)
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ActiveConnection::mu_);
// Needed to be able to grab an external ref in
// ActiveConnection::Start()
using InternallyRefCounted<HandshakingState>::Ref;
private:
void OnTimeout() ABSL_LOCKS_EXCLUDED(&connection_->mu_);
void OnTimeout() ABSL_LOCKS_EXCLUDED(&ActiveConnection::mu_);
static void OnReceiveSettings(void* arg, grpc_error_handle /* error */);
void OnHandshakeDone(absl::StatusOr<HandshakerArgs*> result);
RefCountedPtr<ActiveConnection> const connection_;
grpc_pollset* const accepting_pollset_;
AcceptorPtr acceptor_;
RefCountedPtr<HandshakeManager> handshake_mgr_
ABSL_GUARDED_BY(&connection_->mu_);
ABSL_GUARDED_BY(&ActiveConnection::mu_);
// State for enforcing handshake timeout on receiving HTTP/2 settings.
Timestamp const deadline_;
absl::optional<EventEngine::TaskHandle> timer_handle_
ABSL_GUARDED_BY(&connection_->mu_);
grpc_closure on_receive_settings_ ABSL_GUARDED_BY(&connection_->mu_);
ABSL_GUARDED_BY(&ActiveConnection::mu_);
grpc_closure on_receive_settings_ ABSL_GUARDED_BY(&ActiveConnection::mu_);
grpc_pollset_set* const interested_parties_;
};
@ -400,9 +403,7 @@ Chttp2ServerListener::ActiveConnection::HandshakingState::~HandshakingState() {
void Chttp2ServerListener::ActiveConnection::HandshakingState::Orphan() {
{
MutexLock lock(&connection_->mu_);
if (handshake_mgr_ != nullptr) {
handshake_mgr_->Shutdown(GRPC_ERROR_CREATE("Listener stopped serving."));
}
ShutdownLocked(absl::UnavailableError("Listener stopped serving."));
}
Unref();
}
@ -422,6 +423,13 @@ void Chttp2ServerListener::ActiveConnection::HandshakingState::Start(
});
}
void Chttp2ServerListener::ActiveConnection::HandshakingState::ShutdownLocked(
absl::Status status) {
if (handshake_mgr_ != nullptr) {
handshake_mgr_->Shutdown(std::move(status));
}
}
void Chttp2ServerListener::ActiveConnection::HandshakingState::OnTimeout() {
grpc_chttp2_transport* transport = nullptr;
{
@ -584,20 +592,28 @@ void Chttp2ServerListener::ActiveConnection::SendGoAway() {
grpc_chttp2_transport* transport = nullptr;
{
MutexLock lock(&mu_);
if (transport_ != nullptr && !shutdown_) {
transport = transport_.get();
drain_grace_timer_handle_ = event_engine_->RunAfter(
std::max(Duration::Zero(),
listener_->args_
.GetDurationFromIntMillis(
GRPC_ARG_SERVER_CONFIG_CHANGE_DRAIN_GRACE_TIME_MS)
.value_or(Duration::Minutes(10))),
[self = Ref(DEBUG_LOCATION, "drain_grace_timer")]() mutable {
ApplicationCallbackExecCtx callback_exec_ctx;
ExecCtx exec_ctx;
self->OnDrainGraceTimeExpiry();
self.reset(DEBUG_LOCATION, "drain_grace_timer");
});
if (!shutdown_) {
// Send a GOAWAY if the transport exists
if (transport_ != nullptr) {
transport = transport_.get();
drain_grace_timer_handle_ = event_engine_->RunAfter(
std::max(Duration::Zero(),
listener_->args_
.GetDurationFromIntMillis(
GRPC_ARG_SERVER_CONFIG_CHANGE_DRAIN_GRACE_TIME_MS)
.value_or(Duration::Minutes(10))),
[self = Ref(DEBUG_LOCATION, "drain_grace_timer")]() mutable {
ApplicationCallbackExecCtx callback_exec_ctx;
ExecCtx exec_ctx;
self->OnDrainGraceTimeExpiry();
self.reset(DEBUG_LOCATION, "drain_grace_timer");
});
}
// Shutdown the handshaker if it's still in progress.
if (handshaking_state_ != nullptr) {
handshaking_state_->ShutdownLocked(
absl::UnavailableError("Connection going away"));
}
shutdown_ = true;
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save