AJ Heller
d10617edb5
Move resource_user ownership into chttp2 transport/server/connector v2 ( #27032 )
...
Reintroducing PR #26643 , which was reverted in #27029
Fixed a memory leak and added a test that would have caught it (ASAN build): ca0c8c4
3 years ago
Craig Tiller
f5d3ed2db1
Revert "Move resource_user ownership into chttp2 transport/server/connector ( #26643 )" ( #27029 )
...
This reverts commit d1935a65a1
. Will be rolled forward with a fix.
3 years ago
AJ Heller
d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector ( #26643 )
3 years ago
Esun Kim
460898f11c
Migrated from grpc_error_string to grpc_error_std_string ( #26068 )
...
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
4 years ago
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
Esun Kim
e0d8c498a6
C++ cast for others
4 years ago
Vijay Pai
53e7e9f3fe
Remove unused parameter warning (9 of 20)
5 years ago
Hope Casey-Allen
59564ebd96
Fix warnings to unblock gcc8 support
5 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Yash Tibrewal
64321c0618
Log error message for debugging #14700
7 years ago
Yash Tibrewal
b1628971a1
Add logging for helping debug httpcli tests
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Yash Tibrewal
ac35926a2f
Manually set roots pem env variable for httpscli_test
7 years ago
Yash Tibrewal
e8e2426f98
Bazel fix for httpcli_test
7 years ago
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
Craig Tiller
be98d24841
clang-format after nullptr changes
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Craig Tiller
0ff222a23b
Add pollset_kick stats
7 years ago
Craig Tiller
9a8c3f398a
Explicitly call out round up vs round down
7 years ago
Craig Tiller
c0df1c0f9a
Compiling again
7 years ago
ncteisen
969b46ef73
Add rich closure debug mode
8 years ago
ncteisen
274bbbe6a0
Add rich closure debug mode
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
f840110de2
Fixup tests
8 years ago
Yuchen Zeng
47de64c700
zalloc grpc_pollset
8 years ago
Craig Tiller
9e5ac1bf11
Fix broken shutdown, and cascading exec_ctx usage bugs
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Craig Tiller
91031dacb1
Changes to exec_ctx/closure/combiner/workqueue interfaces
...
- make closures know where they should be executed (eg, on a workqueue,
or a combiner, or on an exec_ctx)
- this allows removal of a large number of trampoline functions that
were appearing whenever we used combiners, and should allow for a much
easier interface to combiner locks
8 years ago
Yuchen Zeng
cbf281ea39
Fix httpcli_test and httpscli_test
8 years ago
Craig Tiller
a59c16c184
Progress towards making grpc_slice_unref_internal take an exec_ctx
8 years ago
Craig Tiller
afcc8752f3
clang-format
8 years ago
Craig Tiller
20afa3d7c9
BufferPool --> ResourceQuota
8 years ago
Craig Tiller
08d297e375
Make all tests build again
8 years ago
Craig Tiller
d4673484c7
Update tests
8 years ago
David Garcia Quintas
69ff63d158
clang-format
9 years ago
David Garcia Quintas
c4d5112719
moar renamings
9 years ago
David Garcia Quintas
2a50dfefdc
s/grpc_pops/grpc_polling_entity
9 years ago
Craig Tiller
6a64bfd982
Progress converting to new error system
9 years ago
Craig Tiller
1aee5362f4
Progress converting to new error system
9 years ago
Craig Tiller
f707d62db6
Convert tests to new error scheme
9 years ago
David Garcia Quintas
604490973b
allocate grpc_pops on the stack
9 years ago
David Garcia Quintas
f72eb97b36
Introduced grpc_pops (pollset or pollset_set)
9 years ago