-
- Downloads
Refactor default host name resolution
Rephrase API's such that resolvers are constrained to be able to provide a default host given just the text of the URI channel target. This avoids needing to rewrite such details in the core library during retries, and generally makes things much saner to debug.
Showing
- src/core/channel/http_client_filter.c 0 additions, 33 deletionssrc/core/channel/http_client_filter.c
- src/core/client_config/resolver_factory.c 6 additions, 0 deletionssrc/core/client_config/resolver_factory.c
- src/core/client_config/resolver_factory.h 9 additions, 0 deletionssrc/core/client_config/resolver_factory.h
- src/core/client_config/resolver_registry.c 42 additions, 37 deletionssrc/core/client_config/resolver_registry.c
- src/core/client_config/resolver_registry.h 9 additions, 6 deletionssrc/core/client_config/resolver_registry.h
- src/core/client_config/resolvers/dns_resolver.c 10 additions, 15 deletionssrc/core/client_config/resolvers/dns_resolver.c
- src/core/client_config/resolvers/sockaddr_resolver.c 35 additions, 14 deletionssrc/core/client_config/resolvers/sockaddr_resolver.c
- src/core/client_config/resolvers/zookeeper_resolver.c 8 additions, 3 deletionssrc/core/client_config/resolvers/zookeeper_resolver.c
- src/core/surface/channel.c 24 additions, 0 deletionssrc/core/surface/channel.c
- src/core/surface/init.c 4 additions, 4 deletionssrc/core/surface/init.c
- test/core/end2end/tests/default_host.c 1 addition, 1 deletiontest/core/end2end/tests/default_host.c
Loading
Please register or sign in to comment