Has anyone tried to use getaddrinfo with the AI_V4MAPPED flag (perhaps even OR'd with AI_ALL) and the family set to AF_INET6? From what I gleaned from a brief look at httpd, the consumer in question, it appears as though IPv4-mapped addressing is used in general.
Looking through the CVS code for network_io/unix/sockaddr.c (1.43.2.4) from March 6th, it seems as though getaddrinfo is one of the few areas that wasn't properly upgraded to use v4 mapped addresses. While the standard IPv4 API should work, HP-UX seems to prefer IPv6 everywhere (map v4's when needed). Can you tell me how to reproduce this issue on 11.23, so I may verify this? /kristofer -----Original Message----- From: Jeff Trawick [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 1:19 PM To: [email protected] Subject: Re: getaddrinfo() on HP-UX 11i Joe Orton wrote: > Was the conclusion to this thread to not change APR? I thought the conclusion was that "my" boxes were special ;) > There do seem to > be lots of 11i boxes "out there" which have got into the state where > getaddrinfo is found in libc but non-functional. hmmm... > If Madhu says that getaddrinfo is first present in the base 11.23 > release, I think it would be sensible to simply disable getaddrinfo on > pre-11.23 releases e.g. (untested): sounds reasonable, but I'm curious about what the user would do if they added the optional IPv6 support to one of these pre-11.23 releases and wanted apr to support it
