Commit Graph

123 Commits

Author SHA1 Message Date
Esun Kim 90fbdc92f5 Roll-forward "Config migration"
This reverts commit 236ae12bb1.
2019-05-20 15:47:24 -07:00
Alexander Polcyn 236ae12bb1 Revert "Config migration"
This reverts commit 87905ae5ea.
2019-05-14 14:36:33 -07:00
Esun Kim 87905ae5ea Config migration 2019-05-09 12:29:38 -07:00
Mark D. Roth 206592ce9c Restructure how addresses and service config are passed from resolver to LB policy. 2019-03-26 11:57:21 -07:00
Mark D. Roth 687580fe04 Add ResultHandler to Resolver API. 2019-03-13 07:43:41 -07:00
yang-g 456f748b2f Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
This reverts commit 9079e98dfc, reversing
changes made to 76a38bfcc2.
2019-02-25 10:11:06 -08:00
Yang Gao 4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread" 2019-02-22 16:34:24 -08:00
yang-g 86b23adc7f Other comments 2019-02-15 16:26:31 -08:00
yang-g bc946d6c6d merge with head and resolve conflicts 2019-02-12 15:00:32 -08:00
Alexander Polcyn 139d9f6e94 Revert "Revert c-ares as the default resolvre"
This reverts commit ca30b2240f.
2019-01-31 15:06:34 -08:00
Alexander Polcyn ca30b2240f Revert c-ares as the default resolvre 2019-01-25 13:39:45 -08:00
Alexander Polcyn 2b328ee0ca Re-enable c-ares as the default resolver; but keep SRV queries off by default 2019-01-18 17:18:33 -08:00
yang-g df9bd2f506 Merge remote-tracking branch 'upstream/master' into shutdown 2019-01-14 13:19:01 -08:00
Alexander Polcyn 371b987bf4 Revert turning c-ares on by default 2019-01-11 10:50:52 -08:00
Alexander Polcyn 46a872864c Turn on c-ares as the default resolver 2019-01-08 14:46:37 -08:00
yang-g 3c8d24ba2c merge with head and resolve conflict 2018-12-19 10:13:41 -08:00
yang-g 038a71d826 Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util 2018-12-17 08:52:20 -08:00
Alexander Polcyn 7dc330f298 Disable SRV and TXT lookups for localhost 2018-12-12 13:20:51 -08:00
Mark D. Roth c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis."" 2018-12-11 07:48:14 -08:00
hcaseyal 27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis." 2018-12-07 16:13:37 -08:00
Mark D. Roth dedff37b4f Allow encoding arbitrary channel args on a per-address basis. 2018-12-07 12:41:51 -08:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
yang-g 991963efcc Merge branch 'master' into shutdown 2018-12-05 14:53:06 -08:00
apolcyn 5fed8e5452
Merge pull request #17354 from apolcyn/fix_ares_deadlocks
Cancel c-ares queries after a timeout to avoid getting stuck
2018-11-30 16:58:16 -08:00
Alexander Polcyn b203ed3c07 Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock 2018-11-30 15:06:11 -08:00
yang-g e75fc243da change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
yang-g c930956289 Fix tests 2018-11-29 14:25:23 -08:00
Alexander Polcyn 0f4968a6d9 Fix a dangling pointer on ares_request object in case of cancellation 2018-10-19 09:46:34 -07:00
Mark D. Roth ba4f66e705 Allow more timing slack in dns cooldown test. 2018-08-20 12:30:28 -07:00
Mark D. Roth 1a10a9b9bf Fix dns_resolver_cooldown_test and fake_resolver_test. 2018-08-14 15:14:25 -07:00
Alexander Polcyn 626cea8f73 Put c-ares queries under a combiner 2018-06-13 10:40:53 -07:00
Sree Kuchibhotla 6d5c2c250d Merge branch 'master' into fix-time 2018-05-08 10:24:30 -07:00
Juanli Shen b61c42ea31
Merge pull request #15156 from AspirinSJL/resolution_timer_fix
Check retry timer before starting resolving
2018-04-30 13:45:17 -07:00
Juanli Shen 3ffb8d5c4d Don't resolve if there is a resolution timer 2018-04-30 10:41:46 -07:00
Mark D. Roth 7898da90e7 Clean up test cases in dns_resolver_test. 2018-04-19 08:22:10 -07:00
Sree Kuchibhotla 1dd12c084a Fix some more formatting issues 2018-04-16 12:09:37 -07:00
kpayson64 539f5068bd Abstract libuv implementation
Structures the libuv implementation to allow for a plugable
BSD style socket implementation to allow for other IO Managers
2018-03-13 01:21:42 -07:00
Mark D. Roth 6fc5aba81a Fix asan failure in fake_resolver_test. 2018-03-02 14:38:51 -08:00
Noah Eisen be82e64b3d Autofix c casts to c++ casts 2018-02-09 09:16:55 -08:00
Mark D. Roth 209f644f04 Convert resolver API to C++. 2018-02-08 10:26:46 -08:00
Juanli Shen 8011a09697
Merge pull request #14281 from AspirinSJL/fake_resolver_results_upon_error
Add a results_upon_error setter to fake resolver
2018-02-02 17:27:57 -08:00
Juanli Shen d82e137c7b Add a results_upon_error setter to fake resolver 2018-02-02 09:16:12 -08:00
David Garcia Quintas f25126cffb PR comments 2018-01-31 20:33:03 -08:00
David Garcia Quintas 956fe5e089 Added tests, supporting c-ares as well as std resolver. 2018-01-30 16:06:22 -08:00
David Garcia Quintas b86cdde209 Undo changes to dns_resolver_test.cc 2018-01-30 15:42:21 -08:00
David Garcia Quintas 7896b62f2d DNS cooldown mechanism 2018-01-29 17:14:32 -08:00
Yash Tibrewal 45e754a5af Fix typo s/resolition/resolution 2018-01-18 15:28:09 -08:00
Yash Tibrewal f0798f91ff Solve a stack_use_after_scope issue in sockaddr_resolver_test 2018-01-18 15:19:04 -08:00
Yash Tibrewal 8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed"" 2017-12-06 09:47:54 -08:00
Yash Tibrewal ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed" 2017-12-06 09:05:05 -08:00