Skip to content

armeria-0.65.1

Choose a tag to compare

@trustin trustin released this 31 May 06:09
f107ca8

New features

  • Added more methods related with accessing the IP address of an Endpoint. #1232

    assert Endpoint.of("example.com").hasIpAddr() == false;
    assert Endpoint.of("example.com").withIpAddr("1.2.3.4").hasIpAddr() == true;
    assert Endpoint.of("1.2.3.4").isIpAddrOnly() == true;
    assert Endpoint.of("::1").ipFamily() == StandardProtocolFamily.INET6;

Bug fixes

  • Fixed bugs where an Endpoint with an IP address is not handled correctly. #1230 #1233
    • This can cause HttpHealthCheckedEndpointGroup to send a health check request to a wrong IP address if a host name has multiple IP addresses, especially when used with DnsAddressEndpointGroup.