grpc/include/grpc
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
..
event_engine [EventEngine] PosixEventEngine DNS Resolver (#32701) 2023-07-21 13:24:16 -07:00
impl [core] Add a channel argument to set DSCP on streams (#28322) 2023-06-30 16:10:21 -07:00
support [build] Make GRPC_MUST_USE_RESULT default backed by nodiscard (#33742) 2023-07-18 15:23:46 -07:00
byte_buffer.h [cleanups] Remove `include/grpc/impl/codegen/grpc_types.h` (#31835) 2022-12-14 02:29:17 +08:00
byte_buffer_reader.h Remove `include/grpc/impl/codegen/byte_buffer_reader.h` (#31708) 2022-11-21 22:17:27 -05:00
census.h Add a sanity check for inclusion of port_platform.h 2018-02-23 09:59:53 -08:00
compression.h Remove `include/grpc/impl/codegen/port_platform.h` (#31778) 2022-12-14 10:46:33 +08:00
fork.h Remove `include/grpc/impl/codegen/fork.h` (#31752) 2022-12-01 01:59:49 +08:00
grpc.h [cleanups] Remove `include/grpc/impl/codegen/propagation_bits.h` (#31870) 2022-12-15 11:08:02 +08:00
grpc_audit_logging.h [Audit Logging] Second attempt: rbac service config parsing with audit logging (#33183) 2023-05-18 14:27:26 -07:00
grpc_cronet.h Add a sanity check for inclusion of port_platform.h 2018-02-23 09:59:53 -08:00
grpc_posix.h [cleanups] Remove `include/grpc/impl/codegen/grpc_types.h` (#31835) 2022-12-14 02:29:17 +08:00
grpc_security.h [tls] Remove use of SSL_CTX_set_client_CA_list for TLS server credentials. (#33558) 2023-06-29 09:48:15 -07:00
grpc_security_constants.h Plumb subject field and add to authz flow. (#27615) 2021-11-29 17:04:44 -08:00
load_reporting.h Remove `include/grpc/impl/codegen/port_platform.h` (#31778) 2022-12-14 10:46:33 +08:00
module.modulemap [JSON] make API public but experimental (#32987) 2023-05-09 08:05:24 -07:00
slice.h [cleanups] Remove `include/grpc/impl/codegen/slice.h` (#31871) 2022-12-15 14:36:04 +08:00
slice_buffer.h Fix readability-inconsistent-declaration-parameter-name manually 2020-11-30 14:22:40 -08:00
status.h Remove `include/grpc/impl/codegen/status.h` (#31817) 2022-12-09 07:48:50 +08:00