grpc/test/core/http
Yijie Ma a7bf07e86a
[EventEngine] PosixEventEngine DNS Resolver (#32701)
This PR implements a c-ares based DNS resolver for EventEngine with the
reference from the original
[grpc_ares_wrapper.h](../blob/master/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h).
The PosixEventEngine DNSResolver is implemented on top of that. Tests
which use the client channel resolver API
([resolver.h](../blob/master/src/core/lib/resolver/resolver.h#L54)) are
ported, namely the
[resolver_component_test.cc](../blob/master/test/cpp/naming/resolver_component_test.cc)
and the
[cancel_ares_query_test.cc](../blob/master/test/cpp/naming/cancel_ares_query_test.cc).
The WindowsEventEngine DNSResolver will use the same EventEngine's
grpc_ares_wrapper and will be worked on next.

The
[resolve_address_test.cc](https://github.com/grpc/grpc/blob/master/test/core/iomgr/resolve_address_test.cc)
which uses the iomgr
[DNSResolver](../blob/master/src/core/lib/iomgr/resolve_address.h#L44)
API has been ported to EventEngine's dns_test.cc. That leaves only 2
tests which use iomgr's API, notably the
[dns_resolver_cooldown_test.cc](../blob/master/test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc)
and the
[goaway_server_test.cc](../blob/master/test/core/end2end/goaway_server_test.cc)
which probably need to be restructured to use EventEngine DNSResolver
(for one thing they override the original grpc_ares_wrapper's free
functions). I will try to tackle these in the next step.
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2023-07-21 13:24:16 -07:00
..
request_corpus Convert tests to new error scheme 2016-05-06 14:26:12 -07:00
response_corpus Convert tests to new error scheme 2016-05-06 14:26:12 -07:00
BUILD Clean up the TODO item in build target `grpc_base` part `channel_args` (#31642) 2022-11-23 16:01:34 -05:00
format_request_test.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
httpcli_test.cc [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
httpcli_test_util.cc Reland global config changes (#32661) 2023-03-27 18:55:24 -07:00
httpcli_test_util.h Add http cancel api (#28354) 2022-01-25 10:37:05 -08:00
httpscli_test.cc Update Abseil to 20230125 (#32139) 2023-01-30 16:20:24 -08:00
parser_test.cc Update Abseil to 20230125 (#32139) 2023-01-30 16:20:24 -08:00
python_wrapper.sh Bazel fix for httpcli_test 2018-01-26 18:23:41 -08:00
request_fuzzer.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
response_fuzzer.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
test_server.py [Test] Use `ssl.SSLContext.wrap_socket`, not `ssl.wrap_socket` (#33492) 2023-06-21 10:06:08 -07:00