Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
Armeria internally, Endpoint.host() is used for both DNS and a hostname of a URI. So I think we may loosen the validation rule to allow _ and use it for DNS queries and results.
The underscore (
_
) character is not permitted in hostnames but is allowed in other contexts, such as DNS SRV records.Currently,
URI.parseServerAuthority()
is used to validate a hostname of anEndpoint
which disallows_
. https://github.com/line/armeria/blob/c208353b2edd94df20a1523d7b34bb349c781292/core/src/main/java/com/linecorp/armeria/internal/common/SchemeAndAuthority.java#L53Armeria internally,
Endpoint.host()
is used for both DNS and a hostname of a URI. So I think we may loosen the validation rule to allow_
and use it forDNS
queries and results.Discord thread: https://discord.com/channels/1087271586832318494/1087272728177942629/1262912254333030451