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
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
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
bc5fcadcfb
Fix httpscli_test
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
David Garcia Quintas
4afce7e66f
Changes across the board from pollset to pollset_set
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Matthew Iselin
1824f0519f
Add HTTP request parsing.
...
This extends the existing http parser to support requests as well as responses.
httpcli continues to exist and work as it has previously, though in the new
directory src/core/http (to reflect the fact the directory now contains code
relevant to parsing requests, which httpcli would not generally involve itself
in).
9 years ago
Nicolas "Pixel" Noble
2d86263de3
Added python_wrapper.sh to take care of finding an appropriate version of python from the system.
9 years ago
Craig Tiller
69b093b360
Revert "Revert "Add an implementation firewall against pollset_set""
9 years ago
Vijay Pai
e9ef536451
Revert "Add an implementation firewall against pollset_set"
9 years ago
Craig Tiller
85371a2bb0
Change pollset mutex ownership
9 years ago