Alexander Polcyn
d2e357b10d
Revert "Merge pull request #15685 from grpc/revert-15435-fix_shutdown_closed_socket"
...
This reverts commit 8b5e45a35b
, reversing
changes made to 2ea5e1d1de
.
7 years ago
Jan Tattermusch
61278f3aa7
Revert "Fix shutdown of closed fd when c-ares opens a second fd"
7 years ago
Alexander Polcyn
96dbfe1664
Fix shutdown of closed fd when c-ares opens a second fd
7 years ago
Alexander Polcyn
42c0d59d76
Revert "Add a flag to the resolver_component_test that permits extra addresses"
...
This reverts commit 02ce860592
.
7 years ago
Alexander Polcyn
02ce860592
Add a flag to the resolver_component_test that permits extra addresses
7 years ago
Mark D. Roth
209f644f04
Convert resolver API to C++.
7 years ago
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
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
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
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
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
Yuchen Zeng
79c12b9dc0
Drain readable fd
7 years ago
Craig Tiller
d0ceb377a4
clang-format
7 years ago
Craig Tiller
4aa2331958
Fix compile
7 years ago
Craig Tiller
350a4239fe
Fix compile error
7 years ago
Alexander Polcyn
27bf05d003
Add tests for c-ares wrapper using a local DNS server.
7 years ago