Vijay Pai
6ca827a008
Remove unused parameter warning (18 of 20)
5 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
6 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1
.
6 years ago
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea
.
6 years ago
Esun Kim
87905ae5ea
Config migration
6 years ago
Yash Tibrewal
b6c7cb81f0
Fix resolver component test
6 years ago
Alexander Polcyn
2a4d62819b
Revise c-ares timeouts to use c-ares's internal timeout/retry logic
6 years ago
Yash Tibrewal
6cba63eb47
reviewer comments and tests
6 years ago
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
yang-g
37783d6329
Stop calling ParseCommandLineFlags directly, use wrapper call instead
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Mark D. Roth
687580fe04
Add ResultHandler to Resolver API.
6 years ago
frazenshtein
8232d69820
Reverted changes in the test/cpp/naming/resolver_component_test.cc
6 years ago
frazenshtein
7d1e201539
Use grpc_wsa_socket_flags in the test/cpp/naming/resolver_component_test.cc
6 years ago
frazenshtein
bc7203e371
Fixed style
6 years ago
frazenshtein
76e9d1add7
Set WSA_FLAG_NO_HANDLE_INHERIT flag wherever the WSASocket is used.
...
Check WSA_FLAG_NO_HANDLE_INHERIT is supported.
6 years ago
Alexander Polcyn
93b7acd9bf
Disable service config resolution with c-ares by default
6 years ago
Alexander Polcyn
2b328ee0ca
Re-enable c-ares as the default resolver; but keep SRV queries off by default
6 years ago
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
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Alex Polcyn
5cd8b1eb81
Enable c-ares queries on Windows
6 years ago
Noah Eisen
373fc6dc40
Manual fixes to enable performance- clang tidy checks
7 years ago
Alexander Polcyn
d6be87b0c1
Fix previously-encountered issue: set so_reuseaddr on dummy sockets
7 years ago
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