Skip to content

Commit f4f80a3

Browse files
yashyktcopybara-github
authored andcommitted
[EventEngine] Replace span with custom type in WriteEventSink to fix bugs where the underlying vector goes out of scope.
PiperOrigin-RevId: 772645721
1 parent 8bf14eb commit f4f80a3

File tree

12 files changed

+187
-22
lines changed

12 files changed

+187
-22
lines changed

BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,7 @@ grpc_cc_library(
873873
external_deps = [
874874
"absl/status:statusor",
875875
"absl/strings",
876+
"absl/types:span",
876877
],
877878
tags = [
878879
"avoid_dep",
@@ -1223,6 +1224,7 @@ grpc_cc_library(
12231224
"absl/status",
12241225
"absl/status:statusor",
12251226
"absl/time",
1227+
"absl/types:span",
12261228
"absl/functional:any_invocable",
12271229
],
12281230
tags = [
@@ -1498,6 +1500,7 @@ grpc_cc_library(
14981500
"absl/strings",
14991501
"absl/strings:str_format",
15001502
"absl/time",
1503+
"absl/types:span",
15011504
"absl/utility",
15021505
],
15031506
linkopts = select({
@@ -1890,6 +1893,7 @@ grpc_cc_library(
18901893
"absl/strings",
18911894
"absl/strings:str_format",
18921895
"absl/time",
1896+
"absl/types:span",
18931897
"absl/utility",
18941898
"madler_zlib",
18951899
],
@@ -2211,6 +2215,7 @@ grpc_cc_library(
22112215
"absl/status",
22122216
"absl/status:statusor",
22132217
"absl/strings",
2218+
"absl/types:span",
22142219
],
22152220
public_hdrs = GRPC_PUBLIC_HDRS,
22162221
visibility = ["//visibility:public"],

CMakeLists.txt

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)