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
Mark D. Roth
e204e5e497
Apply #13336 to v1.8.x branch.
7 years ago
Vijay Pai
19988c6c7e
clang-format
7 years ago
Sree Kuchibhotla
4ca35636fe
fix connectivity test failure
7 years ago
Sree Kuchibhotla
e37104cf42
Delete outdated comments
7 years ago
Mark D. Roth
1af674aa2d
Provide a cleaner API for proxy_connection_failed().
7 years ago
Sree Kuchibhotla
906adfdb72
No need to explicitly zero initialize since we are doing zalloc. Some misc formatting changes
7 years ago
Sree Kuchibhotla
445c5664e0
Add special cases and some comments
7 years ago
Sree Kuchibhotla
02df4abc86
Change ep_state from gpr_atm to int since all callbacks execute under a combiner and hence conn object is thread safe
7 years ago
Sree Kuchibhotla
c3cc971692
properly shutdown endpoints in h2_http_proxy
7 years ago
Dave MacLachlan
da341bcb89
Fix up review comments
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Dave MacLachlan
af5c54de9c
Add thread naming support on platforms that support it.
...
As a client of grpc I want to be aware of which threads are being
created by grpc, and giving them recognizable names makes it significantly
easier to diagnose what is going on in my programs.
This provides thread names for macOS and Linux. Adding support for other
platforms should be easy for platform specialists.
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
Mark D. Roth
e36d9eaa2c
Fix some dumb typos.
7 years ago
ncteisen
abbdbf9374
Attempt to fix TSAN
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
Mark D. Roth
04c97d0e0d
Add notify_on_receive_settings closure to chttp2 transport.
7 years ago
Mark D. Roth
bcfd0f38fc
Bool-ify is_client param.
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
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
Vijay Pai
fed13916b0
Move h2_ssl_cert_test out of end2end fixtures, use gtest
7 years ago
Muxi Yan
9fa1659951
Fix a memory leak point
7 years ago
Craig Tiller
1f710e5831
Fix test
7 years ago
Yash Tibrewal
7cdd99c86e
Adding more pointer type conversions
7 years ago
David Garcia Quintas
0822d331df
s/load_reporting/server_load_reporting
7 years ago
David Garcia Quintas
3499960070
Renamed load_reporting.{c,h} to load_reporting_plugin.{c,h}
7 years ago
Mark D. Roth
e0778b2c18
Add cancellation to asynchronous security APIs.
8 years ago
Yash Tibrewal
d0c1e50ea9
Changing a few variable names and adding few safety conditions
8 years ago
Yash Tibrewal
c62ce80b80
Test credentials are passed with channel arg. Renamed macros and refactored code as per suggestions. Renamed test to proxy_auth and changed it to use simple_request instead of a payload.
8 years ago
Yash Tibrewal
78d7125017
Removing a few style issues
8 years ago
Yash Tibrewal
ad11680be7
remove unnecessary code
8 years ago
Yash Tibrewal
f7350ea6b7
Adding connect auth feature. Proxy-Authorization header is being inserted when user creds are present in uri
8 years ago
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
8 years ago
ncteisen
0e3aee3dff
Add refcount to tcp tracer
8 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
Muxi Yan
191f1eb48e
Remove loop initial declaration
8 years ago
Craig Tiller
049f115c97
clang-format
8 years ago
Craig Tiller
c7280c7bdb
Fix merge
8 years ago
Craig Tiller
83b34e524f
Fix some races in tests
8 years ago
Muxi Yan
29ff4665a8
Revert "Revert "Implement Server Backward Compatibility""
8 years ago
Nicolas Noble
7edcce2147
Revert "Implement Server Backward Compatibility"
8 years ago
Craig Tiller
dc3998e710
Converting code
8 years ago