Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
6 years ago
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
6 years ago
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
6 years ago
Alexander Polcyn
570599cfc6
Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock
6 years ago
Alexander Polcyn
b203ed3c07
Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Alexander Polcyn
0f4968a6d9
Fix a dangling pointer on ares_request object in case of cancellation
6 years ago
Mark D. Roth
ba4f66e705
Allow more timing slack in dns cooldown test.
6 years ago
Mark D. Roth
1a10a9b9bf
Fix dns_resolver_cooldown_test and fake_resolver_test.
6 years ago
Alexander Polcyn
626cea8f73
Put c-ares queries under a combiner
7 years ago
Juanli Shen
3ffb8d5c4d
Don't resolve if there is a resolution timer
7 years ago
Mark D. Roth
7898da90e7
Clean up test cases in dns_resolver_test.
7 years ago
Sree Kuchibhotla
1dd12c084a
Fix some more formatting issues
7 years ago
kpayson64
539f5068bd
Abstract libuv implementation
...
Structures the libuv implementation to allow for a plugable
BSD style socket implementation to allow for other IO Managers
7 years ago
Mark D. Roth
6fc5aba81a
Fix asan failure in fake_resolver_test.
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Mark D. Roth
209f644f04
Convert resolver API to C++.
7 years ago
Juanli Shen
d82e137c7b
Add a results_upon_error setter to fake resolver
7 years ago
David Garcia Quintas
f25126cffb
PR comments
7 years ago
David Garcia Quintas
956fe5e089
Added tests, supporting c-ares as well as std resolver.
7 years ago
David Garcia Quintas
b86cdde209
Undo changes to dns_resolver_test.cc
7 years ago
David Garcia Quintas
7896b62f2d
DNS cooldown mechanism
7 years ago
Yash Tibrewal
45e754a5af
Fix typo s/resolition/resolution
7 years ago
Yash Tibrewal
f0798f91ff
Solve a stack_use_after_scope issue in sockaddr_resolver_test
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
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
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
7 years ago
Yash Tibrewal
e586324627
BUILD files changes for bazel
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
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Mark D. Roth
f9bf428489
Add support for service configs to c-ares resolver.
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
4d5c3102a1
fix remaining license notices
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
David Garcia Quintas
87d5a3130d
Implement LB policy updates
8 years ago
Yuchen Zeng
4ebace71b0
Fix windows build, no_logging tests, dns_resolver_test
8 years ago
Yuchen Zeng
1f4b2a8e33
Fix the fd clean up process
8 years ago
Yuchen Zeng
3b4bed273c
Cancel the dns lookup in dns_ares_shutdown
8 years ago
Yuchen Zeng
24e3bc5510
Fix api_fuzzer, dns_resolver_connectivity_test
8 years ago