On Mon, 11 Dec 2023 14:38:08 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
>> A colleague contacted IBM about the different behavior of getaddrinfo on >> AIX (compared to Linux/macOS); maybe we have to adjust the result of the >> getaddrinfo call on AIX. > >> A colleague contacted IBM about the different behavior of getaddrinfo on AIX >> (compared to Linux/macOS); maybe we have to adjust the result of the >> getaddrinfo call on AIX. > > Haven't heard from them so far, hopefully we get an update soon about the > behavior of getaddrinfo on AIX . > @MBaesken Just a thought: parseAllowedAddr() needs to parse only numeric > addresses. getaddrinfo was used to handle both IPv4 and IPv6 by a single > call, but maybe it would be better to reimplement parseAllowedAddr to do 2 > inet_pton calls (for AF_INET and AF_INET6) Hi Alex, this seems to work (for AIX, and also for the other OpenJDK platforms) . ------------- PR Comment: https://git.openjdk.org/jdk/pull/16561#issuecomment-1864029003